Editors

Please compose all posts in Emacs.

Moderators: phlip, Moderators General, Prelates

User avatar
Hammer
Because all of you look like nails.
Posts: 5491
Joined: Thu May 03, 2007 7:32 pm UTC
Contact:

Editors

Postby Hammer » Wed Nov 14, 2007 12:41 pm UTC

Emacs, Vi, TheOneTruePad?
"What's wrong with you mathematicians? Cake is never a problem."

Robin S
Posts: 3579
Joined: Wed Jun 27, 2007 7:02 pm UTC
Location: London, UK
Contact:

Re: Editors

Postby Robin S » Wed Nov 14, 2007 1:44 pm UTC

Why not just move this thread here?
This is a placeholder until I think of something more creative to put here.

User avatar
Hammer
Because all of you look like nails.
Posts: 5491
Joined: Thu May 03, 2007 7:32 pm UTC
Contact:

Re: Editors

Postby Hammer » Wed Nov 14, 2007 2:24 pm UTC

Robin S wrote:Why not just move this thread here?

Because people are simply listing what they use. They are not (yet) having the Battle of the Editors. I've seen the Battle of the Editors many times and that isn't it. :D
"What's wrong with you mathematicians? Cake is never a problem."

User avatar
Dingbats
Posts: 921
Joined: Tue Mar 20, 2007 12:46 pm UTC
Location: Sweden
Contact:

Re: Editors

Postby Dingbats » Wed Nov 14, 2007 3:02 pm UTC

Just to start out: Vi(m) is superior to Emacs.

User avatar
d3adf001
Posts: 1000
Joined: Thu Mar 29, 2007 4:27 pm UTC
Location: State College, PA
Contact:

Re: Editors

Postby d3adf001 » Wed Nov 14, 2007 3:36 pm UTC


User avatar
xyzzy
Meta-Titled
Posts: 263
Joined: Sun Mar 18, 2007 10:02 pm UTC
Location: Colossal Cave
Contact:

Re: Editors

Postby xyzzy » Wed Nov 14, 2007 8:02 pm UTC

Emacs, of course.

Code: Select all

1.      Onward, Emacs coders, marching as to war,
        with the cross of Stallman going on before.
        Gnu, the royal Master, leads against the foe;
        forward into battle see his banners go!

        (Meta-x-Refrain):
        Onward, Emacs coders, marching as to war,
        with the cross of Stallman going on before.

2.      At the sign of triumph Vi's host doth flee;
        on then, Emacs coders, on to victory!
        Vi's foundations quiver at the shout of praise;
        brothers, lift your voices, loud your anthems raise.
        (Refrain)

3.      Like a mighty army moves the church of Gnu;
        brothers, we are treading where the FSF have trod.
        We are not divided, all one body we,
        one in hope and doctrine, one in charity.
        (Refrain)

4.      ed and EVE may perish, TECO rise and wane,
        but the church of Stallman constant will remain.
        Gates of vi can never against that church prevail;
        we have the Gnu's own promise, and that cannot fail.
        (Refrain)

5.      Onward then, ye people, join our happy throng,
        blend with ours your voices in the triumph song.
        Glory, laud, and honor unto Gnu the King,
        this through countless ages men and lispers sing.
        (Refrain)


Beat that, VIpers!
"Wile E. Coyote was a theoretical mathematician." - Leliel
"Modern life can be so boring without elements of the bizarre or the fantastical. Hence, we have steampunk." - Me

User avatar
hendusoone
Mr. Dreambeard butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts butts. Butts.
Posts: 1570
Joined: Fri Jun 29, 2007 5:30 pm UTC
Location: Spaceship
Contact:

Re: Editors

Postby hendusoone » Wed Nov 14, 2007 8:34 pm UTC

d3adf001 wrote:http://sourceforge.net/projects/joe-editor/ joe takes the cake imo

I am with you on this one. Commands are simple combinations of the ctrl key and letters (none of that crazy :wtf! garbage). There is no strange key combination to press before it will let you enter text. If you need help, just follow the instructions in the top right, and then the help screen stays right there at the top of your terminal as you continue editing your text!

Also, it has some sexy syntax highlighting.
Jack Saladin wrote:Humanities salvation relies on us sending the Earth into a giant black hole.

User avatar
zombie_monkey
Posts: 644
Joined: Mon Oct 16, 2006 1:26 pm UTC
Location: Bulgaria

Re: Editors

Postby zombie_monkey » Wed Nov 14, 2007 9:28 pm UTC

I use vi not very often and I have never used emacs, but I understand emacs uses a lot of key combos (ctrl/shift/alt) which I dislike.

zenten
Posts: 3799
Joined: Fri Jun 22, 2007 7:42 am UTC
Location: Ottawa, Canada

Re: Editors

Postby zenten » Wed Nov 14, 2007 9:53 pm UTC

Pico kicks all their asses.

Cept maybe that joe-editor thing. I haven't tried that yet.

User avatar
crazyjimbo
Posts: 887
Joined: Fri Apr 20, 2007 11:45 pm UTC
Location: Durham, England
Contact:

Re: Editors

Postby crazyjimbo » Wed Nov 14, 2007 10:23 pm UTC

At my work, use of Nano is a sackable offense. We assume the boss is joking, but no one is sure enough to try it out.

User avatar
xyzzy
Meta-Titled
Posts: 263
Joined: Sun Mar 18, 2007 10:02 pm UTC
Location: Colossal Cave
Contact:

Re: Editors

Postby xyzzy » Wed Nov 14, 2007 10:56 pm UTC

Hm. Nano is only used for quick edits on other machines, otherwise it's Emacs all the way.

And that's mostly because Emacs is overkill, ed is nasty, and vi is worse than useless.
"Wile E. Coyote was a theoretical mathematician." - Leliel
"Modern life can be so boring without elements of the bizarre or the fantastical. Hence, we have steampunk." - Me

User avatar
Korandder
Posts: 161
Joined: Fri Sep 14, 2007 6:12 am UTC
Location: LoadingReadyRun Australian Astrophysical Observatory
Contact:

Re: Editors

Postby Korandder » Thu Nov 15, 2007 6:17 am UTC

I tried emacs but found it a some what unpleasant experience. I have found vi more to my liking.
Image

photosinensis
Posts: 163
Joined: Wed Aug 22, 2007 6:17 am UTC

Re: Editors

Postby photosinensis » Thu Nov 15, 2007 7:05 am UTC

Vim. It's just a text editor.

Emacs, on the other hand, only needs a kernel. When a full GNU distribution comes out, complete with HURD, it will only contain HURD, GNU Emacs, GCC, and GNU Make. Anything else is entirely superfluous and unnecessary. I don't know about you, but I don't want to have to deal with that kind of overhead (and distraction potential) while I'm trying to get work done.
While I clicked my fav'rite bookmark, suddenly there came a warning,
And my heart was filled with mournng, mourning for my dear amour.
"'Tis not possible!" I uttered, "Give me back my free hardcore!"
Quoth the server: 404.

++$_
Mo' Money
Posts: 2370
Joined: Thu Nov 01, 2007 4:06 am UTC

Re: Editors

Postby ++$_ » Thu Nov 15, 2007 8:08 am UTC

Emacs (well... XEmacs, really). To use emacs well takes a lot of practice, but I'm really fast at this point.

I don't actually know what features vim has because I don't use it, but things I like about emacs are the syntax highlighting (especially perl), customizability, multiple buffers, isearch, regex find/replace, ispell, M-x shell, rectangle commands, the kill ring, macros, in-editor debugging, mail, .......

The only thing I don't like about emacs is confusing C-x 0 and C-x 1, causing me to close the wrong window.

dazomby
Posts: 23
Joined: Thu Nov 15, 2007 7:52 am UTC
Location: .se

Re: Editors

Postby dazomby » Thu Nov 15, 2007 8:39 am UTC

MS Word cuz it got gr8 indentation.



Nah, just kidding.
When I used UNIX I used VI.
Or possibly Emacs with Viper.

Now I've joined the dark side and use Windows and since most of my coding is done for Matlab, most of my coding is done in Matlab.
I miss VI.

/dz

User avatar
rwald
Posts: 153
Joined: Mon Jan 29, 2007 7:14 am UTC
Contact:

Re: Editors

Postby rwald » Thu Nov 15, 2007 8:57 am UTC

photosinensis wrote:Vim. It's just a text editor.

Emacs, on the other hand, only needs a kernel. When a full GNU distribution comes out, complete with HURD, it will only contain HURD, GNU Emacs, GCC, and GNU Make. Anything else is entirely superfluous and unnecessary. I don't know about you, but I don't want to have to deal with that kind of overhead (and distraction potential) while I'm trying to get work done.


Sure, that seems like a nice userspace stack, but what will you use to edit text?

(Vim user)

User avatar
evilbeanfiend
Posts: 2650
Joined: Tue Mar 13, 2007 7:05 am UTC
Location: the old world

Re: Editors

Postby evilbeanfiend » Thu Nov 15, 2007 11:55 am UTC

in ur beanz makin u eveel

Longsight
Posts: 1
Joined: Thu Nov 15, 2007 10:42 am UTC

Re: Editors

Postby Longsight » Thu Nov 15, 2007 12:35 pm UTC

crazyjimbo wrote:At my work, use of Nano is a sackable offense. We assume the boss is joking, but no one is sure enough to try it out.


Trying to get nano's syntax highlighting to work reliably has irritated me for a while now, especially when working remotely with PHP. Every line that includes a URI ends up getting treated as a comment, due to the inevitable existence of '//' after the protocol.

verdatum
Posts: 0
Joined: Fri Nov 16, 2007 6:41 am UTC

Re: Editors

Postby verdatum » Fri Nov 16, 2007 7:15 am UTC

XEmacs? Nah, no one REALLY uses that. Everyone just got together and pretended to migrate to that briefly. The entire purpose for the fork's existence is to piss off Stallman for the shear joy of it.

Emacs is a lovely idea, and I'd consider taking it seriously, just as soon as someone gives me the default keyboard shortcut (read: not command string) to jump to a specific line number.

I'm sorry, but when you are forced to operate on someone else's computer and be flexible enough to work in whatever environment is forced upon you, vi works quite powerfully out of the box, particularly when briefly editing and quickly navigating preexisting files. It's a dice shoot what version of emacs with what features and what default configuration will be on an unfamiliar system. It may not even be there at all, and then what do emacs people do? They sit around wishing they could figure out how to close out of a vi session once they've finished.

Emacs has the potential to work well, so long as you build or track down a good configuration file, know how it's set, and hey, it doesn't hurt to learn the bulk of lisp, even though emacs very probably the only lisp code you'll ever edit your entire life. It's a bloated text editor that wishes it was an IDE...in fact it probably wishes it was an OS. If you need an IDE, use a real IDE. If you just need a text editor, use vi.


OK, to be honest, I do everything with ed. I keep the entire contents of my directory, with the exception of the line I'm currently editing, up in my head. It makes edits lightning fast.

User avatar
evilbeanfiend
Posts: 2650
Joined: Tue Mar 13, 2007 7:05 am UTC
Location: the old world

Re: Editors

Postby evilbeanfiend » Fri Nov 16, 2007 10:25 am UTC

well for me its f5 cos i've bound it to that - but if you want to know a key binding C-h b (by default) will show you all the key bindings emacs is currently using. (C-h ? will show you all the other help functions)

emacs is my ide, and my OS for that matter. i think the main thing here is that if you are more sys-adminy, working on various machines, especially ones which may be severely broken, then vi makes sense. if you are a developer, working on one machine, especially if you are dealing with a number of complex languages, then emacs makes more sense.

i'm definitely in the code monkey camp
in ur beanz makin u eveel

EvanED
Posts: 4314
Joined: Mon Aug 07, 2006 6:28 am UTC
Location: Madison, WI
Contact:

Re: Editors

Postby EvanED » Fri Nov 16, 2007 2:32 pm UTC

verdatum wrote:XEmacs? Nah, no one REALLY uses that. Everyone just got together and pretended to migrate to that briefly. The entire purpose for the fork's existence is to piss off Stallman for the shear joy of it.

Emacs is a lovely idea, and I'd consider taking it seriously, just as soon as someone gives me the default keyboard shortcut (read: not command string) to jump to a specific line number.

M-g g.

I'm not sure why, but this sometimes works for me, and sometimes tries to run something relating to fonts. (I think it's consistent by installation though.)

User avatar
evilbeanfiend
Posts: 2650
Joined: Tue Mar 13, 2007 7:05 am UTC
Location: the old world

Re: Editors

Postby evilbeanfiend » Fri Nov 16, 2007 2:39 pm UTC

oh and emacs -q will load default setting.
in ur beanz makin u eveel

verdatum
Posts: 0
Joined: Fri Nov 16, 2007 6:41 am UTC

Re: Editors

Postby verdatum » Sat Nov 17, 2007 1:30 pm UTC

evilbeanfiend wrote:emacs is my ide, and my OS for that matter. i think the main thing here is that if you are more sys-adminy, working on various machines, especially ones which may be severely broken, then vi makes sense. if you are a developer, working on one machine, especially if you are dealing with a number of complex languages, then emacs makes more sense.

i'm definitely in the code monkey camp


Well, if you want to make legitimate arguments, that makes this whole war rather difficult. I truthfully agree with this, and I'm also in the code monkey camp. I only forced myself into vi when I switched to a company with lab layouts of mad paranoia and had to edit all over the place.

Still, I've grown to prefer the terser keybindings of vi. But the obvious retort to that is to just use elvis.

Oh, and I've got the emacs and vi o'reilly books shelved side-by-side in my cube just to set off extremists of both camps who stop by. :D

User avatar
wing
the /b/slayer
Posts: 1876
Joined: Tue May 29, 2007 5:56 am UTC

Re: Editors

Postby wing » Sun Nov 18, 2007 5:07 am UTC

Code: Select all

tony@SLAB-UBUNTU:~$ sudo aptitude install emacs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information     
Initializing package states... Done
Building tag database... Done     
The following NEW packages will be automatically installed:
  emacs22-bin-common emacs22-common emacs22-gtk emacsen-common liblockfile1
The following NEW packages will be installed:
  emacs emacs22-bin-common emacs22-common emacs22-gtk emacsen-common
  liblockfile1
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.0MB of archives. After unpacking 68.4MB will be used.
Do you want to continue? [Y/n/?]68mb!?!?  TO EDIT TEXT? fuckno
Invalid response.  Please enter a valid command or '?' for help.
Do you want to continue? [Y/n/?] n
Abort.
tony@SLAB-UBUNTU:~$


You'll note that those aren't even any libraries or anything. That's. Just. Emacs. Visual Studio isn't even that big!*

How big is Vim? A little bit bigger than 24mb. Still not good, but it's powerful enough to warrant the space.

*Sarcasm

I use Nano for config files, and Vim for code. I don't do documents on the Linux box yet - OpenOffice is too painfully suck.
I AM A SEXY, SHOELESS GOD OF WAR!
Akula wrote:Our team has turned into this hate-fueled juggernaut of profit. It's goddamn wonderful.

User avatar
d3adf001
Posts: 1000
Joined: Thu Mar 29, 2007 4:27 pm UTC
Location: State College, PA
Contact:

Re: Editors

Postby d3adf001 » Sun Nov 18, 2007 5:33 am UTC

wing part if that is the gtk version it tooks like

User avatar
wing
the /b/slayer
Posts: 1876
Joined: Tue May 29, 2007 5:56 am UTC

Re: Editors

Postby wing » Sun Nov 18, 2007 6:38 am UTC

d3adf001 wrote:wing part if that is the gtk version it tooks like
... You're right. Why the hell is that included in the metapackage? What if I don't run X?

Just checked the size on the gtk package, it's 9mb. So it's all still absurdly huge.
I AM A SEXY, SHOELESS GOD OF WAR!
Akula wrote:Our team has turned into this hate-fueled juggernaut of profit. It's goddamn wonderful.

User avatar
adlaiff6
Posts: 274
Joined: Fri Nov 10, 2006 6:08 am UTC
Location: Wouldn't you rather know how fast I'm going?
Contact:

Re: Editors

Postby adlaiff6 » Sun Nov 18, 2007 8:14 am UTC

If you need to see the file you're editing, you must be a pussy. Ed for lyfe!
3.14159265... wrote:What about quantization? we DO live in a integer world?

crp wrote:oh, i thought you meant the entire funtion was f(n) = (-1)^n
i's like girls u crazy

User avatar
davean
Site Ninja
Posts: 2495
Joined: Sat Apr 08, 2006 7:50 am UTC
Contact:

Re: Editors

Postby davean » Sun Nov 18, 2007 11:29 am UTC

emacs-nox is the package you want, get it right

Code: Select all

davean@sera:~$ sudo apt-get install emacs-nox
[sudo] password for davean:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libswfdec0.5-1 libswscale1d
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  emacs21-bin-common emacs21-common emacs21-nox
Suggested packages:
  emacs21-el emacs21-common-non-dfsg
The following NEW packages will be installed:
  emacs-nox emacs21-bin-common emacs21-common emacs21-nox
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.4MB of archives.
After unpacking 41.0MB of additional disk space will be used.
Do you want to continue [Y/n]?


And it *still* does more then visual studio.

User avatar
wing
the /b/slayer
Posts: 1876
Joined: Tue May 29, 2007 5:56 am UTC

Re: Editors

Postby wing » Sun Nov 18, 2007 10:33 pm UTC

Yeah. It does more than Visual Studio because it's most of a fucking OS.
I AM A SEXY, SHOELESS GOD OF WAR!
Akula wrote:Our team has turned into this hate-fueled juggernaut of profit. It's goddamn wonderful.

User avatar
davean
Site Ninja
Posts: 2495
Joined: Sat Apr 08, 2006 7:50 am UTC
Contact:

Re: Editors

Postby davean » Mon Nov 19, 2007 5:57 am UTC

wing wrote:Yeah. It does more than Visual Studio because it's most of a fucking OS.


A well designed OS, thats why Visual Studio doesn't run on it.

User avatar
xyzzy
Meta-Titled
Posts: 263
Joined: Sun Mar 18, 2007 10:02 pm UTC
Location: Colossal Cave
Contact:

Re: Editors

Postby xyzzy » Mon Nov 19, 2007 11:55 am UTC

verdatum wrote:
evilbeanfiend wrote:emacs is my ide, and my OS for that matter. i think the main thing here is that if you are more sys-adminy, working on various machines, especially ones which may be severely broken, then vi makes sense. if you are a developer, working on one machine, especially if you are dealing with a number of complex languages, then emacs makes more sense.

i'm definitely in the code monkey camp


Well, if you want to make legitimate arguments, that makes this whole war rather difficult. I truthfully agree with this, and I'm also in the code monkey camp. I only forced myself into vi when I switched to a company with lab layouts of mad paranoia and had to edit all over the place.

Still, I've grown to prefer the terser keybindings of vi. But the obvious retort to that is to just use elvis.

Oh, and I've got the emacs and vi o'reilly books shelved side-by-side in my cube just to set off extremists of both camps who stop by. :D


Nah, nano pwns vi for that sort of work. Seriously, modal editing sucks.
Emacs for work on my own machine, nano for little configs elsewhere.

And for any documents that need to look pretty, aucTeX is the best TeX mode in existence.
"Wile E. Coyote was a theoretical mathematician." - Leliel
"Modern life can be so boring without elements of the bizarre or the fantastical. Hence, we have steampunk." - Me

User avatar
Pesto
Posts: 737
Joined: Wed Sep 05, 2007 5:33 pm UTC
Location: Berkeley, CA

Re: Editors

Postby Pesto » Tue Nov 20, 2007 7:49 pm UTC

I use ex. I told you I was hardcore.

HappySmileMan
Posts: 52
Joined: Fri Nov 09, 2007 11:46 pm UTC

Re: Editors

Postby HappySmileMan » Wed Nov 21, 2007 11:24 pm UTC

Microsoft Windows Notepad (Ultimate edition 2007)

User avatar
evilbeanfiend
Posts: 2650
Joined: Tue Mar 13, 2007 7:05 am UTC
Location: the old world

Re: Editors

Postby evilbeanfiend » Thu Nov 22, 2007 10:08 am UTC

Pesto wrote:I use ex. I told you I was hardcore.


real hardcore text editing is done with pen and paper, and using blood for ink.
in ur beanz makin u eveel

User avatar
davean
Site Ninja
Posts: 2495
Joined: Sat Apr 08, 2006 7:50 am UTC
Contact:

Re: Editors

Postby davean » Thu Nov 22, 2007 10:10 am UTC

evilbeanfiend wrote:
Pesto wrote:I use ex. I told you I was hardcore.


real hardcore text editing is done with pen and paper, and using blood for ink.


Specifically your own blood, and the pen is your own carved finger bone.

zenten
Posts: 3799
Joined: Fri Jun 22, 2007 7:42 am UTC
Location: Ottawa, Canada

Re: Editors

Postby zenten » Thu Nov 22, 2007 2:40 pm UTC

evilbeanfiend wrote:
Pesto wrote:I use ex. I told you I was hardcore.


real hardcore text editing is done with pen and paper, and using blood for ink.


And then running the paper over your hard drive, to get the iron in the ink to cause fluctuation on the drive to have your file edited?

burkelibbey
Posts: 6
Joined: Wed Nov 14, 2007 2:10 am UTC

Re: Editors

Postby burkelibbey » Fri Nov 23, 2007 8:17 am UTC

$_[0] wrote:The only thing I don't like about emacs is confusing C-x 0 and C-x 1, causing me to close the wrong window.

I always think of the 1 in C-x 1 as a laser that kills every other window (makes a lot of sense in a vertical split), and the 0 in C-x 0 as a target that focuses on the current window and kills it.

Oh, and emacs, without a doubt.

HappySmileMan
Posts: 52
Joined: Fri Nov 09, 2007 11:46 pm UTC

Re: Editors

Postby HappySmileMan » Fri Nov 23, 2007 6:12 pm UTC

burkelibbey wrote:
$_0] wrote:The only thing I don't like about emacs is confusing C-x 0 and C-x 1, causing me to close the wrong window.

I always think of the 1 in C-x 1 as a laser that kills every other window (makes a lot of sense in a vertical split), and the 0 in C-x 0 as a target that focuses on the current window and kills it.

Oh, and emacs, without a doubt.


When you have to think of an editor in terms of lasers and targets just to make sense of how to close it, that's when I doubt it's efficiency

EDIT: You can't quote someone who's name has a '[' in it apparently
It seems that you can if it's the outermost quote tag. It starts breaking when the quote tags are nested.

!xobile
Posts: 26
Joined: Sat Aug 25, 2007 3:04 am UTC
Location: Colorado

Re: Editors

Postby !xobile » Mon Nov 26, 2007 4:06 am UTC

Vi, its what i started using, and will continue to use. Apparently Vi has its own gang sign now. :shock:

User avatar
evilbeanfiend
Posts: 2650
Joined: Tue Mar 13, 2007 7:05 am UTC
Location: the old world

Re: Editors

Postby evilbeanfiend » Mon Nov 26, 2007 11:07 am UTC

HappySmileMan wrote:
burkelibbey wrote:
$_0] wrote:The only thing I don't like about emacs is confusing C-x 0 and C-x 1, causing me to close the wrong window.

I always think of the 1 in C-x 1 as a laser that kills every other window (makes a lot of sense in a vertical split), and the 0 in C-x 0 as a target that focuses on the current window and kills it.

Oh, and emacs, without a doubt.


When you have to think of an editor in terms of lasers and targets just to make sense of how to close it, that's when I doubt it's efficiency


meh, that's what key remapping is for (its f1 for me), and anyway since when was vi easy to close (or ed for that matter)
in ur beanz makin u eveel


Return to “Religious Wars”

Who is online

Users browsing this forum: No registered users and 4 guests