[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texinfo-start-menu-description regex problem
From: |
Andreas Schwab |
Subject: |
Re: texinfo-start-menu-description regex problem |
Date: |
Fri, 01 Mar 2002 16:58:24 +0100 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) |
Michael Scholz <scholz-micha@gmx.de> writes:
|> The function texinfo-start-menu-description (C-c C-c C-d) doesn't work
|> correctly in texinfo-mode. I think there is a regex mistake in this
|> function. With the change listed below it works properly now.
|>
|> I'm using GNU Emacs 21.1.1 (i686-lerche-freebsd3.3, X toolkit, Xaw3d
|> scroll bars). Debugging message is:
|>
|> Debugger entered--Lisp error: (invalid-regexp "Unmatched ) or \\)")
|> re-search-forward("^@node[ ]+Blabla.*\n\\(\\(\\(^@c
\\|^@comment\\).*\n\\)\\|\\(^@ifinfo[ ]*\n\\)\\|\\(^@ifnottex[ ]*\n\\)\\)?\\)?"
nil t)
|> * call-interactively(texinfo-start-menu-description)
|>
|> *** /usr/local/share/emacs/21.1/lisp/textmodes/texnfo-upd.el.orig
|> --- /usr/local/share/emacs/21.1/lisp/textmodes/texnfo-upd.el
|> ***************
|> *** 672,678 ****
|> "\\(^@ifinfo[ ]*\n\\)" ; ifinfo line, if any
|> "\\|" ; or
|> "\\(^@ifnottex[ ]*\n\\)" ; ifnottex line, if any
|> ! "\\)?" ; end of expression
|> "\\)?")
|> nil t)
|> (progn
|> --- 672,678 ----
|> "\\(^@ifinfo[ ]*\n\\)" ; ifinfo line, if any
|> "\\|" ; or
|> "\\(^@ifnottex[ ]*\n\\)" ; ifnottex line, if any
|> ! ; "\\)?" ; end of expression
|> "\\)?")
|> nil t)
|> (progn
Thanks for your report. I'm forwarding it to the texinfo bug list.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: texinfo-start-menu-description regex problem,
Andreas Schwab <=