[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: other-buffer advice on kill-buffer
From: |
Leo |
Subject: |
Re: other-buffer advice on kill-buffer |
Date: |
Fri, 19 Aug 2011 15:10:02 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8) |
On 2011-08-03 05:55 +0800, Richard Stallman wrote:
> 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.
I am interested in getting advice to narrow-to-region to work.
For example:
(defadvice narrow-to-region (before wow activate)
(message "wow!"))
now uses 'C-x n d' (narrow-to-defun) which calls narrow-to-region and I
see no wow printed in the echo area.
What to do to make it work? Thanks.
Leo
- Re: other-buffer advice on kill-buffer, (continued)
- Re: other-buffer advice on kill-buffer, Alp Aker, 2011/08/01
- Re: other-buffer advice on kill-buffer, Jérémy Compostella, 2011/08/02
- Re: other-buffer advice on kill-buffer, Richard Stallman, 2011/08/02
- Re: other-buffer advice on kill-buffer, David Kastrup, 2011/08/03
- Re: other-buffer advice on kill-buffer, Jérémy Compostella, 2011/08/03
- Re: other-buffer advice on kill-buffer, Stephen J. Turnbull, 2011/08/03
- Re: other-buffer advice on kill-buffer, Richard Stallman, 2011/08/03
- Re: other-buffer advice on kill-buffer, Tim Cross, 2011/08/04
- Re: other-buffer advice on kill-buffer, Stefan Monnier, 2011/08/04
- Re: other-buffer advice on kill-buffer, Jérémy Compostella, 2011/08/04
- Re: other-buffer advice on kill-buffer,
Leo <=
Re: other-buffer advice on kill-buffer, Chong Yidong, 2011/08/14