[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 
  > > 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.

reply via email to

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