[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-w3m:08264] `insert' deactivates active region
From: |
Masatake YAMATO |
Subject: |
Re: [emacs-w3m:08264] `insert' deactivates active region |
Date: |
Fri, 08 Jul 2005 09:44:30 +0900 (JST) |
> 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*")))
(pop-to-buffer buffer)
(erase-buffer)
(insert "Hello World\n")
(goto-char (point-min))
(set (make-local-variable 'transient-mark-mode) t)
(set (make-local-variable 'mark-even-if-inactive) t)
(add-hook 'post-command-hook
(lambda nil
(with-temp-buffer
(insert "foo")
))
nil t))
Masatake YAMATO
- `insert' deactivates active region, Katsumi Yamaoka, 2005/07/07
- Re: [emacs-w3m:08264] `insert' deactivates active region,
Masatake YAMATO <=
- Re: `insert' deactivates active region, Katsumi Yamaoka, 2005/07/07
- Re: `insert' deactivates active region, Masatake YAMATO, 2005/07/07
- Re: `insert' deactivates active region, Katsumi Yamaoka, 2005/07/08
- Re: `insert' deactivates active region, Stefan Monnier, 2005/07/08
- Re: `insert' deactivates active region, Richard M. Stallman, 2005/07/08
- Re: `insert' deactivates active region, Clemens Fischer, 2005/07/09
- Re: `insert' deactivates active region, Stefan Monnier, 2005/07/11
Re: `insert' deactivates active region, Richard M. Stallman, 2005/07/08
Re: `insert' deactivates active region, Stefan Monnier, 2005/07/08