emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#9702: closed (23.1; Small typo in doc/lispref/symb


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#9702: closed (23.1; Small typo in doc/lispref/symbols.texi)
Date: Sat, 08 Oct 2011 20:54:02 +0000

Your message dated Sat, 08 Oct 2011 16:53:18 -0400
with message-id <address@hidden>
and subject line Re: bug#9702: 23.1; Small typo in doc/lispref/symbols.texi
has caused the debbugs.gnu.org bug report #9702,
regarding 23.1; Small typo in doc/lispref/symbols.texi
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9702: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9702
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.1; Small typo in doc/lispref/symbols.texi Date: Sat, 08 Oct 2011 14:46:31 +0000 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#9702: 23.1; Small typo in doc/lispref/symbols.texi Date: Sat, 08 Oct 2011 16:53:18 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.0.91

Thank you; fixed.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]