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: Thu, 02 Aug 2012 07:20:28 +0200 Message-ID: <87obmtkgyr.fsf@gmail.com> References: <87pq7b5uvr.fsf@mail.jurta.org> <87ehnrqanr.fsf@gmail.com> <87txwnvwao.fsf@mail.jurta.org> <87a9yfq98z.fsf@gmail.com> <876293q7tv.fsf@gmail.com> <87ehnqb4i9.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343884900 16104 80.91.229.3 (2 Aug 2012 05:21:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Aug 2012 05:21:40 +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 Thu Aug 02 07:21:38 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 1Swnqs-0007M6-AM for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2012 07:21:38 +0200 Original-Received: from localhost ([::1]:44354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swnqr-0007bC-IW for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Aug 2012 01:21:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swnqp-0007b7-9l for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 01:21:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Swnqo-0002KO-Dm for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 01:21:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Swnqo-0002KK-8Q for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 01:21:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Swny2-0007nH-EX for bug-gnu-emacs@gnu.org; Thu, 02 Aug 2012 01:29:02 -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: Thu, 02 Aug 2012 05:29: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: Original-Received: via spool by 12098-submit@debbugs.gnu.org id=B12098.134388529329899 (code B ref 12098); Thu, 02 Aug 2012 05:29:02 +0000 Original-Received: (at 12098) by debbugs.gnu.org; 2 Aug 2012 05:28:13 +0000 Original-Received: from localhost ([127.0.0.1]:55820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwnxF-0007mC-Ek for submit@debbugs.gnu.org; Thu, 02 Aug 2012 01:28:13 -0400 Original-Received: from mail-wi0-f174.google.com ([209.85.212.174]:36788) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SwnxB-0007m2-KZ for 12098@debbugs.gnu.org; Thu, 02 Aug 2012 01:28:12 -0400 Original-Received: by wibhr14 with SMTP id hr14so3795627wib.15 for <12098@debbugs.gnu.org>; Wed, 01 Aug 2012 22:20:40 -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=oCimwsR+gG5LNn69e8Yl3qIXZE0UDFZGpWH/F99BpjE=; b=Q648acNFVng4xs2qulJm4Ho88TwLo4362DXxGkmYDIBTj05/z4W46PvVsKTp4sL2ME yXwmm5O64Wm0ELGylpFOqtMbhre6CdNEMajwiwMCA7bMH6mjDXuczOODYnumZ3dQVAVD gjgNvF9CSkmNOzo8l8mZ5rI7wQNWtepF8LKl55xtkWeYcNaJLorgFKvVqqGwG+NTUJST 0xh0jtk0Z41Qyil+vw1KrqA5K1aeCUx/KdR93+FlDzj85S6rX8rSYbhwdcdOS+iybAvq qRUPho6qzVdDi9IZpryi4MK4N33PDKMb79nUNRQvJSIjJUMfzDI3QYW3GerOn7vrnLX1 63Qw== Original-Received: by 10.180.105.6 with SMTP id gi6mr1603547wib.4.1343884840124; Wed, 01 Aug 2012 22:20:40 -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 bc2sm14436024wib.0.2012.08.01.22.20.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 22:20:39 -0700 (PDT) In-Reply-To: <87ehnqb4i9.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 02 Aug 2012 02:12:05 +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:62743 Archived-At: Juri Linkov writes: >> 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). > > This will be possible when you let-bind both `Man-notify-method' > and `Man-async': > > (let ((Man-async nil) (Man-notify-method 'pushy)) (man "bash")) Ok thanks. >> 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'. > > But what if `man' is unable to get a complete list of all available man pages? > Then you can't read some man pages. For instance, this happens when > you install a new package with a man page, but Man-completion-cache > is not updated. This is a very rare problem, and you can still > read the man page by entering its name without completion. It would be better in this case to reload the cache e.g with a prefix arg do (setq Man-completion-cache nil) before calling completing-read. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997