🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1818

Re: 're-search-backward' bug in Emacs-18.55

#1818
From: Shinichirou Sugou
Date: Thu, 04 Jan 1990 06:06
41 lines
1887 bytes
Dear Kyle Jones:

I have read your opinion.  But, I'm still thinking that this feature is a bug.
There are two reasons why I think so.

First, let's try to see how 'isearch-backward-regexp' (not
're-search-backward') works.

Please open a empty buffer, and type 'a' <space> 'b' (that is, three
characters).  Now, the cursor is positioned at the end of the buffer.

Next, please invoke 'isearch-backward-regexp' and tyr to search regexps
"a\|b".  Watch out how the cursor moves.  It goes to 'a', returns back to home
position, finally goes to 'b'.

Though 'isearch-backward-regexp' and 're-search-backward' are somewhat
different functions (yes, the former is interactive while the latter
non-interactive), the experiment above implies the desirable feature how
regexps should work.

Secondary, you say

In article <1990Jan2.143701.18670@talos.uu.net> kjones@talos.uu.net (Kyle
Jones) writes:
   >This statement applies to the regular expression itself, not the text
   >that is being matched.

The Emacs manual (chapter 13.5 Syntax of Regular Expressions) says that the
text itself (ordinary character) is also regular expression, too.

Thank you.

CAUTION: (1) Reply-command in the mail system may NOT generate my address
             correctly.  Please use the following address instead.

               shin%sgtp.apple.juice.or.jp@uunet.uu.net

         (2) I have no relation to Apple Computer Inc. :-)

---
S.Sugou
Technical Details
Message-ID: <9001040606.AA20002@sgtp.apple.juice.or.jp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!sgtp.apple.juice.or.jp!shin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!sgtp.apple.juice.or.jp!shin
From: shin@sgtp.apple.juice.or.jp (Shinichirou Sugou)
Newsgroups: gnu.emacs.bug
Subject: Re: 're-search-backward' bug in Emacs-18.55
Message-ID: <9001040606.AA20002@sgtp.apple.juice.or.jp>
Date: 4 Jan 90 06:06:17 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 41