From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.bugs Subject: bug#10803: 24.0.93; execute-kbd-macro doesn't preserve current buffer Date: Sun, 4 Mar 2012 13:02:04 +0530 Message-ID: References: <817gzq8x4l.fsf@gmail.com> <87hayfmsko.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f6426de75945504ba65cece X-Trace: dough.gmane.org 1330846450 11992 80.91.229.3 (4 Mar 2012 07:34:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Mar 2012 07:34:10 +0000 (UTC) Cc: Andreas Schwab , Jambunathan K , 10803@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 04 08:34:08 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S45x8-0005aP-QB for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Mar 2012 08:33:59 +0100 Original-Received: from localhost ([::1]:50797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S45x8-0001xN-24 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Mar 2012 02:33:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S45x4-0001xI-KY for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2012 02:33:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S45x2-00078n-OH for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2012 02:33:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S45x2-00078j-I7 for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2012 02:33:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S45xC-0005GO-2Y for bug-gnu-emacs@gnu.org; Sun, 04 Mar 2012 02:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Rustom Mody Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Mar 2012 07:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10803 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10803-submit@debbugs.gnu.org id=B10803.133084639820181 (code B ref 10803); Sun, 04 Mar 2012 07:34:01 +0000 Original-Received: (at 10803) by debbugs.gnu.org; 4 Mar 2012 07:33:18 +0000 Original-Received: from localhost ([127.0.0.1]:60563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S45wO-0005FD-Ub for submit@debbugs.gnu.org; Sun, 04 Mar 2012 02:33:18 -0500 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]:51280) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S45vy-0005EN-2I for 10803@debbugs.gnu.org; Sun, 04 Mar 2012 02:33:01 -0500 Original-Received: by iazz13 with SMTP id z13so4049678iaz.3 for <10803@debbugs.gnu.org>; Sat, 03 Mar 2012 23:32:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fojcjwpZ3dOR9xSSTQbOu9uWypJPlghxYJPO4LPHmDI=; b=wgd5dtkoE/H2/4yc029ZUk31p9Qy9AWPsRuflxF0WVqA8EDcR1EEMkNvrlHPUiIbE/ SWZ33ZJS8uxatDdDQbJqTokpOfNDHgb5QpHQxYDvO0NzyFNvoxi8dKm/AjigWzSbisWH 4Pv3AU2LCoSoJT2AYXP027q0QaqAn1piDzHmKb3feMzHultLnh+bGH/K+2uC24YzSldi LdzdfocP0q15N1tMr5otfQetY9hHl5FSgKihIR9L01gkZs/D1FPsoPUgj/ze72GoliDw y/2slNUX3f+Je0VG2KyNes3l3V6XhTHMjQAsNhzT3YJ1PSzzIscepdqfZJYLe28ovpoX sUrA== Original-Received: by 10.50.178.8 with SMTP id cu8mr2915802igc.12.1330846325117; Sat, 03 Mar 2012 23:32:05 -0800 (PST) Original-Received: by 10.231.113.206 with HTTP; Sat, 3 Mar 2012 23:32:04 -0800 (PST) In-Reply-To: <87hayfmsko.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57476 Archived-At: --e89a8f6426de75945504ba65cece Content-Type: text/plain; charset=ISO-8859-1 On Sat, Feb 25, 2012 at 10:13 AM, Chong Yidong wrote: > Andreas Schwab writes: > > > Jambunathan K writes: > > > >> I am wondering why execute-kbd-macro is meddling with the current > >> buffer, (that too in not so useful way). > > > > Because it runs the normal comand loop, which always starts with > > selecting the current window's buffer. > > Pretty much. Since there's been no reponse, I'm closing this in the bug > tracker. Feel free to reopen if you think it is not resolved. > This question arose because I was trying to script input methods http://lists.gnu.org/archive/html/help-gnu-emacs/2012-02/msg00147.html As of now I get by with running batch emacs scripts without -batch and having an unnecessary window pop up. Seems to me there should be a cleaner way; on the other hand emacs is probably not the tool to run batch scripts so its ok I guess --e89a8f6426de75945504ba65cece Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, Feb 25, 2012 at 10:13 AM, Chong = Yidong <cyd@gnu.org> wrote:
Andreas Schwab <schwab@linux-m68k.org> writes:

> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> I am wondering why execute-kbd-macro is meddling with the current<= br> >> buffer, (that too in not so useful way).
>
> Because it runs the normal comand loop, which always starts with
> selecting the current window's buffer.

Pretty much. =A0Since there's been no reponse, I'm closing th= is in the bug
tracker. =A0Feel free to reopen if you think it is not resolved.

This question arose because I was trying to script input met= hods

http://lists.gnu.org/arc= hive/html/help-gnu-emacs/2012-02/msg00147.html

As of now I get by with running batch emacs scripts without -batch and = having an unnecessary window pop up.
Seems to me there should be a clean= er way; on the other hand emacs is probably not the tool to run batch scrip= ts so its ok I guess
--e89a8f6426de75945504ba65cece--