From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lawrence Mitchell Newsgroups: gmane.emacs.bugs Subject: bug#10868: 24.0.93; `comment-style' needs to be explained Date: Thu, 23 Feb 2012 17:24:00 +0000 Message-ID: <877gzdxy33.fsf@gmx.li> References: <7AF76478FD534B8B9A07E9FB79060E64@us.oracle.com> <5b4nuizqj9.fsf@fencepost.gnu.org> <3251750A293C4D74AAB64FD8672192CE@us.oracle.com> <87ehtlykdr.fsf@gmx.li> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330017947 10669 80.91.229.3 (23 Feb 2012 17:25:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2012 17:25:47 +0000 (UTC) To: 10868@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 23 18:25:45 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S0cQJ-0002lN-Gf for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2012 18:25:43 +0100 Original-Received: from localhost ([::1]:49018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0cQI-00042g-V6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Feb 2012 12:25:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0cQF-000417-6y for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 12:25:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0cQ8-0007FS-VY for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 12:25:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0cQ8-0007FO-SF for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 12:25:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S0cSX-0000fd-IG for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 12:28:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Lawrence Mitchell Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Feb 2012 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10868 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13300180252509 (code B ref -1); Thu, 23 Feb 2012 17:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Feb 2012 17:27:05 +0000 Original-Received: from localhost ([127.0.0.1]:52952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0cRc-0000eP-Av for submit@debbugs.gnu.org; Thu, 23 Feb 2012 12:27:05 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37897) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S0cRZ-0000dt-4m for submit@debbugs.gnu.org; Thu, 23 Feb 2012 12:27:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0cOz-0006yb-Bs for submit@debbugs.gnu.org; Thu, 23 Feb 2012 12:24:27 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:51578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0cOz-0006yX-9I for submit@debbugs.gnu.org; Thu, 23 Feb 2012 12:24:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0cOt-0003Vj-NJ for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 12:24:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0cOs-0006xK-4E for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 12:24:15 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:39818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0cOr-0006xC-Rr for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 12:24:14 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S0cOn-0001Z8-Tq for bug-gnu-emacs@gnu.org; Thu, 23 Feb 2012 18:24:09 +0100 Original-Received: from cpat001.wlan.net.ed.ac.uk ([129.215.5.255]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2012 18:24:09 +0100 Original-Received: from wence by cpat001.wlan.net.ed.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2012 18:24:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpat001.wlan.net.ed.ac.uk User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:sz5a2yMVpDnl94ekbFP8UoYTQ3E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57144 Archived-At: Glenn Morris wrote: > Lawrence Mitchell wrote: >> The docstring of comment-style refers the user to comment-styles for >> details on what the values mean. However, this is not available until >> after newcomment.el is loaded. So autoload comment-styles to avoid >> this problem. > Then this is an instance of a general problem. See eg > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1768 > for the same thing. > IMO there should be a general solution rather than papering over every > instance that occurs with more pre/autoloading. Sure, but you can't do this, right? You don't know where the variable is defined until /after/ the file it's defined in is loaded. Sure, you can guess that links in a docstring for a variable that is autoloaded from package foo may also lead to other variables in package foo, but that's not foolproof. I guess the help system could load the file of autoloaded variables when showing their docstring, but people are bound to complain about that too. Lawrence