LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Emacs modes

Emacs modes

Posted Apr 11, 2007 8:08 UTC (Wed) by ldo (subscriber, #40946)
In reply to: viper-mode by ncm
Parent article: Emacs 22 on April 23

... emacs is very far from "modeless" ...

Which is why my .emacs contains the following item in its custom-set-variables list:

'(auto-mode-alist (quote (("" . fundamental-mode))) t)

That disables all the modal cruft, and lets me use it as a nice, simple editor.


(Log in to post comments)

Emacs modes

Posted Apr 11, 2007 8:52 UTC (Wed) by ncm (subscriber, #165) [Link]

What, with no way to do search-and-replace? I guess that's simple. But how do you open a file? Ctrl-X switches to an unnamed mode, and Ctrl-F after that switches to "minibuffer-mode", and then Enter switches back to edit mode.

"Modeless emacs" was always a transparent fiction, from back when "modeless" was equated to "good": "Emacs is obviously good, therefore it must be modeless", facts notwithstanding. ("Object-oriented" took over that linguistic niche a little later.)

But viper-mode is a pretty good mode, as modes go.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds