unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Gabriel <gabriel376@hotmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	60348@debbugs.gnu.org
Subject: bug#60348: 30.0.50; Incorrect docstring face in lisp-mode
Date: Sun, 3 Sep 2023 03:39:22 -0700	[thread overview]
Message-ID: <CADwFkmm6UXdRn=eH4N_VtXY6Bym5zB_FYCxeWDk2cXZCGreiZw@mail.gmail.com> (raw)
In-Reply-To: <83wn6d11g5.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 27 Dec 2022 14:22:02 +0200")

tags 60348 notabug
close 60348
thanks

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Gabriel <gabriel376@hotmail.com>
>> Date: Tue, 27 Dec 2022 00:42:37 -0300
>>
>> Steps:
>>
>> 1) emacs -Q (master branch)
>>
>> 2) Open *scratch* buffer (or any buffer with a lisp major mode)
>>
>> 3) Type:
>>
>> (defun foo () "Hello, World!")
>>
>> Expected result: The string "Hello, World!" is fontified with
>> 'font-lock-string-face'.
>>
>> Actual result: The string "Hello, World!" is fontified with
>> 'font-lock-doc-face'.
>
> 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?

I think you're not missing anything.  This is the expected behavior, and
this is not a bug.

I'm therefore closing this bug report.





      parent reply	other threads:[~2023-09-03 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27  3:42 bug#60348: 30.0.50; Incorrect docstring face in lisp-mode Gabriel
2022-12-27 12:22 ` Eli Zaretskii
2022-12-27 21:24   ` Gabriel
2023-09-03 10:39   ` Stefan Kangas [this message]

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='CADwFkmm6UXdRn=eH4N_VtXY6Bym5zB_FYCxeWDk2cXZCGreiZw@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=60348@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=gabriel376@hotmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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).