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:18:02 -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?


        Stefan




reply via email to

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