[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introducing 'unrecognized and 'ignored
From: |
Dan Nicolaescu |
Subject: |
Re: Introducing 'unrecognized and 'ignored |
Date: |
Mon, 21 Jan 2008 07:30:53 -0800 |
Stefan Monnier <address@hidden> writes:
> > 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.
- Re: Introducing 'unrecognized and 'ignored, (continued)
- Re: Introducing 'unrecognized and 'ignored, Thien-Thi Nguyen, 2008/01/21
- Re: Introducing 'unrecognized and 'ignored, Dan Nicolaescu, 2008/01/20
- Re: Introducing 'unrecognized and 'ignored, Tom Tromey, 2008/01/20
- Re: Introducing 'unrecognized and 'ignored, Stefan Monnier, 2008/01/20
- Re: Introducing 'unrecognized and 'ignored, Tom Tromey, 2008/01/20
- Re: Introducing 'unrecognized and 'ignored, Dan Nicolaescu, 2008/01/21
- Re: Introducing 'unrecognized and 'ignored, Thien-Thi Nguyen, 2008/01/19
- Re: Introducing 'unrecognized and 'ignored, Stefan Monnier, 2008/01/20
- Re: Introducing 'unrecognized and 'ignored, Thien-Thi Nguyen, 2008/01/21
- Re: Introducing 'unrecognized and 'ignored, Stefan Monnier, 2008/01/21
- Re: Introducing 'unrecognized and 'ignored,
Dan Nicolaescu <=
- Re: Introducing 'unrecognized and 'ignored, Stefan Monnier, 2008/01/21
- Re: Introducing 'unrecognized and 'ignored, Thien-Thi Nguyen, 2008/01/21
- Re: Introducing 'unrecognized and 'ignored, Richard Stallman, 2008/01/06
- Re: Introducing 'unrecognized and 'ignored, Eric S. Raymond, 2008/01/02
- Re: Introducing 'unrecognized and 'ignored, Stefan Monnier, 2008/01/02
- Re: Introducing 'unrecognized and 'ignored, Eric S. Raymond, 2008/01/02
- Re: Introducing 'unrecognized and 'ignored, Stefan Monnier, 2008/01/02
- Re: Introducing 'unrecognized and 'ignored, Eric S. Raymond, 2008/01/02
- Re: Introducing 'unrecognized and 'ignored, Stefan Monnier, 2008/01/03
- Re: Introducing 'unrecognized and 'ignored, Eric S. Raymond, 2008/01/03