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: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32546: closed (26.1: checkdoc uses smart quotes)
Date: Mon, 27 Aug 2018 22:47:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 Aug 2018 18:46:06 -0400
with message-id <ma1sajl975.fsf <at> fencepost.gnu.org>
and subject line Re: bug#32546: 26.1: checkdoc uses smart quotes
has caused the debbugs.gnu.org bug report #32546,
regarding 26.1: checkdoc uses smart quotes
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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


[Message part 3 (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.


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.