GNU bug report logs -
#50731
`progress-reporter-update' docstring and `backward-sexp' interaction
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Wed, 22 Sep 2021 06:54:01 UTC
Severity: minor
Tags: fixed
Fixed in version 28.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Severity: minor
The docstring of `progress-reporter-update' contains the following text:
If REPORTER is a numerical progress reporter---i.e. if it was
made using non-nil MIN-VALUE and MAX-VALUE arguments to
`make-progress-reporter'---then VALUE should be a number between
MIN-VALUE and MAX-VALUE.
If I place point on the space after "i.e." on the first row, and type
C-M-b (backward-sexp), point ends up before "reporter". (This happens
in `emacs-lisp-mode', but not in `message-mode'; `message-mode' seems to
have no concept of an abbreviation and lands on the "e".)
This in turn leads to checkdoc flagging this as a mistake, and asks you
to put two spaces after dot.
I'm not sure which of these options is true:
A) We should support the above convention of using three dashes in
`backward-sexp'. (This is the rough ASCII equivalent of an em dash.)
B) We should just not use the above convention in
`progress-reporter-update'.
This bug report was last modified 3 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.