From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Help hyperlinks only work when auto-compression-mode is enabled. Date: Fri, 15 Jun 2007 23:35:31 +0100 Message-ID: <20070615223531.GA3496@muc.de> References: <20070610101159.GA2311@muc.de> <20070610234911.GB1867@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181941786 13694 80.91.229.12 (15 Jun 2007 21:09:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 21:09:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 15 23:09:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HzJ39-0005aD-GB for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 23:09:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzJ39-0005cs-1q for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 17:09:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzJ35-0005cn-7S for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:09:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzJ32-0005cM-Mp for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:09:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzJ32-0005cJ-Hf for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:09:36 -0400 Original-Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HzJ31-0002BT-Tg for emacs-devel@gnu.org; Fri, 15 Jun 2007 17:09:36 -0400 Original-Received: (qmail 39473 invoked by uid 3782); 15 Jun 2007 21:09:31 -0000 Original-Received: from acm.muc.de (p54A3EAD8.dip.t-dialin.net [84.163.234.216]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Fri, 15 Jun 2007 23:09:29 +0200 Original-Received: (qmail 4192 invoked by uid 1000); 15 Jun 2007 22:35:31 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-kernel: FreeBSD 4.6-4.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73009 Archived-At: 'Evening, Richard! [ Quick recap of the problem: Disable auto-compression-mode; do C-h f revert-buffer . Put point over `file.el' and press . The source file doesn't appear, because Emacs-22's "make install" compresses our source. ] On Tue, Jun 12, 2007 at 12:00:11PM -0400, Richard Stallman wrote: > I don't think so. Anybody who's knowingly disabled auto-compression-mode > will have a good reason for doing so, and will surely know what she's > doing. > > Yes. > > She won't want the find-func functions to find foo.el.gz. > > I am not convinced that follows. > > However, this user didn't ask for the Emacs-22 sources to be compressed, > any more than I did. It just happened with the "make install". So we're > entitled to see these sources on clicking the hyperlink in C-h f. > > Yes, and the same argument applies to the functions in find-func. Apologies: When I wrote my two posts in this thread, I'd convinced myself that my patch fixed the problem purely for the Emacs sources. Which is complete and utter nonsense, of course. The only way to uncompress _only_ the emacs sources is to create some variable containing "/usr/local/share/emacs/22.1/lisp" and test it. YUCK!! I don't think that's the right thing to do. We either decide that that will ALWAYS find compressed files in that context, or we accept the hit with C-h f and disabled a-c-m. I don't think the latter is acceptable, since we don't output an error message which is at all helpful. I think the best thing is NOT to compress our source files with "make install". The compressed lisp directory contains 9.5 Mb of .el.gz files. Uncompressed, it's a bit around 38.5 Mb. This saving of ~30 Mb doesn't seem worth the hassle it causes. What do people think? -- Alan Mackenzie (Ittersbach, Germany)