all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm+emacsbugs@gnu.org>
To: Joe Corneli <holtzermann17@gmail.com>
Cc: 3405@emacsbugs.donarmstrong.com
Subject: bug#3405: Bug#3405: 23.0.91; indentation w/ comma in lisp-mode
Date: Wed, 17 Jun 2009 20:33:56 -0400	[thread overview]
Message-ID: <27fxdy9y8b.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <a9670630905271144k60ac0791qde5e4b70120196f1@mail.gmail.com> (Joe Corneli's message of "Wed, 27 May 2009 14:44:04 -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	other threads:[~2009-06-18  0:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <lzskhhum6j.fsf@fencepost.gnu.org>
2009-05-27 18:44 ` bug#3405: 23.0.91; indentation w/ comma in lisp-mode Joe Corneli
2009-06-18  0:33   ` Glenn Morris [this message]
2009-07-01  3:20   ` bug#3405: marked as done (23.0.91; indentation w/ comma in lisp-mode) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27fxdy9y8b.fsf@fencepost.gnu.org \
    --to=rgm+emacsbugs@gnu.org \
    --cc=3405@emacsbugs.donarmstrong.com \
    --cc=holtzermann17@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.