[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `insert' deactivates active region

From: Katsumi Yamaoka
Subject: Re: `insert' deactivates active region
Date: Fri, 08 Jul 2005 14:49:08 +0900
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>>>>> In [emacs-w3m : No.08280] Stefan Monnier wrote:

> The way Emacs detects when to deactivate the mark is by making all
> buffer-modifying functions set the deactivate-mark variable.  This variable
> is not buffer-local so a modification in one buffer can (incorrectly)
> deactivate the mark in another, as in your example.

> Until this is fixed, the typical workaround is to wrap your buffer
> modification in (let (deactivate-mark) ...).

Now I've just done so in the emacs-w3m CVS repository.  Thank you.

reply via email to

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