From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#12098: How to trap errors in man? Date: Wed, 01 Aug 2012 11:29:00 +0200 Message-ID: <876293q7tv.fsf@gmail.com> References: <87pq7b5uvr.fsf@mail.jurta.org> <87ehnrqanr.fsf@gmail.com> <87txwnvwao.fsf@mail.jurta.org> <87a9yfq98z.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343813392 17647 80.91.229.3 (1 Aug 2012 09:29:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2012 09:29:52 +0000 (UTC) To: 12098@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 01 11:29:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SwVFU-0006ry-Kn for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2012 11:29:48 +0200 Original-Received: from localhost ([::1]:53749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwVFT-0007AY-Ao for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2012 05:29:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwVFQ-0007AT-BL for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:29:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwVFK-0003d3-IF for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:29:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwVFK-0003cz-F8 for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:29:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SwVMU-00053F-2p for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:37:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2012 09:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12098 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134381382019410 (code B ref -1); Wed, 01 Aug 2012 09:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Aug 2012 09:37:00 +0000 Original-Received: from localhost ([127.0.0.1]:54056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwVMS-000531-3n for submit@debbugs.gnu.org; Wed, 01 Aug 2012 05:37:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42308) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwVMQ-00052u-9X for submit@debbugs.gnu.org; Wed, 01 Aug 2012 05:36:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwVFA-0003bI-E4 for submit@debbugs.gnu.org; Wed, 01 Aug 2012 05:29:34 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:35090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwVFA-0003bD-BN for submit@debbugs.gnu.org; Wed, 01 Aug 2012 05:29:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwVF4-00079j-KD for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:29:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwVF3-0003ae-L9 for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:29:22 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:36332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwVF3-0003aV-E8 for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:29:21 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SwVEx-0006Zu-RH for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 11:29:15 +0200 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Aug 2012 11:29:15 +0200 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Aug 2012 11:29:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:rot6kjYoGv8FZ5igv+2p2HWT1sE= 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:62712 Archived-At: Thierry Volpiatto writes: > Juri Linkov writes: > >>> `Man-getpage-in-background' use (if (fboundp 'start-process) to check if >>> it start an asynchronous process or not. >>> Why in Emacs-24 `start-process' would not exists? >>> Why instead don't you add an optional arg to `Man-getpage-in-background' >>> to make it synchronous? >>> It would be instead of (if (fboundp 'start-process): >>> (if synchronous start-man-synchronously start-man-async >>> This would allow to make an user variable that allow to choose if man is >>> async or not. >> >> Yes, this is what is implemented with a new `Man-async' >> in another post I just sent. > Ah! good. > >> Do you agree that man should be synchronous by default? > Yes. > > Also `Man-notify-method' should be more accessible (more let-bindable) > probably by making it local, but I may be wrong there (need to look at > the code). Also while you are at it, it would be helpful to add a 't' value to the require-match arg of completing-read in `man'. Thanks. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997