[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `insert' deactivates active region
- From: Masatake YAMATO <jet@xxxxxxxx>
- Date: Fri, 08 Jul 2005 09:44:30 +0900 (JST)
- X-ml-name: emacs-w3m
- X-mail-count: 08273
- References: <email@example.com>
> Please read and try the following Lisp code. In the *testing*
> buffer, you may see you cannot activate the region by using
> C-SPC and C-f, etc.
I could reproduce this bug with your example.
> Furthermore, M-w cannot be used to copy
> text, either.
Here is a work-around:
(let ((buffer (get-buffer-create "*testing*")))
(insert "Hello World\n")
(set (make-local-variable 'transient-mark-mode) t)
(set (make-local-variable 'mark-even-if-inactive) t)