[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30212: 26.0.91; [PATCH] push mark before moving point in shell outpu
From: |
Lars Ingebrigtsen |
Subject: |
bug#30212: 26.0.91; [PATCH] push mark before moving point in shell output |
Date: |
Tue, 17 Apr 2018 22:24:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Alex Branham <alex.branham@gmail.com> writes:
> Since shell commands move point, I find it useful to push the mark so
> that I can navigate around different output using C-u C-SPC. This
> patch adds the push-mark call that's necessary to
> shell-command--save-pos-or-erase.
[...]
> (when pos
> + (push-mark pos t)
> (goto-char (point-max))
Hm... I don't think it would be a good idea to set the mark
unexpectedly -- people have certain expectations on what commands set
the mark, and setting it for every command in shell mode would be
unusual and get in the way of people's work habits, I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#30212: 26.0.91; [PATCH] push mark before moving point in shell output,
Lars Ingebrigtsen <=