From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4826: 23.1; woman-manpath, woman-man.conf-path on MS Windows with Cygwin Date: Thu, 29 Oct 2009 22:29:12 +0200 Message-ID: <83zl7adjvr.fsf@gnu.org> References: <7D3F20CA4B154B88B024209D1F0EBAC7@us.oracle.com> Reply-To: Eli Zaretskii , 4826@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1256849258 30887 80.91.229.12 (29 Oct 2009 20:47:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2009 20:47:38 +0000 (UTC) To: Drew Adams , 4826@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 29 21:47:30 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N3bu2-0003x5-RV for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Oct 2009 21:47:27 +0100 Original-Received: from localhost ([127.0.0.1]:35312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3bu2-0002hS-CA for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Oct 2009 16:47:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3bty-0002fQ-CR for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2009 16:47:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3btt-0002aM-KD for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2009 16:47:21 -0400 Original-Received: from [199.232.76.173] (port=58385 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3btt-0002a2-8u for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2009 16:47:17 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38514) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3bts-0001td-7r for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2009 16:47:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9TKlExg021349; Thu, 29 Oct 2009 13:47:14 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9TKZ3hf020317; Thu, 29 Oct 2009 13:35:03 -0700 Resent-Date: Thu, 29 Oct 2009 13:35:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 29 Oct 2009 20:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4826 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4826-submit@emacsbugs.donarmstrong.com id=B4826.125684815419874 (code B ref 4826); Thu, 29 Oct 2009 20:35:03 +0000 Original-Received: (at 4826) by emacsbugs.donarmstrong.com; 29 Oct 2009 20:29:14 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout22.012.net.il (mtaout22.012.net.il [80.179.55.172]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9TKTCNl019871 for <4826@emacsbugs.donarmstrong.com>; Thu, 29 Oct 2009 13:29:14 -0700 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KSA00L00M6MS100@a-mtaout22.012.net.il> for 4826@emacsbugs.donarmstrong.com; Thu, 29 Oct 2009 22:29:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.186.42]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KSA00LD4M8HSM00@a-mtaout22.012.net.il>; Thu, 29 Oct 2009 22:29:06 +0200 (IST) In-reply-to: <7D3F20CA4B154B88B024209D1F0EBAC7@us.oracle.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 29 Oct 2009 16:47:21 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32277 Archived-At: > From: "Drew Adams" > Date: Thu, 29 Oct 2009 00:40:45 -0700 > > Seems like the default value of things like `man-path' on MS Windows > should not be ("/usr/man" "/usr/share/man" "/usr/local/man"). > > I have Cygwin installed (but I'm not using Cygwin Emacs), but the > default value does not reflect this. Even the doc string of > `woman-manpath' says this: > > Microsoft platforms: > I recommend including drive letters explicitly, e.g. > > ("C:/Cygwin/usr/man/" "C:/Cygwin/usr/local/man"). > > One wonders who "I" is here WoMan's author, I presume. > why can't Emacs itself do something like that for the default > value? There's no standard place on Windows for man pages. Everybody puts them where they see fit. How would Emacs know where to look? > That default value, even if hard-coded, would be better for > Windows users than the actual default value of ("/usr/man" > "/usr/share/man" "/usr/local/man"). How can incorrect default value be better? The current default actually works for me (because I happen to have man pages installed in these two directories on my disk D:). So for me, changing the default to something like C:/Cygwin/usr/man would be a step back. If anything, I would suggest writing some code to look up the directories in the default value on every drive that is on a local hard disk, then perhaps do the same under /Cygwin on each drive. But that's hardly a simple change of the default to a different static value. > There is more chance that a Windows user has Cygwin installed than > that the Unix directories will work! I'm not sure this is true. It's certainly false for me. I have gobs of man pages, and no Cygwin.