all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* read-from-minibuffer INITIAL-CONTENTS/DEFAULT-VALUE
@ 2019-07-13  0:05 Lars Ingebrigtsen
  2019-07-13  6:40 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-13  0:05 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-13  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-13  0:05 read-from-minibuffer INITIAL-CONTENTS/DEFAULT-VALUE Lars Ingebrigtsen
2019-07-13  6:40 ` Drew Adams

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.