GNU bug report logs - #3405
23.0.91; indentation w/ comma in lisp-mode

Previous Next

Package: emacs;

Reported by: Joe Corneli <holtzermann17 <at> gmail.com>

Date: Wed, 27 May 2009 18:50:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3405 in the body.
You can then email your comments to 3405 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3405; Package emacs. (Wed, 27 May 2009 18:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joe Corneli <holtzermann17 <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 27 May 2009 18:50:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Joe Corneli <holtzermann17 <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; indentation w/ comma in lisp-mode
Date: Wed, 27 May 2009 14:44:04 -0400
Please run `indent-region' on the following form
in Lisp mode -- and observe that the nicely-lined-up
forms in the `:values' field get skewed.

        (insert-records :into [places]
                        :attributes '(code ref)
                        :values `(,(first data)
                                  ,(second data)))

In GNU Emacs 23.0.91.1 (i386-apple-darwin8.11.1, GTK+ Version 2.14.7)
 of 2009-03-31 on planet-maths-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure  '--infodir=${prefix}/share/info'
'--mandir=${prefix}/share/man' '--libexecdir=${prefix}/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  show-paren-mode: t
  slime-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: 1

Recent input:
r e SPC c h a n <backspace> c e <backspace> <backspace>
s e , SPC w e SPC s h o u l d SPC p r o v i d e <return>
s o m e SPC s o r t SPC o f SPC r e g r e s s i o n
SPC t e s t i n g SPC s u i t e C-a M-f M-f <C-left>
<C-backspace> a n d SPC m a i n t a i n SPC <C-delete>
<C-delete> a C-e . C-x C-s M-b M-e C-x C-s M-v M-v
M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v
M-v M-v M-v M-v C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n <C-right> <C-left>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> M-v M-v M-v M-v M-v M-v M-v M-v
M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v
M-v M-v M-v M-v M-v M-v M-v M-v C-x C-s C-z <C-up>
<return> <C-up> <return> <switch-frame> C-s i n t o
SPC [ p l <down> <down> <down> <tab> <tab> <up> <tab>
<down> <tab> <backspace> C-e C-x C-s <tab> <up> <tab>
<down> C-a <tab> <backspace> C-x C-s <down> <down>
<down> C-e C-SPC <C-left> C-M-\ <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <delete>
C-x C-s <up> <up> <up> C-SPC <C-right> M-w <tab> C-/
C-x C-s M-x r e p o r <tab> m <backspace> b <tab>
<return>

Recent messages:
Saving file /Users/planetmath/arxana.tex...
Wrote /Users/planetmath/arxana.tex
Saving file /Users/planetmath/arxana.tex...
Wrote /Users/planetmath/arxana.tex
Mark set
Saving file /Users/planetmath/arxana.tex...
Wrote /Users/planetmath/arxana.tex
Mark set
Undo!
(No changes need to be saved)



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3405; Package emacs. (Thu, 18 Jun 2009 00:40:05 GMT) Full text and rfc822 format available.

Message #8 received at 3405 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm+emacsbugs <at> gnu.org>
To: Joe Corneli <holtzermann17 <at> gmail.com>
Cc: 3405 <at> debbugs.gnu.org
Subject: Re: Bug#3405: 23.0.91; indentation w/ comma in lisp-mode
Date: Wed, 17 Jun 2009 20:33:56 -0400
Joe Corneli wrote:

> Please run `indent-region' on the following form
> in Lisp mode -- and observe that the nicely-lined-up
> forms in the `:values' field get skewed.
>
>         (insert-records :into [places]
>                         :attributes '(code ref)
>                         :values `(,(first data)
>                                   ,(second data)))

I don't observe any problem with:

emacs -Q -f lisp-mode

in either 22.3 or current CVS trunk.

> In GNU Emacs 23.0.91.1 (i386-apple-darwin8.11.1, GTK+ Version 2.14.7)

> Major mode: Lisp
>
> Minor modes in effect:
[...]
>   slime-mode: t

However, the use of a 2009-06-17 slime-mode snapshot with:

(require 'slime)
(slime-setup)

introduces a one-character shift in the indenting of the last line.

It seems to be due to the use of common-lisp-indent-function. Minimum
recipe:

emacs -Q --eval "(setq lisp-indent-function 'common-lisp-indent-function)" \
   -f lisp-mode


It seems you can set the user option lisp-backquote-indentation to nil
to recover the original indentation.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 01 Jul 2009 03:20:08 GMT) Full text and rfc822 format available.

Notification sent to Joe Corneli <holtzermann17 <at> gmail.com>:
bug acknowledged by developer. (Wed, 01 Jul 2009 03:20:08 GMT) Full text and rfc822 format available.

Message #13 received at 3405-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 3405-done <at> debbugs.gnu.org
Subject: Re: bug#3405: Bug#3405: 23.0.91; indentation w/ comma in lisp-mode
Date: Tue, 30 Jun 2009 23:17:08 -0400
I'm closing this because as far as I can tell there is no bug here;
but it can be reopened if you disagree.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 29 Jul 2009 14:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 326 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.