X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: asocial-hired.0l@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 27 Apr 2023 21:12:01 +0000 Resent-Message-ID: <handler.63132.B.168262987428683 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 63132 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.168262987428683 (code B ref -1); Thu, 27 Apr 2023 21:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2023 21:11:14 +0000 Received: from localhost ([127.0.0.1]:59917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ps8tW-0007SZ-5B for submit <at> debbugs.gnu.org; Thu, 27 Apr 2023 17:11:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:58536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <asocial-hired.0l@HIDDEN>) id 1ps8tR-0007SO-J9 for submit <at> debbugs.gnu.org; Thu, 27 Apr 2023 17:11: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 <asocial-hired.0l@HIDDEN>) id 1ps8tR-0005y0-9m for bug-gnu-emacs@HIDDEN; Thu, 27 Apr 2023 17:11:09 -0400 Received: from ms11p00im-qufo17281901.me.com ([17.58.38.56]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <asocial-hired.0l@HIDDEN>) id 1ps8tO-0005Oa-S2 for bug-gnu-emacs@HIDDEN; Thu, 27 Apr 2023 17:11:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1682629856; bh=e8sSL0W1eLcKwBcwAS23WCT6xB/6pRmtpC3GAvAkkbQ=; h=from:Content-Type:Mime-Version:Subject:Message-Id:Date:to; b=FzBhKQrrwH/AyQtolT6yNPrhMDVxP1o5q8jJZCq6jKXw4AxsSP47MXiZcEKNatdps TFmABvfGmgiSQT4H5XzZ7j6v8X1P3LovFvRT9E5neqlLQ/acuD4oiLhRfnVk5Dq/fh 7Sg8nzo9O+qkgAcokH3j2oBoXMOzPlOh3C+tN845GwVT/yZ8tFEXYAedP0S1j1UlwQ bD7ruyJkjBateoQYEmZwNU3ZJGcATpLOyJ9hSIq17JL9ZND69j7Obp1oR53ONnfLrt Ay3dIuHJeYJiIlkuB9QA9ucGW2XI1S+JBTyH/pf3ixJ1d3exePMN9bylWouRASy4+s SfF8AuldCsK+A== Received: from ms11p00im-qufo17281901.me.com (ms11p00im-qufo17281901.me.com [17.58.38.56]) by ms11p00im-qufo17281901.me.com (Postfix) with ESMTPS id 843ADD8038C for <bug-gnu-emacs@HIDDEN>; Thu, 27 Apr 2023 21:10:55 +0000 (UTC) Received: from ms13p00im-qukt33112102.me.com (ms11p00im-dlb-asmtpoutvip.me.com [10.52.196.131]) by ms11p00im-qufo17281901.me.com (Postfix) with ESMTP id 6B42AD802F8 for <bug-gnu-emacs@HIDDEN>; Thu, 27 Apr 2023 21:10:55 +0000 (UTC) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by ms13p00im-qukt33112102.me.com (Postfix) with ESMTPS id DF108C008A2 for <bug-gnu-emacs_at_gnu_org_pp7945cxc2c3dx_xcdj9216@HIDDEN>; Thu, 27 Apr 2023 21:10:52 +0000 (UTC) X-ICL-SCORE: 3.033033230041 X-ICL-INFO: GAtbVUseBlFGSVVESgMGUkFIRFcUWUIPAApbVRYSFhEAREQZF15TQFUcAkpaUUQWEBwIRkgABiIS FAceFB5VDRhbRhEcDRQLFhUJAhweVQ0YW0YEEUALQEdJX1lABRhQRE9IQ0ESFgoQFQlKWl1XCxlU Fh1JHVBWTFcBGBdXWgdbGgkaWhBGFgdERBoZWVpPBRNXWh4ED0wSFgkQFFUYARoURFccVAtAEhQH HhQeVQ0YW0YaEVQLQElBVjNKdHMmQFRVNUwBG1YzSCdaQHIBJ1hAIEc7BAJSQ05SQUlwUQ8UEApZ G19bXFdZFBRFElQXElQBGQ0dUw8UGhUoGURpBRsMORgKV2kSBU5fQ01TTgFHGlUTAG9OARETX0VJ BnYLFhUJAhweVQ0YWw== Authentication-Results: bimi.icloud.com; bimi=skipped reason="insufficient dmarc" X-ARC-Info: policy=fail; arc=none Authentication-Results: arc.icloud.com; arc=none Authentication-Results: dmarc.icloud.com; dmarc=pass header.from=gmail.com X-DMARC-Info: pass=pass; dmarc-policy=none; s=r1; d=r1; pdomain=gmail.com X-DMARC-Policy: v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@HIDDEN Authentication-Results: dkim-verifier.icloud.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ggG87Gj3 Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-24704a7bf34so7778199a91.1 for <bug-gnu-emacs_at_gnu_org_pp7945cxc2c3dx_xcdj9216@HIDDEN>; Thu, 27 Apr 2023 14:10:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682629852; x=1685221852; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e8sSL0W1eLcKwBcwAS23WCT6xB/6pRmtpC3GAvAkkbQ=; b=I/DgpC8ZwgwMe+eq/MY2HCcM2GQ6znWujhStqoIriBbjVsuZYTj+/PRL4T7BjIuZ1Y Trza3EpWJqbz3fCBJ6uwIVF6JSvHbj5244npFNJKEQVDhyrrWop/PxVoHvozz3/qoZsj WWuEliZHnGoFsMkDAu1wrdrWPzAhByudkTr6zNdtbvgwwGY6gKijyAo4LcCL0HZgbZEw A63YYbgoWIXg4K2oOw6FdveWGeyEcqyFOwhsmpeP+hJDpTKlif1iNl0od8QV5F7IJ89X S0UyP3qBl4rpoc/vBEYyl6UZYtzqnb2q4E1sUxHtd+MaNiwBm2FlJHPR7deN4zc6M/w9 CZcA== X-Gm-Message-State: AC+VfDyFWO83lZW8a5yBBd7i0ZkQO0nKhEWwrecLmSlU5BRywQ5OmWJz EZ2GHCb4hynpWUT+pc48zOTKkMOoo2WXRg== X-Google-Smtp-Source: ACHHUZ48z2EG/mSVF58daLB5Iet9nIIMzCK4OUvinkL/VLZdFWCYek+vdg/RRA/fJCOwOPyDGxzELQ== X-Received: by 2002:a17:90a:fc84:b0:247:2680:4090 with SMTP id ci4-20020a17090afc8400b0024726804090mr3279370pjb.11.1682629851789; Thu, 27 Apr 2023 14:10:51 -0700 (PDT) Received: from smtpclient.apple ([2607:f010:2a7:2:c2d:11f3:1efd:e23]) by smtp.gmail.com with ESMTPSA id e5-20020a17090a630500b002478d21de2bsm190685pjj.36.2023.04.27.14.10.50 for <bug-gnu-emacs_at_gnu_org_pp7945cxc2c3dx_xcdj9216@HIDDEN> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Apr 2023 14:10:51 -0700 (PDT) from: asocial-hired.0l@HIDDEN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Message-Id: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> Date: Thu, 27 Apr 2023 14:10:40 -0700 X-Mailer: Apple Mail (2.3731.500.231) X-Proofpoint-GUID: P0KWlv0zYqtVqwdzk1i9nybVBtNyykhz X-Proofpoint-ORIG-GUID: P0KWlv0zYqtVqwdzk1i9nybVBtNyykhz X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.425,18.0.816,17.0.605.474.0000000 definitions=2022-01-18_01:2022-01-14_01,2022-01-18_01,2020-01-23_02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=731 suspectscore=0 phishscore=0 clxscore=1011 spamscore=0 adultscore=0 malwarescore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2304270186 Received-SPF: pass client-ip=17.58.38.56; envelope-from=asocial-hired.0l@HIDDEN; helo=ms11p00im-qufo17281901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.3 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Hello, I am running latest emacs, built today (./configure = =E2=80=94with-native-compilation =E2=80=94without-pop). This is also bug = in earlier versions. When running `M-x man <RET> command-name ` where this is a command-name = followed by a space, MacOS Ventura emacs in some cases lags heavily and = some cases crashes. I find through investigation, for example, when it is `M-x man <RET> 2[ = ]`, 2 followed by a space, it performs the equivalent =E2=80=98man -k = ^=E2=80=99 and =E2=80=98man -k ^2=E2=80=99 internally. On my Linux VM, = running 5.14.8-arch1-1, this is a non-issue, and speaking to others on = Linux systems, it is also a non-issue there.=20 I have fixed this temporarily on my MacOS machine by giving man advice; = however, this same advice causes man not to work on my Linux VM. Currently, it is a non-issue for me, but I would like to report it = nonetheless. Best, An emacs user=
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: asocial-hired.0l@HIDDEN Subject: bug#63132: Acknowledgement (Bug on Darwin MacOS with 'M-x man RET commandname[ ]') Message-ID: <handler.63132.B.168262987428683.ack <at> debbugs.gnu.org> References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> X-Gnu-PR-Message: ack 63132 X-Gnu-PR-Package: emacs Reply-To: 63132 <at> debbugs.gnu.org Date: Thu, 27 Apr 2023 21:12:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 63132 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 63132: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63132 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 28 Apr 2023 06:05:01 +0000 Resent-Message-ID: <handler.63132.B63132.168266187427232 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: asocial-hired.0l@HIDDEN Cc: 63132 <at> debbugs.gnu.org Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.168266187427232 (code B ref 63132); Fri, 28 Apr 2023 06:05:01 +0000 Received: (at 63132) by debbugs.gnu.org; 28 Apr 2023 06:04:34 +0000 Received: from localhost ([127.0.0.1]:60359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1psHDe-00075A-2U for submit <at> debbugs.gnu.org; Fri, 28 Apr 2023 02:04:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1psHDZ-00074u-WA for 63132 <at> debbugs.gnu.org; Fri, 28 Apr 2023 02:04: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 <eliz@HIDDEN>) id 1psHDS-0005J0-N4; Fri, 28 Apr 2023 02:04:24 -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=pWkeIBjEtqkWK3cpvibpLIZ+LB/bv8ds3q1+6vZUyys=; b=IlvLiznlcgyfoa0vkLSw MAYmej7g48pucCbeFP0n2w/8/2JMN45Oi8bt6Ex3+q/vsF5PdtUe9v5xEeMYWFI8fS70dhyMlJrq6 qwYMASreG7oETSZ40aIAv6fdjD8tbV/Xe8nIVs197TMG5ormX2fc+m4V73og1d5owGVWevNXyDH2j 9Ptq1YeE5KrzFAHDO+Dj3lfOG8m+UDB3FN/3qacOkaNFMG6aESF2+itBxOTSm9IssemRK+rBlZmez kz/CiHTVUXWXIhF/KcdY1HpHOnzatBOypTZ2yZwWrOUT2Nd5BQP1KYMrM26XlFlXPt9YypDWPjDVG 7ksPVw/MB5tLLA==; 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 <eliz@HIDDEN>) id 1psHDM-0004oc-IX; Fri, 28 Apr 2023 02:04:17 -0400 Date: Fri, 28 Apr 2023 09:04:50 +0300 Message-Id: <837ctwsfst.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> (bug-gnu-emacs@HIDDEN) References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 27 Apr 2023 14:10:40 -0700 > From: asocial-hired.0l--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > Hello, > > I am running latest emacs, built today (./configure —with-native-compilation —without-pop). This is also bug in earlier versions. > > When running `M-x man <RET> command-name ` where this is a command-name followed by a space, MacOS Ventura emacs in some cases lags heavily and some cases crashes. > > I find through investigation, for example, when it is `M-x man <RET> 2[ ]`, 2 followed by a space, it performs the equivalent ‘man -k ^’ and ‘man -k ^2’ internally. On my Linux VM, running 5.14.8-arch1-1, this is a non-issue, and speaking to others on Linux systems, it is also a non-issue there. > > I have fixed this temporarily on my MacOS machine by giving man advice; however, this same advice causes man not to work on my Linux VM. > > Currently, it is a non-issue for me, but I would like to report it nonetheless. Thanks. Does the patch below give good results? diff --git a/lisp/man.el b/lisp/man.el index 479bf9f..02be396 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -664,10 +664,9 @@ Man-build-man-command (defun Man-translate-cleanup (string) "Strip leading, trailing and middle spaces." (when (stringp string) - ;; Strip leading and trailing - (if (string-match "^[ \t\f\r\n]*\\(.+[^ \t\f\r\n]\\)" string) - (setq string (match-string 1 string))) - ;; middle spaces + ;; Strip leading and trailing spaces. + (setq string (string-trim string "[ \t\f\r\n]" "[ \t\f\r\n]")) + ;; Remove middle spaces. (setq string (replace-regexp-in-string "[\t\r\n]" " " string)) (setq string (replace-regexp-in-string " +" " " string)) string))
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 28 Apr 2023 07:50:02 +0000 Resent-Message-ID: <handler.63132.B63132.16826681576098 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: asocial-hired.0l@HIDDEN Cc: 63132 <at> debbugs.gnu.org Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16826681576098 (code B ref 63132); Fri, 28 Apr 2023 07:50:02 +0000 Received: (at 63132) by debbugs.gnu.org; 28 Apr 2023 07:49:17 +0000 Received: from localhost ([127.0.0.1]:60424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1psIqz-0001aI-8v for submit <at> debbugs.gnu.org; Fri, 28 Apr 2023 03:49:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1psIqx-0001a3-Al for 63132 <at> debbugs.gnu.org; Fri, 28 Apr 2023 03:49:15 -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 <eliz@HIDDEN>) id 1psIqr-0005Mt-RO; Fri, 28 Apr 2023 03:49:09 -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=fCvroG3Qp+qwjEbV9PGpkeYGp6vEK+lZpEG0eQjQbkE=; b=Fo2N5NdFPhTt 6w9znIjfm3ISE+ZBf/JIaWMcWt9v7EGZbZtoi+yHmdsguRHleN3JB2+LTQrgH3la5JDBfWtMtN+gw 0AGljVg3hnjOT0BiKF1xbeOsXVkDW1+F5+9TKn3xTnO+HEs00j9duFAu+NiptZkfsKMcsTN0ru6Pv H8EaRyITlELMBKjwLWRXKh30yf0ql1bANO/zAOFDKGmbhoWwaSya1udL7ZUtEARzCa4DPsmBDidPK l8wVKxK3iUtF/AC+SxHka3S1YeiDd0Gal04W/fxjFBTgZoJ6zbUpNky9yv+Xah5CUGoG/Unr4EY5k CuzCG9Qogf+LBEky1Kin8A==; 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 <eliz@HIDDEN>) id 1psIqe-0000Mc-9V; Fri, 28 Apr 2023 03:49:09 -0400 Date: Fri, 28 Apr 2023 10:49:30 +0300 Message-Id: <831qk4sayd.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> (asocial-hired.0l@HIDDEN) References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) [Please use Reply All tp keep the bug address onm the CC list.] > from: asocial-hired.0l@HIDDEN > Date: Fri, 28 Apr 2023 00:26:40 -0700 > > Unfortunately not. The lag is still noticeable. Here is the advice function that resolved the issue on > MacOS: I don't understand. I thought the problem was that trailing whitespace in "2 " was being passed to the 'man' command? Are you saying the fix still leaves the trailing whitespace in the argument? Can you show the exact step by step recipe for reproducing the problem starting from "emacs -Q"? That is, what exactly do you type to reproduce the problem? > (define-advice man (:around (orig-func &rest args) no-completing-read) > > "Inhibit `completing-read'." Please tell what is wrong with the arguments passed to the 'man' commands, so I could think about fixing that without any advices. Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 28 Apr 2023 10:44:02 +0000 Resent-Message-ID: <handler.63132.B63132.168267858727146 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: asocial-hired.0l@HIDDEN Cc: 63132 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.168267858727146 (code B ref 63132); Fri, 28 Apr 2023 10:44:02 +0000 Received: (at 63132) by debbugs.gnu.org; 28 Apr 2023 10:43:07 +0000 Received: from localhost ([127.0.0.1]:60550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1psLZC-00073m-O3 for submit <at> debbugs.gnu.org; Fri, 28 Apr 2023 06:43:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1psLZ8-00073D-GR for 63132 <at> debbugs.gnu.org; Fri, 28 Apr 2023 06:43:05 -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 <eliz@HIDDEN>) id 1psLZ2-000247-9w; Fri, 28 Apr 2023 06:42:56 -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=pf+n3q7nBh2Z01DoH2vgBqgEkyaz2W4td79mV3afuzU=; b=McgxT9lj8IxH VuKyPnxQxD1hp2qw5VzN6GUX1x10+/0oTFSbMmZjGB2e63c9BNnbuq0CwQkoWGPGZZD4dkooI5Kxh mVtt2gtAM4VSwSs79XGQeBR3zInpvQgJRsSzGpMMJ8yGawia1fSZh9i/ZPotgouMLEjsB9KYfq99l hMYD2Qp4NGly55jHLSCvmFL6IGgIkGDE+ZcOA5qFy9pAVx1Ws3fiKaM+/JlHOhkNcPAUgwumlbWBo lnypQiFp9MexGavR/GMOSia/tqSdZIu9SaZmgWzpRKfiXPGpiHI2A2w3fUcfAbIcxRXDO9iI9EVfT kBGD/LkCEj1j+eAmN+bhhQ==; 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 <eliz@HIDDEN>) id 1psLZ1-0000C5-Fe; Fri, 28 Apr 2023 06:42:55 -0400 Date: Fri, 28 Apr 2023 13:43:30 +0300 Message-Id: <83wn1wqobx.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <831qk4sayd.fsf@HIDDEN> (message from Eli Zaretskii on Fri, 28 Apr 2023 10:49:30 +0300) References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 63132 <at> debbugs.gnu.org > Date: Fri, 28 Apr 2023 10:49:30 +0300 > From: Eli Zaretskii <eliz@HIDDEN> > > > (define-advice man (:around (orig-func &rest args) no-completing-read) > > > > "Inhibit `completing-read'." > > Please tell what is wrong with the arguments passed to the 'man' > commands, so I could think about fixing that without any advices. I think I understand the issue now: it happens inside Man-completion-table, right? But then I don't understand the situation: why would someone type "M-x man RET 2 ", with the trailing space? Is this simply a mistake on behalf of the user? Stefan, any ideas how we can catch this situation? I don't think we can blindly remove the trailing whitespace, since this could be meaningful in completion?
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Arteen1000 <arteen1000@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 29 Apr 2023 01:21:02 +0000 Resent-Message-ID: <handler.63132.B63132.16827312421235 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz_at_gnu_org_pp7ae4cxcc7edx_x8aj9216@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16827312421235 (code B ref 63132); Sat, 29 Apr 2023 01:21:02 +0000 Received: (at 63132) by debbugs.gnu.org; 29 Apr 2023 01:20:42 +0000 Received: from localhost ([127.0.0.1]:34751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1psZGU-0000Jo-1c for submit <at> debbugs.gnu.org; Fri, 28 Apr 2023 21:20:42 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:60540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <arteen1000@HIDDEN>) id 1psPrx-00070C-13 for 63132 <at> debbugs.gnu.org; Fri, 28 Apr 2023 11:18:45 -0400 Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1a682eee3baso739835ad.0 for <63132 <at> debbugs.gnu.org>; Fri, 28 Apr 2023 08:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682695119; x=1685287119; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:content-transfer-encoding:from:to:cc:subject:date :message-id:reply-to; bh=VXjOYjgws27axn0q6kfPNvAIUJa8WRn6VSGXljD9AjE=; b=RqZ/vK8TZgN6CkPMOd8vf1dQzVowRfKqwEtWTTbvf9tyHMLs0YwGpuYkntgJCSxZhc h7InSl+zwHPMknQMbouwWmDCjnAFYSKnM80OAWoTx7dGdCASGBOQerz6npf4zeDpMKTF bcDA6ZmxYmIh6HwJzld12x2XFp3oUW3FUCyjtWojfqeXkRhH4Ie41dQFUCy/S/wZXLgX KLBLg5v+pylWGYDdUrMOQkSOx5LXBjOHdNC5GDnhE9ye35bqfGX4gwKPmfOPj7crgD+f ZfGvq5nPg8xTRIm97FcsVUeI8juiATjgNXBZ8foUrcJm642W3TKvXiK+CLnrvvofqged 7k/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682695119; x=1685287119; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VXjOYjgws27axn0q6kfPNvAIUJa8WRn6VSGXljD9AjE=; b=WLX2c/arLcbqT8NoM+oGj6Amqaof5RwLYoyy/FuCuKOl70v+RsJx4F3BRrBMCk6Wml Q5XOaMp/YdtVZNJEAXlQU64ly9A+2yHWZCBor/gjymnZ/4tqRrnDCf7nhAFv8jYX6MKz Egy3JOaO6wVLm5cUd0TEIdMYs8+YsuHS/OjXisbbgqX0wmmkoJDS5Ku0VZ/vTP9P3P/N wKILy3rSj46Mu9+QCLrlJKOpTd9lKj+9CuB8XQkgJGVJXHttUC5GSZ/jAovEhzoi4T/h bTPFWyuK0jd/17GfcKI5phTbcdm03cZuzbsb+H2ptxRAFXbdPvO208CW20TB7ESN9uMS 0j0w== X-Gm-Message-State: AC+VfDwFOKpkp1xnLYLfrmrCFj80iznRe5e2WIzdSx4btqcN5icBF67z lR/nSa30IEFM3KkqCJsAY8c= X-Google-Smtp-Source: ACHHUZ6IMNUfIduL8ezveNpGUgCywcRBFNLVPg+SffrOOJb/oBwT3FZcCBG0amQOrLKIUoIGZJYd8A== X-Received: by 2002:a17:903:41c1:b0:1a2:9ce6:6483 with SMTP id u1-20020a17090341c100b001a29ce66483mr6109598ple.64.1682695118901; Fri, 28 Apr 2023 08:18:38 -0700 (PDT) Received: from smtpclient.apple ([2607:f010:2a7:9:1c5e:903d:99b5:3d14]) by smtp.gmail.com with ESMTPSA id h2-20020a170902f7c200b001a072aedec7sm13466697plw.75.2023.04.28.08.18.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Apr 2023 08:18:38 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) From: Arteen1000 <arteen1000@HIDDEN> In-Reply-To: <83wn1wqobx.fsf@HIDDEN> Date: Fri, 28 Apr 2023 08:18:27 -0700 Message-Id: <C37FAE4A-0F7E-4B65-809A-807EAF50AD8A@HIDDEN> References: <83wn1wqobx.fsf@HIDDEN> X-Mailer: iPhone Mail (20D67) X-Spam-Score: 0.3 (/) X-Mailman-Approved-At: Fri, 28 Apr 2023 21:20:39 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) The reason I do it is to get the =E2=80=98man 2 read=E2=80=99 page. I believ= e the issue is primarily caused by call to =E2=80=98man -k ^2=E2=80=99 and =E2= =80=98man -k ^=E2=80=99 from Man-completion-table but I am unsure. The advic= e defined doesn=E2=80=99t work on Linux VM (makes it crash) but works on Mac= OS, so I am not sure why exactly this is. > On Apr 28, 2023, at 3:43 AM, Eli Zaretskii <eliz@HIDDEN> wrote: >=20 > =EF=BB=BF >>=20 >> Cc: 63132 <at> debbugs.gnu.org >> Date: Fri, 28 Apr 2023 10:49:30 +0300 >> From: Eli Zaretskii <eliz@HIDDEN> >>=20 >>> (define-advice man (:around (orig-func &rest args) no-completing-read) >>>=20 >>> "Inhibit `completing-read'." >>=20 >> Please tell what is wrong with the arguments passed to the 'man' >> commands, so I could think about fixing that without any advices. >=20 > I think I understand the issue now: it happens inside > Man-completion-table, right? >=20 > But then I don't understand the situation: why would someone type > "M-x man RET 2 ", with the trailing space? Is this simply a mistake > on behalf of the user? >=20 > Stefan, any ideas how we can catch this situation? I don't think we > can blindly remove the trailing whitespace, since this could be > meaningful in completion?
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 01 May 2023 16:31:02 +0000 Resent-Message-ID: <handler.63132.B63132.168295865126785 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.168295865126785 (code B ref 63132); Mon, 01 May 2023 16:31:02 +0000 Received: (at 63132) by debbugs.gnu.org; 1 May 2023 16:30:51 +0000 Received: from localhost ([127.0.0.1]:40917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptWQM-0006xw-VB for submit <at> debbugs.gnu.org; Mon, 01 May 2023 12:30:51 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1ptWQJ-0006xf-54 for 63132 <at> debbugs.gnu.org; Mon, 01 May 2023 12:30:49 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D74994418C4; Mon, 1 May 2023 12:30:41 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 86FEC44174C; Mon, 1 May 2023 12:30:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1682958640; bh=XQivNgCX1dOLjKGlnvXHJiQnqmNeFCel6lN/OoPf92Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=F3ssinhVg6wKdb8gPG3muwP5HUNzFM4wojtS9eE+CwYeP1VCixNCr5OKPPGlu6CcW aO/JuD1PjLDABRe+ePOn0ruX9iar/g2hB5lfjvWdx1SAMgO+zY20KrLMQCxQY5G36D h+nAWg8Kzh4OPYfq6wx3LIm9vNFBkzAWI9ZKQ9ntsldQFltbhYn+063DtqLWlyAZKN t7MDD7FVGb9sC9lMEgwlKLP/d87mAJSzCeDUvM51xL0QaeNTmqFM9Gmy9GwQ3B1jSc B7Tfb1S6xQGZnKu4UWrLpqkuLbJaI9T5yQ0moryADmLJGFbbgR3R8wgtPDGaD7xwrI /fL4GJrm1UVuA== Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 58DFA1203FF; Mon, 1 May 2023 12:30:40 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <83wn1wqobx.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 28 Apr 2023 13:43:30 +0300") Message-ID: <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> Date: Mon, 01 May 2023 12:30:39 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.080 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > But then I don't understand the situation: why would someone type > "M-x man RET 2 ", with the trailing space? Is this simply a mistake > on behalf of the user? `M-x man` accepts various special syntaxes in the minibuffer, such as `2 read` to mean "read the manpage for `read` in the 2nd section" (i.e. syscalls), like Arteen1000 mentions. So `M-x man RET 2 SPC TAB` should (hopefully) list all the section 2's manpages. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 01 May 2023 16:57:01 +0000 Resent-Message-ID: <handler.63132.B63132.168296021129989 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.168296021129989 (code B ref 63132); Mon, 01 May 2023 16:57:01 +0000 Received: (at 63132) by debbugs.gnu.org; 1 May 2023 16:56:51 +0000 Received: from localhost ([127.0.0.1]:40949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptWpW-0007nd-LE for submit <at> debbugs.gnu.org; Mon, 01 May 2023 12:56:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ptWpU-0007nO-VI for 63132 <at> debbugs.gnu.org; Mon, 01 May 2023 12:56:49 -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 <eliz@HIDDEN>) id 1ptWpP-0005cR-J3; Mon, 01 May 2023 12:56:43 -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=C/aC/Ax0jO2d4Xvy4hGK6XLrK2UqmiKXzT3r0byJ7cQ=; b=aYAVj/N3+wbZ No4/cKqkYGf7Z4BMA1mRB0kpMPaa96iZODb5+5qsZKPZf5Z43Zpwfy9OEppub7jRc1VtwH7I4sMrE TZSMX1d5vKLsLehGzk4SloKnxzJ6SwTwtZ8XRCVU4iFGpl/06lWdcp1U4reuxGJICsYClCWDQ5dp5 ZanokVAx/I7PJcjQvLVMT05JE9YFknLbPDctZpbz6T3pleIwf8Fha2+3rf4JfpphrJzkk+o2ARjdq B3WUnGGcI08RYzQCumd40iz1EZAlvcNPgCL5D1q4bJ0xfusBD16Au/mkQqW5IJTrK0uUTGCsRjlEo dT1ZSRA9Iw3u3v7fufN0FQ==; 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 <eliz@HIDDEN>) id 1ptWpO-0001vc-Ph; Mon, 01 May 2023 12:56:43 -0400 Date: Mon, 01 May 2023 19:57:26 +0300 Message-Id: <83jzxsng5l.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Mon, 01 May 2023 12:30:39 -0400) References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: asocial-hired.0l@HIDDEN, 63132 <at> debbugs.gnu.org > Date: Mon, 01 May 2023 12:30:39 -0400 > > > But then I don't understand the situation: why would someone type > > "M-x man RET 2 ", with the trailing space? Is this simply a mistake > > on behalf of the user? > > `M-x man` accepts various special syntaxes in the minibuffer, such as > `2 read` to mean "read the manpage for `read` in the 2nd section" > (i.e. syscalls), like Arteen1000 mentions. > > So `M-x man RET 2 SPC TAB` should (hopefully) list all the section > 2's manpages. So you are saying the lags here are unavoidable?
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 01 May 2023 18:04:01 +0000 Resent-Message-ID: <handler.63132.B63132.16829642314702 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16829642314702 (code B ref 63132); Mon, 01 May 2023 18:04:01 +0000 Received: (at 63132) by debbugs.gnu.org; 1 May 2023 18:03:51 +0000 Received: from localhost ([127.0.0.1]:40985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptXsM-0001Dm-Lp for submit <at> debbugs.gnu.org; Mon, 01 May 2023 14:03:51 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1ptXsK-0001DX-D2 for 63132 <at> debbugs.gnu.org; Mon, 01 May 2023 14:03:49 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E44C51000DD; Mon, 1 May 2023 14:03:42 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id B9CB31000A3; Mon, 1 May 2023 14:03:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1682964221; bh=c4exqEySLuQSzEQPGIvngoof89pco+quwenotzSeZco=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=pu4WRY99G6W1rZ7McKPXZ2qeb2GgYBS/dg9y13iWVQNEEZEhWCeSBZraLlLir9Bnt NQDSfyES/iAsw5gxSzXRW5ZaSGF57B5mWviaeW/LrxO94yJD6G+D52Qiz4dttRN+Mj LtHNtp436vNFatZj//0kV50ZirtS3ti6rYCqVab0rP2r7u80bf+vaVdyMRXmfFwQOg FBY9a1nVF5IP0xDoHYr3YdRomvmd62kC5wtGlnvq4o25l4GCa9PoQR7zcjW6RU0A0b etxI52o68KZS0LdoiZp0oWoWOsxSoaMa7fgi3isnmW0KK5AtKBEJUuEORUJ6XsqBOm mmmzASXF0nGQA== Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 855BD12044C; Mon, 1 May 2023 14:03:41 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <83jzxsng5l.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 01 May 2023 19:57:26 +0300") Message-ID: <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> Date: Mon, 01 May 2023 14:03:40 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.060 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >> So `M-x man RET 2 SPC TAB` should (hopefully) list all the section >> 2's manpages. > So you are saying the lags here are unavoidable? I don't know. I don't see any significant lag here. But if that's a problem, maybe we should tweak the system so we only fetch the list when there's at least one char after the space (to keep the list shorter)? The OP mentions Emacs crashing, which points to another problem than mere lag. I can't investigate this because I can't reproduce it here on Debian. And maybe it depends on the system (or more specifically on what kind of `man` program is installed and how it supports `man -k`; e/g. if there's no prebuilt index and `man -k` scans through all the installed troff pages every time)? Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 01 May 2023 18:16:02 +0000 Resent-Message-ID: <handler.63132.B63132.16829649555793 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16829649555793 (code B ref 63132); Mon, 01 May 2023 18:16:02 +0000 Received: (at 63132) by debbugs.gnu.org; 1 May 2023 18:15:55 +0000 Received: from localhost ([127.0.0.1]:40992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptY41-0001VK-2F for submit <at> debbugs.gnu.org; Mon, 01 May 2023 14:15:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ptY3w-0001V2-9e for 63132 <at> debbugs.gnu.org; Mon, 01 May 2023 14:15:51 -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 <eliz@HIDDEN>) id 1ptY3q-0003rG-1X; Mon, 01 May 2023 14:15:42 -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=mGuj41diYVFqFZbZyS1AIKu88VOGwZkVEe9ait0ihUE=; b=jwAbiqiTNf/O qdGiTYViQJlpnMK/seQYWdo6SPvQsgp8fyWyItwShpkt73MKD1HOH0AwN05Lq/t4KMFYFW0VCcxJx dCd9MlKiwqwL+9z1YOFr2MF12ZHXFrwvXVgUkwUQ7k+axB7cL+/xznrJPKqYG4Cm+KNHsuNwqgNog eHDxlagvfK4FVeKHIkuGHxIAr9BWBlU4J6rpu/3ReI3sFZkmnJxvugJrWzRO5rvKTPXqoe2RtG/HJ 3N5qGBDk5yDhVQaEqTHYoIy5dUp6VQ5VxXny5wylaOq34HcRyjt3AVOERtBLXRpGkE0VAWxqhb7tE 0DY+Yr+cBydwASfcY0i97g==; 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 <eliz@HIDDEN>) id 1ptY3o-000174-Pw; Mon, 01 May 2023 14:15:41 -0400 Date: Mon, 01 May 2023 21:16:23 +0300 Message-Id: <83h6svor2g.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Mon, 01 May 2023 14:03:40 -0400) References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: asocial-hired.0l@HIDDEN, 63132 <at> debbugs.gnu.org > Date: Mon, 01 May 2023 14:03:40 -0400 > > >> So `M-x man RET 2 SPC TAB` should (hopefully) list all the section > >> 2's manpages. > > So you are saying the lags here are unavoidable? > > I don't know. I don't see any significant lag here. The OP says it only happens on macOS, not on GNU/Linux. > But if that's a problem, maybe we should tweak the system so we only > fetch the list when there's at least one char after the space (to > keep the list shorter)? Something like that. > The OP mentions Emacs crashing, which points to another problem than > mere lag. I can't investigate this because I can't reproduce it here > on Debian. > > And maybe it depends on the system (or more specifically on what kind of > `man` program is installed and how it supports `man -k`; e/g. if > there's no prebuilt index and `man -k` scans through all the installed > troff pages every time)? Any macOS users out there who could reproduce and debug this?
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eshel Yaron <me@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 02 May 2023 06:34:01 +0000 Resent-Message-ID: <handler.63132.B63132.168300922320796 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.168300922320796 (code B ref 63132); Tue, 02 May 2023 06:34:01 +0000 Received: (at 63132) by debbugs.gnu.org; 2 May 2023 06:33:43 +0000 Received: from localhost ([127.0.0.1]:41550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptja2-0005PM-JP for submit <at> debbugs.gnu.org; Tue, 02 May 2023 02:33:42 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:43140 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1ptjZx-0005P9-Fo for 63132 <at> debbugs.gnu.org; Tue, 02 May 2023 02:33:40 -0400 From: Eshel Yaron <me@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1683009216; bh=HqmP19ubR8Suup5/UV10pdWC8n591Uaku1y0qoBaWAY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XxWt5c5JuwaKr5RtQg+nwO5k+3SjSC/Iiat4ECiu4tX265LLbJxWC9J56oFGfHagM psNBjqoXVrCcl9T3kZlOGIrdttS8atDhD/m2VKQKxzxdILpN6ivkF+02ZW2Y+mlfXH /8YW0aJLMp6c6jqhYaweQ9Ug4EV3CqjjWdcbWU3dz7Qr3XD3QbAJdx4gcgWqipspV6 CGzMJa0u7vfak7OGcWiG6J8nx5cbr+m6zLq1esoD47YYcb47xEFO3jCns4praky2iW wFIdLcO23YeG8fLA4GH2DkRiXfuw5SdnnBfQ7DQzceM8Q/gvtYQMtJileOLrTchJDh XqJxuwfvqZG0A== In-Reply-To: <83h6svor2g.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 01 May 2023 21:16:23 +0300") References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> <83h6svor2g.fsf@HIDDEN> Date: Tue, 02 May 2023 09:33:31 +0300 Message-ID: <m1a5yn2qf8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, Eli Zaretskii <eliz@HIDDEN> writes: >> From: Stefan Monnier <monnier@HIDDEN> >> Cc: asocial-hired.0l@HIDDEN, 63132 <at> debbugs.gnu.org >> Date: Mon, 01 May 2023 14:03:40 -0400 >> >> >> So `M-x man RET 2 SPC TAB` should (hopefully) list all the section >> >> 2's manpages. >> > So you are saying the lags here are unavoidable? >> >> I don't know. I don't see any significant lag here. > > The OP says it only happens on macOS, not on GNU/Linux. > >> But if that's a problem, maybe we should tweak the system so we only >> fetch the list when there's at least one char after the space (to >> keep the list shorter)? > > Something like that. > I can confirm that completion in `M-x man` induces a seconds-long lag on Mac OS. I believe that has been the case, for me, for at least a couple of years. I often find myself typing out the man page name I'm looking for in full and avoiding completion because of this. >> The OP mentions Emacs crashing, which points to another problem than >> mere lag. This I cannot confirm or reproduce. AFAIR I never had Emacs crash while using `M-x man`. >> And maybe it depends on the system (or more specifically on what kind of >> `man` program is installed and how it supports `man -k`; e/g. if >> there's no prebuilt index and `man -k` scans through all the installed >> troff pages every time)? > > Any macOS users out there who could reproduce and debug this? On my i9 Ventura MacBook Pro, just running `man -k read > /dev/null` takes almost 2.5 seconds, it'd seem that's indeed the main cause of this lag in `M-x man` completion. -- Eshel
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 02 May 2023 12:01:02 +0000 Resent-Message-ID: <handler.63132.B63132.16830288243484 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron <me@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, monnier@HIDDEN, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16830288243484 (code B ref 63132); Tue, 02 May 2023 12:01:02 +0000 Received: (at 63132) by debbugs.gnu.org; 2 May 2023 12:00:24 +0000 Received: from localhost ([127.0.0.1]:41867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptogB-0000u5-JH for submit <at> debbugs.gnu.org; Tue, 02 May 2023 08:00:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1ptogA-0000ts-Ff for 63132 <at> debbugs.gnu.org; Tue, 02 May 2023 08:00:22 -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 <eliz@HIDDEN>) id 1ptog4-0005Z2-7U; Tue, 02 May 2023 08:00: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=ld6KsoSN1XGmahdjXfAMnJkrPQbw23c7LQ8yDvG3JrM=; b=LGHYEb4Qxlno 1JKH09RPf/4JpQXmChyijBEsKaFkiZrqBooww++i8m4FiyfIjEd7gQPZVvZTQ7R6F9DxZBn9oUmUR FK+iNwCcmVb57NLZwc1tRz6Jdcga37Bo7KySzWhG79AtnN0x4z/c7DtfhGLS4zTNI+h94wCtLKmI8 tCnaafeAq2GvhPKwysW0V4JpN0bdGLYwrb2TLIAqO9UE6YUCYVaxyz28kvyJJapk+9/A+N8UhN37k 06cUdvcnTzENTLmV2QHJIthizixmgcMQutb6HKtj8+52RO9iqACiwi51OOB3/eNovCkBdac0Dp5HA GjVq2Sus1jyXXJZwSMTOiw==; 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 <eliz@HIDDEN>) id 1ptog2-00083d-2z; Tue, 02 May 2023 08:00:15 -0400 Date: Tue, 02 May 2023 15:00:59 +0300 Message-Id: <83a5ynnds4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <m1a5yn2qf8.fsf@HIDDEN> (message from Eshel Yaron on Tue, 02 May 2023 09:33:31 +0300) References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> <83h6svor2g.fsf@HIDDEN> <m1a5yn2qf8.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Eshel Yaron <me@HIDDEN> > Cc: Stefan Monnier <monnier@HIDDEN>, 63132 <at> debbugs.gnu.org, > asocial-hired.0l@HIDDEN > Date: Tue, 02 May 2023 09:33:31 +0300 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> From: Stefan Monnier <monnier@HIDDEN> > >> Cc: asocial-hired.0l@HIDDEN, 63132 <at> debbugs.gnu.org > >> Date: Mon, 01 May 2023 14:03:40 -0400 > >> > >> >> So `M-x man RET 2 SPC TAB` should (hopefully) list all the section > >> >> 2's manpages. > >> > So you are saying the lags here are unavoidable? > >> > >> I don't know. I don't see any significant lag here. > > > > The OP says it only happens on macOS, not on GNU/Linux. > > > >> But if that's a problem, maybe we should tweak the system so we only > >> fetch the list when there's at least one char after the space (to > >> keep the list shorter)? > > > > Something like that. > > > > I can confirm that completion in `M-x man` induces a seconds-long lag on > Mac OS. I believe that has been the case, for me, for at least a couple > of years. I often find myself typing out the man page name I'm looking > for in full and avoiding completion because of this. Are you saying that any completion in "M-x man" produces a lag? If so, there's nothing we can do here, except suggest that the OP switches to a better OS. The OP seemed to say that the lag happens only for some inputs following "M-x man", in particular those which ends with a space. Is that not what you see?
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eshel Yaron <me@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 02 May 2023 12:53:02 +0000 Resent-Message-ID: <handler.63132.B63132.16830319729011 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 63132 <at> debbugs.gnu.org, monnier@HIDDEN, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16830319729011 (code B ref 63132); Tue, 02 May 2023 12:53:02 +0000 Received: (at 63132) by debbugs.gnu.org; 2 May 2023 12:52:52 +0000 Received: from localhost ([127.0.0.1]:41939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptpUx-0002LH-Qy for submit <at> debbugs.gnu.org; Tue, 02 May 2023 08:52:52 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:37016 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1ptpUv-0002L6-UA for 63132 <at> debbugs.gnu.org; Tue, 02 May 2023 08:52:51 -0400 From: Eshel Yaron <me@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1683031969; bh=txZPsRQUMOv1xndWTvc9fjcJTiUXm2nCLS3qZpm/sRg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=MIY2vHnwqYn7wXSfhjSaN5xATH2SvpPvW44mw+la5VO+F/sa2Ym54IcF3cDUtqm0H uKoSp6OmE58rJTDYUAcfVeyi2dv3vBTU1T9OSAcD2C7fO459+2Hd61OQFHym9Yt5Hu GkBV75judzh+YdWRakWS2DvcsclVeSw+vNcVWbXG5LD4KS5HugUZPQ8rLMliBXDGnv lHQAGwAnqdDaQmKO4A18ZmASz51tPJ5/C3sUE/EMMcyqjSKhdWEx4vblvEhzX6makR mT3/UBab/7ZkAzfTRsISx1SaeukzTGrW/RTeUWPKKtC3ZCdMcTMaLBkR6MFqtNkYba zMdtz5wP/poIQ== In-Reply-To: <83a5ynnds4.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 02 May 2023 15:00:59 +0300") References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> <83h6svor2g.fsf@HIDDEN> <m1a5yn2qf8.fsf@HIDDEN> <83a5ynnds4.fsf@HIDDEN> Date: Tue, 02 May 2023 15:52:44 +0300 Message-ID: <m15y9a3nfn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> I can confirm that completion in `M-x man` induces a seconds-long lag on >> Mac OS. I believe that has been the case, for me, for at least a couple >> of years. I often find myself typing out the man page name I'm looking >> for in full and avoiding completion because of this. > > Are you saying that any completion in "M-x man" produces a lag? If > so, there's nothing we can do here, except suggest that the OP > switches to a better OS. Yes, exactly. I don't know if lag is the right word, but it takes a couple of seconds for Emacs to pop the *Completions* buffer after hitting TAB or SPC or ?, regardless of the current input. > The OP seemed to say that the lag happens only for some inputs > following "M-x man", in particular those which ends with a space. Is > that not what you see? That's not what I see, no. I think OP simply stumbled upon the fact that SPC also invokes completion, which takes a long time in this case.
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 02 May 2023 13:19:02 +0000 Resent-Message-ID: <handler.63132.B63132.168303348511909 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron <me@HIDDEN> Cc: Eli Zaretskii <eliz@HIDDEN>, 63132 <at> debbugs.gnu.org, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.168303348511909 (code B ref 63132); Tue, 02 May 2023 13:19:02 +0000 Received: (at 63132) by debbugs.gnu.org; 2 May 2023 13:18:05 +0000 Received: from localhost ([127.0.0.1]:41975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ptptM-000361-L8 for submit <at> debbugs.gnu.org; Tue, 02 May 2023 09:18:04 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1ptptK-00035X-R5 for 63132 <at> debbugs.gnu.org; Tue, 02 May 2023 09:18:03 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8C9E08091E; Tue, 2 May 2023 09:17:57 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D16B58027A; Tue, 2 May 2023 09:17:55 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1683033475; bh=+UE183spVb/RyoV4wK67O0Ml1e8+z09ONvlbZU8YSiM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ZAu47BTgFpV0bO+IxIRhQSJ0ymK1+6pO8z2CK5bCgAbzlln2f0xbIzYgll1MIsO8P vENxNkTKVuNX8ouUnhAcDO3PL9TDNoeVLNqp50inLpqyeJzDgr/8GuKr1aC7+hBI5f PSpru+Whu5EWX07qmRmu5zAXvjr1D/dUYAVntC/BPI5umQgdvNSXYzhI2Mh5WQGVFX BueKAS5oNXImlLAIFAxyU1KQRq5yruzwnaYM/HqJPaiuJwXvhBSpiuJLq+YLZGFIF+ o2UN/KG4Tn0xC4SFBqBTpcl2di2QFeiaIs6h/3EGzAvmw6Dvj841W/M9GAP+4xwao1 HCqoxjN90BgBQ== Received: from pastel (unknown [45.72.217.176]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 79B2E1202A7; Tue, 2 May 2023 09:17:55 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <m1a5yn2qf8.fsf@HIDDEN> (Eshel Yaron's message of "Tue, 02 May 2023 09:33:31 +0300") Message-ID: <jwv7ctqx4dz.fsf-monnier+emacs@HIDDEN> References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> <83h6svor2g.fsf@HIDDEN> <m1a5yn2qf8.fsf@HIDDEN> Date: Tue, 02 May 2023 09:17:53 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.126 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > On my i9 Ventura MacBook Pro, just running `man -k read > /dev/null` > takes almost 2.5 seconds, it'd seem that's indeed the main cause of this > lag in `M-x man` completion. Hmm... here on my 10 years old desktop running Debian stable it's more like 0.03s. If it's so slow even for situations where the users have already typed `read`, ... hmm ... maybe we should try and make the completion asynchronous or at least abort the `man -k` as soon as the user types something, or add some level of caching...? Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> In-Reply-To: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> Resent-From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= <salutis@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 03 May 2023 11:36:01 +0000 Resent-Message-ID: <handler.63132.B63132.16831137201202 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron <me@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Cc: 63132 <at> debbugs.gnu.org Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16831137201202 (code B ref 63132); Wed, 03 May 2023 11:36:01 +0000 Received: (at 63132) by debbugs.gnu.org; 3 May 2023 11:35:20 +0000 Received: from localhost ([127.0.0.1]:45741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1puAlT-0000JK-Pq for submit <at> debbugs.gnu.org; Wed, 03 May 2023 07:35:20 -0400 Received: from pv50p00im-ztdg10021901.me.com ([17.58.6.55]:41708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <salutis@HIDDEN>) id 1puAlR-0000J2-ME for 63132 <at> debbugs.gnu.org; Wed, 03 May 2023 07:35:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1683113712; bh=g7uDxFNDwBuax5pNBmOETtsEDoD/hb+5ZkkLnW3IDgA=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=DmuaAjKVpo+FtIy7lOZavdvdCQi2hAvUs08g03BsYiySw0RxQVzBg6PWBDNv0az0l KAxnrlIGrPUJ7S+uiXi4WjQocW9QDe6Vbw6hhpeNrqr+gY0ZSIg03c9o/WToDEN/Lt GoXK0SRg5W3QrioTjIO8uiJt3cIxKDUhtRGcDvYy1dWh9F8EhrBbxPBUsH54Y7ZCSN WeVtFa/8Xmf0JuLWEW1yZ8gwosKPNlELx+4a/MoFFDtjaNh73oVymxasrH/DHUCgwK DFjidUtqNtX2SgfheVLRe2LF/XKa3pUVTfj4EsMFwR6qMybo5XL5s31U0AteryhPQo gVMEhp5hbjPJQ== Received: from Rudolfs-MacBook-Air.local (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10021901.me.com (Postfix) with ESMTPSA id 72BC581421; Wed, 3 May 2023 11:35:10 +0000 (UTC) From: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= <salutis@HIDDEN> Date: Wed, 03 May 2023 13:35:07 +0200 Message-ID: <m2cz3hwsus.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: k2zwFCQiEXOJ_Kiq125GGMUNK9tFzo5x X-Proofpoint-GUID: k2zwFCQiEXOJ_Kiq125GGMUNK9tFzo5x X-Proofpoint-Virus-Version: vendor=fsecure engine=1.1.170-22c6f66c430a71ce266a39bfe25bc2903e8d5c8f:6.0.517,18.0.883,17.0.605.474.0000000 definitions=2022-06-21_08:2022-06-21_01,2022-06-21_08,2020-01-23_02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=606 clxscore=1011 malwarescore=0 mlxscore=0 spamscore=0 suspectscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2305030097 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > Yes, exactly. I don't know if lag is the right word, but it takes a > couple of seconds for Emacs to pop the *Completions* buffer after > hitting TAB or SPC or ?, regardless of the current input. The experience is even worse with Icomplete, Vertico, etc. When I start typing after 'M-x man RET', Emacs freezes for good 6 or 7 seconds, and prints "Waiting for process to die...done" in the meantime. This happens on every single lookup. Rudy --=20 "I love deadlines. I love the whooshing noise they make as they go by." -- Douglas Adams, The Salmon of Doubt, 2002 Rudolf Adamkovi=C4=8D <salutis@HIDDEN> [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eshel Yaron <me@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 03 May 2023 12:10:01 +0000 Resent-Message-ID: <handler.63132.B.16831157625515 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 63132 <at> debbugs.gnu.org Cc: eliz@HIDDEN, monnier@HIDDEN, asocial-hired.0l@HIDDEN X-Debbugs-Original-To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> X-Debbugs-Original-Cc: Eli Zaretskii <eliz@HIDDEN>, 63132 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>, asocial-hired.0l@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16831157625515 (code B ref -1); Wed, 03 May 2023 12:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2023 12:09:22 +0000 Received: from localhost ([127.0.0.1]:45809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1puBIP-0001Qs-Md for submit <at> debbugs.gnu.org; Wed, 03 May 2023 08:09:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:35006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1puBIL-0001QX-A5 for submit <at> debbugs.gnu.org; Wed, 03 May 2023 08:09:20 -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 <me@HIDDEN>) id 1puBIK-00015w-7F for bug-gnu-emacs@HIDDEN; Wed, 03 May 2023 08:09:16 -0400 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1puBII-0001gH-LZ; Wed, 03 May 2023 08:09:15 -0400 From: Eshel Yaron <me@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1683115753; bh=R9mGxVkCH/RJo6V8Zv9u2y7Z9nyeWkUslnLjpjIv+XI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GVI3bH9Pp8qrOLut4MiU4nooYoOzb+CcRMWbrCk0gS5x+vKnpjrJpHrlvgQ1B/Ste BnzvMFZEtGnjlnfWwt3pgorgOgkZJWzKlPY8nHDURG+FTd46YvibWkzenzcHiO2UKg K/LnzB3YyIM0DOp+CL/n+hE2/p315Y6WRYKVhHgFcD0iiy4U4ijiD6iLsrTCynSe+o 6B2qeh04B2k0lg146bKQfr7SZUkntPZb/9V2CB7AnyKWS9C4gQheW7wBIwEn2EmkD+ Cugoy8uAVEEik65NJ0qpHmB1vyxEeLUeFdgzjDEIQ/XfJJiJpByUEE5lOIfRXt41kT VIdFZNBF1W35w== In-Reply-To: <jwv7ctqx4dz.fsf-monnier+emacs@HIDDEN> (Stefan Monnier via's message of "Tue, 02 May 2023 09:17:53 -0400") References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> <83h6svor2g.fsf@HIDDEN> <m1a5yn2qf8.fsf@HIDDEN> <jwv7ctqx4dz.fsf-monnier+emacs@HIDDEN> Date: Wed, 03 May 2023 15:09:09 +0300 Message-ID: <m1354dbore.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@HIDDEN; helo=eshelyaron.com 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, SPF_HELO_PASS=-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.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: >> On my i9 Ventura MacBook Pro, just running `man -k read > /dev/null` >> takes almost 2.5 seconds, it'd seem that's indeed the main cause of this >> lag in `M-x man` completion. > > Hmm... here on my 10 years old desktop running Debian stable it's more > like 0.03s. If it's so slow even for situations where the users have > already typed `read`, ... hmm ... maybe we should try and make the > completion asynchronous or at least abort the `man -k` as soon as the > user types something, or add some level of caching...? > Note that there is already some caching in place, but it gets reset between invocations of `M-x man` and it only hits if the previous input for completion is a prefix of the next one. AFAICT Stefan added this caching back in 2009 along with a comment that seems to be relevant still: --8<---------------cut here---------------start------------->8--- On my machine, "man -k" is so fast that a cache makes no sense, but apparently that's not the case in all cases, so let's add a cache. --8<---------------cut here---------------end--------------->8--- Perhaps we could do some more aggressive caching under the condition that "man -k" is really slow (as determined by e.g. some `Man-man-k-slow-p` variable that'd be non-nil by default on macOS)? -- Eshel
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Eshel Yaron <me@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 03 May 2023 12:10:02 +0000 Resent-Message-ID: <handler.63132.B63132.16831157585496 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 63132 <at> debbugs.gnu.org Cc: eliz@HIDDEN, monnier@HIDDEN, asocial-hired.0l@HIDDEN X-Debbugs-Original-To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> X-Debbugs-Original-Cc: Eli Zaretskii <eliz@HIDDEN>, 63132 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.16831157585496 (code B ref 63132); Wed, 03 May 2023 12:10:02 +0000 Received: (at 63132) by debbugs.gnu.org; 3 May 2023 12:09:18 +0000 Received: from localhost ([127.0.0.1]:45807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1puBIM-0001QZ-B4 for submit <at> debbugs.gnu.org; Wed, 03 May 2023 08:09:18 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:56678 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1puBIH-0001QN-HU for 63132 <at> debbugs.gnu.org; Wed, 03 May 2023 08:09:16 -0400 From: Eshel Yaron <me@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1683115753; bh=R9mGxVkCH/RJo6V8Zv9u2y7Z9nyeWkUslnLjpjIv+XI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GVI3bH9Pp8qrOLut4MiU4nooYoOzb+CcRMWbrCk0gS5x+vKnpjrJpHrlvgQ1B/Ste BnzvMFZEtGnjlnfWwt3pgorgOgkZJWzKlPY8nHDURG+FTd46YvibWkzenzcHiO2UKg K/LnzB3YyIM0DOp+CL/n+hE2/p315Y6WRYKVhHgFcD0iiy4U4ijiD6iLsrTCynSe+o 6B2qeh04B2k0lg146bKQfr7SZUkntPZb/9V2CB7AnyKWS9C4gQheW7wBIwEn2EmkD+ Cugoy8uAVEEik65NJ0qpHmB1vyxEeLUeFdgzjDEIQ/XfJJiJpByUEE5lOIfRXt41kT VIdFZNBF1W35w== In-Reply-To: <jwv7ctqx4dz.fsf-monnier+emacs@HIDDEN> (Stefan Monnier via's message of "Tue, 02 May 2023 09:17:53 -0400") References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> <83h6svor2g.fsf@HIDDEN> <m1a5yn2qf8.fsf@HIDDEN> <jwv7ctqx4dz.fsf-monnier+emacs@HIDDEN> Date: Wed, 03 May 2023 15:09:09 +0300 Message-ID: <m1354dbore.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: >> On my i9 Ventura MacBook Pro, just running `man -k read > /dev/null` >> takes almost 2.5 seconds, it'd seem that's indeed the main cause of this >> lag in `M-x man` completion. > > Hmm... here on my 10 years old desktop running Debian stable it's more > like 0.03s. If it's so slow even for situations where the users have > already typed `read`, ... hmm ... maybe we should try and make the > completion asynchronous or at least abort the `man -k` as soon as the > user types something, or add some level of caching...? > Note that there is already some caching in place, but it gets reset between invocations of `M-x man` and it only hits if the previous input for completion is a prefix of the next one. AFAICT Stefan added this caching back in 2009 along with a comment that seems to be relevant still: --8<---------------cut here---------------start------------->8--- On my machine, "man -k" is so fast that a cache makes no sense, but apparently that's not the case in all cases, so let's add a cache. --8<---------------cut here---------------end--------------->8--- Perhaps we could do some more aggressive caching under the condition that "man -k" is really slow (as determined by e.g. some `Man-man-k-slow-p` variable that'd be non-nil by default on macOS)? -- Eshel
X-Loop: help-debbugs@HIDDEN Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 04 May 2023 22:37:01 +0000 Resent-Message-ID: <handler.63132.B63132.168323977216032 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron <me@HIDDEN> Cc: Eli Zaretskii <eliz@HIDDEN>, 63132 <at> debbugs.gnu.org, asocial-hired.0l@HIDDEN Received: via spool by 63132-submit <at> debbugs.gnu.org id=B63132.168323977216032 (code B ref 63132); Thu, 04 May 2023 22:37:01 +0000 Received: (at 63132) by debbugs.gnu.org; 4 May 2023 22:36:12 +0000 Received: from localhost ([127.0.0.1]:52303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1puhYa-0004AW-Je for submit <at> debbugs.gnu.org; Thu, 04 May 2023 18:36:12 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1puhYW-0004AG-Nn for 63132 <at> debbugs.gnu.org; Thu, 04 May 2023 18:36:11 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5FE2710019A; Thu, 4 May 2023 18:36:03 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 107D81000C4; Thu, 4 May 2023 18:36:02 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1683239762; bh=hQEspn98HiA5VIttKnLC5AxzzUHIV6HXLtt/nQ6SJpM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fRzjQrg5gjIxQXAT+GHon2EAREKNqj5GQkfMMIX+Vd1BNtuAnd8AR/fHUxi6lCX1f vVWipaQ9aWRN5VAezUr9P5V12z2k7hKtJCMCftRIR3jkNcgy9j6aazT2gS5fgoJBNG eVYdd/1N6UNq8Uz7FgYe8P//v9OmAXZNiXW0JQRxuMXU+7SxeSU1ZUZX9jgh+vRTtX YslGnDNYyDV+QSqKiyjI8eMk4D0iei+YLu+dr1cFJdERSo+KD/HPqKvEI35XKeMyJv svpZQRXQye5CR9jEp6+1AHY30XwoymIj1H72LNPveqV6YHIpTNagH2WzpPGhsvD+7o RYdvv2qh3upog== Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id F27C512062C; Thu, 4 May 2023 18:36:01 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <m1354dbore.fsf@HIDDEN> (Eshel Yaron's message of "Wed, 03 May 2023 15:09:09 +0300") Message-ID: <jwva5yjspf2.fsf-monnier+emacs@HIDDEN> References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@HIDDEN> <837ctwsfst.fsf@HIDDEN> <D8C28A70-F144-4F14-96E2-72C967D8DB43@HIDDEN> <831qk4sayd.fsf@HIDDEN> <83wn1wqobx.fsf@HIDDEN> <jwvpm7kggpq.fsf-monnier+emacs@HIDDEN> <83jzxsng5l.fsf@HIDDEN> <jwvsfcgexy3.fsf-monnier+emacs@HIDDEN> <83h6svor2g.fsf@HIDDEN> <m1a5yn2qf8.fsf@HIDDEN> <jwv7ctqx4dz.fsf-monnier+emacs@HIDDEN> <m1354dbore.fsf@HIDDEN> Date: Thu, 04 May 2023 18:36:00 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.053 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Perhaps we could do some more aggressive caching under the condition > that "man -k" is really slow (as determined by e.g. some > `Man-man-k-slow-p` variable that'd be non-nil by default on macOS)? I'd hope the root of the problem can be fixed, but I don't think Emacs can fix it on its own, so indeed we may have to come up with some kind of workaround, probably disabling completion for `man` on macOS. Stefan BTW, maybe the slowdown is related to https://discussions.apple.com/thread/250806874 ?
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.