From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 16 11:13:07 2023 Received: (at submit) by debbugs.gnu.org; 16 Feb 2023 16:13:07 +0000 Received: from localhost ([127.0.0.1]:37457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSgsc-0008HO-W0 for submit@debbugs.gnu.org; Thu, 16 Feb 2023 11:13:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:34022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSgsa-0008HG-T5 for submit@debbugs.gnu.org; Thu, 16 Feb 2023 11:13:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSgsa-00024B-L3 for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 11:13:04 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSgsX-0003uc-CX for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 11:13:03 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 9C5413200956; Thu, 16 Feb 2023 11:12:55 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 16 Feb 2023 11:12:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1676563974; x=1676650374; bh=eYv//KHs84/PgXgcGtA9RoqCwKLhIzPz9/n O7i5Jwkc=; b=DzLzgjBf0WFxLlY3+tDlfHSQ82omxPDpxR+iFZcF6bbDxj+gIHF 3UB/VrjKIAMjBsRj/xg/Fu7DNC1oU2BrgsjBHK6QloRkp4dot/aqB21bNtxGX5ML eUP2VyYCnFD+nNzssYylWXk1KyaRs6MllGZSMCL4zNsrCEtj9TgmKzsWZoCMRMIE RKczfhzf+21VaK1zMt8z4BfD/dhP5EwfFgBmb3eT8Cat4DjwnAkrCJYSxnySk+l2 FpYPO81FQPfrlO1H2jdXWfp7BrpHolE4JfpXs6cWvq1GJ84AmCJhjLaYSUK1di40 DYNB+qM3XezN6jJMDMINuG5le17N1vxWY/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1676563974; x= 1676650374; bh=eYv//KHs84/PgXgcGtA9RoqCwKLhIzPz9/nO7i5Jwkc=; b=l EOgUMf+RMkSZ+F9quxUCwoK/fZYzavroB1uEbW6dLVcods+gw4RT/Oo7C2BdOutc DlUIfqlSRz/LUOwZqs6t0gN62csCCsc89HL8U1LxNdAMjDYsHUq7QttYGfdvXYqR Gi6pUSlzmpF83Db29epuxcsJvqO89WPR6aPLX90vvhgcmZh5z+K8aysG47vaTQ8B NLnssoOP9RdpsOZcu4fxw36AaZYMTozGcUdlrK//7SewVOwZLwhRDKl52r1qEmGr JZ0VYZfYDV5WLXB4cxZohCZ5XPE0iPjNqtPwadGTgvyIlixGA0f/BnauylVhSMB3 /CCtWX/JhJUXrU5MC/Qhg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeijedgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgesthdtredttd ertdenucfhrhhomhepufgvsggrshhtihgrnhcuvfgvnhhnrghnthcuoehsughtsehsvggs hihtvgdrmhgvqeenucggtffrrghtthgvrhhnpeelkeevfedvleejteetheehleekffduke elvdfgveeuhfethedvkeekieegfeegtdenucffohhmrghinhepshgvsgihthgvrdhmvgen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvggshi htvgdorhgvthhurhhnqdhprghthhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 16 Feb 2023 11:12:54 -0500 (EST) Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pSgsN-0012ik-S0 for bug-gnu-emacs@gnu.org; Thu, 16 Feb 2023 16:12:51 +0000 From: Sebastian Tennant To: bug-gnu-emacs@gnu.org Subject: Feature request: Add variable Man-prefer-synchronous-call Date: Thu, 16 Feb 2023 16:12:51 +0000 Message-ID: <87h6vlpp18.fsf@sebyte.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.19; envelope-from=sebyte+return-path@fastmail.com; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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.1 (--) Patch against master (on branch master-sebyte, rebased moments ago): https://gitweb.sebyte.me/cgi-bin/gitweb.cgi/emacs/commitdiff/280a56c96d4530273c308addda016d889082d058 Patch against emacs-28 (on branch emacs-28-sebyte): https://gitweb.sebyte.me/cgi-bin/gitweb.cgi/emacs/commitdiff/a08053f12303045905907b992cc78b84692cf26a From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 16 12:09:38 2023 Received: (at 61552) by debbugs.gnu.org; 16 Feb 2023 17:09:38 +0000 Received: from localhost ([127.0.0.1]:37561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pShlJ-0001RE-OR for submit@debbugs.gnu.org; Thu, 16 Feb 2023 12:09:38 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:37885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pShlG-0001R1-Ux for 61552@debbugs.gnu.org; Thu, 16 Feb 2023 12:09:36 -0500 Received: by mail-wm1-f53.google.com with SMTP id m20-20020a05600c3b1400b003e1e754657aso4743423wms.2 for <61552@debbugs.gnu.org>; Thu, 16 Feb 2023 09:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nsVGAzIq+KNqcIjosiiQsFcZ7Tphx/gAkFglZE87sPo=; b=J3San8W9wFLRQllGWrc3y1hgxkzXxpqDf46wxWcuavcBFcHMv5ToGE8JkZ6se9cJ9R 1AVcs839WKqaItH3emieA+LLrVYjvYYY4ZLIsCViprNB5RuQUQrUgGvig24C1O+8Hhhh pYvK8aQoysJsIROgR4tr/VECXngibZRa6ubbVhoTqhxLgAaUF2Zceghb1tJq8MuCXrnH pBjMOfqrC1tiWXD8ZheZkT5LZliPJcSVkpCPKCcCBs98LrNLEREH3zM5zKQ7Ji2GJUZb yi7cvIRhsDHCLdhnU4djfcCXbuNLoHI4Qot7ng6ZmXD43/AM/ldiHe2Ih4K5KteQAHRY ByaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nsVGAzIq+KNqcIjosiiQsFcZ7Tphx/gAkFglZE87sPo=; b=w/p2TFKq1p3HzMUNwOcf+HVozeY7Ho6uLKaEeyiBuF3KDjsl7WZJm4SBw5r5PBVtQP wMdbVaL1VG5sVZ6+9MN3kpOKa/g90bIr1ZU4oS4Fu6cH9z8vTcSOn7ILFUhb4Uh3QY/t Ypo57O1GNzlCGqS5vsJ6R4zbUDddI/AeCyg483xOb2dyjbhfqzCB1TSmxrtlHs3RZ5CU A+yt4s7n8CZ2+5BX+/UrKkfeA4ODFTnoEQpPnm/QeSStBq2pEiVqf8ZimtI38ay/bu0m LD8vieUcfbFS1EtyZOhddO+JVdvI3fqVHp+pI3Rbf7yT2/4kGcvBY//iHH98aBshlTvg JEJg== X-Gm-Message-State: AO0yUKWL7CL8Ob7ye18G+M2W4Vkj6LGIOE6Nt0KD5NNiVR1C+z9x3GCC gtE/Dgg7uLkHGtb3mEKZ0Qosbw== X-Google-Smtp-Source: AK7set9Qc1OoB8NCHXDY/CxyGEkqR2oyo7mtgp9B6QacEUUPyi1RmOFtZgbSo9KXISEOdgE0K3h/mQ== X-Received: by 2002:a05:600c:1da9:b0:3df:9858:c02f with SMTP id p41-20020a05600c1da900b003df9858c02fmr2581100wms.4.1676567368839; Thu, 16 Feb 2023 09:09:28 -0800 (PST) Received: from localhost ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id o3-20020a05600c510300b003e2052bad94sm5940397wms.33.2023.02.16.09.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 09:09:28 -0800 (PST) From: Basil Contovounesios To: Sebastian Tennant Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call In-Reply-To: <87h6vlpp18.fsf@sebyte.me> (Sebastian Tennant's message of "Thu, 16 Feb 2023 16:12:51 +0000") References: <87h6vlpp18.fsf@sebyte.me> Date: Thu, 16 Feb 2023 17:09:27 +0000 Message-ID: <87zg9dsfjs.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61552 Cc: 61552@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 (-) Sebastian Tennant [2023-02-16 16:12 +0000] wrote: > Patch against master (on branch master-sebyte, rebased moments ago): > > https://gitweb.sebyte.me/cgi-bin/gitweb.cgi/emacs/commitdiff/280a56c96d4530273c308addda016d889082d058 > > Patch against emacs-28 (on branch emacs-28-sebyte): > > https://gitweb.sebyte.me/cgi-bin/gitweb.cgi/emacs/commitdiff/a08053f12303045905907b992cc78b84692cf26a Please attach the patches here so that they can be tracked in this bugtracker. Thanks, -- Basil From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 13:11:32 2023 Received: (at 61552) by debbugs.gnu.org; 20 Feb 2023 18:11:32 +0000 Received: from localhost ([127.0.0.1]:53481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUAdP-0001Hd-Tz for submit@debbugs.gnu.org; Mon, 20 Feb 2023 13:11:32 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUAdK-0001HI-4q for 61552@debbugs.gnu.org; Mon, 20 Feb 2023 13:11:30 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D5FD55C012E; Mon, 20 Feb 2023 13:11:19 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 20 Feb 2023 13:11:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1676916679; x=1677003079; bh=cx/lZ5BJBY E0oMGaX8x1O0c1MVkuom7jBoNk4s1V5bk=; b=szxY/49TnX3NkK6nH+/umBYr9x hS+ClylACA7/Xh5KCn3SHsBjdbf0oEzNLiMwBiNfCrpaheDHZZs2tVFobUU9+/Y8 Xkq63UUcbH4YMgAS4AIl7zsVfxXauDbbJTHDm5MvObQY2UTHD2nD3NDUNfsXgpId 32JvTIH31vTUv0L4MZMvZOYA8505sN62JqCapFU5pZZakcH9/0quIzKVwiuLZEUE IOvaJI0GuA5Jlv9YBrE1IBYwya4c7DsbeARvZeWGmKHhkpXkdtNu76smBzWOktek svwXy/I858idwId41CJp+THEbRXszqcC0O7nrDvFEpEtLf8qD+mzBN4dDnRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1676916679; x=1677003079; bh=cx/lZ5BJBYE0oMGaX8x1O0c1MVku om7jBoNk4s1V5bk=; b=Scp24DY0szo10kWWXv+MXluFiCGU2WOorkm6ecm6Yf87 Rkp51tIQqESpD0df+t3zTUzJ3mdrfc1ui+2HgDaXVzzbDtkUH9krF9LZQH0b9FcX 5osMHCsuWbcpDeNfhO5FfNytV+Yd1NcOftYhLp4Viww6/LUK6lfDdrGMt/Z8G/+X 2puk/2RW9OTJyJmbPSNKHH6xjiiVir4zSBEiPmOWTef+BpD0Ck7cNQUUdEh89MqL qcHnmmz/Mz8y7RGETNq1iab42VxWRJFMUx8lWigHtlqZ6pFoUGkuCIQr8DXr8KEz bpJmN+dILvqbkGptw6uTWRb0Qmi4mwOuOiIQoUN3/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejhedguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufhfffgjkfgfgggtsehmtd erredtreejnecuhfhrohhmpefuvggsrghsthhirghnucfvvghnnhgrnhhtuceoshguthes shgvsgihthgvrdhmvgeqnecuggftrfgrthhtvghrnhepuedttdffffekheeiffelieelte egiefgvdffuefftdevgfejtddtkeffjeeihffgnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepshgvsgihthgvodhrvghtuhhrnhdqphgrthhhse hfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <61552@debbugs.gnu.org>; Mon, 20 Feb 2023 13:11:19 -0500 (EST) Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pUAdB-0004eO-TM for 61552@debbugs.gnu.org; Mon, 20 Feb 2023 18:11:17 +0000 From: Sebastian Tennant To: 61552@debbugs.gnu.org Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> Date: Mon, 20 Feb 2023 18:11:17 +0000 In-Reply-To: <87zg9dsfjs.fsf@tcd.ie> (Basil Contovounesios's message of "Thu, 16 Feb 2023 17:09:27 +0000") Message-ID: <87edqkcim2.fsf@sebyte.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 61552 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.5 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Quoth Basil Contovounesios on Thu, 16 Feb 2023 17:09:27 +0000: > [=E2=80=A6] > Please attach the patches here so that they can be tracked in this > bugtracker. > > Thanks, No problem Basil. Here's a patch against master: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Add-user-customizable-variable-Man-prefer-synchronou.patch Content-Description: Patch against master >From 179af66f885630a7bdf3d3f3146aceb8ad205ce6 Mon Sep 17 00:00:00 2001 From: Sebastian Tennant Date: Thu, 10 Mar 2022 08:36:04 +0000 Subject: [PATCH] Add user-customizable variable Man-prefer-synchronous-call * lisp/man.el (Man-getpage-in-background): Only call #'start-process when 'make-process satisfies #'fboundp AND Man-prefer-synchronous-call is bound to nil. --- lisp/man.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/man.el b/lisp/man.el index 286edf9314e..fb4f8f02db7 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -97,6 +97,12 @@ man :group 'external :group 'help) +(defcustom Man-prefer-synchronous-call nil + "Non-nil means always call the Un*x man command synchronously, +rather than asynchronously, which is the default behaviour." + :type 'boolean + :group 'man) + (defcustom Man-filter-list nil "Manpage cleaning filter command phrases. This variable contains a list of the following form: @@ -1118,7 +1124,8 @@ Man-getpage-in-background "[cleaning...]") 'face 'mode-line-emphasis))) (Man-start-calling - (if (fboundp 'make-process) + (if (and (fboundp 'make-process) + (not Man-prefer-synchronous-call)) (let ((proc (start-process manual-program buffer (if (memq system-type '(cygwin windows-nt)) -- 2.30.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 04:53:28 2023 Received: (at 61552) by debbugs.gnu.org; 21 Feb 2023 09:53:28 +0000 Received: from localhost ([127.0.0.1]:54558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUPKx-00026I-RY for submit@debbugs.gnu.org; Tue, 21 Feb 2023 04:53:28 -0500 Received: from mail-oi1-f175.google.com ([209.85.167.175]:47020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUPKv-000261-HZ for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 04:53:26 -0500 Received: by mail-oi1-f175.google.com with SMTP id w7so3731887oik.13 for <61552@debbugs.gnu.org>; Tue, 21 Feb 2023 01:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=rRCutmXFHmqU0Lj87YBkNPOwDihKy82sOqHqStV5BLE=; b=VgELO2lQPp1jU0oVybslXjZGyX9aNqCdJuul/6GF0BonFwpKyh52PjG2BJKve7TlZr KQGfJ0uZBibUYeCAFydKopmK++11PHc7hc+geqRZvsqtSpALrJgcHku78xylXFLcEpwY s8YwpzlZmC5SUXnSczpZrnR50ps6ki+eGzuS147EyiJSVAr40ye84R1gLs9OW8w5uhaf sg05kZGAN59tjRLN9x4Ei70uxDj5U8DhFP0C3vKKLwjoukDNmoLw/iTd6QQ9k7s4BFzH AjxUMbTo1txH+3pYhwEIzbaq4ojyTVrx3YicLU3+JWAJpIGlcDr7OCS4zxSasSgAj8Kk bHTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rRCutmXFHmqU0Lj87YBkNPOwDihKy82sOqHqStV5BLE=; b=z6r6qr7SoN14+X52TfHbgL9BEm3IPP2+R4ok3Hs5REXxS29Bo66v2NjbS2t8ePIOwz 6dsMIRqM9NiEAodYgHCrSwS4PC2TRdMJy5488LoqPfmcAjRA82dZi6/zuHRUg0Y5eC5q hFTYSJxBgjghruX4aNvxfdXlsONc0uY9LP92WqYIMJRQ22VJ8TjdbEn3G0QNe2yoSd52 JGPuHwZ1Mul3bnFJN/9Xc/jtUnNQJ6tSKUzVC0+iZS5bq2aggixR2/CHpuQrqv+b1ash ePTduOFwzd/XqKH+8BPI+alt2pESuBOdbzgtkcKm9gvT/JleowdO+GIh6E41wYJpueab Yc2w== X-Gm-Message-State: AO0yUKVhabaI6A0lQ4Macsc1I6I83uqXjzQe+qMMc5EhPzNU8jbmRV0I 1HQv2DHbpxl/jbcHQIdwpiqNI3RiSIqk9enFbMszlXOz X-Google-Smtp-Source: AK7set/ORA6rTX8EcFoT7lLAGEhSlLoFVppbtxV2KCEYy28o3uTPtW+XxIbuilreH2oAabOWhOX3hxVQyr+29zDLiAQ= X-Received: by 2002:a05:6808:11c5:b0:378:3f53:9e8 with SMTP id p5-20020a05680811c500b003783f5309e8mr1604829oiv.291.1676973198863; Tue, 21 Feb 2023 01:53:18 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 21 Feb 2023 01:53:18 -0800 From: Stefan Kangas In-Reply-To: <87h6vlpp18.fsf@sebyte.me> References: <87h6vlpp18.fsf@sebyte.me> X-Hashcash: 1:20:230221:61552@debbugs.gnu.org::hE8YouASgVxZ6c+N:0lQ MIME-Version: 1.0 Date: Tue, 21 Feb 2023 01:53:18 -0800 Message-ID: Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call To: Sebastian Tennant , 61552@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61552 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 (-) Sebastian Tennant writes: > Patch against master (on branch master-sebyte, rebased moments ago): > > https://gitweb.sebyte.me/cgi-bin/gitweb.cgi/emacs/commitdiff/280a56c96d4530273c308addda016d889082d058 > > Patch against emacs-28 (on branch emacs-28-sebyte): > > https://gitweb.sebyte.me/cgi-bin/gitweb.cgi/emacs/commitdiff/a08053f12303045905907b992cc78b84692cf26a Thanks. Could you explain the use case for this? From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 05:44:28 2023 Received: (at 61552) by debbugs.gnu.org; 21 Feb 2023 10:44:28 +0000 Received: from localhost ([127.0.0.1]:54673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUQ8J-0003OF-MD for submit@debbugs.gnu.org; Tue, 21 Feb 2023 05:44:28 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:46992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUQ8E-0003Nw-Lt for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 05:44:26 -0500 Received: by mail-wm1-f49.google.com with SMTP id m14-20020a7bce0e000000b003e00c739ce4so2740988wmc.5 for <61552@debbugs.gnu.org>; Tue, 21 Feb 2023 02:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=OBbxuLXqXOYARjXCSPiDlbNy524Cccb+L1J4jDZF9Fo=; b=mmD27abNeQxA7K/rz95/Sq7AvWC/rmJhkilganE0D12EHBRRFY/ui2SrO9+FFVBxpw g6KlNhvNx0VYLAnCeIbIxrWibmzSDY9Pag5X+Cu9ewJztptrMkCC/D/AOdbfc+9zfpNG MWwxWiFbXC+1rHTSIuEHbKHjkQ5BrOkQbRRXjxt/HHzypNemWBI7Owug2AGqDGA68QAi ik3D/Hy0cArO/4gCwjMLgLewea4UeJQYKAF6yxX+9rOatx/umKIlI5XygJZK6P/I1YJ8 Wxrd7+boLeT34u7FHjTGTAnTudo855i6mOKaT7aIfXeAIOhqeE62iTpYU26WsmhzkIt9 Og6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OBbxuLXqXOYARjXCSPiDlbNy524Cccb+L1J4jDZF9Fo=; b=vFZ0fxw5EXRMda7bpxmhv5/mjfaTbiOP1cZ6e0YC9fPQJ3Gxys7rhOeteP5E0EB49U yxE9LkfdMmVonAW8TO9TEuMO61+u03S/dRvJz43noXDT2Kt2ypXaedv5hxHwWwr/vqnn wQLPfVX1/lXBILZp5M9iysXLac3pUDzocLkc7vFpat3WlI6hp4oUSO2JVQil03SPLiGS GFFNiGt76Hu+Rd50JDe5VtWIVg8fHlmlljMOu/9yHgYJB97QmPCrJXYF6FL+zmsNu8QW 5WAiQNj2E3NLkjjdKZqYseZ+unfbivjP365Uxc0M7TG3Um2GZ7lNnXlUoJoXnBqLnQ86 kaqQ== X-Gm-Message-State: AO0yUKUWVevdq48O9c8h9svwY61NQMk2Bdva9XETxoiiFHPLw7WmGXfu YXM+D9LJi8Xw8iyq3LJWMjCS8SJSj2Y= X-Google-Smtp-Source: AK7set+w/P5BSMFOVrxdzkuiC9owHvIdAXc5CnfJYymHEbSIJeFIzwLnzGejueuDjk2jF8varHBd9A== X-Received: by 2002:a05:600c:2b45:b0:3dd:e621:d328 with SMTP id e5-20020a05600c2b4500b003dde621d328mr3128026wmf.8.1676976256271; Tue, 21 Feb 2023 02:44:16 -0800 (PST) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id k26-20020a05600c0b5a00b003e20970175dsm3950988wmr.32.2023.02.21.02.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 02:44:15 -0800 (PST) From: Robert Pluim To: Sebastian Tennant Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call In-Reply-To: <87edqkcim2.fsf@sebyte.me> (Sebastian Tennant's message of "Mon, 20 Feb 2023 18:11:17 +0000") References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> <87edqkcim2.fsf@sebyte.me> Date: Tue, 21 Feb 2023 11:44:14 +0100 Message-ID: <87edqjmh6p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61552 Cc: 61552@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 (-) >>>>> On Mon, 20 Feb 2023 18:11:17 +0000, Sebastian Tennant = said: Sebastian> Quoth Basil Contovounesios Sebastian> on Thu, 16 Feb 2023 17:09:27 +0000: >> [=E2=80=A6] >> Please attach the patches here so that they can be tracked in this >> bugtracker. >>=20 >> Thanks, Sebastian> No problem Basil. Here's a patch against master: Sebastian> From 179af66f885630a7bdf3d3f3146aceb8ad205ce6 Mon Sep 17 00:= 00:00 2001 Sebastian> From: Sebastian Tennant Sebastian> Date: Thu, 10 Mar 2022 08:36:04 +0000 Sebastian> Subject: [PATCH] Add user-customizable variable Man-prefer-s= ynchronous-call Sebastian> * lisp/man.el (Man-getpage-in-background): Only call #'start= -process Sebastian> when 'make-process satisfies #'fboundp AND Man-prefer-synchr= onous-call Sebastian> is bound to nil. Your commit message should indicate that you=CA=BCve added a new defcustom, and you should announce it in etc/NEWS (and add a description to the manual, if that makes sense) Sebastian> --- Sebastian> lisp/man.el | 9 ++++++++- Sebastian> 1 file changed, 8 insertions(+), 1 deletion(-) Sebastian> diff --git a/lisp/man.el b/lisp/man.el Sebastian> index 286edf9314e..fb4f8f02db7 100644 Sebastian> --- a/lisp/man.el Sebastian> +++ b/lisp/man.el Sebastian> @@ -97,6 +97,12 @@ man Sebastian> :group 'external Sebastian> :group 'help) =20 Sebastian> +(defcustom Man-prefer-synchronous-call nil Sebastian> + "Non-nil means always call the Un*x man command synchrono= usly, Sebastian> +rather than asynchronously, which is the default Sebastian> behaviour." The first line should be a complete sentence. Something like "Whether to call the Un*x 'man=CA=BC command synchronously." Sebastian> + :type 'boolean Sebastian> + :group 'man) This needs a :version tag Sebastian> + Sebastian> (defcustom Man-filter-list nil Sebastian> "Manpage cleaning filter command phrases. Sebastian> This variable contains a list of the following form: Sebastian> @@ -1118,7 +1124,8 @@ Man-getpage-in-background Sebastian> "[cleaning...]") Sebastian> 'face 'mode-line-emphasis))) Sebastian> (Man-start-calling Sebastian> - (if (fboundp 'make-process) Sebastian> + (if (and (fboundp 'make-process) Sebastian> + (not Man-prefer-synchronous-call)) Sebastian> (let ((proc (start-process Sebastian> manual-program buffer Sebastian> (if (memq system-type '(cygwin windows-nt)) Sebastian> --=20 Sebastian> 2.30.2 Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 07:16:20 2023 Received: (at 61552) by debbugs.gnu.org; 21 Feb 2023 12:16:20 +0000 Received: from localhost ([127.0.0.1]:54809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pURZB-0007bI-0D for submit@debbugs.gnu.org; Tue, 21 Feb 2023 07:16:20 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pURZ2-0007ZU-TP for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 07:16:12 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 86B1A5C00D7; Tue, 21 Feb 2023 07:16:02 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 21 Feb 2023 07:16:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1676981762; x= 1677068162; bh=EgsOy6rOCGxm6QcF2c7ElOMUEeEltqJhB0lmhkfKwEY=; b=R fqc3aOkc2SnOtUpAKi3glKV7asIn6ojEcG79horF3kWpMUY/6yfnv+YReMQfhYab 2GZaTqIFptoIIXExhBdIWD01hWvthtKqU0K3w6IC0hOVJRStpDKgRn3v5jXkcUBY EpxtGjFQwcjQhsw2TGK24G8AY0aUDfUSfGx5qD3MNF0DpQS/GHAzinrYDIevxn5P 9gjiv2NEjiPqzqc7nDIvOEZmz/eeAzDW1k3GqRweBAkj3M80guz9zPbwSi8DxuqC 5cX0gPxKNJ9mzI2iKdazLLKT5LQhleiCwAT/Zs8+7/HCSGZVYf5vpVrlV1hktvNP yXjXil2rWXmWfUPgrJPZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1676981762; x=1677068162; bh=E gsOy6rOCGxm6QcF2c7ElOMUEeEltqJhB0lmhkfKwEY=; b=RfYJSZAjUW/c0UWr/ +PipzI3ds/KN74xef4OipcuO7WbPnG7/VesbJWT9ngDyN8A3Gptoq1ygKwAjL2zU 3Ctoo5sXSLEM37s6/MWcu8azFqzkTvSilDQsF1YV0js+poDcvqbbbDP4wusXczCF 80CgtkZvVwT8h2lgsVWIO2VyKh3YqPduRtD5OrvlRX8cBOPyypVWXuVUW9FNggpN qFCUmTikT87vtVtNHcvmqb/6txn6ppoQNH3xyC6jl9b9tG6Y25twim+2S8dboYDS SnNtgK+gWpsfvFcreuvpxCmP7IZHdPMThd4YBjy5EytZrgXVIiLWuU9vPrOrCgON 8vwHA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejjedgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgfgsehtqh ertddtreejnecuhfhrohhmpefuvggsrghsthhirghnucfvvghnnhgrnhhtuceoshguthes shgvsgihthgvrdhmvgeqnecuggftrfgrthhtvghrnhepuedtjeegjeektdduffehgfevue etvedvkeekhfdvjefgtefhhffghfeuffduhfefnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepshgvsgihthgvodhrvghtuhhrnhdqphgrthhhse hfrghsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <61552@debbugs.gnu.org>; Tue, 21 Feb 2023 07:16:02 -0500 (EST) Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pURYu-0007Zi-Ae for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 12:16:00 +0000 From: Sebastian Tennant To: 61552@debbugs.gnu.org Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call References: <87h6vlpp18.fsf@sebyte.me> Date: Tue, 21 Feb 2023 12:16:00 +0000 In-Reply-To: (Stefan Kangas's message of "Tue, 21 Feb 2023 01:53:18 -0800") Message-ID: <87r0ujb4e7.fsf@sebyte.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 61552 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.5 (-) Hello Stefan, Quoth Stefan Kangas on Tue, 21 Feb 2023 01:53:18 -0800: > [=E2=80=A6] > Thanks. Could you explain the use case for this? A function I've written (called #=E2=80=99man-spot) allows me to make notes= in commentary which look like this: ;;; (man-spot "openssl" "^ +s_client") for example. By evaluating this form, I'm able to jump to the specific point in the openssl manpage which describes the s_client command. The second argument to #'man-spot is a regular expression which is passed to #'re-search-backward. This only works if #'manual-entry has finished putting the manpage into a buffer. Hence the preference for a synchronous call to #'Man-getpage-in-background. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 07:28:26 2023 Received: (at 61552) by debbugs.gnu.org; 21 Feb 2023 12:28:26 +0000 Received: from localhost ([127.0.0.1]:54829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pURkw-00085T-02 for submit@debbugs.gnu.org; Tue, 21 Feb 2023 07:28:26 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pURks-000858-Kf for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 07:28:24 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 546515C00AE; Tue, 21 Feb 2023 07:28:17 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 21 Feb 2023 07:28:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1676982497; x=1677068897; bh=oB3oObqzMV iuyV/K3nA5EyondEQt3o+zRKr4bhPJMZE=; b=IqbjRc2c8FheI4KzNuqbH7QlLs Udzl7FV5GPfOwLvDga9VCxk0jO/CmhrsK+OVYfcje74cbzMP74P53O55z5aQIFzP b6Tku1ADtKgjMzLPLUltNOvomCYg8L9XjCi9HAUtPnzGat28cB6NeuIG1q3hDDcB dfLhkAhzA/Fqd8tF/1z2KcIJa6N0RIYibJ77WHnB9bDywGHhLOZ9vi980mEt/G0N 56rXPeXr+1wP5OakZV81EZlse9KN1pi8pfoepD8v0SAB4ubnQFN7M66Q/WK4xhAh uoQ7jZTtwkkVwnx2OA8ookAqOcGwACu3PmNASrO4k8rVD6iPmrPLJX+VDoaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1676982497; x=1677068897; bh=oB3oObqzMViuyV/K3nA5EyondEQt 3o+zRKr4bhPJMZE=; b=ngNVRvSG3O6C3iyVvHoR8Nv5cEbWyfSOS+4qKHziSR4j ducsKv5fqC/9QYNqF8wO6HevobLGjImmusxFwOg8PbxBV/0NhV+nQBtverT2vA54 PLnX9iLI4Va1skeBem5Ui5DMZfQ1xenDJrj+9+ZpjQfiN8uv+nJ7+vYm0tYOgHVS y/hOufhJeG5AF83eSg1l+7smVbVh2we3H4HAoYXXVJkpqWFKcSshT84Ag4zL5r9A w4N/QXvwOy+ZdKrfky//RuNjC5tMMNC1q4OR3l7NLWwwpsU9Lmuav+4QpAk2gRYQ HGEpsucMl9ue2mjUId68W10mG0QUpxBlnfqOFOFciQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejjedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesthdtre dttdertdenucfhrhhomhepufgvsggrshhtihgrnhcuvfgvnhhnrghnthcuoehsughtsehs vggshihtvgdrmhgvqeenucggtffrrghtthgvrhhnpeehtdffudehjeeufffhudevfeduie egffehgeejleehkeffffetffelkefhudfffeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehsvggshihtvgdorhgvthhurhhnqdhprghthhesfh grshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <61552@debbugs.gnu.org>; Tue, 21 Feb 2023 07:28:17 -0500 (EST) Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pURkl-0007cB-RA for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 12:28:15 +0000 From: Sebastian Tennant To: 61552@debbugs.gnu.org Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call In-Reply-To: (Stefan Kangas's message of "Tue, 21 Feb 2023 01:53:18 -0800") References: <87h6vlpp18.fsf@sebyte.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2.50 (gnu/linux) Date: Tue, 21 Feb 2023 12:28:15 +0000 Message-ID: <87h6vfb3ts.fsf@sebyte.me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 61552 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.5 (-) > Hence the preference for a synchronous call to > #'Man-getpage-in-background. Correction. Hence the preference for THE synchronous call IN #'Man-getpage-in-background. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 09:08:46 2023 Received: (at 61552) by debbugs.gnu.org; 21 Feb 2023 14:08:46 +0000 Received: from localhost ([127.0.0.1]:55089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUTK2-0000VS-Db for submit@debbugs.gnu.org; Tue, 21 Feb 2023 09:08:46 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUTJz-0000VB-Bx for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 09:08:45 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 074785C0179; Tue, 21 Feb 2023 09:08:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 21 Feb 2023 09:08:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1676988518; x=1677074918; bh=Pi u/IAqn6JPdravTPhnH0tlG4dFU8H6Wv/OBwzD4A8M=; b=JeczoJlrAVT2Eb/OhD 7y+WFiKoQ4UTr/gl2zEhJa04UjeTRDpy+ZFLrlL1iL3J/daqHmMBfSJhIj55vB64 deTz4FUr8oIT73M/pA7p7GVgyJxb6Hhd99h+haXZ1OU9W+QGTwMXlQUzfJjIJL0h jpcr1QCCss9ubDq+JLAbo2qgPXp6sfBsqXPGlK+WoQXLPddrZd0UTv31c0Bl5tWU 7zBONDn8UDPrAXBux4i6rsA6xskk97AZ2ydU8n8KaCQjO7tvM+sHswvrE57Eateg am+eJPHtwfIXSMyXnytVswwS4YB6GC5392iSC1PYr9gWDXP69gx7c1CQq4aVaeOz vjmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1676988518; x=1677074918; bh=Piu/IAqn6JPdr avTPhnH0tlG4dFU8H6Wv/OBwzD4A8M=; b=WKbiEC5o/FAwlklMjkPK3qBWXyG5j sbgTlQvXb+9UHXRr2A9KnUH3aYvdy4dWRlYjzpDl9CTYVxksQ4Iw95lRXE+09Lki 4M0+fqbOGkEA2dPlAxxrdh4ItwZ+SX0QJRSmQbFiyhNCf+5Q9FHsgnNUI3b1dDR9 IvS9m0r0guX0Tg9W5Yb5qoF7m65WqQl3yBpgaH7GfMjIeo6baMsYQX2QI1VHgJQC +jkmRV16RG/DA9oBwyWExOxwFDreIJcZXg2vpiDkVuMlOzLWotlC4gIqUjx3xbPJ mMIZ/1axuuAlVe4wHU6CzTxjFEF5W+u7QrIUzQMB9w1c6FNqHOfIDTa/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejjedgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffkfgfgggtgfesthhqre dttderjeenucfhrhhomhepufgvsggrshhtihgrnhcuvfgvnhhnrghnthcuoehsughtsehs vggshihtvgdrmhgvqeenucggtffrrghtthgvrhhnpeeileehffffkeevgfdtvdejtdehue elieevueejjeefgeetveevheduueeiuddvleenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehsvggshihtvgdorhgvthhurhhnqdhprghthhesfh grshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <61552@debbugs.gnu.org>; Tue, 21 Feb 2023 09:08:37 -0500 (EST) Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pUTJr-0007wD-QI for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 14:08:35 +0000 From: Sebastian Tennant To: 61552@debbugs.gnu.org Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> <87edqkcim2.fsf@sebyte.me> <87edqjmh6p.fsf@gmail.com> Date: Tue, 21 Feb 2023 14:08:35 +0000 Message-ID: <87lekr9km4.fsf@sebyte.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 61552 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.5 (-) Hello Robert, Quoth Robert Pluim on Tue, 21 Feb 2023 11:44:14 +0100: > [=E2=80=A6] >> * lisp/man.el (Man-getpage-in-background): Only call >> #'start-process when 'make-process satisfies #'fboundp AND >> Man-prefer-synchronous-call is bound to nil > > Your commit message should indicate that you=CA=BCve added a new > defcustom How about this: * lisp/man.el (Man-getpage-in-background): Add new defcustom Man-prefer-synchronous-call and only call #'start-process when 'make-process satisfies #'fboundp AND Man-prefer-synchronous-call is bound to nil. > and you should announce it in etc/NEWS Rightio. Will do. > (and add a description to the manual, if that makes sense) Sure. I didn't think reading manpages would have an entry in the manual but, sure enough, it does: (info "(emacs) Man Page") I shall edit doc/emacs/programs.texi accordingly. > [=E2=80=A6] >> (defcustom Man-prefer-synchronous-call nil >> "Non-nil means always call the Un*x man command synchronously, >> rather than asynchronously, which is the default behaviour." > > The first line should be a complete sentence. Something like > > "Whether to call the Un*x 'man=CA=BC command synchronously." How about this: "Control whether the Un*x 'man' command is called synchronously or asynchronously. (Asynchronous is the default)." > [=E2=80=A6] >> :type 'boolean >> :group 'man) > > This needs a :version tag Noted. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 21 09:47:22 2023 Received: (at 61552) by debbugs.gnu.org; 21 Feb 2023 14:47:22 +0000 Received: from localhost ([127.0.0.1]:55148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUTvO-0001Ws-15 for submit@debbugs.gnu.org; Tue, 21 Feb 2023 09:47:22 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:42847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUTvL-0001We-NW for 61552@debbugs.gnu.org; Tue, 21 Feb 2023 09:47:20 -0500 Received: by mail-wr1-f50.google.com with SMTP id j2so4526898wrh.9 for <61552@debbugs.gnu.org>; Tue, 21 Feb 2023 06:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2pXr9NiLegia2OwvcadRtDNB7oCrA0/ATM5sqk98ok4=; b=biqZy6vdA3hB5RBN6fm9G0RBYnThhKXd8TvYHnldHa88vTxSj+FHXnXXgmtKoulah3 N5Ak8c7uooLUpU8S0mpUKAEdDeBAekGX5/0R9TY42WJ1x9p70j7DBGdorXLbE89zPPFY erf3BlA32pmv0MH4oYkTjhVJaQjxEHKRI3kQgAvsElezypmxBph0fF5DIekLCNko8Vgp kxgczBFYtJGnK0fDOShkmnCthM793LEtoP577CU9IzMcRMPpGqx1piAS9RslTUuo8HUa L1bYhcxhDVhXQ9YorgVicVaVvLZ2OpxHuyrWx1bj3nHAj/YE0abhVthhbCBHAEramcMW N0Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2pXr9NiLegia2OwvcadRtDNB7oCrA0/ATM5sqk98ok4=; b=powbrTtGsK87Gk3vRcf0vT5ESYxAbXiUVV3+EMnkJDebELP5Pzqlc+vCnia0CzhBDX OTHh//2I1kvtUEzWMzKhenCZC4br/tmzYzSiveUtzK27jcNDvJiovAY0sq44zE0F4Yb9 DEDd7lEix93y0tHdp+vUgTG84OeiGY3ce4l0R37whFB8OzGIi7MBEqzIy1/HQK9TUAFA IB0O3FrgEtxb2kzMnwrKOTxOkesnev8nQQHqOZlZlRVjTAVGfH4jCI9ZhHMZbNJ6jX9t K/OA4Vv8JkkYV6xzOTBYwhG+/PzV74ghKPGL0Ni0NUl9kgMMX1mug+mO9zlO4VHdv9Ot uqjA== X-Gm-Message-State: AO0yUKWseK8hq77Wmcc3j17uJ7hA6A0r3iLwsX3uTyXEDi24Kt6EnmYP Lhv1QamX79ohDQXCtVgNVs3RTBR71AU= X-Google-Smtp-Source: AK7set/y/Ty+Df1uPeuOQ4J5iAVDqLxB0hh6h3PNqmdyBD5i2x+wogUph/d7lRrPPsITKUgyhPku0Q== X-Received: by 2002:a5d:56c9:0:b0:242:800:9a7f with SMTP id m9-20020a5d56c9000000b0024208009a7fmr4811284wrw.65.1676990833271; Tue, 21 Feb 2023 06:47:13 -0800 (PST) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id z12-20020a5d440c000000b002c707785da4sm800847wrq.107.2023.02.21.06.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 06:47:12 -0800 (PST) From: Robert Pluim To: Sebastian Tennant Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call In-Reply-To: <87lekr9km4.fsf@sebyte.me> (Sebastian Tennant's message of "Tue, 21 Feb 2023 14:08:35 +0000") References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> <87edqkcim2.fsf@sebyte.me> <87edqjmh6p.fsf@gmail.com> <87lekr9km4.fsf@sebyte.me> Date: Tue, 21 Feb 2023 15:47:11 +0100 Message-ID: <87a617m5xs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61552 Cc: 61552@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 (-) >>>>> On Tue, 21 Feb 2023 14:08:35 +0000, Sebastian Tennant = said: >> (and add a description to the manual, if that makes sense) Sebastian> Sure. I didn't think reading manpages would have an entry i= n the Sebastian> manual but, sure enough, it does: Everything in Emacs should be in the manual :-) Sebastian> (info "(emacs) Man Page") Sebastian> I shall edit doc/emacs/programs.texi accordingly. >> [=E2=80=A6] >>> (defcustom Man-prefer-synchronous-call nil >>> "Non-nil means always call the Un*x man command synchronously, >>> rather than asynchronously, which is the default behaviour." >>=20 >> The first line should be a complete sentence. Something like >>=20 >> "Whether to call the Un*x 'man=CA=BC command synchronously." Sebastian> How about this: Sebastian> "Control whether the Un*x 'man' command is called synchrono= usly or Sebastian> asynchronously. (Asynchronous is the default)." Sorry, I meant "a complete sentence, and only taking up one screen line, not exceeding `emacs-lisp-docstring-fill-column'", ie Whether to call the Un*x 'man' command synchronously. When this is non-nil call 'man' synchronously instead of the default asynchronous behaviour. since `apropos' displays only the first line Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 22 12:16:37 2023 Received: (at 61552) by debbugs.gnu.org; 22 Feb 2023 17:16:37 +0000 Received: from localhost ([127.0.0.1]:60249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUsjM-0000au-Se for submit@debbugs.gnu.org; Wed, 22 Feb 2023 12:16:37 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUsjH-0000ae-M4 for 61552@debbugs.gnu.org; Wed, 22 Feb 2023 12:16:35 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 599755C00B0; Wed, 22 Feb 2023 12:16:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 22 Feb 2023 12:16:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :content-type:date:date:from:from:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm1; t=1677086186; x=1677172586; bh=VU2yPq6FEEvYRkCiGRXIHklps rcz/3tVDzKAbuiXUs8=; b=w283HcmXLd++2Qyuzwlj7XZBDSnPWoBcrIcGyeo4i n17nJdLTmvAqt2A2952oiPoBfDNmaWgQRJLhkAVsnPp6Q7s0PW0ijCeeTa/KWe9U ia9OWzAuW2l9pnb9+hi6CVvNBAQR8m3hsX5HgSjPdz0fZdYUItoU+9VkK+LLoY1g kbJh8nI1vdVXccULfWUb4sgbHwz0WwPyy7AMaOjmW+AngO80/hJy6PqYyePkHqzb a22/gjbdXJOszV/Vc/dmpYPXtaXl4aTQT2mFTBheGQbJuusuMwmKMmHrduhzAS/b zLfhKSY90pCijp2FDSkmwCNGAdsWOxZyGEmNqL4202vMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1677086186; x=1677172586; bh=VU2yPq6FEEvYRkCiGRXIHklpsrcz/3tVDzK AbuiXUs8=; b=IX/MgjmBrjNum41lTcIHYjCvLzqIs7ttDFXI/Q8AUCdJ2RZF7ko MtSEs/cS6WHUvX6c1BvSEtM8xKT4AsBeeUVvWp/knG5xPZZO7C7O5N0ppm4udoA0 3DVjIUkCdC+vefaiPcrWLK3Yn38ekE4becF96UULLuTPIlm2Mt1fhdfbTez5KGuX pLIGUul95AbtWEb/al1LOmFYotZbmLv/LXDSw+v8HJNGvVwnAK16DCH0cWj6Pnga 7A/DAusav6Kf+wuQWlbnVCtJjmzKHEi/AqUtLoCtGzs5oK0iq0IQ/wAkfYWESCt1 6/KV9WXcz1q0MUwPAZoN+xnsf37hBtwf2wA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejledgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffkfgfgggtsehmtderre dtreejnecuhfhrohhmpefuvggsrghsthhirghnucfvvghnnhgrnhhtuceoshguthesshgv sgihthgvrdhmvgeqnecuggftrfgrthhtvghrnhepteelvdejhfdugeeiueekieeufedutd ekgfejiedtueetheegkefgvdejieefgfffnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhepshgvsgihthgvodhrvghtuhhrnhdqphgrthhhsehfrg hsthhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <61552@debbugs.gnu.org>; Wed, 22 Feb 2023 12:16:25 -0500 (EST) Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pUsjA-000HDa-95 for 61552@debbugs.gnu.org; Wed, 22 Feb 2023 17:16:24 +0000 From: Sebastian Tennant To: 61552@debbugs.gnu.org Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> <87edqkcim2.fsf@sebyte.me> <87edqjmh6p.fsf@gmail.com> <87lekr9km4.fsf@sebyte.me> <87a617m5xs.fsf@gmail.com> Date: Wed, 22 Feb 2023 17:16:24 +0000 Message-ID: <87zg95lixj.fsf@sebyte.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 61552 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.5 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Quoth Robert Pluim on Tue, 21 Feb 2023 15:47:11 +0100: > [=E2=80=A6] > Everything in Emacs should be in the manual :-) Indeed. > [=E2=80=A6] > Sorry, I meant "a complete sentence, and only taking up one screen > line, not exceeding `emacs-lisp-docstring-fill-column'", ie > > Whether to call the Un*x 'man' command synchronously. > When this is non-nil call 'man' synchronously instead of the default > asynchronous behaviour. > > since `apropos' displays only the first line Understood. Hopefully this updated patch (against master) is starting to look acceptable: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Add-new-user-option-Man-prefer-synchronous-call.patch >From 80fab7ad842bd9f41a98e18bb7a09a9e07866707 Mon Sep 17 00:00:00 2001 From: Sebastian Tennant Date: Thu, 10 Mar 2022 08:36:04 +0000 Subject: [PATCH] Add new user option Man-prefer-synchronous-call * lisp/man.el (Man-getpage-in-background): Add new defcustom Man-prefer-synchronous-call and modify #'Man-getpage-in-background. Only call #'start-process when 'make-process satisfies #'fboundp AND Man-prefer-synchronous-call is bound to nil. --- doc/emacs/programs.texi | 6 ++++++ etc/NEWS | 7 +++++++ lisp/man.el | 11 ++++++++++- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index d97bd56be21..c6c67047c43 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -1387,6 +1387,12 @@ Man Page @kbd{M-p} to switch between man pages in different sections. The mode line shows how many manual pages are available. +@vindex Man-prefer-synchronous-call + By default, @kbd{M-x man} calls the @code{man} program +asynchronously. If you would prefer it if @kbd{M-x man} called the +@code{man} program synchronously, you may set variable +@code{Man-prefer-synchronous-calls} to a non-@code{nil} value. + @findex woman @cindex manual pages, on MS-DOS/MS-Windows An alternative way of reading manual pages is the @kbd{M-x woman} diff --git a/etc/NEWS b/etc/NEWS index 4b0e4e6bd46..51526079313 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -192,6 +192,13 @@ This command adds a docstring comment to the current defun. If a comment already exists, point is only moved to the comment. It is bound to 'C-c C-d' in 'go-ts-mode'. +** Man-mode + ++++ +*** New user option 'Man-prefer-synchronous-call'. +When this is non-nil, call the 'man' program synchronously rather than +asynchronously, which is the default behaviour. + * New Modes and Packages in Emacs 30.1 diff --git a/lisp/man.el b/lisp/man.el index 9f75c07c791..5e5c10aac36 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -97,6 +97,14 @@ man :group 'external :group 'help) +(defcustom Man-prefer-synchronous-call nil + "Whether to call the Un*x 'man' program synchronously. +When this is non-nil, call the 'man' program synchronously +(rather than asynchronously, which is the default behaviour)." + :type 'boolean + :group 'man + :version 30.1) + (defcustom Man-filter-list nil "Manpage cleaning filter command phrases. This variable contains a list of the following form: @@ -1118,7 +1126,8 @@ Man-getpage-in-background "[cleaning...]") 'face 'mode-line-emphasis))) (Man-start-calling - (if (fboundp 'make-process) + (if (and (fboundp 'make-process) + (not Man-prefer-synchronous-call)) (let ((proc (start-process manual-program buffer (if (memq system-type '(cygwin windows-nt)) -- 2.30.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 02 06:30:58 2023 Received: (at 61552-done) by debbugs.gnu.org; 2 Mar 2023 11:30:58 +0000 Received: from localhost ([127.0.0.1]:55973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXh9F-0002YA-Si for submit@debbugs.gnu.org; Thu, 02 Mar 2023 06:30:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXh9E-0002Xz-RV for 61552-done@debbugs.gnu.org; Thu, 02 Mar 2023 06:30:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXh99-0008EV-8R; Thu, 02 Mar 2023 06:30:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=cgM0HRgB85GR4Xx6RFXyHxF2ghf7EZuYmYuvPeSud8E=; b=M5NAGX0X8wpAFli04gJo W+Tmlpsn9jemZszEq0YeBfrZbZ72Unh0HOJHd7xtIcNbXra9RmeLlSz/1iKO0IZWcQTk422PbGXH3 Ix4/GUBeFOFYCq5pT9TNE6VqGkqFj5S329RGEDlId1k31iqvIE6scUUcWp4YksaBEXcx5cQPjLk6Q 3zuQficUTPDVg/Yjtc3o9FJqhM4bMWk4jhBCJSm9yZGlASe2hMWncYGWQZ9g/aEdxAOfqjSfIDCdw NiF+Lt62UioounEq41c7CJ/nc+jmyf/oNwVZF0Fvv00Vz5bEYJbhjA5rQ65b8Y9EnXi+0AvdTcNUi apSh1ZdJKqIwdw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXh98-000262-16; Thu, 02 Mar 2023 06:30:50 -0500 Date: Thu, 02 Mar 2023 13:30:46 +0200 Message-Id: <83edq7e6ft.fsf@gnu.org> From: Eli Zaretskii To: Sebastian Tennant In-Reply-To: <87zg95lixj.fsf@sebyte.me> (message from Sebastian Tennant on Wed, 22 Feb 2023 17:16:24 +0000) Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> <87edqkcim2.fsf@sebyte.me> <87edqjmh6p.fsf@gmail.com> <87lekr9km4.fsf@sebyte.me> <87a617m5xs.fsf@gmail.com> <87zg95lixj.fsf@sebyte.me> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61552-done Cc: 61552-done@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: Sebastian Tennant > Date: Wed, 22 Feb 2023 17:16:24 +0000 > > Quoth Robert Pluim > on Tue, 21 Feb 2023 15:47:11 +0100: > > […] > > Everything in Emacs should be in the manual :-) > > Indeed. > > > […] > > Sorry, I meant "a complete sentence, and only taking up one screen > > line, not exceeding `emacs-lisp-docstring-fill-column'", ie > > > > Whether to call the Un*x 'man' command synchronously. > > When this is non-nil call 'man' synchronously instead of the default > > asynchronous behaviour. > > > > since `apropos' displays only the first line > > Understood. Hopefully this updated patch (against master) is starting > to look acceptable: Thanks, installed on the master branch, and closing the bug. Assuming that you want to be able to submit contributions to Emacs in the future, would you like to start the legal paperwork of assigning the copyright for your changes to the FSF? If yes, I will send you the form to fill to start the paperwork. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 03:51:47 2023 Received: (at 61552-done) by debbugs.gnu.org; 3 Mar 2023 08:51:47 +0000 Received: from localhost ([127.0.0.1]:59603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY18l-0004TB-31 for submit@debbugs.gnu.org; Fri, 03 Mar 2023 03:51:47 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY18i-0004Sy-A5 for 61552-done@debbugs.gnu.org; Fri, 03 Mar 2023 03:51:45 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3BD0A5C0108; Fri, 3 Mar 2023 03:51:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 03 Mar 2023 03:51:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebyte.me; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1677833499; x=1677919899; bh=Oy0ZN3B0KtHumE4aeZj8a9mWOVPs/QtL6W+ GzMJvtQE=; b=x6fdDqZB5iQj/0qAdZpR+Q3Hi0KUWQOLemQSKKIncL+vYK12J29 pB6pkfNfDLwW9FzPTBZ7FqjHBC2oirN2K4domU+1qpKt3hYwtxK2WS+knu5QhY9p QzXBkS6Yz9Bjm3DlS/JoqHD3cijjblRjm0EvLjEM19Yea/g8n2B2z230NGIIxqI4 smg7jh7/vFpZ+cIgeft6DjCUXLuFx7Md1maQ7GGiqJ61coZPO7GJQ7L+mQWQaebo JZ2Eo7RbyfYUGsFKUt3O3URXZayWiCmnYASl6HhWLtgygf4Xt6AvQXWOccEXSlZF FyXergdcxjzFvS4lKDQyjFA3fV9I8Ec3SXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1677833499; x=1677919899; bh=Oy0ZN3B0KtHumE4aeZj8a9mWOVPs/QtL6W+ GzMJvtQE=; b=KPpEbCD1kRFDi6JzpzNAAah77Ecnddiupto3M2zDXHmuK+PPg+k YuCJvFk1GFiT/9wyhWMgsoEEugFLZWsjdsvIhYLFiVsmZe65ylYUmi3N3Oe1vBz5 Z4OeqWPrim/pUpNgyyXM49v+akQGnW6t2D8zt/bkalW7ZeXfIMgdGufTADG4wvz0 /zhiieZgLJf9XHF0zUal/3695+DMJIOtVuLVMHFO3p4c4HwYfXeSIKw1SRrLBNvu F2aclJFAUblFt50mTeeOLTfe0U1/ZXw/jmyzNGJbvCsPK/UfBEcW/AIum4VD/Kxy xxLQVH9sfCGwO1emT8dR4XVrNbXmW9KM2/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudelkedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepufgv sggrshhtihgrnhcuvfgvnhhnrghnthcuoehsughtsehsvggshihtvgdrmhgvqeenucggtf frrghtthgvrhhnpeekueefuedufeelgeekjeefuefhgefftdetffelfeevvdekieegjeeu hedtveduhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsvggshihtvgdorhgvthhurhhnqdhprghthhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i9e78401f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Mar 2023 03:51:38 -0500 (EST) Received: from sebyte by balor with local (Exim 4.94.2) (envelope-from ) id 1pY18a-000wrP-S0; Fri, 03 Mar 2023 08:51:36 +0000 From: Sebastian Tennant To: Eli Zaretskii Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> <87edqkcim2.fsf@sebyte.me> <87edqjmh6p.fsf@gmail.com> <87lekr9km4.fsf@sebyte.me> <87a617m5xs.fsf@gmail.com> <87zg95lixj.fsf@sebyte.me> <83edq7e6ft.fsf@gnu.org> Date: Fri, 03 Mar 2023 08:51:36 +0000 In-Reply-To: <83edq7e6ft.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 02 Mar 2023 13:30:46 +0200") Message-ID: <87o7pagquf.fsf@sebyte.me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 61552-done Cc: 61552-done@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.5 (-) Hello Eli, Quoth Eli Zaretskii on Thu, 02 Mar 2023 13:30:46 +0200: >> From: Sebastian Tennant >> Date: Wed, 22 Feb 2023 17:16:24 +0000 >> [=E2=80=A6] >> Understood. Hopefully this updated patch (against master) is >> starting to look acceptable: > > Thanks, installed on the master branch, and closing the bug. Great! Thank you. > Assuming that you want to be able to submit contributions to Emacs > in the future, would you like to start the legal paperwork of > assigning the copyright for your changes to the FSF? Yes, I would. > If yes, I will send you the form to fill to start the paperwork. Thank you again. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 06:24:01 2023 Received: (at 61552-done) by debbugs.gnu.org; 3 Mar 2023 11:24:01 +0000 Received: from localhost ([127.0.0.1]:59807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY3W4-0002KO-WA for submit@debbugs.gnu.org; Fri, 03 Mar 2023 06:24:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY3W3-0002KC-RN for 61552-done@debbugs.gnu.org; Fri, 03 Mar 2023 06:24:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY3Vy-0003JT-IG; Fri, 03 Mar 2023 06:23:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=moFAh+dnuaY7zLpDwKRFO0SzU6F2eCETq8gFmkQYkAc=; b=ApPOHweVMt9W A+nYYaDAsl0n/CqusGXherdr8qd8oFfz+H94GLSlI0NrQ8kt6z/uemAog8CR1opk1AA0ncZWJFd0e r0wKzS6jkYJkBL6E7eXos09UzyBgCNbSsMYJe3+VrqzXpPIJ2VLTJLAk5GY3hfqUOpHxPD7gJW8Dz 0ENTUv7jR7b2/W+AbYQNY1ewzUcWBf92nHQqOWH2cSlXxzvqhlqGhNM58qOu9dajWCsuIPr7HRshz pcRlofQRynl64drDccClBjK85iHQpJFNOSLS48kl1KgRY/CpzBYKnQzcdS0EezUofv12BBbcnPbXX CE1fFFzr52fawb7aj3ERwA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pY3Vy-0004ts-2F; Fri, 03 Mar 2023 06:23:54 -0500 Date: Fri, 03 Mar 2023 13:23:40 +0200 Message-Id: <834jr2cc3n.fsf@gnu.org> From: Eli Zaretskii To: Sebastian Tennant In-Reply-To: <87o7pagquf.fsf@sebyte.me> (message from Sebastian Tennant on Fri, 03 Mar 2023 08:51:36 +0000) Subject: Re: bug#61552: Feature request: Add variable Man-prefer-synchronous-call References: <87h6vlpp18.fsf@sebyte.me> <87zg9dsfjs.fsf@tcd.ie> <87edqkcim2.fsf@sebyte.me> <87edqjmh6p.fsf@gmail.com> <87lekr9km4.fsf@sebyte.me> <87a617m5xs.fsf@gmail.com> <87zg95lixj.fsf@sebyte.me> <83edq7e6ft.fsf@gnu.org> <87o7pagquf.fsf@sebyte.me> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61552-done Cc: 61552-done@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: Sebastian Tennant > Cc: 61552-done@debbugs.gnu.org > Date: Fri, 03 Mar 2023 08:51:36 +0000 > > > Assuming that you want to be able to submit contributions to Emacs > > in the future, would you like to start the legal paperwork of > > assigning the copyright for your changes to the FSF? > > Yes, I would. > > > If yes, I will send you the form to fill to start the paperwork. > > Thank you again. Thanks, form sent off-list. From unknown Sun Jun 15 08:48:32 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, 01 Apr 2023 11:24:08 +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