From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-2?Q?Jaros=B3aw_Rzesz=F3tko?= Newsgroups: gmane.emacs.help Subject: Re: Macro editing fails in a strange way Date: Thu, 26 Feb 2009 03:46:54 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235661998 20954 80.91.229.12 (26 Feb 2009 15:26:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2009 15:26:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 26 16:27:50 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lci9N-00031D-V7 for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Feb 2009 16:27:50 +0100 Original-Received: from localhost ([127.0.0.1]:49447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lci83-0008NI-8m for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Feb 2009 10:26:27 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j35g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: 83.18.200.114 Original-X-Trace: posting.google.com 1235648815 8360 127.0.0.1 (26 Feb 2009 11:46:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 26 Feb 2009 11:46:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j35g2000yqh.googlegroups.com; posting-host=83.18.200.114; posting-account=AQB_rgoAAAChrww7pslPJv1zcE0gO9el User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2009011309 Gentoo Firefox/3.0.5,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:167101 X-Mailman-Approved-At: Thu, 26 Feb 2009 10:23:53 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62407 Archived-At: Take a look at this example, every time I enter it in the macro editor and type C-c C-c I get a wicked result: ;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to cancel. ;; Original keys: Command: last-kbd-macro Key: none Macro: C-SPC ;; set-mark-command ;; move-end-of-line ;; kill-ring-save ;; windmove-right C-s ;; isearch-forward-regexp M-y ;; yank-pop RET ;; newline barfoo ;; self-insert-command * 6 ;; beginning-of-buffer ;; windmove-left ;; next-line ;; back-to-indentation-or-beginning And here is what it looks afterwards: ;; Keyboard Macro Editor. Press C-c C-c to finish; press C-x k RET to cancel. ;; Original keys: Command: last-kbd-macro Key: none Macro: ;; move-end-of-line ;; kill-ring-save ;; windmove-right ;; beginning-of-buffer ;; windmove-left ;; next-line ;; back-to-indentation-or-beginning