From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 13 18:48:17 2010 Received: (at submit) by debbugs.gnu.org; 13 Feb 2010 23:48:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgRii-0007pp-MY for submit@debbugs.gnu.org; Sat, 13 Feb 2010 18:48:17 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgRih-0007pi-Pu for submit@debbugs.gnu.org; Sat, 13 Feb 2010 18:48:16 -0500 Received: from mail.gnu.org ([199.232.76.166]:51534 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgRie-0007dt-1d for submit@debbugs.gnu.org; Sat, 13 Feb 2010 18:48:12 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NgRid-00014J-Lr for submit@debbugs.gnu.org; Sat, 13 Feb 2010 18:48:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,NO_REAL_NAME,UNPARSEABLE_RELAY autolearn=no version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:40888) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NgRid-00014D-GA for submit@debbugs.gnu.org; Sat, 13 Feb 2010 18:48:11 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgRic-0001s4-T6 for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 18:48:10 -0500 Received: from [140.186.70.92] (port=46044 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgRib-0001rw-U1 for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 18:48:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgRib-0003hm-82 for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 18:48:09 -0500 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145]:43771 helo=homiemail-a10.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgRib-0003hf-2K for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2010 18:48:09 -0500 Received: from jidanni.org (218-163-4-10.dynamic.hinet.net [218.163.4.10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTPSA id B83F228005C; Sat, 13 Feb 2010 15:48:06 -0800 (PST) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: 23.1.92; M-x man should consider $MANPATH when making completions Date: Sun, 14 Feb 2010 07:48:04 +0800 Message-ID: <87tytkn1e3.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit Cc: rfrancoise@debian.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) M-x man should consider $MANPATH when making completions. It (via /usr/bin/man) finds the pages fine, but one must type them in without any TAB completion help. The TAB completion should examine one's e.g., MANPATH=/usr/local/man:/home/jidanni/.spamassassin-tree/man: too. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 13 20:29:30 2010 Received: (at 5578) by debbugs.gnu.org; 14 Feb 2010 01:29:31 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgTIg-0000Wf-JN for submit@debbugs.gnu.org; Sat, 13 Feb 2010 20:29:30 -0500 Received: from pantheon-po35.its.yale.edu ([130.132.50.83]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgTIe-0000WX-NX for 5578@debbugs.gnu.org; Sat, 13 Feb 2010 20:29:29 -0500 Received: from furry (bb116-15-9-83.singnet.com.sg [116.15.9.83]) (authenticated bits=0) by pantheon-po35.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1E1TM4m023428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 13 Feb 2010 20:29:24 -0500 Received: by furry (Postfix, from userid 1000) id 2873BC05D; Sat, 13 Feb 2010 20:29:19 -0500 (EST) From: Chong Yidong To: jidanni@jidanni.org Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions References: <87tytkn1e3.fsf@jidanni.org> Date: Sat, 13 Feb 2010 20:29:18 -0500 In-Reply-To: <87tytkn1e3.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sun, 14 Feb 2010 07:48:04 +0800") Message-ID: <87r5oohafl.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5578 Cc: rfrancoise@debian.org, 5578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) jidanni@jidanni.org writes: > M-x man should consider $MANPATH when making completions. It (via > /usr/bin/man) finds the pages fine, but one must type them in without > any TAB completion help. The TAB completion should examine one's e.g., > MANPATH=/usr/local/man:/home/jidanni/.spamassassin-tree/man: too. It does complete, using `man -k'. Please provide a proper bug report. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 14 01:12:40 2010 Received: (at 5578) by debbugs.gnu.org; 14 Feb 2010 06:12:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgXii-00049Z-Gg for submit@debbugs.gnu.org; Sun, 14 Feb 2010 01:12:40 -0500 Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a4.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgXig-00049S-KQ for 5578@debbugs.gnu.org; Sun, 14 Feb 2010 01:12:39 -0500 Received: from jidanni.org (218-163-7-17.dynamic.hinet.net [218.163.7.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 064FF418B2; Sat, 13 Feb 2010 22:12:34 -0800 (PST) From: jidanni@jidanni.org To: cyd@stupidchicken.com, man-db@packages.debian.org Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions References: <87r5oohafl.fsf@stupidchicken.com> Date: Sun, 14 Feb 2010 14:12:31 +0800 Message-ID: <87tytkpcq8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 5578 Cc: rfrancoise@debian.org, 5578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) >>>>> "CY" == Chong Yidong writes: CY> jidanni@jidanni.org writes: >> M-x man should consider $MANPATH when making completions. It (via >> /usr/bin/man) finds the pages fine, but one must type them in without >> any TAB completion help. The TAB completion should examine one's e.g., >> MANPATH=/usr/local/man:/home/jidanni/.spamassassin-tree/man: too. CY> It does complete, using `man -k'. Please provide a proper bug report. $ man -w whoami /usr/share/man/man1/whoami.1.gz $ man -k whoami whoami (1) - print effective userid $ man -w sa-update /home/jidanni/.spamassassin-tree/man/man1/sa-update.1p $ man -k sa-update $ Well, OK, but to change things, the user must probably fiddle with /etc/manpath.config and run roots cronjob, when all he wants to do is expand the names and not look at the definitions... Just like one can expand the names of $PATH, why not $MANPATH... From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 14 03:57:51 2010 Received: (at 5578) by debbugs.gnu.org; 14 Feb 2010 08:57:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgaIZ-00062t-HR for submit@debbugs.gnu.org; Sun, 14 Feb 2010 03:57:51 -0500 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgaIX-00062m-QN for 5578@debbugs.gnu.org; Sun, 14 Feb 2010 03:57:50 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1NgaIR-00013L-B2; Sun, 14 Feb 2010 08:57:43 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) id 1NgaI9-0002EA-00; Sun, 14 Feb 2010 08:57:25 +0000 Date: Sun, 14 Feb 2010 08:57:23 +0000 From: Colin Watson To: jidanni@jidanni.org Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions Message-ID: <20100214085721.GX4484@riva.ucam.org> References: <87r5oohafl.fsf@stupidchicken.com> <87tytkpcq8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tytkpcq8.fsf@jidanni.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5578 Cc: cyd@stupidchicken.com, rfrancoise@debian.org, man-db@packages.debian.org, 5578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Feb 14, 2010 at 02:12:31PM +0800, jidanni@jidanni.org wrote: > $ man -w whoami > /usr/share/man/man1/whoami.1.gz > $ man -k whoami > whoami (1) - print effective userid > $ man -w sa-update > /home/jidanni/.spamassassin-tree/man/man1/sa-update.1p > $ man -k sa-update > $ > > Well, OK, but to change things, the user must probably fiddle with > /etc/manpath.config and run roots cronjob, when all he wants to do is > expand the names and not look at the definitions... Not at all. Run mandb as your ordinary user and then 'man -k' will work. You may only care about the names, but if M-x man currently searches definitions as well then that means a number of users have almost certainly got used to that, and 'man -k' seems like a reasonable way to do that kind of thing. Having to make sure the database is up to date seems like a not unreasonable price to pay, given that user manual hierarchies are comparatively rare. -- Colin Watson [cjwatson@debian.org] From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 14 11:30:19 2010 Received: (at 5578) by debbugs.gnu.org; 14 Feb 2010 16:30:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NghMQ-0003n0-TC for submit@debbugs.gnu.org; Sun, 14 Feb 2010 11:30:19 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NghMP-0003mq-7F for 5578@debbugs.gnu.org; Sun, 14 Feb 2010 11:30:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEABO0d0tFpaHD/2dsb2JhbACbHHW6O4JjCoFuBIMUh2I X-IronPort-AV: E=Sophos;i="4.49,472,1262581200"; d="scan'208";a="56031727" Received: from 69-165-161-195.dsl.teksavvy.com (HELO ceviche.home) ([69.165.161.195]) by ironport2-out.pppoe.ca with ESMTP; 14 Feb 2010 11:30:11 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 0EAE9B45F3; Sun, 14 Feb 2010 11:30:10 -0500 (EST) From: Stefan Monnier To: jidanni@jidanni.org Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions Message-ID: References: <87r5oohafl.fsf@stupidchicken.com> <87tytkpcq8.fsf@jidanni.org> Date: Sun, 14 Feb 2010 11:30:10 -0500 In-Reply-To: <87tytkpcq8.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sun, 14 Feb 2010 14:12:31 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.2 (--) X-Debbugs-Envelope-To: 5578 Cc: cyd@stupidchicken.com, rfrancoise@debian.org, man-db@packages.debian.org, 5578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.2 (--) > $ man -w whoami > /usr/share/man/man1/whoami.1.gz > $ man -k whoami > whoami (1) - print effective userid > $ man -w sa-update > /home/jidanni/.spamassassin-tree/man/man1/sa-update.1p > $ man -k sa-update > $ Looks like a bug/misfeature in the `man' program, then. Of course, man.el could try to work around this limitation, but I think we first should try to get it fixed. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 14 16:06:17 2010 Received: (at 5578-close) by debbugs.gnu.org; 14 Feb 2010 21:06:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NglfV-00075W-1n for submit@debbugs.gnu.org; Sun, 14 Feb 2010 16:06:17 -0500 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177] helo=homiemail-a3.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NglfT-00075P-7T for 5578-close@debbugs.gnu.org; Sun, 14 Feb 2010 16:06:15 -0500 Received: from jidanni.org (218-163-2-143.dynamic.hinet.net [218.163.2.143]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 9D806C5D18; Sun, 14 Feb 2010 13:06:09 -0800 (PST) From: jidanni@jidanni.org To: cjwatson@debian.org Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions References: <20100214085721.GX4484@riva.ucam.org> Date: Mon, 15 Feb 2010 05:06:06 +0800 Message-ID: <87zl3bmssh.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 5578-close Cc: 5578-close@debbugs.gnu.org, cyd@stupidchicken.com, rfrancoise@debian.org, man-db@packages.debian.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) >>>>> "CW" == Colin Watson writes: CW> Run mandb as your ordinary user OK, I found that works and am closing the bug. Maybe that should be documented in emacs as at least working on Debian. (I discovered it makes files inside my private man tree... the mandb page perhaps isn't that clear about that.) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 15 03:41:39 2010 Received: (at 5578) by debbugs.gnu.org; 15 Feb 2010 08:41:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgwWQ-00074o-P3 for submit@debbugs.gnu.org; Mon, 15 Feb 2010 03:41:38 -0500 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgwWO-00074j-Up for 5578@debbugs.gnu.org; Mon, 15 Feb 2010 03:41:37 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1NgwWG-0007JK-UF; Mon, 15 Feb 2010 08:41:29 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) id 1NgwWF-0000Or-00; Mon, 15 Feb 2010 08:41:27 +0000 Date: Mon, 15 Feb 2010 08:41:26 +0000 From: Colin Watson To: Stefan Monnier Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions Message-ID: <20100215084125.GZ4484@riva.ucam.org> References: <87r5oohafl.fsf@stupidchicken.com> <87tytkpcq8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5578 Cc: cyd@stupidchicken.com, rfrancoise@debian.org, man-db@packages.debian.org, 5578@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Feb 14, 2010 at 11:30:10AM -0500, Stefan Monnier wrote: > > $ man -w whoami > > /usr/share/man/man1/whoami.1.gz > > $ man -k whoami > > whoami (1) - print effective userid > > $ man -w sa-update > > /home/jidanni/.spamassassin-tree/man/man1/sa-update.1p > > $ man -k sa-update > > $ > > Looks like a bug/misfeature in the `man' program, then. > Of course, man.el could try to work around this limitation, but I think > we first should try to get it fixed. (Hi, maintainer of man-db speaking here.) In some ways it is not ideal that people have to run 'mandb' by hand before 'man -k' and similar tools work. (I believe that the other commonly-used implementation works similarly, except that the program you have to run is called 'makewhatis'.) On the other hand, some years ago (up to man-db 2.3.19, 2001 or thereabouts) man used to build its databases on the fly and the results were generally regarded as disastrous: they tended to involve lots of waiting around for interactive queries to return while the database was rebuilt. Everyone hated it. I deliberately changed this, and I'm not keen to return to the previous situation as I remember what it was like. On balance, I think I prefer the current state of the trade-off. I don't know that it's appropriate for Emacs to work around this; it clearly has some entitlement to assume that 'man -k' works. (On Debian and allied systems, system manual pages always work fine as the packaging system nowadays takes care to run mandb whenever necessary; this only affects user manual pages, which are relatively rare.) Perhaps 'man -k' ought to print a message on stderr in some circumstances telling you to run mandb, although unfortunately much of the time working out that you need to run mandb involves a substantial part of the work involved in actually running mandb, so I'm not sure whether this would be a good idea ... Regards, -- Colin Watson [cjwatson@debian.org] From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 15 03:45:34 2010 Received: (at 5578) by debbugs.gnu.org; 15 Feb 2010 08:45:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgwaE-000785-0n for submit@debbugs.gnu.org; Mon, 15 Feb 2010 03:45:34 -0500 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgwaC-00077x-63 for 5578@debbugs.gnu.org; Mon, 15 Feb 2010 03:45:32 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost03.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1Ngwa6-0007R5-9x; Mon, 15 Feb 2010 08:45:26 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) id 1Ngwa5-0000Qz-00; Mon, 15 Feb 2010 08:45:25 +0000 Date: Mon, 15 Feb 2010 08:45:25 +0000 From: Colin Watson To: jidanni@jidanni.org Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions Message-ID: <20100215084523.GA4484@riva.ucam.org> References: <20100214085721.GX4484@riva.ucam.org> <87zl3bmssh.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zl3bmssh.fsf@jidanni.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost03-IP: [82.69.40.219] X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5578 Cc: cyd@stupidchicken.com, rfrancoise@debian.org, man-db@packages.debian.org, 5578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Mon, Feb 15, 2010 at 05:06:06AM +0800, jidanni@jidanni.org wrote: > >>>>> "CW" == Colin Watson writes: > CW> Run mandb as your ordinary user > OK, I found that works and am closing the bug. Maybe that should be > documented in emacs as at least working on Debian. The bug title here is incorrect anyway; there's nothing Emacs is doing that would avoid honouring $MANPATH, and that was never related to your problem. This isn't Debian-specific. > (I discovered it makes files inside my private man tree... the mandb page > perhaps isn't that clear about that.) I don't think it needs to be. It's creating an index for your private manual hierarchy; either (a) it should be obvious that this would live within your private manual hierarchy, since where else would it go or (b) you should not need to care. :-) -- Colin Watson [cjwatson@debian.org] From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 15 09:47:30 2010 Received: (at 5578) by debbugs.gnu.org; 15 Feb 2010 14:47:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nh2ET-0003ea-If for submit@debbugs.gnu.org; Mon, 15 Feb 2010 09:47:29 -0500 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a38.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nh2EP-0003eU-QB for 5578@debbugs.gnu.org; Mon, 15 Feb 2010 09:47:28 -0500 Received: from jidanni.org (218-163-4-52.dynamic.hinet.net [218.163.4.52]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id 4E7C7D4F84; Mon, 15 Feb 2010 06:47:19 -0800 (PST) From: jidanni@jidanni.org To: cjwatson@debian.org Subject: Re: bug#5578: 23.1.92; M-x man should consider $MANPATH when making completions References: <20100215084523.GA4484@riva.ucam.org> Date: Mon, 15 Feb 2010 22:47:17 +0800 Message-ID: <87sk927dze.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 5578 Cc: cyd@stupidchicken.com, rfrancoise@debian.org, man-db@packages.debian.org, 5578@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) >>>>> "CW" == Colin Watson writes: >> (I discovered it makes files inside my private man tree... the mandb page >> perhaps isn't that clear about that.) CW> I don't think it needs to be. It's creating an index for your private CW> manual hierarchy; either (a) it should be obvious that this would live CW> within your private manual hierarchy, since where else would it go or CW> (b) you should not need to care. :-) I found 'gosh, mandb worked'. 'Now where did it store whatever it stored?' At first I thought it might be in some mode 4777 directory in /usr or /var ... nope, hmmm find ~ -mtime -1 ... ah ha, it saved it right under my nose. Anyway, I made a anacrontab to remind me to run it (mandb) as me (user 1000) every 444 days. From unknown Sat Jun 21 10:38:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 16 Mar 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator