unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in looking-at?
@ 2005-08-13 16:35 Lennart Borgman
  2005-08-13 19:57 ` Lennart Borgman
  2005-08-14 17:21 ` Richard M. Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: Lennart Borgman @ 2005-08-13 16:35 UTC (permalink / raw)


Second time today I think I have found a bug... What should I say... 
Hope this one is ok ;-)

(defun bug-looking-at()
  "Instructions for showing the possible bug:
1. Place the point before \(interactive\) and run this function.
   The first looking-at succeeds, the second fails.
2. Then copy the last (looking-at ...), place point as before and run 
with M-S-:.
   It should fail to match again.
3. Now recall this in M-S-: and add character s last in the regexp.
   This time it should match. Try removing the s again..."
  (interactive)
  (unless (looking-at "(interactive)")
    (error "Please put the point at \(interactive\)"))
  (message "Second (looking-at ...) => %s" (looking-at 
"(interactive)[[:space:]]+(unles")))
 
I am doing this on w32, Emacs from 9 aug, emacs -Q.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-08-15 23:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-13 16:35 Bug in looking-at? Lennart Borgman
2005-08-13 19:57 ` Lennart Borgman
2005-08-14 21:12   ` Lennart Borgman
2005-08-14 21:50     ` Jason Rumney
2005-08-14 21:58     ` Jason Rumney
2005-08-14 22:39       ` Lennart Borgman
2005-08-15 23:42         ` Lennart Borgman
2005-08-14 17:21 ` Richard M. Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).