GNU bug report logs -
#9702
23.1; Small typo in doc/lispref/symbols.texi
Previous Next
Reported by: Tim Landscheidt <tim <at> tim-landscheidt.de>
Date: Sat, 8 Oct 2011 14:47:01 UTC
Severity: minor
Found in version 23.1
Fixed in version 24.0.91
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9702 in the body.
You can then email your comments to 9702 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9702
; Package
emacs
.
(Sat, 08 Oct 2011 14:47:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tim Landscheidt <tim <at> tim-landscheidt.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 08 Oct 2011 14:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
doc/lispref/symbols.texi in 23.1 and still in (git's) HEAD
bears a small typo (line 538ff.) probably caused by a too
eager search 'n' replace:
| @example
| (plist-get '(foo 4) 'foo)
| @result{} 4
| (plist-get '(foo 4 bad) 'foo)
| @result{} 4
| (plist-get '(foo 4 bad) 'bad)
| @result{} @code{nil}
^^^^^^ ^
| (plist-get '(foo 4 bad) 'bar)
| @result{} nil
| @end example
which renders as:
| (plist-get '(foo 4) 'foo)
| => 4
| (plist-get '(foo 4 bad) 'foo)
| => 4
| (plist-get '(foo 4 bad) 'bad)
| => `nil'
^ ^
| (plist-get '(foo 4 bad) 'bar)
| => nil
To find out whether there were other occurences, I produced
XML output and ran this stylesheet on it:
| <?xml version="1.0"?>
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
| <xsl:template match="/">
| <xsl:for-each select="//example[code]">
| <xsl:copy-of select="."/>
| </xsl:for-each>
| </xsl:template>
| </xsl:stylesheet>
This gave another dubious case in lines 834ff. of
doc/lispref/positions.texi:
| @example
| Warning: @code{save-excursion} defeated by @code{set-buffer}
| @end example
I haven't checked the other info files.
For maintenance purposes, it should be possible to auto-
mate this task (if some document structure is defined).
HTH,
Tim
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Sat, 08 Oct 2011 20:54:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tim Landscheidt <tim <at> tim-landscheidt.de>
:
bug acknowledged by developer.
(Sat, 08 Oct 2011 20:54:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 9702-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.0.91
Thank you; fixed.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 06 Nov 2011 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 288 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.