GNU bug report logs - #11461
Making cc-mode.pdf fails

Previous Next

Packages: emacs, cc-mode;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 12 May 2012 16:36:01 UTC

Severity: normal

Found in version 24.0.96

Done: Andreas Schwab <schwab <at> linux-m68k.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 11461 in the body.
You can then email your comments to 11461 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#11461; Package emacs,cc-mode. (Sat, 12 May 2012 16:36:02 GMT) Full text and rfc822 format available.

Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: Making cc-mode.pdf fails
Date: Sat, 12 May 2012 12:34:49 -0400
Package: emacs,cc-mode
Version: 24.0.96

Trying to make cc-mode.pdf fails.

cd doc/misc
make cc-mode.pdf

  This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Debian)
  [...]
  doc/misc/cc-mode.texi:705: Argument of @emacsman has an extra }.
  <inserted text> 
                  @par 
  <to be read again> 
                     }
  @addtokens ...f @addtoks {@noexpand #1={@the #1#2}
                                                    }@addtoks 
  @skipspaces ...@else @addtokens {@filename }{@PP }
                                                    @advance @filenamelength b...
  <argument>  @emacsman 
                        {}
  @getfilename ...ngth =0 <at> expandafter @skipspaces #1
                                                    |@relax 
  ...
  l.705 @emacsmantitle{}}
                         .
  ? 





Reply sent to Andreas Schwab <schwab <at> linux-m68k.org>:
You have taken responsibility. (Sat, 12 May 2012 19:06:01 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Sat, 12 May 2012 19:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 11461-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11461-done <at> debbugs.gnu.org
Subject: Re: bug#11461: Making cc-mode.pdf fails
Date: Sat, 12 May 2012 21:05:14 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> make cc-mode.pdf
>
>   This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Debian)
>   [...]
>   doc/misc/cc-mode.texi:705: Argument of @emacsman has an extra }.
>   <inserted text> 
>                   @par 
>   <to be read again> 
>                      }
>   @addtokens ...f @addtoks {@noexpand #1={@the #1#2}
>                                                     }@addtoks 
>   @skipspaces ...@else @addtokens {@filename }{@PP }
>                                                     @advance @filenamelength b...
>   <argument>  @emacsman 
>                         {}
>   @getfilename ...ngth =0 <at> expandafter @skipspaces #1
>                                                     |@relax 

This is really a bug in texinfo.tex, in the way @skipspaces expands its
argument token by token.  I have checked in a workaround.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#11461; Package emacs,cc-mode. (Sat, 12 May 2012 19:22:02 GMT) Full text and rfc822 format available.

Message #11 received at 11461 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11461 <at> debbugs.gnu.org
Subject: Re: bug#11461: Making cc-mode.pdf fails
Date: Sat, 12 May 2012 21:20:09 +0200
Actually the bug is already fixed in the latest version of texinfo.tex,
so it is probably better to just update it.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#11461; Package emacs,cc-mode. (Sun, 13 May 2012 20:56:02 GMT) Full text and rfc822 format available.

Message #14 received at 11461 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11461 <at> debbugs.gnu.org
Subject: Re: bug#11461: Making cc-mode.pdf fails
Date: Sun, 13 May 2012 20:52:37 +0000
Hi, Glenn.

On Sat, May 12, 2012 at 12:34:49PM -0400, Glenn Morris wrote:
> Package: emacs,cc-mode
> Version: 24.0.96

> Trying to make cc-mode.pdf fails.

> cd doc/misc
> make cc-mode.pdf

>   This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Debian)
>   [...]
>   doc/misc/cc-mode.texi:705: Argument of @emacsman has an extra }.
>   <inserted text> 
>                   @par 
>   <to be read again> 
>                      }
>   @addtokens ...f @addtoks {@noexpand #1={@the #1#2}
>                                                     }@addtoks 
>   @skipspaces ...@else @addtokens {@filename }{@PP }
>                                                     @advance @filenamelength b...
>   <argument>  @emacsman 
>                         {}
>   @getfilename ...ngth =0 <at> expandafter @skipspaces #1
>                                                     |@relax 
>   ...
>   l.705 @emacsmantitle{}}
>                          .
>   ? 

The relevant bit of source code from cc-mode.texi looks like this:

    you want only spaces.  @xref{Just Spaces,,, @emacsman{},
    @emacsmantitle{}}.                                <============ L705

The "extra" } closes off the @xref.  This looks like a bug in pdfTex.  It
seems to have got horribly confused, perhaps because the @xref is split
over two lines and contains macros.

-- 
Alan Mackenzie (Nuremberg, Germany).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Jun 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.