[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keyboard macro and regexp syntax search
From: |
address@hidden |
Subject: |
Re: Keyboard macro and regexp syntax search |
Date: |
Thu, 20 Dec 2007 13:40:34 -0800 (PST) |
User-agent: |
G2/1.0 |
On Dec 20, 10:20 pm, Tyler Smith <tyler.sm...@mail.mcgill.ca> wrote:
>
> Can you reproduce the problem when you launch Emacs with no init files
> (i.e., emacs -Q)?
>
Yes. It seems the i-search and dash interaction is problematic. A
simple macro for searching for a dash:
;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to
cancel.
;; Original keys: C-s <right>
Command: last-kbd-macro
Key: none
Macro:
C-s ;; isearch-forward
<right> ;; forward-char
The dash is missing after C-s.
A macro which inserts a dash character into the buffer works. I tested
it.