unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* `common-lisp-indent-function', `flet' and "def*"
@ 2002-05-24 13:02 Dave Pearson
  2002-05-25 21:19 ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Pearson @ 2002-05-24 13:02 UTC (permalink / 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-27 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-24 13:02 `common-lisp-indent-function', `flet' and "def*" Dave Pearson
2002-05-25 21:19 ` Richard Stallman
2002-05-27 10:27   ` Dave Pearson

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).