LWN.net Logo

Emacs 23.1 released

Emacs 23.1 released

Posted Jul 30, 2009 22:04 UTC (Thu) by dann (guest, #11621)
Parent article: Emacs 23.1 released

More details to what was in the announcement:

- Support for using X displays and text terminals in one session,
and for running as a daemon.

Running as a daemon (emacs --daemon) means that emacs stays running after you log out from the machine, and when connecting again you can open (using emacsclient) X11 frames and/or tty frames. The tty frames don't need to be on the same type of tty, you can have frames on a 256 color xterm, and 8 color xterm (these are black on white by default) and a linux console (white on black) and the colors used for syntax highlighting automatically adapt.

- Shift-selection.

You can use shift + arrow keys by default (it was possible before, but not by default) to select text. More, if you have something selected TAB, M-q, etc. will indent/fill that selection.

- Directory-local variables.

This means that you can add a .dir-locals.el at the top of your project tree to impose coding conventions for that tree regardless of the user's individual settings. For example if you hate tabs, you can set indent-tabs-mode to nil, and tabs will never be inserted. Etc. etc.

- there are more packages added than the listed ones, you should see the NEWS file

Not mentioned in the announcement: the VC mode has been improved to better support modern VCS.
You can apply the same VC operation to multiple files (and directories).
Showing logs, annotations (blame) and diffs is tighter integrated. For example you can see file (or changeset) diffs from the log view mode.
vc-dir (C-x v d) is a new implementation of the VC directory status, it allows to apply various operations on multiple files.
It is possible to extend VC to support features specific to each VCS.


(Log in to post comments)

Emacs 23.1 released

Posted Jul 31, 2009 14:30 UTC (Fri) by dskoll (subscriber, #1630) [Link]

Not mentioned in the announcement: the VC mode has been improved to better support modern VCS.

Yes! I was so happy to see git support in vc-mode! And being able to run ediff on different revisions is very nice.

Emacs 23.1 released

Posted Jul 31, 2009 20:11 UTC (Fri) by dann (guest, #11621) [Link]

To be fair, emacs-22.3 supported git too, but only at file level, no changesets.

VC enhancements

Posted Aug 1, 2009 18:24 UTC (Sat) by madscientist (subscriber, #16861) [Link]

Although this is a welcome improvement there's still a need for supporting "two stage commits" in VC. Git has this, with the staging area (nee index), but other SCM tools also have a concept of a private workspace or branch that's stored on the server (IOW, not just local files) that then need to be promoted or published to a more public branch/stream/whatever. I work with a tool (AccuRev) which has this explicitly (I'm working on updating our local VC support for AccuRev to Emacs 23 right now), but even tools which don't have it explicitly often implement it as a workflow. I wrote a complete changeset based environment for ClearCase back when I worked at a company that used that (just say no to UCM---ugh!!) and it used a ClearCase branch to track each changeset, so you checked in your changes there but then you need an extra command when you're done with the changest, to push it up to the next level.

I don't think there's any support in Git's VC mode for push for example.

VC enhancements

Posted Aug 1, 2009 21:29 UTC (Sat) by nix (subscriber, #2304) [Link]

Isn't that sort of repo-wide thing what magit is for?

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