GNU bug report logs - #60348
30.0.50; Incorrect docstring face in lisp-mode

Previous Next

Package: emacs;

Reported by: Gabriel <gabriel376 <at> hotmail.com>

Date: Tue, 27 Dec 2022 03:49:01 UTC

Severity: normal

Tags: notabug

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gabriel <gabriel376 <at> hotmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#60348: 30.0.50; Incorrect docstring face in lisp-mode
Date: Tue, 27 Dec 2022 18:24:43 -0300
Eli Zaretskii <eliz <at> gnu.org> writes:
>
> I'm not sure I understand why you expected something other than
> font-lock-doc-face.  E.g., the Lisp interpreter disagrees with you:
>
>   (documentation 'foo)
>     => "Hello, World!"
>
> Am I missing something here?

Hi Eli,

Well, I am not sure either, but for me it's sort of confusing.  If you
eval:

  (foo)
  => "Hello, World!"

How does the Lisp interpreter handles this case?  It's a docstring AND a
function body?

---
Gabriel




This bug report was last modified 1 year and 264 days ago.

Previous Next


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