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 _______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
