Dear Bug Team!
How-To-Repeat:
C-x C-f example.texi (attached file), and M-x texinfo-format-buffer.
Invalid regexp: "Invalid preceding regular expression"
(backtrace attached)
When regexp special character (e.g. "+") in node-name ("C++"),
re-search-backward call with invalid regexp.
ChangeLog & diff file attached; use search-backward instead of
re-search-backward.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: FreeBSD
rave.kaoru.trans-nt.com 4.7-STABLE FreeBSD 4.7-STABLE #8: Sun Nov 10
19:51:09 JST 2002 root@rave.kaoru.trans-nt.com:/usr/obj/usr/src/sys/RAVE i386
./configure '--extra-verbose' '--cflags=-O2' '--dynamic=yes'
'--with-mule' '--with-site-lisp' '--with-x11' '--with-tty'
'--with-xface' '--with-xpm' '--with-gtk=no'
'--with-gnome=no' '--with-xim=no' '--with-sound=none'
'--with-ipv6-cname=no' '--with-ldap=no' '--with-postgresql=no'
'--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib'
'--with-canna=no' '--with-wnn6=yes' '--with-wnn=no'
'--with-png' '--with-gif' '--with-jpeg' '--with-pop'
'--site-includes=/usr/local/include:/usr/local/include/wnn6'
'--site-libraries=/usr/local/lib' '--site-prefixes=/usr/local'
XEmacs 21.4.10 "Military Intelligence" configured for
`i386-unknown-freebsd4.7'.
Compilation / Installation:
Source code location: /usr/local/src/xemacs
Installation prefix: /usr/local
Additional header files: /usr/local/include /usr/local/include/wnn6
Additional libraries: /usr/local/lib
Additional prefixes: /usr/local
Runtime library search path: /usr/local/lib:/usr/X11R6/lib
Operating system description file: `s/freebsd.h'
Machine description file: `m/intel386.h'
Compiler: gcc -O2
Relocating allocator for buffers: yes
GNU version of malloc: yes
Linking with `-z nocombreloc'.
- Consider configuring with --pdump.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Databases:
Compiling in support for DBM.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for the WNN input method on Mule.
- Using WNN version 6.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "flock" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.1 :type regular)
(xslide :version 1.03 :type regular)
(xemacs-devel :version 1.48 :type single-file)
(xemacs-base :version 1.68 :type regular)
(w3 :version 1.25 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.34 :type regular)
(view-process :version 1.12 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.33 :type regular)
(tramp :version 1.08 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(time :version 1.12 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.52 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.24 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(sml-mode :version 0.03 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.09 :type regular)
(sh-script :version 1.15 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.14 :type regular)
(scheme :version 1.11 :type regular)
(sasl :version 1.12 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.28 :type regular)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.33 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.65
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.28 :type single-file)
(ocaml :version 0.03 :type regular)
(net-utils :version 1.28 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.15 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.49 :type regular)
(jde :version 1.35 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.28 :type regular)
(igrep :version 1.09 :type regular)
(idlwave :version 1.25 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(haskell-mode :version 1.03 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.02 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.03 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.93 :type single-file)
(ediff :version 1.41 :type regular)
(edebug :version 1.14 :type regular)
(ecrypto :version 0.11 :type regular)
(docbookide :version 0.05 :type regular)
(dired :version 1.12 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.15 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.3 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.07 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.32 :type regular)
(ada :version 1.1 :type regular)
(skk :version 1.22 :type regular)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.42 :type regular)
(lookup :version 1.12 :type regular)
(locale :version 1.18 :type regular)
(leim :version 1.19 :type regular)
(latin-unity :version 1.05 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.13 :type regular))
Features:
--------
(debug informat gnus-fun gnus-cite sort gnus-async mel-q-ccl
gnus-ml disp-table nndraft nnmh gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art gnus-sum gnus-group
gnus-undo nntp gnus-cache nnimap nnmail mail-source format-spec
nnoo imap gnus-start message mail-abbrevs mailheader canlock
gnus-range gnus-spec gnus-int gnus-win gnus gnus-ems gnus-xmas
messagexmas gnus-util netrc time-date parse-time nnheader
nnheaderxm mmgnus running-pterodactyl-gnus-0_73-or-later gnus-vers
mu-cite wl-score egg-jpn egg-wnn egg egg-leim tdf-mode smtp sasl
sasl-anonymous sasl-login sasl-plain x-face-xmas x-face add-log
view-less view hyper-apropos develock find-func texinfmt
texnfo-upd executable tex-info texinfo flyspell ispell wl-mime
mime-play filename mime-edit pgg-parse pccl pccl-20 pgg-def
signature mail-utils mime-setup mail-mime-setup semi-setup
mime-image elmo-filter elmo-mark elmo-sendlog elmo-internal
elmo-pop3 elmo-imap4 elmo-nntp elmo-net elmo-dop elmo-localdir
elmo-cache elmo-map elp wl-address wl-thread wl-summary ps-print
lpr wl-refile wl-message elmo-mime mmelmo-buffer mmelmo-imap
mime-view mime-conf calist semi-def mmimap mime-parse mmbuffer
mmgeneric elmo-multi wl-folder wl wl-xmas wl-util pp elmo
elmo-database elmo-msgdb luna wl-draft emu invisible inv-xemacs
wl-template xemacsbug shadow sendmail rfc822 elisp-info-index
cl-specs func-menu efs-cu wl-demo wl-highlight wl-vars wl-version
elmo-util utf7 elmo-date timezone elmo-vars elmo-version
eword-encode checkdoc init rave init-frame paren mic-paren windows
revive init-www init-irc init-texmf env tex-jp latex tex tex-site
init-gnus init-wl init-mew init-prog cc-styles cc-vars cc-defs
init-lisp font-lock info elisp-info init-mua lsdb mime
eword-decode mel mime-def mcharset mcs-20 mcs-xm mcs-xmu wid-edit
cus-face pcustom std11 alist poem poem-xm pces pces-xfc pces-20
broken pces-xm path-util byte-optimize bytecomp byte-compile
poe-xemacs timer overlay poe pym edebug eval-reg static apel-ver
product init-misc autoinsert japan-util advice advice-preload
uniquify kaoru regexp-opt zenirc-autoloads xslt-process-autoloads
xslide-autoloads xemacs-devel-autoloads xemacs-base-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-cc-autoloads vc-autoloads tramp-autoloads
tpu-autoloads tooltalk-autoloads time-autoloads textools-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
strokes-autoloads speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads sml-mode-autoloads slider-autoloads
sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads sasl-autoloads rmail-autoloads
reftex-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads ocaml-autoloads
net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mew-autoloads mailcrypt-autoloads
mail-lib-autoloads jde-autoloads ispell-autoloads ilisp-autoloads
igrep-autoloads idlwave-autoloads ibuffer-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
ess-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecrypto-autoloads
docbookide-autoloads dired-autoloads dictionary-autoloads
debug-autoloads crisp-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads ada-autoloads skk-autoloads mule-ucs-autoloads
mule-base-autoloads lookup-autoloads locale-autoloads
leim-autoloads latin-unity-autoloads egg-its-autoloads
edict-autoloads wl-autoloads gnus-autoloads semi-autoloads
mu-autoloads lsdb-autoloads liece-autoloads flim-autoloads
chise-autoloads apel-autoloads lisp-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 slovenian czech romanian ccl mule-help
code-cmds gutter-items menubar-items x-menubar mode-motion mouse
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete cus-file derived frame text-props obsolete cus-start
custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp file-coding wnn mule lucid-scrollbars cut-buffer
lucid-menubars motif-dialogs x c-balloon-help tty-frames tty
toolbar scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar dbm md5
xemacs gutter tiff png gif jpeg xface xpm xbm lisp-float-type
berkeley-unix dialog devices window-system base64)
Recent keystrokes:
-----------------
C-g C-c 3 c C-x C-f M-p M-p C-a C-f C-f C-k SPC e x
a m p l SPC t e x i RET M-x t e x i n f o SPC f o SPC
b u SPC RET C-p C-SPC ESC > M-w C-x C-f B a BS BS b
a c k t r a c e RET C-y C-x C-s M-x t e x i n f SPC
o f o BS BS BS BS BS BS BS BS BS r e p o r t SPC e
m a SPC b u SPC RET
Recent messages (most recent first):
-----------------------------------
Saving /home/kaoru/Mail/draft/24...
Type C-c C-x C-z to exit MIME mode, and type C-c C-x ? to get help.
(New file)
Making completion list...
Wrote /home/kaoru/backtrace
(New file)
Entering debugger...
Formatting: C++ ...
Formatting: Top ...
Removing trailing whitespace from Info buffer...
Converting example.texi to Info format...
Formatting Info file: example.info
Formatting Info file...
Making completion list...
Memorize current window configuration into 3
Switch to window[3]
[3] is nil. C)reate D)up F)indfile B)uff X)M-x k)KeyFunc&exit N)o:
Quit
texinfo-format-separate-node
Fontifying ChangeLog<tmp>... done.