LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2012, 09:38 PM   #16
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235

Quote:
Originally Posted by suicidaleggroll View Post
Never used Notepad++. What does it provide that emacs doesn't?
Well I haven't used emacs yet so I think I can't compare them. But if Emacs is just somehow similar to Vim, then I think I could say that there's a big difference between them. If you have Wine, you could run Notepad++ and see for yourself

Like I said, the primary points are multi-tabbing for opened files, search/replace of text, and many useful tools, including plugins. Best of all, it's a lot easier to use, especially when you're manipulating many files like in a project at once.
 
Old 08-31-2012, 09:40 PM   #17
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Oh I forgot to mention. The file compare system (now a plugin) is really readable and easy to handle.

Last edited by konsolebox; 08-31-2012 at 09:41 PM. Reason: I was expecting this message to be appended to the last message but hmm..
 
Old 08-31-2012, 09:56 PM   #18
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by konsolebox View Post
Well I haven't used emacs yet so I think I can't compare them. But if Emacs is just somehow similar to Vim, then I think I could say that there's a big difference between them. If you have Wine, you could run Notepad++ and see for yourself

Like I said, the primary points are multi-tabbing for opened files, search/replace of text, and many useful tools, including plugins. Best of all, it's a lot easier to use, especially when you're manipulating many files like in a project at once.
I recommend trying emacs

You get multi-tabbing, search, search replace, auto-indent, syntax highlighting, etc.

I typically use VIM for quick edits to code, and emacs for big changes. I've never felt the desire for any functionality that emacs doesn't already provide, even for projects involving many different source files, each with 1k+ lines of code.

emacs does have a steep learning curve though. The keyboard shortcuts are not very intuitive in my opinion, but once you get the hang of them you can do anything you want without the mouse...

Ctrl-x-f = open file
Ctrl-x k = close file
Ctrl-x b = switch buffer (to another open file)
Esc % = search and replace
Ctrl-c ; = auto-indent highlighted text
Ctrl-] = cancel current operation
and so on...
 
Old 08-31-2012, 10:08 PM   #19
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by suicidaleggroll View Post
I recommend trying emacs

You get multi-tabbing, search, search replace, auto-indent, syntax highlighting, etc.

I typically use VIM for quick edits to code, and emacs for big changes. I've never felt the desire for any functionality that emacs doesn't already provide, even for projects involving many different source files, each with 1k+ lines of code.

emacs does have a steep learning curve though. The keyboard shortcuts are not very intuitive in my opinion, but once you get the hang of them you can do anything you want without the mouse...

Ctrl-x-f = open file
Ctrl-x k = close file
Ctrl-x b = switch buffer (to another open file)
Esc % = search and replace
Ctrl-c ; = auto-indent highlighted text
Ctrl-] = cancel current operation
and so on...
I'm quite 90% certain that I already tried emacs before and there was no multi-tabbing. Also it's a little vague but everything looked just like a terminal dialog system but was only enhanced in GUI, but that was a long time ago already but I'll try it again. Let's see
 
Old 08-31-2012, 10:55 PM   #20
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
@suicidaleggroll: I don't see tabs but windows around instead. Is there another interface of emacs besides gtk? Features are quite good as well, but there's one immediate difference that I could see. Emacs doesn't seem to have direct control over conversion between different character forms like from ASCII to UTF8, etc. And so far, I can't something in Emacs that's similar to Notepad++'s "Find all in Current Document" and "Find all in Open Files". Highlights and styles/custom styless aren't there as well.
 
Old 09-01-2012, 06:05 AM   #21
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 55
Vim and emacs are cli editors. The gtk version you are using is another thing. Start vim or emacs in a terminal (although I thing the "GUI" versions offer the same functionality). Both editors support multiple buffers (open files), find, find and replace, find and replace from cursor to end, fing and replace from cursor to begining, find and replace n times, even auto word completion seaching all open (and #include) files. And many many more features. Have you worked with these editors enough?
 
Old 09-01-2012, 08:59 AM   #22
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
@segmentation_fault: not on Emacs. But on Vim I could even boast that it's even more than enough
 
Old 09-01-2012, 09:10 AM   #23
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by konsolebox View Post
@suicidaleggroll: I don't see tabs but windows around instead. Is there another interface of emacs besides gtk? Features are quite good as well, but there's one immediate difference that I could see. Emacs doesn't seem to have direct control over conversion between different character forms like from ASCII to UTF8, etc. And so far, I can't something in Emacs that's similar to Notepad++'s "Find all in Current Document" and "Find all in Open Files". Highlights and styles/custom styless aren't there as well.
emacs uses buffers for the individual files, you can use "Ctrl-x b" to switch between them. xemacs provides visual tabs in addition to the emacs-style "Ctrl-x b" buffer switching.

You're right, I don't think it has character switching, but the one thing it does have that I use all the time is split window. You can split the window in half (vertically or horizontally) with any file open in each side, you can even have the same file open in both sides. The nice thing about it is it lets you have two sections of the same file open for editing simultaneously, with both of them updating in real time.
 
Old 09-01-2012, 09:32 AM   #24
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
@suicidaleggroll: I see. Thanks for telling me those details. I think it would be fun to study Emacs, even though the family of editors that uses Ctrl-* commands (which includes Nano) to manipulate themselves is not easy to my hands. The last time I used a CLI-based editor that was easy to me was Edit.com/Qbasic.exe of DOS. Perhaps it just confuses me, since I got used with control keys (Ctrl/Alt/Meta) being only used within dialogs/windows that has a toolbar menu. Sometime perhaps I'll try to learn it. Although I really think Vim is already enough for me when it comes to terminal-based editing.

Anyway, why don't you guys try Notepad++ as well yourselves and see what I mean. You could install it with the installer using wine.
Code:
wine npp.6.1.6.Installer.exe
http://notepad-plus-plus.org/

If you're conservative about it, it's ok you don't have to
 
Old 09-01-2012, 09:58 AM   #25
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by konsolebox View Post
Anyway, why don't you guys try Notepad++ as well yourselves and see what I mean. You could install it with the installer using wine.
Code:
wine npp.6.1.6.Installer.exe
http://notepad-plus-plus.org/

If you're conservative about it, it's ok you don't have to
I'm afraid it doesn't support BASH or IDL, which is a deal breaker for me.
 
Old 09-01-2012, 10:00 AM   #26
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by suicidaleggroll View Post
I'm afraid it doesn't support BASH or IDL, which is a deal breaker for me.
Well, that's too bad What's IDL?
 
Old 09-01-2012, 10:19 AM   #27
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by konsolebox View Post
Well, that's too bad What's IDL?
It's a high level language similar to matlab, typically used in the scientific/research community:
http://en.wikipedia.org/wiki/IDL_(programming_language)
 
Old 09-01-2012, 02:10 PM   #28
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by suicidaleggroll View Post
It's a high level language similar to matlab, typically used in the scientific/research community:
http://en.wikipedia.org/wiki/IDL_(programming_language)
I wonder. Is this IDL available in all platforms? But I'm not talking about using windows anyway. I was just wanting you to know how Notepad++ differs greatly from other text editors.

And about Bash btw, do you mean you want the editor to be able to run bash from it? Is that really a necessity?
 
Old 09-01-2012, 03:39 PM   #29
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by konsolebox View Post
I wonder. Is this IDL available in all platforms? But I'm not talking about using windows anyway. I was just wanting you to know how Notepad++ differs greatly from other text editors.

And about Bash btw, do you mean you want the editor to be able to run bash from it? Is that really a necessity?
Yes IDL is on all major platforms, Win, Mac, and Linux.

I mean syntax highlighting, auto-indent, etc. for writing bash scripts.
 
Old 09-01-2012, 08:01 PM   #30
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by suicidaleggroll View Post
I mean syntax highlighting, auto-indent, etc. for writing bash scripts.
That's actually one of its default supported languages for such. Auto-indent is a general feature as well. I hope you don't mean automatic command listing/autocompletion of commands for bash? I don't think it's necessary for shell scripting, but it's still possible if someone decides to write a plugin for that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between linux and windows rameshwari_linux Linux - Newbie 7 11-26-2009 10:21 AM
what are the difference between windows and linux? manielec28 Linux - Newbie 6 12-08-2006 08:20 AM
The difference of ping in Windows and Linux??? johnsanty Linux - General 18 09-06-2006 09:03 PM
difference between c++ in windows and linux gtgoku Slackware 4 10-26-2003 09:23 AM
c++ difference between linux and windows lory Programming 5 09-26-2003 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration