[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `yank-and-mark` command?
From: |
Raffaele Ricciardi |
Subject: |
Re: `yank-and-mark` command? |
Date: |
Mon, 6 Jul 2015 16:45:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 06/07/15 15:50, Stefan Monnier wrote:
Note that the call to exchange-point-and-mark is redundant.
Yet if I remove `exchange-point-and-mark', the command does not
work any longer. Please compare the effects of the following
command:
(defun yank-and-mark/rr (&optional $arg)
(interactive "*P")
(yank $arg)
(exchange-point-and-mark)
(setq deactivate-mark nil))
with the same command, but without `exchange-point-and-mark'.
Tested in the "*scratch*" buffer, after "emacs -Q". In
Fundamental Mode, too.
- `yank-and-mark` command?, Raffaele Ricciardi, 2015/07/04
- Re: `yank-and-mark` command?, Michael Heerdegen, 2015/07/05
- Message not available
- Re: `yank-and-mark` command?, Raffaele Ricciardi, 2015/07/05
- Re: `yank-and-mark` command?, Stefan Monnier, 2015/07/05
- Re: `yank-and-mark` command?, Raffaele Ricciardi, 2015/07/06
- Re: `yank-and-mark` command?, Stefan Monnier, 2015/07/06
- Message not available
- Re: `yank-and-mark` command?,
Raffaele Ricciardi <=
- Re: `yank-and-mark` command?, Stefan Monnier, 2015/07/06
- Re: `yank-and-mark` command?, Nicolas Richard, 2015/07/07
- Message not available
- Re: `yank-and-mark` command?, Damien Wyart, 2015/07/07
- Message not available
- Re: `yank-and-mark` command?, Stefan Monnier, 2015/07/07