From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: does (setq Man-switches "-a") work? Date: Sat, 30 Nov 2019 15:38:18 +0100 Message-ID: <86mucdtoo5.fsf@zoho.eu> References: <86r21qvsyd.fsf@zoho.eu> <83lfrxomrd.fsf@gnu.org> <865zj1wti9.fsf@zoho.eu> <83d0d9odjb.fsf@gnu.org> <86r21pve8h.fsf@zoho.eu> <834kylo8r9.fsf@gnu.org> <86v9r1tu0p.fsf@zoho.eu> <831rtpo460.fsf@gnu.org> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="159132"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 30 15:38:46 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ib3tW-000fGz-8u for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Nov 2019 15:38:46 +0100 Original-Received: from localhost ([::1]:40782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ib3tU-0000SC-PC for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Nov 2019 09:38:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45763) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ib3tI-0000S5-Ba for help-gnu-emacs@gnu.org; Sat, 30 Nov 2019 09:38:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ib3tE-0004FV-Nu for help-gnu-emacs@gnu.org; Sat, 30 Nov 2019 09:38:32 -0500 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:57366 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ib3tE-00047z-Gf for help-gnu-emacs@gnu.org; Sat, 30 Nov 2019 09:38:28 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1ib3tB-000ev9-Lj for help-gnu-emacs@gnu.org; Sat, 30 Nov 2019 15:38:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Cancel-Lock: sha1:dLvVXExvTtFq4ScxwrPMeYo9etg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121963 Archived-At: Eli Zaretskii wrote: >> What switches are supported? > > Any switches supported by the 'man' command > you have installed, I think. zshall(1) with Emacs M-x man RET zshall RET "page 1 of 16", and page 1 has 345 lines, same with (setq Man-switches "-a") and (setq Man-switches "") In the Unix shell with man(1) - no concept of a sixteenth division, 'man -a' loads the whole manpage immediately and if you hit G you get to line 32 213. > It does work: it produces all of the man > pages by that name, in all of the sections. > You just need to go from one to the other > with M-n and M-p, as "C-h m" tells you. If you are to search the entire document for a keyword, the entire document must be in one and only one buffer. >> The Unix man(1) is a pager. > > No, 'man' is not a pager. It is a program > that formats and displays manual pages. > A pager is a program like 'more' or 'less'. > At least that's what I would call a "pager". $ man man MAN(1) Manual pager utils MAN(1) [...] -P pager, --pager=pager Specify which output pager to use. By default, man uses pager. This option overrides the $MANPAGER envi‐ ronment variable, which in turn overrides the $PAGER environment variable. What's pager? $ t pager # [1] /usr/bin/pager lrwxrwxrwx 1 root 23 Mar 18 2016 /usr/bin/pager -> /etc/alternatives/pager * links to: /bin/less -rwxr-xr-x 1 root 148K Mar 5 2016 /bin/less [1] https://dataswamp.org/~incal/conf/.zsh/ide (line 67) -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal