Live data from Hacker News

GNU Emacs 23.1 has been released

gnu.org

21–26 of 26 posts

Re: GNU Emacs 23.1 has been released

#21
post #19
post #5

How to get the command key back as the meta key on Mac OS X: (setq ns-command-modifier 'meta)

But how, how, how to get it back in the terminal emacs? :)

I use (setf mac-option-modifier 'meta) and then swap Option and Command keys in keyboard preferences, and that makes meta work correctly with windowed Carbon Emacs and terminal mode emacs (both Carbon and the default OSX emacs).

I also use DoubleKey to map the Enter key (right next to Command key on the right) to Ctrl. It bugs me to have to do all this, but it makes meta work just like it does on Linux, so it's worth it.

Re: GNU Emacs 23.1 has been released

#22
post #11

Don't miss the badass cover to the original Emacs Manual for ITS: http://www.gnu.org/software/emacs/its-cover.png Or rms's only cartoon (It's ... funny?): http://www.gnu.org/software/emacs/self-doc-extensible-editor...

Not funny me thinks, but much better, in a modern art sense interesting, very clean concept. He should do 20 of them and see what evolves out of that.

And thanks for the cover!

Re: GNU Emacs 23.1 has been released

#23
I'd love to finally use emacs 24/7 (rather than randomly jumping between (ubuntu) gedit, gvim, vim, emacs and (osx) textmate) but arg I still can't figure out how to force emacs to: Never insert a tab character, ever. When I press tab, just always insert the freaking spaces instead of apparently not believing me that I want to indent there.

Honestly, am I missing something? I don't leave trailing whitespace in files because, well, it's our convention and I think it's pointless anyway. So I go into a function to add some code in the middle and it's impossible to get indented the right amount without hitting space 12 times since pressing tab just does nothing. I know I could go onto a previous line and hit C-e C-j to line break + indent but do you know how often I just try to insert code in the middle and realize it doesn't work? Google has not been my friend on this issue.

/rant

Re: GNU Emacs 23.1 has been released

#24

I'd love to finally use emacs 24/7 (rather than randomly jumping between (ubuntu) gedit, gvim, vim, emacs and (osx) textmate) but arg I still can't figure out how to force emacs to: Never insert a tab character, ever. When I press tab, just always insert the freaking spaces instead of apparently not believing me that I want to indent there. Honestly, am I missing something? I don't leave trailing whitespace in files…

Is this what you are asking for? http://www.gnu.org/software/emacs/manual/html_node/emacs/Jus...

Re: GNU Emacs 23.1 has been released

#25

I'd love to finally use emacs 24/7 (rather than randomly jumping between (ubuntu) gedit, gvim, vim, emacs and (osx) textmate) but arg I still can't figure out how to force emacs to: Never insert a tab character, ever. When I press tab, just always insert the freaking spaces instead of apparently not believing me that I want to indent there. Honestly, am I missing something? I don't leave trailing whitespace in files…

Is this what you are asking for? http://www.gnu.org/software/emacs/manual/html_node/emacs/Jus...

Unfortunately, no. Go to a blank line inside a code block that's indented a bit and hit tab. Nothing happens :/

I wasn't clear above, I have been able to have it never insert a tab, but it's that and the "don't try to 'intelligently' prevent me from indenting" thing that I need.

Re: GNU Emacs 23.1 has been released

#26

Earlier quoted context omitted.

If you've actually ever used Emacs before don't use Aquamacs, or else you're going to end up reconfiguring everything all over again because the Aquamacs developers don't seem to like to stick the standards and conventions. Random things are wonky and way out of place. Like their variation of how buffers and frames work is ridiculous. Build the Nextstep version, Emacs.app and things will actually work the way they're…

On the other hand, if you are used to Mac OS X applications and want to try Emacs, Aquamacs is a good place to start. Mapping the Command key to traditional Mac shortcuts (Cmd-C copy, Cmd-V paste, etc.) while leaving the Control key for Emacs commands and Option as Meta, works really well for me. I have used Emacs off and on over a couple decades now, but have also been using Macs for about as long, so changing Comma…

Emacs.app already does mappings correctly. In fact the last time I checked it also uses the native clipboard better than Aquamacs does, kill and copy work the same, as with yank/paste work.
Post reply on HN