This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I was trying to write a regexp to find the next left parentheses not
in a comment. The following regexp does the job:
(re-search-forward "[^(;\n]*\\(\\(;.*\\)?\n[^(;\n]*\\)*(")
When I tried to use the shy grouping operator instead, ie.
(re-search-forward "[^(;\n]*\\(?:\\(?:;.*\\)?\n[^(;\n]*\\)*(")
it does not work. After playing around, the following is a simpler
regexp that shows the same behaviour
(re-search-forward ".*\\(\n.*\\)*") ;; goes to end of buffer
(re-search-forward ".*\\(?:\n.*\\)*") ;; goes to end of line
Experimenting further, it seems that having the `*' suffix
operator as the last element in a shy group, and again applying
the `*' operator to the group, is the construct that is problematic,
ie. \(?:<foobar>*\)*
Regards,
Stephen Kassner
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: HP-UX wmerh114 B.10.20 A 9000/785 2014304159 two-user license
./configure
XEmacs 21.1.14 "Cuyahoga Valley" configured for `hppa1.1-hp-hpux10.20'.
Where should the build process find the source code?
/archive/packages/xemacs-21.1.14
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/hpux10.h' and `m/hp800.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/include/Motif1.2
/usr/include/X11R6
Where do we find X Windows libraries? /usr/lib/Motif1.2
/usr/lib/X11R6
No Xmu; substituting equivalent routines.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for DBM.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Load-Path Lisp Shadows:
----------------------
(/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/xpm-button
/usr/local/lib/xemacs-21.1.14/lisp/xpm-button)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.11 :type regular)
(xemacs-devel :version 1.38 :type single-file)
(xemacs-base :version 1.55 :type regular)
(w3 :version 1.2 :type regular)
(vm :version 6.96 :type regular)
(viper :version 1.28 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.13 :type regular)
(vc :version 1.28 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.29 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.32 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.18 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.21 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.12 :type regular)
(reftex :version 1.23 :type regular)
(psgml :version 1.23 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(prog-modes
:version
1
.42
:type
single-file)
(pcl-cvs :version 1.55 :type regular)
(pc :version 1.2 :type single-file)
(os-utils :version 1.25 :type single-file)
(net-utils :version 1.23 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.13 :type regular)
(mew :version 1.14 :type regular)
(mailcrypt :version 2.09 :type regular)
(mail-lib :version 1.39 :type regular)
(jde :version 1.3 :type regular)
(ispell :version 1.23 :type regular)
(ilisp :version 1.19 :type regular)
(igrep :version 1.08 :type regular)
(hm--html-menus :version 1.16 :type regular)
(gnus :version 1.57 :type regular)
(gnats :version 1.12 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.09 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.13 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.34 :type regular)
(eterm :version 1.13 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.08 :type single-file)
(efs :version 1.26 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.7 :type single-file)
(ediff :version 1.33 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.13 :type regular)
(cc-mode :version 1.26 :type regular)
(calendar :version 1.16 :type regular)
(calc :version 1.17 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.16 :type regular)
(auctex :version 1.25 :type regular)
(apel :version 1.2 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail hyper-apropos cperl-mode
efs-cu x-font-menu font disp-table font-lock cus-face paren
blink-paren gnuserv zenirc-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vhdl-autoloads vc-autoloads tpu-autoloads
tooltalk-autoloads tm-autoloads time-autoloads textools-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
strokes-autoloads speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads slider-autoloads sh-script-autoloads
sgml-autoloads scheme-autoloads rmail-autoloads reftex-autoloads
psgml-autoloads ps-print-nomule-autoloads prog-modes-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads hm--html-menus-autoloads
gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads footnote-autoloads eudc-autoloads
eterm-autoloads emerge-autoloads elib-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
dired-autoloads debug-autoloads crisp-autoloads cookie-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads bbdb-autoloads auctex-autoloads apel-autoloads
ada-autoloads Sun-autoloads Standard-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 menubar-items x-menubar mouse mode-motion
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete help-nomule derived frame text-props cus-start custom
widget cl-extra mini-cl cl cl-19 packages backquote very-early-lisp
lucid-scrollbars cut-buffer lucid-menubars x tty-frames tty toolbar
scrollbar unix-processes multicast network-streams subprocesses
menubar dbm md5 xemacs png gif xpm lisp-float-type hpux devices
window-system c-balloon-help)
Recent keystrokes:
-----------------
up up up up up up left left SPC RET C-x k RET C-h a
b u g RET C-h a b e g . * r e p o r t BS BS BS BS BS
BS BS BS BS BS u g . * r e p o r t RET up C-h a r e
p o r t . * b u g RET down down down down down down
down down down down right right right right button2
button2up ESC x r e p o r t - x e m SPC b SPC RET
Recent messages (most recent first):
-----------------------------------
Parsing /home/kassner/.mailrc...
Loading mail-abbrevs...done
Loading mail-abbrevs...
Loading xemacsbug...done
Loading xemacsbug...
Loading hyper-apropos...done
Loading hyper-apropos...
Right! Your score is 14.
Right! Your score is 14.
Oops! You missed 1 ball. Your score is 18.
Right! Your score is 13.
Oops! You missed 1 ball. Your score is 14.
Right! Your score is 14.
Right! Your score is 15.
Right! Your score is 10.
Right! Your score is 15.
Right! Your score is 8.
Right! Your score is 10.
Loading blackbox...done
Loading blackbox...