all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Samuel Bronson'" <naesten@gmail.com>
Cc: 'Chong Yidong' <cyd@gnu.org>, emacs-devel@gnu.org
Subject: RE: Loading when viewing docstring of autoloaded function
Date: Mon, 2 Jul 2012 09:13:30 -0700	[thread overview]
Message-ID: <E06082B99FD24339BDB1542FD482A6D8@us.oracle.com> (raw)
In-Reply-To: <F4806943-E111-44BA-962A-0ABABB6245C2@gmail.com>

> >> The most annoying aspect is that autoloaded functions often have
> >> docstrings containing key substitution constructs, which 
> >> are expanded into `M-x FOO' because the relevant keymaps are
> >> not yet defined.
> >
> > Let the user decide.  Add a user option.  Make your new 
> > behavior the default, if you like.  But give users an easy
> > way to choose not to load stuff just for doc strings.  The code
> > change is trivial - it costs nothing to give users a say.
> 
> How about just adding a "load module and rerender" button to the  
> *Help* buffer in that case?
> 
> I've been annoyed by such docstrings, but at the same time I can see  
> myself being much *more* annoyed at the proposed "just load it"  
> solution in certain instances.  Some packages, like it or not, do  
> things that may be undesirable when you so much as load them.

Good, but again: give users the choice.  That behavior could be one of the
option values.




  reply	other threads:[~2012-07-02 16:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-23  9:44 Loading when viewing docstring of autoloaded function Chong Yidong
2012-06-23 13:07 ` Drew Adams
2012-07-02 15:47   ` Samuel Bronson
2012-07-02 16:13     ` Drew Adams [this message]
2012-07-02 16:21     ` Stefan Monnier
2012-07-02 17:20       ` Samuel Bronson
2012-07-02 18:15         ` Stefan Monnier
2012-06-23 14:12 ` Stefan Monnier
2012-06-23 20:22 ` Štěpán Němec
2012-06-24  5:09   ` Stefan Monnier
2012-06-24  6:25     ` Leo
2012-06-24  6:39       ` Andreas Röhler
2012-06-24  9:03         ` Chong Yidong
2012-06-24 14:38           ` Andreas Röhler

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=E06082B99FD24339BDB1542FD482A6D8@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=cyd@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=naesten@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.