emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C-u prefix behavior of TAB broken


From: Miles Bader
Subject: C-u prefix behavior of TAB broken
Date: Mon, 17 Dec 2007 07:07:15 +0900

Until the recent changes to the default TAB command, it used to be that
using a C-u prefix with TAB (in a programming language mode) would
indent the entire following form to reflect the change in indentation
(where the form selected was whatever the sexp commands would select --
e.g. an entire brace-delimited code block).

This was a very handy feature, but doesn't work anymore.

For instance if you place the cursor before "(when" in the following
elisp code:

(defun test (flag)
(when flag
  (format "hello")))

and hit TAB, the result _used_ to be:

(defun test (flag)
  (when flag
    (format "hello")))

But now it just gives you:

(defun test (flag)
  (when flag
  (format "hello")))

[I don't know exactly _where_ this feature was implemented, but it
worked at least in lisp mode and the various C related modes.]

Thanks,

-Miles

-- 
"Though they may have different meanings, the cries of 'Yeeeee-haw!' and
 'Allahu akbar!' are, in spirit, not actually all that different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]