Issue429

classification
Title [Bug: 21.4.21] re-search-forward does not find the beginning of line
Type defect Module core code 21.4, core code 21.5
Severity some work obstructed Platform N/A
Keywords Nosy List duthen-01, stephen
explanation
process
These controls should only be changed by committers and tracker administrators.
Status assigned   Reason
Superseder   Submitted 2008-08-28.10:23:45
Priority normal   Assigned To

Created on 2008-11-29.06:23:29 by duthen-01, last changed 2009-03-06.14:20:30 by stephen.

Messages
msg873 [hidden] ([hidden]) Date: 2008-11-29.06:23:28
  Message-ID: <1219919025.48b67cb137de6@imp.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.8
X-Originating-IP: 

--text follows this line--
================================================================
Dear Bug Team!

I want to search for the next beginning-of-line or the next space.

When I execute:

     M-: (re-search-forward "\\(?: \\|^\\)")

it recognizes correctly every space and every bol.

But, when I execute:

     M-: (re-search-forward "\\(?:^\\| \\)")

it matches only white spaces, but no beginning of line.

Am I doing something wrong or is it a bug?

)jack(

================================================================

System Info to help track down your bug:
---------------------------------------

OS version:

Microsoft Windows XP [Version 5.1.2600]

OS: Windows_NT

XEmacs 21.4.21 "Educational Television" configured for `i586-pc-win32'.

  Building XEmacs in "c:\\XEmacsBuild\\xemacs-21.4-2007-10-07\\nt".

  Using compiler "cl -nologo -W3 -O2 -G5 -MD".

  Installing XEmacs in "c:/XEmacsBuild/installed/2007-10-07/XEmacs-21.4.21".

  Compiling in support for Microsoft Windows native GUI.

  Compiling in support for XPM images.

  Compiling in support for GIF images.

  Compiling in support for PNG images.

  Compiling in support for TIFF images.

  Compiling in support for JPEG images.

  Compiling in support for toolbars.

  Compiling in support for dialogs.

  Compiling in support for widgets.

  Compiling in support for native sounds.

  Compiling in fast dired implementation.

  Using portable dumper.

  Using system malloc.

  Using DLL version of C runtime library

Load-Path Lisp Shadows:
----------------------
(e:\VTGK1446\.xemacs\init P:\SIRES_PROJETS\Test Diagnostic Reseau de
Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\init e:\VTGK1446\.xemacs\fsf-init
P:\SIRES_PROJETS\Test Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\fsf-init
e:\VTGK1446\.xemacs\fsf-init-compile P:\SIRES_PROJETS\Test Diagnostic
Reseau de Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\fsf-init-compile
e:\VTGK1446\.xemacs\custom P:\SIRES_PROJETS\Test Diagnostic Reseau de
Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\custom
e:\VTGK1446\.xemacs\WORK\MISC\pre-stuff p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\pre-stuff
e:\VTGK1446\.xemacs\WORK\MISC\post-stuff p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\post-stuff
e:\VTGK1446\.xemacs\WORK\MISC\jd-tools p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-tools
e:\VTGK1446\.xemacs\WORK\MISC\jd-test p:\SIRES_PROJETS\Test Diagnostic
Reseau de Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-test
e:\VTGK1446\.xemacs\WORK\MISC\jd-string p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-string
e:\VTGK1446\.xemacs\WORK\MISC\jd-SNCF-functions p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-SNCF-functions
e:\VTGK1446\.xemacs\WORK\MISC\jd-replace p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-replace
e:\VTGK1446\.xemacs\WORK\MISC\jd-rectangle p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-rectangle
e:\VTGK1446\.xemacs\WORK\MISC\jd-percent p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-percent
e:\VTGK1446\.xemacs\WORK\MISC\jd-percent-080424A p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-percent-080424A
e:\VTGK1446\.xemacs\WORK\MISC\jd-named-object p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-named-object
e:\VTGK1446\.xemacs\WORK\MISC\jd-hooks p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-hooks
e:\VTGK1446\.xemacs\WORK\MISC\jd-functions p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-functions
e:\VTGK1446\.xemacs\WORK\MISC\jd-emacs p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-emacs
e:\VTGK1446\.xemacs\WORK\MISC\jd-emacs-21 p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-emacs-21
e:\VTGK1446\.xemacs\WORK\MISC\jd-all p:\SIRES_PROJETS\Test Diagnostic
Reseau de Collecte\Test Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-all
e:\VTGK1446\.xemacs\WORK\MISC\jd-dl-mode p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\jd-dl-mode
e:\VTGK1446\.xemacs\WORK\MISC\generic-jd p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\generic-jd
e:\VTGK1446\.xemacs\WORK\MISC\Emacs-SYNC p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\MISC\Emacs-SYNC
p:\SIRES_PROJETS\Test Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\WORK\RTF\rtf-support
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\text-modes\rtf-support
e:\VTGK1446\.xemacs\custom
e:\VTGK1446\OUTILS\XEmacs\XEmacs-21.4.21\lisp\custom
p:\SIRES_PROJETS\Test Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\FROM-WEB\generic-mode
e:\VTGK1446\.xemacs\FROM-WEB\generic-mode p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\FROM-WEB\generic-extras
e:\VTGK1446\.xemacs\FROM-WEB\generic-extras p:\SIRES_PROJETS\Test
Diagnostic Reseau de Collecte\Test
Diagnostic\ELODI-MELODI\Installation
produits\EMACS\config\.xemacs\FROM-WEB\emacs-vers
e:\VTGK1446\.xemacs\FROM-WEB\emacs-vers
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\text-modes\iso-insert
e:\VTGK1446\.xemacs\FROM-GNUEMACS\iso-insert
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-base\imenu
e:\VTGK1446\.xemacs\FROM-GNUEMACS\imenu
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-devel\ielm
e:\VTGK1446\.xemacs\FROM-GNUEMACS\ielm
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-devel\find-func
e:\VTGK1446\.xemacs\FROM-GNUEMACS\find-func
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\xemacs-base\ffap
e:\VTGK1446\.xemacs\FROM-GNUEMACS\ffap
e:\VTGK1446\OUTILS\XEmacs\xemacs-packages\lisp\cc-mode\cc-mode
e:\VTGK1446\.xemacs\FROM-GNUEMACS\cc-mode)

Internationalization Settings:
-------------------------

Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.76 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.11 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.34 upstream: 4.0pre47)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.95 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.22 upstream: 2.0f)
(semantic ver: 1.2 upstream: 1.4.4)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.09 upstream: No-Upstream-Ver)
(psgml ver: 1.45 upstream: 1.3.2)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.14 upstream: No-Upstream-Ver)
(perl-modes ver: 1.1 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.67 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.4 upstream: No-Upstream-Ver)
(net-utils ver: 1.53 upstream: N/A)
(mail-lib ver: 1.79 upstream: No-Upstream-Ver)
(jde ver: 1.51 upstream: 2.3.3)
(ispell ver: 1.32 upstream: 3.6)
(igrep ver: 1.15 upstream: 2.111)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(eshell ver: 1.12 upstream: 2.4.1)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edit-utils ver: 2.38 upstream: No-Upstream-Ver)
(ediff ver: 1.71 upstream: 2.75)
(edebug ver: 1.22 upstream: No-Upstream-Ver)
(ecb ver: 1.22 upstream: 2.31)
(dired ver: 1.17 upstream: 7.13)
(debug ver: 1.18 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(c-support ver: 1.22 upstream: No-Upstream-Ver)

Features:
--------

(mail-abbrevs xemacsbug shadow sendmail rfc822 ielm pp comint-patch-jd
comint ring jd-percent jd-named-object byte-optimize bytecomp
byte-compile psgml-dtd tempo psgml-parse psgml-api psgml-ids
psgml-xemacs psgml-sysdep psgml-edit sgml-mode psgml hyper-apropos
view-less view apropos imenu efs-cu timer-funcs lazy-shot paren
blink-paren jd-emacs jd-emacs-21 jd-all rtf-support jd-dl-mode
uniquify iso-insert rsz-minibuf jd-hooks time-stamp eldoc timer
jd-functions ffap jd-replace jd-string advice advice-preload
emacs-vers font-lock cus-face pending-del xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads time-autoloads
text-modes-autoloads texinfo-autoloads speedbar-autoloads
sounds-wav-autoloads sh-script-autoloads semantic-autoloads
re-builder-autoloads python-modes-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
igrep-autoloads fsf-compat-autoloads eshell-autoloads elib-autoloads
eieio-autoloads efs-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecb-autoloads dired-autoloads debug-autoloads
cc-mode-autoloads c-support-autoloads lisp-autoloads loadhist
auto-show fontl-hooks code-cmds gutter-items menubar-items x-menubar
dragdrop mode-motion mouse itimer auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete help-nomule 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
mswindows-scrollbars mswindows toolbar native-sound scrollbar
network-streams subprocesses menu-accelerator-support menubar md5
xemacs gutter tiff png gif jpeg xpm xbm lisp-float-type windows-nt
dragdrop-api dialog devices window-system base64)

Recent keystrokes:
-----------------

C-s C-s C-s C-s C-r C-r C-s C-s C-s C-s C-s C-s C-s
C-s C-s RET misc-user misc-user button1 button1up C-M-SPC
M-w misc-user C-e M-b M-b M-b M-: M-p M-f M-f M-f C-f
C-f C-f C-f C-f C-f C-f C-SPC SPC C-d C-f C-f C-f C-d
^ C-e RET M-: M-p RET M-: M-p RET C-f M-: M-p RET M-:
M-p RET M-: M-p RET M-: M-p RET M-: M-p RET M-: M-p
RET M-: M-p RET M-: M-p RET M-: M-p RET M-: M-p RET
M-: M-p RET M-: M-p RET M-: M-p RET misc-user C-x 5
2 misc-user

Recent messages (most recent first):
-----------------------------------

  Loading   mail-abbrevs...done
  Loading   mail-abbrevs...
Requiring mail-abbrevs...
  Loading  xemacsbug...done
Loading xemacsbug...done
Requiring  shadow...done
  Loading    shadow...done
  Loading    shadow...
Requiring  shadow...
Requiring  sendmail...done
  Loading    sendmail...done
Requiring    rfc822...done
  Loading      rfc822...done
  Loading      rfc822...
Requiring    rfc822...
  Loading    sendmail...
Requiring  sendmail...
Loading xemacsbug...
  Loading  xemacsbug...
Scanning buffer for index...100%

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta at xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
History
Date User Action Args
2009-03-06 14:20:30stephensetstatus: assigned
assignedto: stephen
severity: some work obstructed
platform: + N/A
nosy: + stephen
type: defect
module: + core code 21.4, core code 21.5
priority: normal
2008-11-29 06:23:29duthen-01create