all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: John Wiegley <jwiegley@gmail.com>, emacs-devel@gnu.org
Subject: Re: master 0695108 2/2: Revert "Add `r'/`l' grep command history commands"
Date: Mon, 04 Apr 2016 20:38:46 +0200	[thread overview]
Message-ID: <m3bn5pnrrd.fsf@gnus.org> (raw)
In-Reply-To: <83r3elo15s.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 04 Apr 2016 18:15:43 +0300")

Eli Zaretskii <eliz@gnu.org> 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



  parent reply	other threads:[~2016-04-04 18:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160403224658.6944.52006@vcs.savannah.gnu.org>
     [not found] ` <E1amqnL-0001p7-2f@vcs.savannah.gnu.org>
2016-04-04  5:16   ` master 0695108 2/2: Revert "Add `r'/`l' grep command history commands" Lars Magne Ingebrigtsen
2016-04-04  5:18     ` John Wiegley
2016-04-04 15:15       ` Eli Zaretskii
2016-04-04 15:57         ` Mark Oteiza
2016-04-04 17:12           ` Eli Zaretskii
2016-04-04 18:38         ` Lars Magne Ingebrigtsen [this message]
2016-04-04 20:25           ` Eli Zaretskii
2016-04-04 20:32             ` Lars Magne Ingebrigtsen
2016-04-04 20:44               ` Drew Adams
2016-04-04 19:51       ` Lars Magne Ingebrigtsen
2016-04-04 23:14         ` John Wiegley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3bn5pnrrd.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jwiegley@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.