From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Keyboard macro and regexp syntax search
Date: Thu, 20 Dec 2007 22:45:08 +0100 [thread overview]
Message-ID: <476AE264.80501@gmail.com> (raw)
In-Reply-To: <8e0f9a74-6582-441f-b16a-0ae62af0e142@s12g2000prg.googlegroups.com>
spamfilteraccount@gmail.com wrote:
> Here's a key sequence which searches a whitespace character with a non-
> whitespace character after it and moves right to terminate the search
> there (just an example):
>
> M-C-s \s-\S- <right>
>
>
> According to the macro editor it is recorded like this:
>
> ;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to
> cancel.
> ;; Original keys: M-C-s \ s \ S <right>
>
> Command: last-kbd-macro
> Key: none
>
> Macro:
>
> M-C-s ;; isearch-forward-regexp
> \ ;; self-insert-command
> s ;; self-insert-command
> \ ;; self-insert-command
> S ;; self-insert-command
> <right> ;; forward-char-nomark
>
>
>
> The dash (-) character is missing after the syntax matcher (\s and
> \S), so the macro doesn't work at playback. Is it a bug?
>
> GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE
Looks like it, but please try starting from
emacs -Q
If the problem persists then report it as a bug.
prev parent reply other threads:[~2007-12-20 21:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-20 20:44 Keyboard macro and regexp syntax search spamfilteraccount
2007-12-20 21:20 ` Tyler Smith
2007-12-20 21:40 ` spamfilteraccount
2007-12-20 21:45 ` Lennart Borgman (gmail) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=476AE264.80501@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).