GNU bug report logs - #75876
29.2; warning "docstring has wrong usage of unescaped single quotes" in easy-mmode.el

Previous Next

Package: emacs;

Reported by: "R. Diez" <rdiezmail-emacs <at> yahoo.de>

Date: Sun, 26 Jan 2025 17:59:02 UTC

Severity: normal

Tags: notabug

Found in version 29.2

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "R. Diez" <rdiezmail-emacs <at> yahoo.de>
Subject: bug#75876: closed (Re: bug#75876: 29.2; warning "docstring has
 wrong usage of unescaped single quotes" in easy-mmode.el)
Date: Tue, 11 Feb 2025 07:17:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#75876: 29.2; warning "docstring has wrong usage of unescaped single quotes" in easy-mmode.el

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 75876 <at> debbugs.gnu.org.

-- 
75876: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75876
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: "R. Diez" <rdiezmail-emacs <at> yahoo.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 75876-done <at> debbugs.gnu.org,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#75876: 29.2; warning "docstring has wrong usage of unescaped
 single quotes" in easy-mmode.el
Date: Mon, 10 Feb 2025 23:16:01 -0800
"R. Diez" <rdiezmail-emacs <at> yahoo.de> writes:

>> Hmm... don't do it?
>> IOW, give a name to your function.
>
> OK guys, thanks for your quick help with this matter.

Thanks, I'm therefore closing this bug.

[Message part 3 (message/rfc822, inline)]
From: "R. Diez" <rdiezmail-emacs <at> yahoo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.2; warning "docstring has wrong usage of unescaped single quotes"
 in easy-mmode.el
Date: Sun, 26 Jan 2025 18:58:12 +0100
I am getting the following warning in 'dtrt-indent-global-mode':

dtrt-indent.el:208:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting)

The author of package dtrt-indent.el says the warning is incorrect:

https://github.com/jscheid/dtrt-indent/issues/79#issuecomment-2614031451

I do now know much Lisp myself, but I suspect the warning probably actually comes from macro 'define-globalized-minor-mode' in easy-mmode.el, because that macro apparently does have a docstring without proper quoting.

I am reporting this bug here because easy-mmode.el says it is part of Emacs.



This bug report was last modified 105 days ago.

Previous Next


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