[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to find out where a variable is changed?
From: |
Andreas Röhler |
Subject: |
Re: how to find out where a variable is changed? |
Date: |
Sat, 1 Mar 2008 19:19:41 +0100 |
User-agent: |
KMail/1.9.5 |
Am Samstag, 1. März 2008 16:35 schrieb sunway:
> On Mar 1, 7:36 pm, Pascal Bourguignon <p...@informatimago.com> wrote:
> > sunway <sunwayfore...@gmail.com> writes:
> > > transient-mark-mode mut be enabled somewhere , but how could i find
> > > out where it is changed
> >
> > M-x customize-variable RET transient-mark-mode RET
> >
> > --
> > __Pascal Bourguignon__ http://www.informatimago.com/
> >
> > THIS IS A 100% MATTER PRODUCT: In the unlikely event that this
> > merchandise should contact antimatter in any form, a catastrophic
> > explosion will result.
>
> Transient Mark Mode: Hide Value Toggle on
> State: CHANGED outside Customize; operating on it here may be
> unreliable.
...
IMHO this warning must not mean that much.
AFAIU it's always switched on, if the state was
changed. That doesn't mean present state must differ
from state as variable was set.
Think at the result of
(buffer-modified-p)
If you open a file, it says nil, not modified.
If you insert a char and delete it afterwards, buffer
contents is as opened, however considered modified by
(buffer-modified-p).
`transient-mark-mode' AFAIK might have been set on and
off by several functions during execution, usually
restoring the state before, however that depends from
the functions called.
So set it to your need and forget the warning unless
more indications counsel otherwise.
Andreas Röhler
- how to find out where a variable is changed?, sunway, 2008/03/01
- Re: how to find out where a variable is changed?, Ralf Angeli, 2008/03/01
- Re: how to find out where a variable is changed?, Pascal Bourguignon, 2008/03/01
- Re: how to find out where a variable is changed?, sunway, 2008/03/01
- Re: how to find out where a variable is changed?, Exal de Jesus Garcia Carrillo, 2008/03/01
- Re: how to find out where a variable is changed?, Peter Dyballa, 2008/03/01
- Re: how to find out where a variable is changed?,
Andreas Röhler <=
- Message not available
- Re: how to find out where a variable is changed?, David Combs, 2008/03/30
- Re: how to find out where a variable is changed?, Peter Dyballa, 2008/03/31
- Re: how to find out where a variable is changed?, Tim X, 2008/03/31
- Re: how to find out where a variable is changed?, rustom, 2008/03/31
- RE: how to find out where a variable is changed?, Drew Adams, 2008/03/31
- Re: how to find out where a variable is changed?, Mike Treseler, 2008/03/31