emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Introducing 'unrecognized and 'ignored


From: Stefan Monnier
Subject: Re: Introducing 'unrecognized and 'ignored
Date: Mon, 21 Jan 2008 10:56:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> >    This can't be right: we have no idea what buffer we're in at this point.
>> 
>> > you're right.  i have just installed a `with-current-buffer' wrapper.
>> 
>> >> +       (setq mode-line-process " (background)")
>> 
>> >    The problem with this is that it's not necessarily clear that we're
>> >    changing mode-line-process in the right buffer either, here.
>> 
>> > PROC is taken from (current-buffer).  is that not reliable?
>> 
>> It's reliable in that we know which buffer it is, but that doesn't mean
>> it's the right buffer.  Isn't it often a hidden buffer like *vc* rather
>> than the vc-status buffer itself?

> Yep, this seems to work for things like log, diff, annotate, but for
> vc-status it does not, because as you say, the status command does not
> run in vc-status buffer, but in a hidden temporary buffer.
> It seems that a different mechanism is needed for that case.

Yes, I guess the change is fine, and just needs to be supplemented with
some special code for vc-status.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]