From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Bronson Newsgroups: gmane.emacs.devel Subject: Re: Loading when viewing docstring of autoloaded function Date: Mon, 2 Jul 2012 11:47:00 -0400 Message-ID: References: <87395mgy6t.fsf@gnu.org> <784B0F307BD44CC4B673B79667EDEB25@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1341244059 10608 80.91.229.3 (2 Jul 2012 15:47:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 Jul 2012 15:47:39 +0000 (UTC) Cc: 'Chong Yidong' , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 02 17:47:37 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SliqR-0007cj-E1 for ged-emacs-devel@m.gmane.org; Mon, 02 Jul 2012 17:47:23 +0200 Original-Received: from localhost ([::1]:36716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SliqQ-0000XS-Ew for ged-emacs-devel@m.gmane.org; Mon, 02 Jul 2012 11:47:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SliqN-0000Wg-7Y for emacs-devel@gnu.org; Mon, 02 Jul 2012 11:47:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SliqH-00084i-4F for emacs-devel@gnu.org; Mon, 02 Jul 2012 11:47:18 -0400 Original-Received: from mail-qc0-f169.google.com ([209.85.216.169]:47778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SliqA-00082o-C3; Mon, 02 Jul 2012 11:47:06 -0400 Original-Received: by qcsd16 with SMTP id d16so3381820qcs.0 for ; Mon, 02 Jul 2012 08:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; bh=e7bVXSrsZhBLzRsrK9XB1EY0e/WMSOJLdoKMnI6AsPI=; b=jqzhqDE9d8SqxeLxJT6akVFDG/u26Q8UNCICgyY5003jJxFK3bzaQn6HORgEiSg4cU osi/GVc+1KZ0BklVJWm45e0QmIChqFPX1HtIEaHt81OA26D61BTjQBR7sLtrOyVjapoc 53VMDL2QKcF8ExsK2AWz8K0aJYX9D12Y3scI2S2t80yqIVfzSLsqruM2U1GF09wz/+N5 fxrMokjEo+a01vnF5kEZ1i08d4JG5J9Qb58rDBqE+O44At5hnqalZc7Sv2lF/Yl2Ah0g IZ91tcLlwl1Fgj77z1AlTdEObEo+musyg7l2nhp01Zgc+EjfFc8VTJbae/N49izLey68 p7fQ== Original-Received: by 10.229.135.132 with SMTP id n4mr6786614qct.95.1341244023945; Mon, 02 Jul 2012 08:47:03 -0700 (PDT) Original-Received: from [192.168.0.18] (207-172-123-137.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com. [207.172.123.137]) by mx.google.com with ESMTPS id y10sm28423131qan.9.2012.07.02.08.47.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Jul 2012 08:47:02 -0700 (PDT) In-Reply-To: <784B0F307BD44CC4B673B79667EDEB25@us.oracle.com> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151357 Archived-At: On Jun 23, 2012, at 9:07 AM, Drew Adams wrote: >> 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.