[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16728: 24.3.50; bug? (with-temp-buffer (insert "foo")) deactivates m
From: |
Oleh |
Subject: |
bug#16728: 24.3.50; bug? (with-temp-buffer (insert "foo")) deactivates mark in current buffer |
Date: |
Wed, 12 Feb 2014 09:53:12 +0100 |
I'm not sure if it's a bug, that's why I'm asking.
To reproduce, in *scratch* `mark-whole-buffer` and `eval-expression`
(with-temp-buffer (insert "foo"))
it deactivates mark, although this doesn't:
(with-temp-buffer (forward-char 1))
and this doesn't (assuming there are two windows with different
buffers):
(progn (other-window 1) (insert "foo"))
although this does:
(progn (other-window 1) (insert "foo") (other-window 1))
although this doesn't:
(progn (other-window 1) (forward-char 1) (other-window 1))
I realize that there's the `deactivate-mark` variable, but I think
it would be better if operations on other buffers would be
consistent in not modifying the mark in current buffer.
regards,
Oleh
- bug#16728: 24.3.50; bug? (with-temp-buffer (insert "foo")) deactivates mark in current buffer,
Oleh <=