From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#18132: Time for a smarter dired-guess-shell-alist-default? (dired-x.el) Date: Tue, 05 Aug 2014 02:45:55 +0300 Organization: JURTA Message-ID: <87silbstsc.fsf@mail.jurta.org> References: <87d2cn67zo.fsf@mail.jurta.org> <87bns6dcul.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1407197490 20727 80.91.229.3 (5 Aug 2014 00:11:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Aug 2014 00:11:30 +0000 (UTC) Cc: 18132@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 05 02:11:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XESLa-0003GV-Et for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Aug 2014 02:11:22 +0200 Original-Received: from localhost ([::1]:55648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XESLZ-0000Mj-WC for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2014 20:11:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XESLP-0000CD-1c for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 20:11:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XESLH-0003kh-Hh for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 20:11:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XESLH-0003k8-Ea for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 20:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XESLG-0003Jt-Gm for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 20:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Aug 2014 00:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18132-submit@debbugs.gnu.org id=B18132.140719744512729 (code B ref 18132); Tue, 05 Aug 2014 00:11:02 +0000 Original-Received: (at 18132) by debbugs.gnu.org; 5 Aug 2014 00:10:45 +0000 Original-Received: from localhost ([127.0.0.1]:58010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XESKy-0003JD-Ch for submit@debbugs.gnu.org; Mon, 04 Aug 2014 20:10:44 -0400 Original-Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:58440 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XESKv-0003Iy-Eu for 18132@debbugs.gnu.org; Mon, 04 Aug 2014 20:10:42 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 0C5453094551C1; Mon, 4 Aug 2014 17:10:39 -0700 (PDT) In-Reply-To: (Reuben Thomas's message of "Wed, 30 Jul 2014 17:44:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:92113 Archived-At: > I'm sorry if I've missed something, but I don't see what this has to do > with run-mailcap. run-mailcap always runs the first alternative, but with `mailcap-file-default-commands' you can select a command to run using several M-n. > It would be good to discourage customization of > dired-guess-shell-alist-{default,user}, and steer users towards the > non-program-specific mechanisms. It would also be good eventually not to > have to maintain the list, or indeed the dired-guess-shell mechanism at all. Instead of customization, a more useful UI would be to remember the most frequently used commands, and provide them at the top of the completions in the minibuffer. > As for your mention of "the first M-n", as far as I can discover, the first > time I press M-n, the default command, which was already mentioned in the > prompt, is simply inserted at point, as if I had typed it. So is "the first > suggestion that the user will get after the first M-n" actually the same > thing as "the default suggestion"? (I hope so!) Yes, this is so when the prompt displays the default value.