From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4056: Searching for program: no such file or directory, LC_CTYPE=C man Date: Thu, 11 Feb 2010 11:10:52 -0500 Message-ID: References: <87hbwld874.fsf@jidanni.org> <874olr1r7z.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265905383 27862 80.91.229.12 (11 Feb 2010 16:23:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 16:23:03 +0000 (UTC) To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 11 17:22:55 2010 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.69) (envelope-from ) id 1Nfbob-0003z4-Mk for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Feb 2010 17:22:54 +0100 Original-Received: from localhost ([127.0.0.1]:58476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfboa-0006v4-NL for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Feb 2010 11:22:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfboN-0006q0-IH for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 11:22:39 -0500 Original-Received: from [199.232.76.173] (port=42628 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfboM-0006pG-L0 for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 11:22:38 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfboI-0001mI-Ux for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 11:22:37 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34612) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NfboH-0001ld-J3 for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 11:22:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nfblr-0008EH-2S for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 11:20:03 -0500 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Feb 2010 16:20:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org Mail-Followup-To: 4056@debbugs.gnu.org, Stefan Monnier X-Emacs-PR-Message: cc-closed 4056 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4056-done@debbugs.gnu.org id=D4056.126590514431605 (code D ref 4056); Thu, 11 Feb 2010 16:20:02 +0000 Original-Received: (at 4056-close) by debbugs.gnu.org; 11 Feb 2010 16:19:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nfbku-0008Di-7w for submit@debbugs.gnu.org; Thu, 11 Feb 2010 11:19:04 -0500 Original-Received: from tomts13.bellnexxia.net ([209.226.175.34] helo=tomts13-srv.bellnexxia.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfbdB-00087B-JU for 4056-close@debbugs.gnu.org; Thu, 11 Feb 2010 11:11:06 -0500 Original-Received: from toip3.srvr.bell.ca ([209.226.175.86]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20100211161059.HUII20196.tomts13-srv.bellnexxia.net@toip3.srvr.bell.ca> for <4056-close@debbugs.gnu.org>; Thu, 11 Feb 2010 11:10:59 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAAW5c0tGN1M//2dsb2JhbACaeXW+SoRWBIMT Original-Received: from bas1-montreal42-1178030911.dsl.bell.ca (HELO ceviche.home) ([70.55.83.63]) by toip3.srvr.bell.ca with ESMTP; 11 Feb 2010 10:59:34 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 20E76B4270; Thu, 11 Feb 2010 11:10:52 -0500 (EST) In-Reply-To: <874olr1r7z.fsf@jidanni.org> (jidanni@jidanni.org's message of "Tue, 09 Feb 2010 03:07:28 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-Mailman-Approved-At: Thu, 11 Feb 2010 11:19:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 11 Feb 2010 11:20:03 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:35035 Archived-At: > Can someone please send me the workaround!! I've just installed the patch below which should silence those errors (tho the error will still be there and will prevent completion from working). Stefan === modified file 'lisp/man.el' --- lisp/man.el 2010-01-13 08:35:10 +0000 +++ lisp/man.el 2010-02-11 15:54:21 +0000 @@ -771,8 +771,13 @@ ;; quote anything. (let ((process-environment (copy-sequence process-environment))) (setenv "COLUMNS" "999") ;; don't truncate long names + ;; manual-program might not even exist. And since it's + ;; run differently in Man-getpage-in-background, an error + ;; here may not necessarily mean that we'll also get an + ;; error later. + (ignore-errors (call-process manual-program nil '(t nil) nil - "-k" (concat "^" prefix))) + "-k" (concat "^" prefix)))) (goto-char (point-min)) (while (re-search-forward "^\\([^ \t\n]+\\)\\(?: ?\\((.+?)\\)\\(?:[ \t]+- \\(.*\\)\\)?\\)?" nil t) (push (propertize (concat (match-string 1) (match-string 2))