bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#18348: 24.4.50; `common-lisp-indent-function'


From: Drew Adams
Subject: bug#18348: 24.4.50; `common-lisp-indent-function'
Date: Thu, 28 Aug 2014 15:03:29 -0700 (PDT)

emacs -Q

In emacs-lisp-mode, do this:

(set (make-local-variable 'lisp-indent-function)
     'common-lisp-indent-function)

In Emacs 20, this Emacs-Lisp sexp indents correctly (IMO) to this, using
`C-M-q':

(toto beg end
      `(foo     ,bar
        keymap      ,map
        mouse-face  highlight
        help-echo   "jjjjjjjjjjjjjjjjjjjj"))

Starting with Emacs 22, it indents to this, which is bad (IMO):

(toto beg end
      `(foo     ,bar
                keymap      ,map
                mouse-face  highlight
                help-echo   "jjjjjjjjjjjjjjjjjjjj"))

If this is really what Emacs Dev prefers (why?), can you please let me
know a simple way to get the Emacs 20 indentation instead?


In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-08-15 on LEG570
Bzr revision: 117706 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'





reply via email to

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