[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Lars Ingebrigtsen
Subject: read-from-minibuffer INITIAL-CONTENTS/DEFAULT-VALUE
Date: Sat, 13 Jul 2019 02:05:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Historically, Emacs has used to put text in INITIAL-CONTENTS for a bunch
of commands, but has, over the years, moved to putting the defaults in
DEFAULT-VALUE so that the user has to type `M-n' to get at them.

Overall, I think this is a good change...  but for a bunch of commands,
I really would like to have what's in DEFAULT-VALUE to be in
INITIAL-CONTENTS instead.  It's a lot more ergonomic (for me) for a
number of commands, and reading a bunch of bug reports over the years,
apparently for a number of users as well.

So it would be nice if there was a way to tweak this.

An obvious way would be to offer an option that would just put
DEFAULT-VALUE in INITIAL-CONTENTS always.  It'd be trivial to implement,
and I'm sure somebody would want this for all commands.

An if somebody wants this action for some commands only, they could add
:around advice to the commands in question.

Or we could allow tweaking this in the symbol plists.

Any opinions?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]