all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <Michael.Albinus@gmx.de>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: master a20f4c7ce19 1/2: Fix string used in recent obsolete variables spec
Date: Thu, 19 Dec 2024 10:42:16 +0100	[thread overview]
Message-ID: <87seqkko07.fsf@gmx.de> (raw)
In-Reply-To: <CADwFkmmPYgae61PPNfv1cy7+mEDg2Cjx12eJ1ntkgQZgjzp=fQ@mail.gmail.com> (Stefan Kangas's message of "Wed, 18 Dec 2024 19:53:57 -0500")

Stefan Kangas <stefankangas@gmail.com> writes:

Hi Stefan,

> Michael Albinus via Mailing list for Emacs changes <emacs-diffs@gnu.org>
> writes:
>
>>  (make-obsolete-variable
>>   'font-lock-comment-face
>> - "use the quoted symbol instead: \\='font-lock-comment-face" "31.1")
>> + "use the quoted symbol instead: 'font-lock-comment-face" "31.1")
>
> With this change, the warning reads:
>
>     use the quoted symbol instead: ’font-lock-warning-face

When I use emacs -Q, it reads correctly in the *Help* buffer (calling describe-variable)

--8<---------------cut here---------------start------------->8---
    use the quoted symbol instead: 'font-lock-warning-face
--8<---------------cut here---------------end--------------->8---

> The idea is that it should be valid Lisp, so that users can copy and use
> it directly.  In other words, it should use a regular ' character:
>
>     use the quoted symbol instead: 'font-lock-warning-face
>
> I suggest reverting this patch.  Thanks.

But then, I see in the *Help* buffer

--8<---------------cut here---------------start------------->8---
    use the quoted symbol instead: \='font-lock-warning-face
--8<---------------cut here---------------end--------------->8---

So we must modify help-fns--var-obsolete to use
substitute-command-keys. I've changed it, and I've reverted my
patch. That should be OK then.

Best regards, Michael.



  reply	other threads:[~2024-12-19  9:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <173451925070.2703699.10721152312553968487@vcs3.savannah.gnu.org>
     [not found] ` <20241218105414.EA064BA7DD0@vcs3.savannah.gnu.org>
2024-12-19  0:53   ` master a20f4c7ce19 1/2: Fix string used in recent obsolete variables spec Stefan Kangas
2024-12-19  9:42     ` Michael Albinus [this message]
2024-12-19 10:53       ` 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

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

  git send-email \
    --in-reply-to=87seqkko07.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=stefankangas@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.