La dernière version de GNU Emacs, la 22.1, a été publiée aujourd'hui, parmi la longue liste de changements, voici les fonctionnalités les plus intéressantes :
- New command line option -Q or --quick.
This is like using -q --no-site-file, but in addition it also disables the fancy startup screen. - New command line option -D or --basic-display.
Disables the menu-bar, the tool-bar, the scroll-bars, tool tips, and the blinking cursor. - You can now follow links by clicking Mouse-1 on the link.
- New command `kill-whole-line' kills an entire line at
once.
By default, it is bound to C-S-<backspace>. - You can now switch buffers in a cyclic order
with C-x C-left (previous-buffer) and C-x C-right (next-buffer). C-x left and C-x right can be used as well. The functions keep a different buffer cycle for each frame, using the frame-local buffer list. - If you set the new variable `mouse-autoselect-window' to a non-nil value, windows are automatically selected as you move the mouse from one Emacs window to another, even within a frame. A minibuffer window can be selected only when it is active.
- On X, when the window manager requires that you click on a frame to select it (give it focus), the selected window and cursor position normally changes according to the mouse click position. If you set the variable x-mouse-click-focus-ignore-position to t, the selected window and cursor position do not change when you click on a frame to give it focus.
- Under X11, it is possible to swap Alt and Meta (and Super
and Hyper).
The new variables `x-alt-keysym', `x-hyper-keysym', `x-meta-keysym', and `x-super-keysym' can be used to choose which keysyms Emacs should use for the modifiers. For example, the following two lines swap Meta and Alt:(setq x-alt-keysym 'meta) (setq x-meta-keysym 'alt)