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

[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 <address@hidden> 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("address@hidden  ]+Blabla.*\n\\(\\(\\(address@hidden 
\\|address@hidden).*\n\\)\\|\\(address@hidden ]*\n\\)\\|\\(address@hidden 
]*\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 ****
|>          "\\(address@hidden ]*\n\\)"             ; ifinfo line, if any
|>               "\\|"                              ; or
|>               "\\(address@hidden ]*\n\\)"           ; ifnottex line, if any
|> !             "\\)?"                             ; end of expression
|>          "\\)?")
|>         nil t)
|>        (progn
|> --- 672,678 ----
|>          "\\(address@hidden ]*\n\\)"             ; ifinfo line, if any
|>               "\\|"                              ; or
|>               "\\(address@hidden ]*\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, address@hidden
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."



reply via email to

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