From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63132: Bug on Darwin MacOS with 'M-x man RET commandname[ ]' Date: Tue, 02 May 2023 09:17:53 -0400 Message-ID: References: <80D2DED5-3B41-4F1A-8B7E-9F0C44067461@gmail.com> <837ctwsfst.fsf@gnu.org> <831qk4sayd.fsf@gnu.org> <83wn1wqobx.fsf@gnu.org> <83jzxsng5l.fsf@gnu.org> <83h6svor2g.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18453"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 63132@debbugs.gnu.org, asocial-hired.0l@icloud.com To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 02 15:19:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ptpua-0004Xh-Qg for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 May 2023 15:19:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptpuK-0006nT-DM; Tue, 02 May 2023 09:19:04 -0400 Original-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 1ptpuI-0006n6-OJ for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 09:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptpuI-0007VL-FZ for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 09:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptpuI-00037M-BF for bug-gnu-emacs@gnu.org; Tue, 02 May 2023 09:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 May 2023 13:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63132 X-GNU-PR-Package: emacs Original-Received: via spool by 63132-submit@debbugs.gnu.org id=B63132.168303348511909 (code B ref 63132); Tue, 02 May 2023 13:19:02 +0000 Original-Received: (at 63132) by debbugs.gnu.org; 2 May 2023 13:18:05 +0000 Original-Received: from localhost ([127.0.0.1]:41975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptptM-000361-L8 for submit@debbugs.gnu.org; Tue, 02 May 2023 09:18:04 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptptK-00035X-R5 for 63132@debbugs.gnu.org; Tue, 02 May 2023 09:18:03 -0400 Original-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) Original-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== Original-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) In-Reply-To: (Eshel Yaron's message of "Tue, 02 May 2023 09:33:31 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260924 Archived-At: > 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