From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: other-buffer advice on kill-buffer Date: Tue, 02 Aug 2011 17:55:18 -0400 Message-ID: References: <8662mgg2ea.fsf@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1312322131 11425 80.91.229.12 (2 Aug 2011 21:55:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2011 21:55:31 +0000 (UTC) Cc: theophilusx@gmail.com, jeremy.compostella@gmail.com, emacs-devel@gnu.org To: Alp Aker Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 23:55:23 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QoMvr-0002h0-0t for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 23:55:23 +0200 Original-Received: from localhost ([::1]:34214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoMvq-0000Yl-JP for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2011 17:55:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoMvn-0000YU-T2 for emacs-devel@gnu.org; Tue, 02 Aug 2011 17:55:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoMvm-000356-Qv for emacs-devel@gnu.org; Tue, 02 Aug 2011 17:55:19 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:60614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoMvm-000352-Np for emacs-devel@gnu.org; Tue, 02 Aug 2011 17:55:18 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QoMvm-0002GA-ES; Tue, 02 Aug 2011 17:55:18 -0400 In-reply-to: (message from Alp Aker on Mon, 1 Aug 2011 21:52:18 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142760 Archived-At: That's not correct. You can advise a primitive function, but the advice will only affect calls to that function made from Lisp, not calls from other primitives. It may be that in a few special cases we should modify calls within C code to some primitive functions so that they call the Lisp symbol. That way, it would work to advise those functions. To do this for all the primitive functions would be impossible, I think, and certainly not worth the pain. But there might be a few functions for which this would be particularly useful, and it might be worth doing this for them. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/