all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: help-gnu-emacs@gnu.org
Subject: Re: how to find out where a variable is changed?
Date: Sat, 1 Mar 2008 19:19:41 +0100	[thread overview]
Message-ID: <200803011919.41788.andreas.roehler@online.de> (raw)
In-Reply-To: <b84cfebf-2a9e-42ce-afb0-85a754f29f4f@s8g2000prg.googlegroups.com>

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




  parent reply	other threads:[~2008-03-01 18:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-01 10:02 how to find out where a variable is changed? sunway
2008-03-01 10:33 ` Ralf Angeli
2008-03-01 11:36 ` Pascal Bourguignon
2008-03-01 15:35   ` sunway
2008-03-01 15:37     ` Exal de Jesus Garcia Carrillo
2008-03-01 15:46     ` Peter Dyballa
2008-03-01 18:19     ` Andreas Röhler [this message]
     [not found]     ` <mailman.8136.1204386400.18990.help-gnu-emacs@gnu.org>
2008-03-31  2:17       ` David Combs
2008-03-31  8:49         ` Peter Dyballa
2008-03-31  9:28         ` Tim X
2008-03-31 16:11         ` rustom
2008-03-31 16:43           ` Mike Treseler
2008-03-31 17:27           ` Drew Adams
     [not found]           ` <mailman.9716.1206984508.18990.help-gnu-emacs@gnu.org>
2008-04-01  4:08             ` rustom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803011919.41788.andreas.roehler@online.de \
    --to=andreas.roehler@online.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.