From unknown Fri Jun 20 07:16:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39215 <39215@debbugs.gnu.org> To: bug#39215 <39215@debbugs.gnu.org> Subject: Status: Hyperlinks to man pages in doc strings Reply-To: bug#39215 <39215@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:16:22 +0000 retitle 39215 Hyperlinks to man pages in doc strings reassign 39215 emacs submitter 39215 Stefan Kangas severity 39215 wishlist tag 39215 patch fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 21 03:56:06 2020 Received: (at submit) by debbugs.gnu.org; 21 Jan 2020 08:56:06 +0000 Received: from localhost ([127.0.0.1]:46458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itpKM-0003HG-1o for submit@debbugs.gnu.org; Tue, 21 Jan 2020 03:56:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:44122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itpKG-0003Gq-J9 for submit@debbugs.gnu.org; Tue, 21 Jan 2020 03:56:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itpKB-0006FD-WC for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 03:55:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itpK7-0002ko-OA for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 03:55:51 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:37108) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itpK7-0002k2-Bo for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 03:55:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1E41NZa4YoLl6R299Yp0PrcftMLZMKI3Ursbk21Wfmo=; b=Gxp4NsCpEAVvAWt6VSGNbWCZeH HubFsB8YN7Ol6eAqe20BzDKWtx6Ib7LLxEwW1VGdIdAt3vO8gcJ1oWX39lqERp15LfLyjjlGsT0nX XDb1wcNxUnn6Hh6SK9ULBtxoBQBlWFhMiTo0PZxjYcKzBqpm8X0+Oy647EOBItbPYgylEE4JQw69c NhhhPtu0kFHynEdBvcZS2GspSky9c4VLZ73eAyeCGtwToX/jTGMo7nxttHOwZlR1fl2bicYz8u6SF QMR3YnY5D+wCH0dR0t5G43DfEZppJLwFPn/+nta8TxGzuPOzyP/zAKxvhRFkMcE0z9s9Lxuw2nr4e Jd7MlHFg==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:33428 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1itpK5-000qPS-4y for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 03:55:45 -0500 From: Stefan Kangas To: bug-gnu-emacs@gnu.org Subject: Hyperlinks to man pages in doc strings Date: Tue, 21 Jan 2020 09:55:42 +0100 Message-ID: <87h80pmbn5.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 67.225.143.91 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Severity: wishlist Please add the possibility to write in doc strings: man page `find' and have it automatically converted into a hyperlink which will open up M-x man and visit the specified man page. The proposed feature complements the already existing functionality with hyperlinks to info pages.[1] For an example of where this would be useful, please see the doc string of `dired-do-chmod'. Best regards, Stefan Kangas Footnotes: [1] See (info "(elisp)Documentation Tips") From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 21 10:36:40 2020 Received: (at 39215) by debbugs.gnu.org; 21 Jan 2020 15:36:40 +0000 Received: from localhost ([127.0.0.1]:48286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itva4-0004ad-0G for submit@debbugs.gnu.org; Tue, 21 Jan 2020 10:36:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itva2-0004aM-Le for 39215@debbugs.gnu.org; Tue, 21 Jan 2020 10:36:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itvZx-0000ZG-8T; Tue, 21 Jan 2020 10:36:33 -0500 Received: from [176.228.60.248] (port=1814 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itvZw-0001Q1-Cf; Tue, 21 Jan 2020 10:36:32 -0500 Date: Tue, 21 Jan 2020 17:36:43 +0200 Message-Id: <83iml4x1mc.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: <87h80pmbn5.fsf@marxist.se> (message from Stefan Kangas on Tue, 21 Jan 2020 09:55:42 +0100) Subject: Re: bug#39215: Hyperlinks to man pages in doc strings References: <87h80pmbn5.fsf@marxist.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39215 Cc: 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Tue, 21 Jan 2020 09:55:42 +0100 > > Severity: wishlist > > Please add the possibility to write in doc strings: > > man page `find' > > and have it automatically converted into a hyperlink which will open > up M-x man and visit the specified man page. 'find' has an Info manual: find.info. Why not use a hyperlink to that instead, something we already support? Many utilities have similar Info manuals, and the glibc has an Info manual as well. > The proposed feature complements the already existing functionality > with hyperlinks to info pages.[1] Nitpicking: let's not call Info manuals "pages". They are not like "man pages", which are a collection of short concise usage descriptions. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 21 11:32:59 2020 Received: (at 39215) by debbugs.gnu.org; 21 Jan 2020 16:32:59 +0000 Received: from localhost ([127.0.0.1]:48316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itwSY-0006DK-Tq for submit@debbugs.gnu.org; Tue, 21 Jan 2020 11:32:59 -0500 Received: from mail-pg1-f176.google.com ([209.85.215.176]:44207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itwST-0006Cr-K9 for 39215@debbugs.gnu.org; Tue, 21 Jan 2020 11:32:57 -0500 Received: by mail-pg1-f176.google.com with SMTP id x7so1748702pgl.11 for <39215@debbugs.gnu.org>; Tue, 21 Jan 2020 08:32:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3W3Bj/Tr4PxWruk7D0wY9l9FANWXYNOO/Jq+utXfC4M=; b=fnixFGfap4iZayZpSbWI+dVvkWqq3OYbcOz4lRAi5O+IwHu9/abH1cZXmXl8PJ5yfp i2W0WQcJgyaiJ6i9pCviiIe6soLfkgVaUoUiEA986p3X+D1UUPWC4X/N8W8ebNOKEVyP 0QnCU4CiBGwAIp/mj45lXoaEWca2gru/BCaZ4DulxeCIO3ouYdiCOYT9CBzv3Oebf587 TSTu60Tw8AvUQpDASKwjz84WlpRt4vjn1NoDaD9WdrW8/n1el7dviGF73I37RFDsqvFU q9TFFx0FzMvk/4BVF4PLv35Z1b72MCX7cD9tLpKcD0CQompz6gQiWKmGMSk8kx1AcS1x RowQ== X-Gm-Message-State: APjAAAV5bScctcLTBhTWSiAgiUyTEtEGd5DHEzcYvH0mYLKSZQ9ysSsV Za5brMDBpYtjijcvxfCaX4fhCPrJGed0wVs1Y2k= X-Google-Smtp-Source: APXvYqwjDSzRTrFWcwPzyvFM/oljXF4RXLBky37vc7fH8do2JUzZIbpaiz696BAAORFSfU8ey/5WTuJ1h4lMvJxNbGA= X-Received: by 2002:a63:d411:: with SMTP id a17mr6639021pgh.333.1579624367777; Tue, 21 Jan 2020 08:32:47 -0800 (PST) MIME-Version: 1.0 References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> In-Reply-To: <83iml4x1mc.fsf@gnu.org> From: Stefan Kangas Date: Tue, 21 Jan 2020 17:32:35 +0100 Message-ID: Subject: Re: bug#39215: Hyperlinks to man pages in doc strings To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 39215 Cc: 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Eli Zaretskii writes: > 'find' has an Info manual: find.info. Why not use a hyperlink to that > instead, something we already support? Many utilities have similar > Info manuals, and the glibc has an Info manual as well. I was looking for something which would work also with BSD find (or indeed any find not from GNU findutils). My idea was to specify both. But that's just one example. Most non-GNU software don't use texinfo. They often have man pages. It would be useful to be able to add links to them. > Nitpicking: let's not call Info manuals "pages". They are not like > "man pages", which are a collection of short concise usage > descriptions. Sure, I'll try to remember to say "info manuals" in our documentation and sources. (FWIW, I think getting people to stop using that vocabulary is going to be an uphill battle, since it is so ubiquitous. We even use this nomenclature in some places in Emacs itself. Try grepping for "info pages" in our sources.) Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 21 11:56:53 2020 Received: (at 39215) by debbugs.gnu.org; 21 Jan 2020 16:56:53 +0000 Received: from localhost ([127.0.0.1]:48346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itwpd-0006qL-AV for submit@debbugs.gnu.org; Tue, 21 Jan 2020 11:56:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itwpY-0006q6-To for 39215@debbugs.gnu.org; Tue, 21 Jan 2020 11:56:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itwpT-0003FG-CM; Tue, 21 Jan 2020 11:56:39 -0500 Received: from [176.228.60.248] (port=2744 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itwpS-0007Dp-OC; Tue, 21 Jan 2020 11:56:39 -0500 Date: Tue, 21 Jan 2020 18:56:50 +0200 Message-Id: <835zh4wxwt.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: (message from Stefan Kangas on Tue, 21 Jan 2020 17:32:35 +0100) Subject: Re: bug#39215: Hyperlinks to man pages in doc strings References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39215 Cc: 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Tue, 21 Jan 2020 17:32:35 +0100 > Cc: 39215@debbugs.gnu.org > > Eli Zaretskii writes: > > > 'find' has an Info manual: find.info. Why not use a hyperlink to that > > instead, something we already support? Many utilities have similar > > Info manuals, and the glibc has an Info manual as well. > > I was looking for something which would work also with BSD find (or > indeed any find not from GNU findutils). My idea was to specify both. Why should we cater so much to non-GNU systems? The users of BSD can install the Info manual as well, can they not? > But that's just one example. Most non-GNU software don't use texinfo. > They often have man pages. It would be useful to be able to add links > to them. Maybe we should teach info.el to display man pages. The stand-alone Info reader that is part of the Texinfo package does that since time immemoriam. > Try grepping for "info pages" in our sources. Those places should be corrected. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 21 23:03:10 2020 Received: (at 39215) by debbugs.gnu.org; 22 Jan 2020 04:03:10 +0000 Received: from localhost ([127.0.0.1]:48848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iu7EU-0008Bk-9I for submit@debbugs.gnu.org; Tue, 21 Jan 2020 23:03:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iu7ES-0008BV-2t for 39215@debbugs.gnu.org; Tue, 21 Jan 2020 23:03:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iu7EM-0007B7-MQ; Tue, 21 Jan 2020 23:03:02 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iu7EL-0002OZ-Gf; Tue, 21 Jan 2020 23:03:01 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#39215: Hyperlinks to man pages in doc strings References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> X-Spook: National Guard SWAT Irish Republican Army Cocaine Sleet X-Ran: Fr;m~'cnQzGA!\nx-D7C&TcA>1E05N8A"sG1hIMia4`w\-W&K*/WQ*Rs7gE[Z1&_F]mT}? X-Hue: black X-Attribution: GM Date: Tue, 21 Jan 2020 23:03:01 -0500 In-Reply-To: <835zh4wxwt.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 21 Jan 2020 18:56:50 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39215 Cc: Stefan Kangas , 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii wrote: > Maybe we should teach info.el to display man pages. The stand-alone > Info reader that is part of the Texinfo package does that since time > immemoriam. (This seems unrelated to the, IMO totally reasonable, feature request.) The info reader does a worse job of rendering man pages than the 'man' program does. I hope Emacs doesn't implement a second (on top of M-x woman) partial replacement for the man program, when one can just use M-x man. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 22 10:45:00 2020 Received: (at 39215) by debbugs.gnu.org; 22 Jan 2020 15:45:00 +0000 Received: from localhost ([127.0.0.1]:51141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuIBg-00023H-5y for submit@debbugs.gnu.org; Wed, 22 Jan 2020 10:45:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuIBf-000234-99 for 39215@debbugs.gnu.org; Wed, 22 Jan 2020 10:44:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuIBZ-0003ph-Rj; Wed, 22 Jan 2020 10:44:53 -0500 Received: from [176.228.60.248] (port=2331 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuIBY-0000Iu-2B; Wed, 22 Jan 2020 10:44:52 -0500 Date: Wed, 22 Jan 2020 17:45:04 +0200 Message-Id: <83ftg7v6kf.fsf@gnu.org> From: Eli Zaretskii To: Glenn Morris In-reply-to: (message from Glenn Morris on Tue, 21 Jan 2020 23:03:01 -0500) Subject: Re: bug#39215: Hyperlinks to man pages in doc strings References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39215 Cc: stefan@marxist.se, 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Glenn Morris > Cc: Stefan Kangas , 39215@debbugs.gnu.org > Date: Tue, 21 Jan 2020 23:03:01 -0500 > > Eli Zaretskii wrote: > > > Maybe we should teach info.el to display man pages. The stand-alone > > Info reader that is part of the Texinfo package does that since time > > immemoriam. > > (This seems unrelated to the, IMO totally reasonable, feature request.) My reasoning was that if info.el could do that, then a hyperlink like `(find)' would "just work", without a need to invent yet another magic sequence of characters. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 22 20:40:02 2020 Received: (at 39215) by debbugs.gnu.org; 23 Jan 2020 01:40:02 +0000 Received: from localhost ([127.0.0.1]:51531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuRTW-0001n4-3p for submit@debbugs.gnu.org; Wed, 22 Jan 2020 20:40:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuRTU-0001mh-3O for 39215@debbugs.gnu.org; Wed, 22 Jan 2020 20:40:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuRTO-0006ik-MW; Wed, 22 Jan 2020 20:39:54 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iuRTN-0006ci-Jl; Wed, 22 Jan 2020 20:39:53 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Eli Zaretskii In-Reply-To: <835zh4wxwt.fsf@gnu.org> (message from Eli Zaretskii on Tue, 21 Jan 2020 18:56:50 +0200) Subject: Re: bug#39215: Hyperlinks to man pages in doc strings References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> Message-Id: Date: Wed, 22 Jan 2020 20:39:53 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39215 Cc: stefan@marxist.se, 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Why should we cater so much to non-GNU systems? The users of BSD can > install the Info manual as well, can they not? That is the right approach. Let's focus our work on improvements that are beneficial in the GNU system (as well as, possibly, elsewhere). -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 22 22:14:50 2020 Received: (at 39215) by debbugs.gnu.org; 23 Jan 2020 03:14:50 +0000 Received: from localhost ([127.0.0.1]:51567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuSxG-0004oP-64 for submit@debbugs.gnu.org; Wed, 22 Jan 2020 22:14:50 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:57700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuSxE-0004o8-Fi for 39215@debbugs.gnu.org; Wed, 22 Jan 2020 22:14:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mkYPx/5cGqd062bXpnKZijFZkF+KoZd7Gsq11F2K2Ng=; b=o9LAbrWl8kDiM6+96e/e/usC/F e425u/cPaJpN7r36e2UI0ihabJF01FGWZNOpjQqC66oGl3IhHOfGH4pz5ZuGnPmr3G5jSR4X+H2/m yxCwWcHUqJDkfNZsJ79324cDWVjTGMnr6Lhwmdc+Ml1jvDiOEmV3GbM+i9KqQjrsH8aRhh4caYonk UF/xC3QilZ0lc2diljSbgc9PqPgwtgjsPi7bWNgqiNwn1Fjv+VO3TOWV4G+r7Ld8+7tadddnmc40X iH4PXulEDkZnSfkjAqPUk6PFvsbIYtTgSIAXnKliZebCdzzRs2B7PIa+Q2f/hLWQzEQ+mONvC5iVx y+QcU2xA==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:39356 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iuSx7-000kEG-S4; Wed, 22 Jan 2020 22:14:42 -0500 From: Stefan Kangas To: Richard Stallman Subject: Re: bug#39215: Hyperlinks to man pages in doc strings In-Reply-To: (Richard Stallman's message of "Wed, 22 Jan 2020 20:39:53 -0500") References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Thu, 23 Jan 2020 04:14:39 +0100 Message-ID: <87lfpyj23k.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39215 Cc: Eli Zaretskii , 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Richard Stallman writes: > > Why should we cater so much to non-GNU systems? The users of BSD can > > install the Info manual as well, can they not? > > That is the right approach. Let's focus our work on improvements that > are beneficial in the GNU system (as well as, possibly, elsewhere). This would benefit GNU just as much as non-GNU systems. There is a lot of free software out there that I would like to use on GNU, but that is not GNU software. Non-GNU software more often than not does not have an Info manual. So I would like to be able to link their man page instead. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 21:58:10 2020 Received: (at 39215) by debbugs.gnu.org; 24 Jan 2020 02:58:10 +0000 Received: from localhost ([127.0.0.1]:53394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iupAg-0000fu-K3 for submit@debbugs.gnu.org; Thu, 23 Jan 2020 21:58:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iupAe-0000fg-JB for 39215@debbugs.gnu.org; Thu, 23 Jan 2020 21:58:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iupAZ-0007G7-49; Thu, 23 Jan 2020 21:58:03 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1iupAW-0003qu-Nv; Thu, 23 Jan 2020 21:58:01 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Stefan Kangas In-Reply-To: <87lfpyj23k.fsf@marxist.se> (message from Stefan Kangas on Thu, 23 Jan 2020 04:14:39 +0100) Subject: Re: bug#39215: Hyperlinks to man pages in doc strings References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> <87lfpyj23k.fsf@marxist.se> Message-Id: Date: Thu, 23 Jan 2020 21:58:00 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39215 Cc: eliz@gnu.org, 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > There is a lot of free software out there that I would like to use on > GNU, but that is not GNU software. Non-GNU software more often than > not does not have an Info manual. So I would like to be able to link > their man page instead. Ok, you've convinced me. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 24 21:07:59 2021 Received: (at 39215) by debbugs.gnu.org; 25 Sep 2021 01:07:59 +0000 Received: from localhost ([127.0.0.1]:59647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTwAY-0003Af-Db for submit@debbugs.gnu.org; Fri, 24 Sep 2021 21:07:59 -0400 Received: from mail-pj1-f48.google.com ([209.85.216.48]:41885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTwAQ-0003A0-6P for 39215@debbugs.gnu.org; Fri, 24 Sep 2021 21:07:53 -0400 Received: by mail-pj1-f48.google.com with SMTP id pf3-20020a17090b1d8300b0019e081aa87bso8898676pjb.0 for <39215@debbugs.gnu.org>; Fri, 24 Sep 2021 18:07:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=amZjhFvtsEiGF7TsODU6GGqrFt+9w2x8pszHHw3O6Nc=; b=0cizYEfwIhsQaiKyHfmFguuIxlUyHWgsZ+LuJWF9e4SB+jWI1vN6lV34L6FSp6rLdm NYepTHEvWSlcEMMrKbMUlr+98xC/l/pbGtx1aj+l7bNxxqGPdkEhnwthsAgO/ju0bFGu X9eBXOQ9VtI/peMDurA0vqEvSCNgDuz0fN3nFC73TVfzMta+98/Cp9K6T6tB1cqe17Io ZkGxRJrTtLmp+Ttwn86Ph48SyoMhz7ZKDawo+W4z9CS2lY9gWOhlmUF2fqq1wFBcpWbr msnnHo0tT3tTB3y/3lPxAy2AVl3SFJhPuSPnLChnV2BiGmJbDN0onGw6ZRevesx2MyC3 AsVw== X-Gm-Message-State: AOAM531ipj/egiOCSqASaiOXzwaUhmZbHavShX5RvnPAvHvgJc95YkIv jdUjgycEXzQE1pXUuH68OcvnJ4O3vqfKeCic2Co= X-Google-Smtp-Source: ABdhPJxc74s+SGzQ3qcsEEsyYQ7jrSgfh8HdqPBW1V9dnGGP9CJqz0tV0P5oB138C/v+82wzB3gXKB2/HN8I1dyvYcQ= X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr5478726pji.133.1632532064351; Fri, 24 Sep 2021 18:07:44 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 24 Sep 2021 18:07:43 -0700 From: Stefan Kangas In-Reply-To: (Richard Stallman's message of "Thu, 23 Jan 2020 21:58:00 -0500") References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> <87lfpyj23k.fsf@marxist.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Fri, 24 Sep 2021 18:07:43 -0700 Message-ID: Subject: Re: bug#39215: Hyperlinks to man pages in doc strings To: Richard Stallman Content-Type: multipart/mixed; boundary="000000000000c7cef005ccc77d22" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 39215 Cc: eliz@gnu.org, 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --000000000000c7cef005ccc77d22 Content-Type: text/plain; charset="UTF-8" tags 39215 + patch thanks Richard Stallman writes: > > There is a lot of free software out there that I would like to use on > > GNU, but that is not GNU software. Non-GNU software more often than > > not does not have an Info manual. So I would like to be able to link > > their man page instead. > > Ok, you've convinced me. Thanks. How about the attached patch? --000000000000c7cef005ccc77d22 Content-Type: text/x-diff; charset="utf-8"; name="0001-Add-support-for-man-page-hyperlinks-in-doc-strings.patch" Content-Disposition: attachment; filename="0001-Add-support-for-man-page-hyperlinks-in-doc-strings.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 70fd50a3e0298c6d_0.1 RnJvbSA2MzY4YjJmZTJlMGUyODRkYTdjNGVmMWU0ODkwYWFmZjA0YmZiNTFjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ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j dXJzaW9uCisgICAgICAgICAgICAgICAgICAod2hpbGUgKHJlLXNlYXJjaC1mb3J3YXJkIGhlbHAt eHJlZi1tYW4tcmVnZXhwIG5pbCB0KQorICAgICAgICAgICAgICAgICAgICAoaGVscC14cmVmLWJ1 dHRvbiAxICdoZWxwLW1hbiAobWF0Y2gtc3RyaW5nIDEpKSkpCiAgICAgICAgICAgICAgICAgOzsg Q3VzdG9taXphdGlvbiBncm91cHMuCiAgICAgICAgICAgICAgICAgKHNhdmUtZXhjdXJzaW9uCiAg ICAgICAgICAgICAgICAgICAod2hpbGUgKHJlLXNlYXJjaC1mb3J3YXJkCi0tIAoyLjMwLjIKCg== --000000000000c7cef005ccc77d22-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 24 21:13:15 2021 Received: (at 39215) by debbugs.gnu.org; 25 Sep 2021 01:13:15 +0000 Received: from localhost ([127.0.0.1]:59668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTwFf-0003MN-4L for submit@debbugs.gnu.org; Fri, 24 Sep 2021 21:13:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTwFc-0003M7-PN for 39215@debbugs.gnu.org; Fri, 24 Sep 2021 21:13:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nqYf1ZSTEKO9zKwfq430MBUC2qZdVjVKEbTkfoGsPpc=; b=Sn79VBOZIskapI0LfAwQFP0wKk z/LUKWvkg4wui71cyBHMsQkHTzaDaJrlfEWvJD9UYLxGAM4YCRHAHrNrcW0c3HoebzNHiegtfTUlj 3iOSJC4v//pYNA2URQh7ksbxmyGemX5izjOxn+BkgYmZ0WhSykJ+0j8UQJZUr+npi7u4=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTwFU-0007mu-12; Sat, 25 Sep 2021 03:13:06 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#39215: Hyperlinks to man pages in doc strings References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> <87lfpyj23k.fsf@marxist.se> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEU+RoM3R4Uscq4n hsItS41TWpOwr8o1iL7///9ogBk0AAAAAWJLR0QIht6VegAAAAd0SU1FB+UJGQEHAOTfpgUAAAGs SURBVDjLdZNLcoMwDIbJDWJad49c2nWtCex7A+iYPcngrBtm8PUr+QFOQkVMHH2W5N+xikI824FG sQfYikMJoJAGBNNK00sciwO8VgDvJXxDJQDKqvScQPVcgdLQgL0KIPIIabp9YITMAUgjDZuggI6/ AxBgognZmYknlFCJwtTR3wljhlGGKQNng9E6Y6eYlXQMGRjsFLNSDbusgFLR43MxaLaIt8EOIabc wEQChxX4VBd7ZUDirJkGS+6+zoCVspNm9AA8aC6uZeAPy1jeWAAfF2xjcSKSgTqFiBk9CEc7rGC5 IPpdxTM3D0AkQARjKpy9jPX/6vHU+4gZFzvmQNes3HrQZeBH16lGY/Ob0OsoEPFj+ge0d8Ak0GI7 5qBOOtoZfzN/qTOQ39MXDAKXc3vDrwyoFSCizgAmQLtCteUq6ecqMA9R92AN4QCsVRTIVm1+ijim CDLuoFJl4KxQaepP1BCXRHDzLas2N6Vl0MzeC/TB1jlHY44ANT6YB8uVlrlb7P8KPmnaMXDpTse2 5A7rWaDzpoC2xbVoD5omfBlSd6zd7ht3H3RH8QdZYeMm+rfuuwAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMS0wOS0yNVQwMTowNzowMCswMDowMFTYEMIAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMDkt MjVUMDE6MDc6MDArMDA6MDAlhah+AAAAAElFTkSuQmCC X-Now-Playing: Brigid Mae Power's _Head Above the Water_: "Wedding Of A Friend" Date: Sat, 25 Sep 2021 03:13:03 +0200 In-Reply-To: (Stefan Kangas's message of "Fri, 24 Sep 2021 18:07:43 -0700") Message-ID: <87fsttsbj4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > Thanks. How about the attached patch? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39215 Cc: Richard Stallman , 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: > Thanks. How about the attached patch? [...] > * lisp/help-mode.el (help-man): New button type. > (help-xref-man-regexp): New const. > (help-make-xrefs): Use them to allow making man page buttons. > * doc/lispref/tips.texi (Documentation Tips): Document the new > hyperlink type. (Bug#39215) I think that's a really good idea. I haven't tried the patch, but skimming it, it looks good to me, so go ahead and push. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 24 21:32:18 2021 Received: (at 39215) by debbugs.gnu.org; 25 Sep 2021 01:32:18 +0000 Received: from localhost ([127.0.0.1]:59718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTwY5-0006Bi-U3 for submit@debbugs.gnu.org; Fri, 24 Sep 2021 21:32:18 -0400 Received: from smtp-4.orcon.net.nz ([60.234.4.59]:49103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTwY3-0006BW-1T for 39215@debbugs.gnu.org; Fri, 24 Sep 2021 21:32:15 -0400 Received: from [10.253.37.70] (port=31653 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1mTwXs-0003Nx-SN; Sat, 25 Sep 2021 13:32:05 +1200 Received: from ip-203-94-48-127.kinect.net.nz ([203.94.48.127]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Sat, 25 Sep 2021 13:32:04 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 25 Sep 2021 13:32:04 +1200 From: Phil Sainty To: Stefan Kangas Subject: Re: bug#39215: Hyperlinks to man pages in doc strings In-Reply-To: References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> <87lfpyj23k.fsf@marxist.se> Message-ID: <044b569f944f35c102c364f2ebfcea8a@webmail.orcon.net.nz> X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39215 Cc: Richard Stallman , 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 2021-09-25 13:07, Stefan Kangas wrote: > "\\<[Mm]an[ \t\n]+\\(?:page\\)[ \t\n]+\\(?:for[ > \t\n]\\)?['`‘\"]\\([^'’\"]+\\)['’\"]" Was "\\(?:page\\)[ \t\n]+" meant to be "\\(?:page[ \t\n]+\\)?" ? That would be almost the same as "for" except I note that there's no allowance for more than one whitespace char after "for", so maybe that needs changing as well? -Phil From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 24 22:10:18 2021 Received: (at 39215) by debbugs.gnu.org; 25 Sep 2021 02:10:18 +0000 Received: from localhost ([127.0.0.1]:59835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTx8s-0003Kd-1i for submit@debbugs.gnu.org; Fri, 24 Sep 2021 22:10:18 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:45917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTx8p-0003KH-DD for 39215@debbugs.gnu.org; Fri, 24 Sep 2021 22:10:17 -0400 Received: by mail-pj1-f51.google.com with SMTP id mv7-20020a17090b198700b0019c843e7233so8917093pjb.4 for <39215@debbugs.gnu.org>; Fri, 24 Sep 2021 19:10:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=CuCPDKfs7kwM8Ii855i7jz2/BpAn6jq0TEQ+zfBwaCI=; b=Z4W9yQWQaBktkTnqRjQhwvNRDx31DwTehhIQw8cO4idUet8HyMIeApgXpj3aSqtNby Ng2gPmXyIUi1wyJdW++HPpFTzPT/voLbt5lzS2HF9Q4I+ksda/P0pacm2s/u6AKHz24g czPHDcZRQBdD9w4xorHajHKc+OakxdPYX9U9KLY3OFOCEs/aYBHbqaxHo31K6ejVdw+x EitkK8LogsvUlI/1CE1BzMFxb3ePf8Ht0onTOEUs313ClJqVWvDpzYRQiVzOnt4Q+/wr SKQLw2wJ1TKwpBYmJgLwa0dBLT82l2H5msOgdtOuuq2wGoPAhx90Bhlbav+mhLdcc1zk bI+g== X-Gm-Message-State: AOAM532r+wigNUfiqzbTUIunTSQ3i9cdcMnKaBFFizXNKD5TExhsLLNK erdgtVZk2XKpSbzdwMweUj67kqzoS7tBXtoGAWI= X-Google-Smtp-Source: ABdhPJzOY8E/AxjOiTsmn2wioJyl+Mub7RxGHuE2i3zIwwA3QSwCnJnt3tdAaAIWOvaE881xe+fuVpdHVeCqronGjdw= X-Received: by 2002:a17:902:f254:b0:13e:8b3:f6d4 with SMTP id j20-20020a170902f25400b0013e08b3f6d4mr433506plc.22.1632535809692; Fri, 24 Sep 2021 19:10:09 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 24 Sep 2021 19:10:09 -0700 From: Stefan Kangas In-Reply-To: <044b569f944f35c102c364f2ebfcea8a@webmail.orcon.net.nz> References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> <87lfpyj23k.fsf@marxist.se> <044b569f944f35c102c364f2ebfcea8a@webmail.orcon.net.nz> MIME-Version: 1.0 Date: Fri, 24 Sep 2021 19:10:09 -0700 Message-ID: Subject: Re: bug#39215: Hyperlinks to man pages in doc strings To: Phil Sainty Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 39215 Cc: Richard Stallman , 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Phil Sainty writes: > On 2021-09-25 13:07, Stefan Kangas wrote: >> "\\<[Mm]an[ \t\n]+\\(?:page\\)[ \t\n]+\\(?:for[ >> \t\n]\\)?['`=E2=80=98\"]\\([^'=E2=80=99\"]+\\)['=E2=80=99\"]" > > Was "\\(?:page\\)[ \t\n]+" meant to be "\\(?:page[ \t\n]+\\)?" ? > > That would be almost the same as "for" except I note that there's > no allowance for more than one whitespace char after "for", so > maybe that needs changing as well? Thanks for this attentive reading. The intention was actually this, which should fix the issues you mention: "\\<[Mm]an[ \t\n]+page[ \t\n]+\\(?:for[ \t\n]+\\)?['`=E2=80=98\"]\\([^'=E2= =80=99\"]+\\)['=E2=80=99\"]") From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 24 22:10:31 2021 Received: (at 39215) by debbugs.gnu.org; 25 Sep 2021 02:10:31 +0000 Received: from localhost ([127.0.0.1]:59844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTx94-0003LQ-Na for submit@debbugs.gnu.org; Fri, 24 Sep 2021 22:10:30 -0400 Received: from mail-pg1-f174.google.com ([209.85.215.174]:37878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTx91-0003Kt-Ry for 39215@debbugs.gnu.org; Fri, 24 Sep 2021 22:10:29 -0400 Received: by mail-pg1-f174.google.com with SMTP id 17so11636927pgp.4 for <39215@debbugs.gnu.org>; Fri, 24 Sep 2021 19:10:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=iLsaj6Z7Cvn1WKIyt0Ef+IhH36Z3WOU7LuMmMZXNpZk=; b=tpnMRHCHLbqvzzw8KyGDvr0O7hZ92cNRUmLSusqEDMjt79Y0FWam0IVmpVrBtlX4y0 pi+ZlAL8vg8oA/sxljm0/YhGaXgg1ov6tfUB+CHJ7ZlGb/tvoiZph79ZNlWqiuaSDwzf N46T+6kAmzKxoeHxSRTnA1FRiiDJytsNn1rWT5hUUygfICSJbEYtOptW9IlgHP88gl4o 0MdfyQJkbv8S4IMeVn6eC+yrkAyQeGL2kooxPTrF6tvu0xIZIHMPBPSO4ABf0mvnHvLQ bX0g1KYIJtC+4PcP7e+7m0vzUE7KVWWJWzV4VaSRwCIkkXbkj8rbh02FK+/PO53HXJ56 Iysw== X-Gm-Message-State: AOAM533hb7RpZB2hIX/ZFfXUXEB/DnYCUG1ctiRQwfGNPxEQdkF0dAyh wFS++s3CXGQkTwwHFfzqhNywnrdeK4ymT+AtaUY= X-Google-Smtp-Source: ABdhPJze558J/FqwhZVi7TPhHQEnd3AJUpkjZ/T84t2lHvfnBzWgVPHcaWu7iipKLIM64nbAORdjnuKqc9t/xpcI3SA= X-Received: by 2002:a63:6941:: with SMTP id e62mr6407470pgc.114.1632535822250; Fri, 24 Sep 2021 19:10:22 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 24 Sep 2021 19:10:21 -0700 From: Stefan Kangas In-Reply-To: <87fsttsbj4.fsf@gnus.org> References: <87h80pmbn5.fsf@marxist.se> <83iml4x1mc.fsf@gnu.org> <835zh4wxwt.fsf@gnu.org> <87lfpyj23k.fsf@marxist.se> <87fsttsbj4.fsf@gnus.org> MIME-Version: 1.0 Date: Fri, 24 Sep 2021 19:10:21 -0700 Message-ID: Subject: Re: bug#39215: Hyperlinks to man pages in doc strings To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 39215 Cc: Richard Stallman , 39215@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) tags 39215 fixed close 39215 28.1 thanks Lars Ingebrigtsen writes: > Stefan Kangas writes: > >> Thanks. How about the attached patch? > > [...] > >> * lisp/help-mode.el (help-man): New button type. >> (help-xref-man-regexp): New const. >> (help-make-xrefs): Use them to allow making man page buttons. >> * doc/lispref/tips.texi (Documentation Tips): Document the new >> hyperlink type. (Bug#39215) > > I think that's a really good idea. I haven't tried the patch, but > skimming it, it looks good to me, so go ahead and push. Thanks. I fixed the issue pointed out by Phil and have now pushed it to master as commit 0917919337. From unknown Fri Jun 20 07:16:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Oct 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator