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

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

icomplete-mode deactivates region


From: Ralf Angeli
Subject: icomplete-mode deactivates region
Date: Mon, 21 Mar 2005 18:42:54 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) 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))

Move point into the function and type `C-M-x' (`compile-defun') and
then _at least twice_ `M-x foo RET'.  The first time the activated
region will be visible but in any subsequent invocation it will not
show up anymore.  You can reverse this effect by disabling
icomplete-mode.  Use -1 instead of 1 as the argument for the call to
icomplete-mode in the function above, compile it again and execute it
at least twice.

This problem currently prevents AUCTeX users from marking LaTeX
environments as long as icomplete-mode is active.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.2)
 of 2005-03-21 on neutrino
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  mouse-wheel-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
M-x r e p o r t - e m <tab> <return>

Recent messages:
Loading mwheel...done
(emacs -Q)
Loading disp-table...done
Loading image...done
Loading emacsbug...done

-- 
Ralf




reply via email to

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