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 10:58:20 +0200 Message-ID: <87a9yfq98z.fsf@gmail.com> References: <87pq7b5uvr.fsf@mail.jurta.org> <87ehnrqanr.fsf@gmail.com> <87txwnvwao.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343811543 2559 80.91.229.3 (1 Aug 2012 08:59:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2012 08:59:03 +0000 (UTC) Cc: 12098@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 01 10:58:59 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 1SwUla-00044Q-1l for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2012 10:58:54 +0200 Original-Received: from localhost ([::1]:55584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwUlZ-0008Vw-9O for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2012 04:58:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwUlQ-000887-JV for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 04:58:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwUlK-0002iC-UJ for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 04:58:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwUlK-0002i0-QZ for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 04:58:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SwUsT-0004MO-UN for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2012 05:06:01 -0400 X-Loop: help-debbugs@gnu.org 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:06:01 +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: Original-Received: via spool by 12098-submit@debbugs.gnu.org id=B12098.134381195516746 (code B ref 12098); Wed, 01 Aug 2012 09:06:01 +0000 Original-Received: (at 12098) by debbugs.gnu.org; 1 Aug 2012 09:05:55 +0000 Original-Received: from localhost ([127.0.0.1]:54001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwUsN-0004M3-6I for submit@debbugs.gnu.org; Wed, 01 Aug 2012 05:05:55 -0400 Original-Received: from mail-wi0-f174.google.com ([209.85.212.174]:52341) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwUsM-0004Lw-0f for 12098@debbugs.gnu.org; Wed, 01 Aug 2012 05:05:54 -0400 Original-Received: by wibhr14 with SMTP id hr14so3022390wib.15 for <12098@debbugs.gnu.org>; Wed, 01 Aug 2012 01:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=udnZbFwLIowZcZ46imVxckOXasPmuzlaFYytqQl0fkQ=; b=R6Hs5feUh6e4o/EgRcUJBrkTKAyCyi2UZQUWXUrpHWX1ioHCOHt0mOMlKBak2X3nAn pDYosVC8el3ZGbAUm2xKNn2/tSENN7vKWgMxk1e1CavfaOrBTkj5ldie9AZVWslEqcFt J6qH9+rFyM+6HJPH2Tn9K4iOgue88Rr2QwYgr/s2hZbqxxXEMxOIF8LLByAOuOS1ZDVB SV9vJOjpQu3gTGINvPY3R1nPmEHGW7Cktlh8Z2i8X+rHmhLL8mVC/JiM+IWOgVhAWDZ7 ovG2c0tX9YOULAM8FVWjm3P26w4mwIwjFyZtnwcTkPaJJQOdWeXO9VE3Gw8K4xsd8kli yIwg== Original-Received: by 10.216.179.205 with SMTP id h55mr8753142wem.100.1343811509394; Wed, 01 Aug 2012 01:58:29 -0700 (PDT) Original-Received: from thierry-MM061 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id eu4sm26889709wib.2.2012.08.01.01.58.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 01:58:28 -0700 (PDT) In-Reply-To: <87txwnvwao.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 01 Aug 2012 11:41:35 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) 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:62709 Archived-At: 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). -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997