From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#4341: 23.1; M-x locate runs synchronously Date: Wed, 04 Nov 2020 12:14:08 +0100 Message-ID: <87pn4tv0fz.fsf@web.de> References: <87y6onr35h.fsf@mail.jurta.org> <87d00u2wyo.fsf@web.de> <87a6vyz0k9.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Tom Tromey , 4341@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 04 12:17:50 2020 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 1kaGnW-0002Vm-G1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Nov 2020 12:17:50 +0100 Original-Received: from localhost ([::1]:37754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaGnV-0004Yq-IS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Nov 2020 06:17:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaGko-00027j-R5 for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 06:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaGko-0000DO-Du for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 06:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kaGko-0002Fr-7l for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 06:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Nov 2020 11:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4341 X-GNU-PR-Package: emacs Original-Received: via spool by 4341-submit@debbugs.gnu.org id=B4341.16044884598586 (code B ref 4341); Wed, 04 Nov 2020 11:15:02 +0000 Original-Received: (at 4341) by debbugs.gnu.org; 4 Nov 2020 11:14:19 +0000 Original-Received: from localhost ([127.0.0.1]:47682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaGk7-0002EQ-33 for submit@debbugs.gnu.org; Wed, 04 Nov 2020 06:14:19 -0500 Original-Received: from mout.web.de ([217.72.192.78]:47771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaGk5-0002EB-Dc for 4341@debbugs.gnu.org; Wed, 04 Nov 2020 06:14:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1604488449; bh=b1zpwNpEaC7AElXniq2locpbcao1kKX6+PMosQsL7pY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OWRNXFvN7gGIcWjzbvkD2GC+NCWoAel9jd5TSHb8UPXjarLUXifZjUNga8s5C0k1a /t+xFh2nZ31BZgHIHaterZwlzJSaRNFCDqYLWXuamZnNdcWiPTG2bhh6gPHczuwYFj GrCijQA44/YoXmTbHzwnJNGRFKtK0imCMEGka1Mg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([188.98.110.121]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1N62yY-1kGRgX0p4q-016aac; Wed, 04 Nov 2020 12:14:09 +0100 In-Reply-To: <87a6vyz0k9.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 03 Nov 2020 21:45:42 +0200") X-Provags-ID: V03:K1:GG46OkoLu8H7GVMg+cWra1pvGzJc4AD6ZUJTnDQueUjrMEwVQIh K45w6RxpARhUWYy+SWTeDMx4TXURRLHCoLhcW6TkhF7IXj+ar0oAc4NtTyLxlfwU9ZNnWOw SoFnMgRtVGb+fRe+jILziqvXUARR+X/TCgwDzj9dZ14ejICVD0sST+m805gFtvFOwkNR0xt 3/QZ+jUfvKIjkz7Wl+soQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:pmB1/u+B/MU=:sz8/DpSYinmoBKeF7n/h8i 6lMohXBgsGpwACMCo8CWvbRSfhyT+cAy8QNTn/5Q7SX7paUrwfK9ly/Dbh/xP0snpJ7GnIGag P8C1F9NYTfW77zHfNFrr1TBE9lQoNYwbRp8hUJUx3AJ/bjgWds/4B8uJgH9SqTZxvZ2AZ/BuD DsgKj3Vq1dgRfHFkHjQmoqP+lK025eMwrFcv34kBdxMXF4Rh3kkBvtVH6dfxl4YEIYrSVtPLE uapAtAom+mtsqh3u6afZg1sCGCrJu0lk6zV927bhrKjQxGO76Q2/gy6m3uJMHIcDrKURv6vCq WhZoRB8/wZENYg7w/TZp1nlerZ9doHAP3wFwqDoFQLeG9CiI5tztVcx1t+itpn9f5gPDGCn3j ZftBQWVVxFrnFt9mlfzBsPPV53gqfSO87u4NmHY4ysmETCf6fvmV5/S2UlVxYNh3R8ZwLIXYN qxXicnIQeAr1zHNrj0bI/fKWfUuiMlTk8ufP27fdyPf2Rg2uMZcEdi2lrCyzFsxuFDNJgkBOf yJkC/ua5epkG8B0T0TF8E7FtdAlaGMh+QKtK6AoHk7RBAV8SDQW0NQJkMMbdkU9DJG5YqfVfj kgeBe2Dskm/p0oW5beqgCWRDb65sgiLtKIOjAfyNZl4Ux3tQlinr6p3R1s8HZje7SKJ9EsWbO g48GgHE6eQ9VuMeeh+SFEk4joZCEUV0pgTR6RHsp/c1AsIKJvDBXaXTQbCPZTxFQE+MZJde07 bnWQQDhDU+A9yIZYXbTtgvVN7vwF8E5bB1Bn84S1ZeZet0bN4k7yGcT83P5F7vGIkT1fip7N 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" Xref: news.gmane.io gmane.emacs.bugs:192663 Archived-At: Juri Linkov writes: > Is it possible to avoid using "ls"? If ls formatting is not needed, > then the output buffer will look like a Dired buffer with enabled > 'dired-hide-details-mode' that shows only file names. I guess it is possible, I have no clue. It's what we do now. A downside is that developers would have to keep this in mind when working on dired, otherwise things may work only partially or break. For example, if you (in current Emacs master) mark files in a *locate* output buffer, they get marked and you can act on them, but marked files are not highlighted. OTOH, if we leave the corner case of non-existing files aside for now - when we do call ls (what would be the downsides?), we would get a fully functional dired support out of the box. Privately, I have adviced `locate' to insert the list of found files into a new dired buffer (by calling `dired' with the explicit list of files), and so far I find it better. That is actually already all I can contribute so far. Regards, Michael.