unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Gabriel <gabriel376@hotmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 60348@debbugs.gnu.org
Subject: bug#60348: 30.0.50; Incorrect docstring face in lisp-mode
Date: Tue, 27 Dec 2022 14:22:02 +0200	[thread overview]
Message-ID: <83wn6d11g5.fsf@gnu.org> (raw)
In-Reply-To: <PH8PR19MB7070BDE181C9FA6C9B17C77D8BED9@PH8PR19MB7070.namprd19.prod.outlook.com> (message from Gabriel on Tue, 27 Dec 2022 00:42:37 -0300)

> 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?





  reply	other threads:[~2022-12-27 12:22 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 [this message]
2022-12-27 21:24   ` Gabriel
2023-09-03 10:39   ` Stefan Kangas

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=83wn6d11g5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=60348@debbugs.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).