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

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

texinfo-start-menu-description regex problem


From: Michael Scholz
Subject: texinfo-start-menu-description regex problem
Date: 28 Feb 2002 23:05:51 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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

--
Mike



reply via email to

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