emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: icomplete-mode deactivates region


From: Stefan Monnier
Subject: Re: icomplete-mode deactivates region
Date: Mon, 21 Mar 2005 14:10:13 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> icomplete-mode somehow deactivates an activated region when
> transient-mark-mode is active.  In order to see this behavior, start
> Emacs with `emacs -Q' and copy the following function into the
> *scratch* buffer.

> (defun foo ()
>   (interactive)
>   (icomplete-mode 1)
>   (transient-mark-mode 1)
>   (set-mark (point))
>   (beginning-of-line 0))

I must say I don't understand the above code.
Does AUCTeX's code do something like the above?  If not, could you try to
give a description closer to what AUCTeX does?

I have no clue what's going on, really: the mark's active state is usually
properly preserved by icomplete, so I need more info to understand
what's happening.


        Stefan




reply via email to

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