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: Alex Branham <alex.branham <at> gmail.com>
To: 32546 <at> debbugs.gnu.org
Subject: bug#32546: 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.