From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Bug in remote file save. Date: Sat, 14 Sep 2002 21:50:10 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <3d80920b$0$306$39cecf19@nnrp1.twtelecom.net> <87lm668vv9.fsf@wesley.springies.com> <5xsn0da2yn.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1032054875 4820 127.0.0.1 (15 Sep 2002 01:54:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 15 Sep 2002 01:54:35 +0000 (UTC) Cc: ats@acm.org, mike@secmgmt.com, emacs-devel@gnu.org, walters@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17qOcM-0001Fc-00 for ; Sun, 15 Sep 2002 03:54:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17qPEz-0007Uk-00 for ; Sun, 15 Sep 2002 04:34:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17qOcY-0003Nt-00; Sat, 14 Sep 2002 21:54:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17qOY9-0002IA-00 for emacs-devel@gnu.org; Sat, 14 Sep 2002 21:50:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17qOY6-0002HP-00 for emacs-devel@gnu.org; Sat, 14 Sep 2002 21:50:11 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17qOY6-0002HI-00 for emacs-devel@gnu.org; Sat, 14 Sep 2002 21:50:10 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17qOY6-0000H5-00; Sat, 14 Sep 2002 21:50:10 -0400 Original-To: storm@cua.dk In-reply-to: <5xsn0da2yn.fsf@kfs2.cua.dk> (storm@cua.dk) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7913 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7913 However, for this to happen, the executing-kbd-macro variable must be non-nil. This normally only happens when executing a keyboard macro. Looking through the code, I only found two places where a package explicitly sets the executing-kbd-macro variable; both of them in the `calc' package. The purpose seems to be a kludge to avoid some form of message from save-buffer, but at the same time calc seems to install some kind of save-buffer hook (I haven't tried to understand that part), I think it is wrong for any package to set executing-knd-macro except because it is executing a keyboard macro. I think Calc needs to be fixed. Colin, can you work on fixing this?