GNU bug report logs - #32546
26.1: checkdoc uses smart quotes

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Mon, 27 Aug 2018 22:05:02 UTC

Severity: minor

Found in version 26.1

Fixed in version 26.2

Done: Glenn Morris <rgm <at> gnu.org>

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: Alex Branham <alex.branham <at> gmail.com>
Subject: bug#32546: closed (Re: bug#32546: 26.1: checkdoc uses smart quotes)
Date: Mon, 27 Aug 2018 22:47:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#32546: 26.1: checkdoc uses smart quotes

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 32546 <at> debbugs.gnu.org.

-- 
32546: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32546
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 32546-done <at> debbugs.gnu.org
Subject: Re: bug#32546: 26.1: checkdoc uses smart quotes
Date: Mon, 27 Aug 2018 18:46:06 -0400
Version: 26.2

Thanks, fixed in d0d162c on emacs-26 branch.

[Message part 3 (message/rfc822, inline)]
From: Alex Branham <alex.branham <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1: checkdoc uses smart quotes
Date: Mon, 27 Aug 2018 17:03:50 -0500
From emacs -Q, write:

(defun foo ()
  "A major-mode."
  (+ 1 1))

and do M-x checkdoc. It'll complain about major-mode needing to be
quoted. Hit "f" and you get:

(defun foo ()
  "A ‘major-mode’."
  (+ 1 1))

instead of

(defun foo ()
  "A `major-mode'."
  (+ 1 1))

I know that docstrings you see via e.g. C-h f use "smart" quotes now,
but I found it surprising that they're getting put into docstrings
themselves.

Thanks,
Alex



This bug report was last modified 6 years and 352 days ago.

Previous Next


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