[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 0695108 2/2: Revert "Add `r'/`l' grep command history command
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: master 0695108 2/2: Revert "Add `r'/`l' grep command history commands" |
Date: |
Mon, 04 Apr 2016 20:38:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> One comment that I have about the feature as it was committed is that
> if we want to have an easy way of rerunning past commands, then it
> should be defined in compilation-mode, so that all its derivatives
> will get it.
I considered that, but I thought it might be more controversial. The
compilation commands may, in general, be somewhat destructive, and
rerunning them while hitting `r'/`l' may not be what you want at all.
The grep commands, on the other hand, are generally not destructive. (I
mean, they can be if you say `M-x grep RET rm *', I guess, but that
would be a very strange thing to do.)
> I also don't see a lot of mnemonic value in binding these commands to
> 'l' and 'r', and would suggest additional bindings which would be
> easier to remember even for those who don't browse URLs all day long.
They are used in all the other special modes that offer traversing a
history of generated buffers: Info, *Help*, eww...
> I also think that 100-long history for these commands is waaaaay too
> much. It should be a defcustom, and the default value should be maybe
> 10 or 16.
I don't think so. Having a 100-long history is basically nothing these
days. Creating a defcustom for something as trivial as this is a
disservice to our users: Offering pointless things to tweak (and this is
really pointless) is something that Emacs does too much already.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Re: master 0695108 2/2: Revert "Add `r'/`l' grep command history commands", Lars Magne Ingebrigtsen, 2016/04/04