From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 22 20:59:14 2023 Received: (at submit) by debbugs.gnu.org; 23 Jul 2023 00:59:14 +0000 Received: from localhost ([127.0.0.1]:37708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNNRK-00082d-2L for submit@debbugs.gnu.org; Sat, 22 Jul 2023 20:59:14 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNNRI-00082R-8D for submit@debbugs.gnu.org; Sat, 22 Jul 2023 20:59:12 -0400 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 1qNNRC-00068m-TP for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 20:59:06 -0400 Received: from mout.web.de ([212.227.17.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNNRB-0000qj-2T for bug-gnu-emacs@gnu.org; Sat, 22 Jul 2023 20:59:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1690073941; x=1690678741; i=michael_heerdegen@web.de; bh=tReLfBYPeu4B3AliKKs0QwgTg8eE6QuzvULVbUoWjQw=; h=X-UI-Sender-Class:From:To:Subject:Date; b=kfAlqNQBIJhN6lAm6weww1gTUy8ghkxU3xnK3hNZXvnPEQ1ePLh47IxI0DrOcopFs8hZnDE yff4lnEe4KKcqxlShCHG+Zrwj0g8Hg7wSVW+2qX3iFEXk+TM0M9BQ2vJO9Bisqz3IYDsZTjHx +HA0vIsB/Nm/4E9EHMBzoCxufpRAVMdxTfwdqOv4fszEEURyxCA0vB04AfRnYMEv0g50SQVPF 43VHrIN9LjmOTPKJF2JBDec8+VzZG5UTsPofwUU9Qqb7ARTikBFWjINFIWU60TapQU8BOw483 NNwD2SvS/L/N9Mo4AZyQy1fRkHRaXpVjOaerQLdDWNHS1vGriRYA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.36]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MnpKq-1pZPEl1L5u-00pXJl for ; Sun, 23 Jul 2023 02:59:01 +0200 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 30.0.50; manual-entry [(1) fails Date: Sun, 23 Jul 2023 02:58:59 +0200 Message-ID: <87bkg3igto.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:0Tx3RTe5vg7oowwJAcGpAaAwA44zJGFXpVaF+Vt755HNV4CsgBm RYG4qlR2kdx1JDbltWXAei6vAUoYzPsic7h3vjMAasV4KN5H3COz3qf6R+ei0cvbYAO5FLm oX3h0J7Irz2Qo2I2DGQQwCH/JQ7mV82VbfMUoaP3hccamyt0eXMIDHpnjVdf+ucKK1jR0jy BoS4wnr2Kj4Ap26muONFg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:7FqQlJn3Tt4=;dOBa8Du+scwHZ8w45y22DZP1OQc Ne93XNGMsFwPn5QifV0ck3ffzDXY0+AiNcMFvQP+yyBt8VvdoS5HM4yGgFYFN4K9EvL37K7Rv 8YOf7Imrt9DUZQMtauknkqdfjZy8P+t5wbGA31ZG99I9Y+KCnpitd4F6pQy6UQxx1li8+luWC mUxeZL63Mx+wd0LHFnZx3B1ZwjaFAn8W+GVtHt6M0cxBF1rFfV5bkBbF/aPzHA9ZzG7QvGTKT JBUna0g1x3mzidJNuVfzm6c9Szf6/rrNZRzZD4aoiROGR+5CcFlcmtJLaJ7F84z7jc27ZXunG OzvkrRuDNCvyLuDMO9HXnbF7zX/3iYAJz8hSHmc11BA5vAG0yUZy7KfimQF6+8jp/fwkjTMFa XhNHbb/I/lYmpgYZjKy00g0v6vrBJkSoYNLMzj3NAoaIGvjLMizfS25v3/bB7yfDpcvNr8PBv L6oPLuwFCeEmkSukkIP6Kclfgld2lSjpqfJv+BaLRmRRBPi7rXC6OVAvWs7qM7vlRe1zCwTID uv1Rx8YIHxVCEC+DH9a5ED1TpOhVtedS0CG4eTJCXr29tCWLpCPG6G3Or3Y6HCO2jElkOR5ME 2ISAlyPcoxDvOZ2JuBaPpdz4xsdROTwj+ItHmLLHKEqueDfGwULcLCImPW937VLVuTwMIjE9u YS2Ef9UQTBA+JH+0OFWNH94VrBmGC1tgBAihjCZEA0TsyHDbjAK8fr/FfFy0cSRvjdWVOFaYz NIBAgcY55T/JCdWodoBqiQkdLszuxTQAGb0tFc2XdXrVl58fJuGoar0OSxAO+7464Mc6qoh6b 5OwqPRsTqvoEz14tv6cBozuxhodcMxToxl4VGTxRh9+XjVH9V4g7fmX1Vlf9wm9HZk9aNGJsa KQ5tcYAvxxSsRnruVBSm2Yf9lA7IsI+eirUIfd1vsMwXYRF2wy3Qk3EPxnoZsBwnnKn8yHZ6m MvfjIipxssJ1veuMlxtRNLk2JsQ= Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.17.11; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) Hello, In Gnu/Linux there is a binary named "[" in /usr/bin/, and it has a man page I can read in a terminal using "man '[(1)'". Requesting the man page in Emacs using `man' is broken, however: M-x manual-entry RET [ TAB echoes "[No match]" - this is the first problem (the failing completion). C-g, let's try differently: M-x manual-entry RET TAB [ TAB (that's the same as before but additionally requesting all candidates before writing in the minibuffer) suddenly completes to "[(1)" as expected. But when confirming with RET the man buffer only has these contents: | /bin/sh: 1: Syntax error: "(" unexpected | | process exited abnormally with code 2 That's the second problem. Oh, and M-x woman [ RET works as expected. TIA, Michael. In GNU Emacs 30.0.50 (build 33, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2023-07-22 built on drachen Repository revision: 4b3ab8fae12dcb403e653edeafa1d4ce1dab0187 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 23 15:23:20 2023 Received: (at 64795) by debbugs.gnu.org; 23 Jul 2023 19:23:20 +0000 Received: from localhost ([127.0.0.1]:41243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNefo-0004q0-6t for submit@debbugs.gnu.org; Sun, 23 Jul 2023 15:23:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNefj-0004pk-G6 for 64795@debbugs.gnu.org; Sun, 23 Jul 2023 15:23:18 -0400 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 1qNefc-0003od-C9; Sun, 23 Jul 2023 15:23:09 -0400 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=sBa028AMLf1NFmgoc2fdPUJeboxNhvqY2VEPrx70QGk=; b=LrJZ84LOjc6zvBpjINRe YORTFwf619zszPJdex1vdWfAQ6MoXVwSrrkB5J7JdV2VF7J/CEB/JpliGHoHRquTqRg1O7Bqy7c0N gRRcndaE7pAHIJrNWpyWFtLUFaivfxTgbRT/za/Ywf5hTjGX8NysqKXNsohdVpY9cSwy1CzlXUZnS 98FCEHkoOaKDRoQFqA26GILECf7ZGD0xBtYTI72q1qaVM4R9qS+UxDIku1PLz9Z3cyX9O/DGDTA5m +WfJ4hrKWGsPsbcsa2glfiCEIsOlaZnrDl//SFxBeorKrAK2Q0WbeZo16FXY3a8gDvPwIpz3+ICO4 sPAtmcuOTizNdw==; 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 1qNefb-0001Hr-0P; Sun, 23 Jul 2023 15:23:08 -0400 Date: Sun, 23 Jul 2023 22:23:48 +0300 Message-Id: <838rb6tosb.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <87bkg3igto.fsf@web.de> (message from Michael Heerdegen on Sun, 23 Jul 2023 02:58:59 +0200) Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails References: <87bkg3igto.fsf@web.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64795 Cc: 64795@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: Michael Heerdegen > Date: Sun, 23 Jul 2023 02:58:59 +0200 > > In Gnu/Linux there is a binary named "[" in /usr/bin/, and it has a man > page I can read in a terminal using "man '[(1)'". > > Requesting the man page in Emacs using `man' is broken, however: > > M-x manual-entry RET [ TAB > > echoes "[No match]" - this is the first problem (the failing > completion). > > C-g, let's try differently: > > M-x manual-entry RET TAB [ TAB > > (that's the same as before but additionally requesting all candidates > before writing in the minibuffer) suddenly completes to "[(1)" as > expected. But when confirming with RET the man buffer only has these > contents: > > | /bin/sh: 1: Syntax error: "(" unexpected > | > | process exited abnormally with code 2 > > That's the second problem. Does the patch below give good results? diff --git a/lisp/man.el b/lisp/man.el index 479bf9f9a3c..bbcbe5d1525 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -315,7 +315,7 @@ Man-cooked-hook :type 'hook :group 'man) -(defvar Man-name-regexp "[-[:alnum:]_­+][-[:alnum:]_.:­+]*" +(defvar Man-name-regexp "[-[:alnum:]_­+[][-[:alnum:]_.:­+]*" "Regular expression describing the name of a manpage (without section).") (defvar Man-section-regexp "[0-9][a-zA-Z0-9+]*\\|[LNln]" @@ -937,7 +937,7 @@ Man-completion-table "-k" (concat (when (or Man-man-k-use-anchor (string-equal prefix "")) "^") - prefix)))) + (shell-quote-argument prefix))))) (setq table (Man-parse-man-k))))) ;; Cache the table for later reuse. (when table From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 23 20:15:41 2023 Received: (at 64795) by debbugs.gnu.org; 24 Jul 2023 00:15:41 +0000 Received: from localhost ([127.0.0.1]:41404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNjEi-0003zD-TG for submit@debbugs.gnu.org; Sun, 23 Jul 2023 20:15:41 -0400 Received: from mout.web.de ([212.227.15.14]:50647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNjEd-0003yw-NB for 64795@debbugs.gnu.org; Sun, 23 Jul 2023 20:15:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1690157729; x=1690762529; i=michael_heerdegen@web.de; bh=b16wZ5mD+1F11Zi0hmfnGdKoCdTEPZ9hcnPSxxIo4Hs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=mSWQrLd9VsflZsIAn3vtV0m5cKY+jcBJmT4zTNMjSblFYVd5Ze7vSKVdoW8EHum0iUS5rWH XKMj4z81SGblSO2rVnCRzo8psbHF6F/hbGVZc2B/FuQEVUV+x8OtFqIOUslGiJHrqE5Rciknw 6DffGbGNaymeh4XYpxeaODvq26vPcCM3T+fUF8254Le2tapeZmr9s7YcPaXr0hHo9p+2u8zZQ 1cW4mVLngtWMKSdNxTmdhboeSMtaycy3HrQZJgBsJeAEi7HuMSGki7/hSUZevNJma4Wpw6Uk6 NUiUlasd+75jkXdLOXkjFtORf/tOrRGiXLQLN4eb1WC46hiT/LCQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.36]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N5ljL-1pqrGs3DvH-016wgW; Mon, 24 Jul 2023 02:15:29 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails In-Reply-To: <838rb6tosb.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 23 Jul 2023 22:23:48 +0300") References: <87bkg3igto.fsf@web.de> <838rb6tosb.fsf@gnu.org> Date: Mon, 24 Jul 2023 02:15:28 +0200 Message-ID: <87v8eaf9lr.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:klvsquItLIogydHL6c+dvTf+3hg1ga7S2drTKqrlIVK8LV6nLj4 PkFkln4r4JfpDYOlY4S5Ou6xcFyBy8JS2WorPIC3i6NUIn2ODMSXh/tPTGy59cwopMy3No0 5kGvn3gCOBkWdyD0lcjKphKmfY111i3k3Hw/VM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Toxprjjg2EbCLw494mwh6vPNdDZZm 57qKU/4JO6Wfl+86slzQf1vR5as= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64795 Cc: 64795@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 (-) Eli Zaretskii writes: > Does the patch below give good results? Thanks. Yes, it fixes the man [(1) not completing and not displaying problem. However, man RET TAB displays [No match] now instead of showing all completion candidates. I searched for more problematic characters. I found also "@" not working, like in "journald@.conf (5)" or "systemd-backlight@.service (8)". I guess we need to add that character as well. That's the only one I found when looking through the output of "apropos '.'". Thx, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 10:24:34 2023 Received: (at 64795) by debbugs.gnu.org; 24 Jul 2023 14:24:34 +0000 Received: from localhost ([127.0.0.1]:43738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNwUE-00019f-5b for submit@debbugs.gnu.org; Mon, 24 Jul 2023 10:24:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qNwUB-00019Q-NG for 64795@debbugs.gnu.org; Mon, 24 Jul 2023 10:24:32 -0400 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 1qNwU6-0005OU-6W; Mon, 24 Jul 2023 10:24:26 -0400 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=7tzxBFDsJYB1sYbD1fuTBwlnKF2JpZSt8Qh+Gw/NZU0=; b=YM/cc9kaIF+RQRYxQpX7 HxeeCA/EU+bkuZIf+POBppBCOc12A51IcnJHMsE3gcCM+uukmphS0+qLMkePTxMYhj73yeqAMPXX2 It/zogci4pJsZ21KvFuirQ1iytcy93oSd0xlV0tQuqF8lfpSEeKIeDdWIfo7x4p/jrkmuLJq010VL yusOq1hEnP+B5XUVaVoHxTQg1fDHDq3TLZiwacTq5aFyE5lmHvyZb5j63PNoerCfuKD1mG3chgPkA w0wL8gui6ZoZbTeCgDiSGToJj7LiWC4HeS1AuCaqef/vVUZg+nF15rbIC22TIa+/1cKczcnZP/Lqc W1n52E2OqNwVaw==; 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 1qNwU5-0003tQ-N1; Mon, 24 Jul 2023 10:24:26 -0400 Date: Mon, 24 Jul 2023 17:25:09 +0300 Message-Id: <831qgxs7y2.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <87v8eaf9lr.fsf@web.de> (message from Michael Heerdegen on Mon, 24 Jul 2023 02:15:28 +0200) Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails References: <87bkg3igto.fsf@web.de> <838rb6tosb.fsf@gnu.org> <87v8eaf9lr.fsf@web.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64795 Cc: 64795@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: Michael Heerdegen > Cc: 64795@debbugs.gnu.org > Date: Mon, 24 Jul 2023 02:15:28 +0200 > > Eli Zaretskii writes: > > > Does the patch below give good results? > > Thanks. Yes, it fixes the man [(1) not completing and not displaying > problem. > > However, man RET TAB displays [No match] now instead of showing all > completion candidates. How about the patch below? > I searched for more problematic characters. I found also "@" not > working, like in "journald@.conf (5)" or > "systemd-backlight@.service (8)". > > I guess we need to add that character as well. That's the only > one I found when looking through the output of "apropos '.'". Thanks, I added that one as well. diff --git a/lisp/man.el b/lisp/man.el index 479bf9f..10ea1c8 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -315,7 +315,7 @@ Man-cooked-hook :type 'hook :group 'man) -(defvar Man-name-regexp "[-[:alnum:]_­+][-[:alnum:]_.:­+]*" +(defvar Man-name-regexp "[-[:alnum:]_­+[@][-[:alnum:]_.:­+]*" "Regular expression describing the name of a manpage (without section).") (defvar Man-section-regexp "[0-9][a-zA-Z0-9+]*\\|[LNln]" @@ -937,7 +937,9 @@ Man-completion-table "-k" (concat (when (or Man-man-k-use-anchor (string-equal prefix "")) "^") - prefix)))) + (if (string-equal prefix "") + prefix + (shell-quote-argument prefix)))))) (setq table (Man-parse-man-k))))) ;; Cache the table for later reuse. (when table From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 21:05:46 2023 Received: (at 64795) by debbugs.gnu.org; 25 Jul 2023 01:05:46 +0000 Received: from localhost ([127.0.0.1]:44385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO6Uj-0004yp-UG for submit@debbugs.gnu.org; Mon, 24 Jul 2023 21:05:46 -0400 Received: from mout.web.de ([212.227.17.12]:47435) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO6Uh-0004yc-EK for 64795@debbugs.gnu.org; Mon, 24 Jul 2023 21:05:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1690247136; x=1690851936; i=michael_heerdegen@web.de; bh=Kzm5zCgFhp27oVQZv52E/FhLap+uuercaCCNiGXassc=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=kJc48Wsc9CMht/lw5mCIYZrNZkAaF8CSpAqC/37315HRWPxznLEYPEuBb6MzIl2uSIfCEQt 9eLIRFikhdlKEyPSpaO5uD6atDj5XsYlFeqxJdvUXTYT0krfsaoDSR2k0w4YbnaCpF59C3rR8 R6Q4Xm67TW9jonHxaBlH7Up9/UA8t74cDjUqd7dAkeeM0+3XtlLLSAigWP4+fv0k2HL6wTBOM qb9y/za/fsNuKCH5x9U23teBkqAiQHcWbsrjUSFudPCrtu/xe3ul8NPi76MJBDdD4BLumwjl7 lKRfCM79+5sNufDgk4ja1W4rQxu3YLlHc1AaYfCYP49PgHsWMOow== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.36]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M8TBS-1qJgdj470K-004suG; Tue, 25 Jul 2023 03:05:36 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails In-Reply-To: <831qgxs7y2.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 24 Jul 2023 17:25:09 +0300") References: <87bkg3igto.fsf@web.de> <838rb6tosb.fsf@gnu.org> <87v8eaf9lr.fsf@web.de> <831qgxs7y2.fsf@gnu.org> Date: Tue, 25 Jul 2023 03:05:34 +0200 Message-ID: <87o7k0u7fl.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:EI815XncPeM1/biOaesskjv8o+c9GUL6sCA3njxOpdVsAjPo+F4 fn6V1L2gDUv4pQRL8JHzagmTqv/412JQ0B8bf86+oX4efZja5WVbg+IdwcC+POUatho+A7x 4+AznqcX8S5YC1yKcIgfwzd+3SaXltFh0EJAXuQ1E6oYoZfik25Ch5fzpB1ALdomE8IPjkp A3Gp1vMbzkm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Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64795 Cc: 64795@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 (-) Eli Zaretskii writes: > How about the patch below? I think it works well now. > -(defvar Man-name-regexp "[-[:alnum:]_=C2=AD+][-[:alnum:]_.:=C2=AD+]*" > +(defvar Man-name-regexp "[-[:alnum:]_=C2=AD+[@][-[:alnum:]_.:=C2=AD+]*" > "Regular expression describing the name of a manpage (without section)= .") And this also works well now. =20=20 > (defvar Man-section-regexp "[0-9][a-zA-Z0-9+]*\\|[LNln]" > @@ -937,7 +937,9 @@ Man-completion-table > "-k" (concat (when (or Man-man-k-use-anchor > (string-equal prefix "")) > "^") > - prefix)))) > + (if (string-equal prefix "") > + prefix > + (shell-quote-argument prefix))))= )) I wonder however: why did you add that `shell-quote-argument' wrapper? I think there is no shell involved. It doesn't seem to have an effect here, but I'm not sure if there are not more problems possible like the one involving the empty string. Or do you expect that some people might set `manual-program' to something involving a shell? Thx, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 25 07:44:36 2023 Received: (at 64795) by debbugs.gnu.org; 25 Jul 2023 11:44:36 +0000 Received: from localhost ([127.0.0.1]:44769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOGSy-0002RW-EQ for submit@debbugs.gnu.org; Tue, 25 Jul 2023 07:44:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOGSu-0002RG-DP for 64795@debbugs.gnu.org; Tue, 25 Jul 2023 07:44:34 -0400 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 1qOGSn-0000pv-OI; Tue, 25 Jul 2023 07:44:25 -0400 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=9BeRl7yLIuxg9CLFYo/dsZfz9hxqY3r8zQLekFFH9t8=; b=VwjDbSLscUec fop+Cb78owyE18HmfGZAPe1X5HVWCbO1Au8ZT+AixrUFeH3o24v5aX5YCnq1Z3ffNqcxOpjvLdKcP mysUbtNpME8reEZO4oWSKsPgdp9/o92UdQWugtsj6Jfgm6etbyhBHTZ4l7wfaAlwcaB3m+JsM+R1h rj+oaQVgEX6igyNcvEvjOQYsK10Mt3y2msanl719VSHYRNu0jH4YSDJuM/p5DI1QGix/CswrZLmSN HKV2OPh6XrZEefju9dXnaNlfh8l/CSecpzuGbfPdXVMbWDk1CZJ/ipN+ON53an7SdNSPJ+gEpfaKM 0yxzbFwbtopcn/8nErNWdg==; 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 1qOGSn-0005Ts-81; Tue, 25 Jul 2023 07:44:25 -0400 Date: Tue, 25 Jul 2023 14:45:09 +0300 Message-Id: <83bkg0qkoq.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <87o7k0u7fl.fsf@web.de> (message from Michael Heerdegen on Tue, 25 Jul 2023 03:05:34 +0200) Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails References: <87bkg3igto.fsf@web.de> <838rb6tosb.fsf@gnu.org> <87v8eaf9lr.fsf@web.de> <831qgxs7y2.fsf@gnu.org> <87o7k0u7fl.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64795 Cc: 64795@debbugs.gnu.org, Stefan Monnier 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: Michael Heerdegen > Cc: 64795@debbugs.gnu.org > Date: Tue, 25 Jul 2023 03:05:34 +0200 > > Eli Zaretskii writes: > > > @@ -937,7 +937,9 @@ Man-completion-table > > "-k" (concat (when (or Man-man-k-use-anchor > > (string-equal prefix "")) > > "^") > > - prefix)))) > > + (if (string-equal prefix "") > > + prefix > > + (shell-quote-argument prefix)))))) > > I wonder however: why did you add that `shell-quote-argument' wrapper? > I think there is no shell involved. It doesn't seem to have an effect > here, but I'm not sure if there are not more problems possible like the > one involving the empty string. > > Or do you expect that some people might set `manual-program' to > something involving a shell? I used shell-quote-argument because it did the job, and was simple. What would be the alternative? We could perhaps use regexp-quote, if we believe the argument to "man -k" is interpreted as an Emacs regexp, but the only reference I have just says "regular expression", and "M-x man" says in the doc string it's an ERE, and I don't believe regexp-quote can handle those reliably. Developing a new function that would quote an ERE was not my intent, but if you or someone else wants to do that, please do. (Btw, is there only one "man -k" variant out there? if not, perhaps others don't accept regexps at all...) Stefan, any suggestions? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 25 23:20:44 2023 Received: (at 64795) by debbugs.gnu.org; 26 Jul 2023 03:20:45 +0000 Received: from localhost ([127.0.0.1]:47294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOV4u-0006Fj-Km for submit@debbugs.gnu.org; Tue, 25 Jul 2023 23:20:44 -0400 Received: from mout.web.de ([212.227.15.3]:34109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOV4s-0006FS-3x for 64795@debbugs.gnu.org; Tue, 25 Jul 2023 23:20:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1690341632; x=1690946432; i=michael_heerdegen@web.de; bh=kalAKDwtNxbZM02vDxVefxVP4RbHtr7Y5lwKYv92ft0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=abVWf6BagYqRa8Umm+xdWiusqNoMeHIrJbeVO7vVBjmQeskiGl8IC/GD5Orag/2Ss2Ulrke RRpWj6E1oszJiF97wWYVWChkOMKCfpCKN9D7mkpLGZQxzv1Ms1DDg4mIHllkMvUYe/hmVxoNw LJ8j2+6sq8WJYtVG7ZH/bOdjzo4kXOb5Ivnvty3mxjOA8Yrxj7lKkt8si+XkSdY5vx5xSxfSF 2/SfOsQGw5y6W2442p1IawCV1EKvZn9UWOM4eVF24qaTOUJ9xbfkFKwdgDyT41EnGbJpQ6Iiu byPiNC49ZSJaQEgJp3Hxpab12lIA9guG6V6Zj1AludQpvPvVwphg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([92.75.138.214]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N6b8s-1poiWE1pc6-0184SZ; Wed, 26 Jul 2023 05:20:32 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails In-Reply-To: <83bkg0qkoq.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 25 Jul 2023 14:45:09 +0300") References: <87bkg3igto.fsf@web.de> <838rb6tosb.fsf@gnu.org> <87v8eaf9lr.fsf@web.de> <831qgxs7y2.fsf@gnu.org> <87o7k0u7fl.fsf@web.de> <83bkg0qkoq.fsf@gnu.org> Date: Wed, 26 Jul 2023 05:20:30 +0200 Message-ID: <87v8e7bbpd.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:pZBNuGCK/9pU4QSPFKIojPenD8mmj7wobl9+Uru/IHr1DS+vP3Y zEMDTIA5wdHFzuOqgEL6gwJ5yN427d7stnf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VcjIyIB DBEffoV0AwiIGdZJoKcg+29c+KKrQQj9ms2zWIp/jLoIcTAYrcO8b1gV+ZeGltkMsXtSEhLrF QsFbtKdMAOcS9Cpbqngf62fkhk4= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 64795 Cc: 64795@debbugs.gnu.org, Stefan Monnier 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 (-) Eli Zaretskii writes: > > I wonder however: why did you add that `shell-quote-argument' wrapper? > > I think there is no shell involved. [...] > > I used shell-quote-argument because it did the job, and was simple. > What would be the alternative? [...] Let's go with your patch. I'm sorry - I was just confused and didn't understand why the quoting was necessary. I was missing that the string will me interpreted as a regexp (although it's obvious...). Michael. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 26 10:31:25 2023 Received: (at 64795-done) by debbugs.gnu.org; 26 Jul 2023 14:31:25 +0000 Received: from localhost ([127.0.0.1]:49769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOfXw-000266-Qr for submit@debbugs.gnu.org; Wed, 26 Jul 2023 10:31:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOfXu-00025o-Db for 64795-done@debbugs.gnu.org; Wed, 26 Jul 2023 10:31:23 -0400 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 1qOfXo-0007OO-R6; Wed, 26 Jul 2023 10:31:16 -0400 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=/NIl9rWqtGsx1sNDM/OHs5nyIBvawZEvU+UXblx7yqU=; b=KgSElLz4u87s MmFg3qxU2WNP0OD3fIjiECrA8vYfgT0oqM6Xs8BilG6pRiJ2DRl3JWnoSg0kId7+/rKRj/erbq7QN HFX67z5LXT9WQy/JhHkeQnty4vygb7rZbqY3R1RljgEW2QD2eKp3GUGFQJtUr6nBjx9lAAPDddFmK DxjwVx5r4s8Pynq1tbuFoIi+QxgUyhM/LD/uZPjmZWoEfgv6goaDD7lp0sGamaAwRlFqNbQsDZ8BO jpJywZm00sIJCVxihJkFz1lmjFWCTXga1CgoAYswZKn5RMs+TvC5YhbWkKO0l7+2SgSIFXi9C7N/O g/RwgG2oZGn6oZk8Sbp5Rg==; 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 1qOfXo-0005mP-8o; Wed, 26 Jul 2023 10:31:16 -0400 Date: Wed, 26 Jul 2023 17:31:59 +0300 Message-Id: <83edkuoiao.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <87v8e7bbpd.fsf@web.de> (message from Michael Heerdegen on Wed, 26 Jul 2023 05:20:30 +0200) Subject: Re: bug#64795: 30.0.50; manual-entry [(1) fails References: <87bkg3igto.fsf@web.de> <838rb6tosb.fsf@gnu.org> <87v8eaf9lr.fsf@web.de> <831qgxs7y2.fsf@gnu.org> <87o7k0u7fl.fsf@web.de> <83bkg0qkoq.fsf@gnu.org> <87v8e7bbpd.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64795-done Cc: 64795-done@debbugs.gnu.org, monnier@iro.umontreal.ca 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: Michael Heerdegen > Cc: 64795@debbugs.gnu.org, Stefan Monnier > Date: Wed, 26 Jul 2023 05:20:30 +0200 > > Eli Zaretskii writes: > > > > I wonder however: why did you add that `shell-quote-argument' wrapper? > > > I think there is no shell involved. [...] > > > > I used shell-quote-argument because it did the job, and was simple. > > What would be the alternative? [...] > > Let's go with your patch. I'm sorry - I was just confused and didn't > understand why the quoting was necessary. I was missing that the string > will me interpreted as a regexp (although it's obvious...). Thanks, installed on master, and closing the bug. I added a comment there regarding the use of shell-quote-argument, for posterity. From unknown Thu Aug 14 22:24:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 24 Aug 2023 11:24:13 +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