unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Pearson <davep.news@davep.org>
Subject: `common-lisp-indent-function', `flet' and "def*"
Date: Fri, 24 May 2002 14:02:49 +0100	[thread overview]
Message-ID: <20020524140249.A25750@hagbard.davep.org> (raw)

In GNU Emacs 21.2.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-20 on hagbard
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
  locale-coding-system: nil
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

`common-lisp-indent-function' gets the indentation of the first line of a
function wrong when defining a function via `flet' and where the name of
that function begins with "def".

To test this start a new "emacs -q", then, in the *scratch* buffer,
evaluate:

,----
| (setq lisp-indent-function 'common-lisp-indent-function)
`----

now enter and indent this code:

,----
| (flet ((is-defun-p ()
|          nil)))
`----

followed by:

,----
| (flet ((defunp ()
|            nil))
`----

note how the indent of the second form differs from the indent of the first
form.

-- 
Dave Pearson
http://www.davep.org/

             reply	other threads:[~2002-05-24 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-24 13:02 Dave Pearson [this message]
2002-05-25 21:19 ` `common-lisp-indent-function', `flet' and "def*" Richard Stallman
2002-05-27 10:27   ` Dave Pearson

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20020524140249.A25750@hagbard.davep.org \
    --to=davep.news@davep.org \
    --cc=davep@davep.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).