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

Re: patch: enable transient mark mode



Raman,

Modification of any buffer sets deactivate-mark to t. Consider the
simple example:

(let ((deactivate-mark nil))
  (with-temp-buffer
    (insert "test"))
  deactivate-mark)
==> t

Command loop then checks that deactivate-mark is t and destroys the
active status of the mark. That is the problem. You should rebind
deactivate-mark arround modification of dtk scratch buffer or any other
buffer when this modification must not deactivate the mark.

T. V. Raman wrote:

TR> transient-mark-mode should work in emacs 23 and emacs 24 very
TR> well, there were issues in emacs 21 and emacs 22 but we dont need
TR> to bother about those versions any more.


-- 
With best regards
Dmitri Paduchikh

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog