[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `insert' deactivates active region
From: |
Stefan Monnier |
Subject: |
Re: `insert' deactivates active region |
Date: |
Fri, 08 Jul 2005 12:19:55 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> I'll write a report my investigation about this bug.
> Is it really a bug? The docstring for the deactivate-mark
> variable says:
> If an editing command sets this to t, deactivate the mark afterward.
> The command loop sets this to nil before each command,
> and tests the value when the command returns.
> Buffer modification stores t in this variable.
I do think it is a bug. The problem is that deactivate-mark is global
whereas mark-active (which is deactivated through the deactivate-mark
variable) is buffer-local.
If you grep fo deactivate-mark in the elisp and C code you'll see that there
are several places where we need to workaround the mismatch. The most
recent one I remember happens when leaving the minibuffer, where the
minibuffer has been modified and it caused the other buffer's mark to
be deactivated.
Stefan
- `insert' deactivates active region, Katsumi Yamaoka, 2005/07/07
- Re: [emacs-w3m:08264] `insert' deactivates active region, Masatake YAMATO, 2005/07/07
- Re: `insert' deactivates active region, Katsumi Yamaoka, 2005/07/07
- Re: `insert' deactivates active region, Masatake YAMATO, 2005/07/07
- Re: `insert' deactivates active region, Katsumi Yamaoka, 2005/07/08
- Re: `insert' deactivates active region,
Stefan Monnier <=
- Re: `insert' deactivates active region, Richard M. Stallman, 2005/07/08
- Re: `insert' deactivates active region, Clemens Fischer, 2005/07/09
- Re: `insert' deactivates active region, Stefan Monnier, 2005/07/11
Re: `insert' deactivates active region, Richard M. Stallman, 2005/07/08
Re: `insert' deactivates active region, Stefan Monnier, 2005/07/08