unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 2414@debbugs.gnu.org
Subject: bug#2414: 23.0.90; use dired-guess-default too for minibuffer-default-add-shell-commands
Date: Sat, 04 Dec 2021 22:27:18 +0100	[thread overview]
Message-ID: <877dck12o9.fsf@gnus.org> (raw)
In-Reply-To: <000601c99396$05d396a0$0200a8c0@us.oracle.com> (Drew Adams's message of "Fri, 20 Feb 2009 12:01:29 -0800")

"Drew Adams" <drew.adams@oracle.com> writes:

> `dired-guess-default' is defined in dired-x.el, but it has nothing to
> do with Dired, AFAICT, so there is no reason that it should not be
> available (and used) generally.
>
> And variables `dired-guess-shell-alist-user' and
> `dired-guess-shell-alist-default' should also be factored out of
> dired-x.el. They too are not Dired-related, AFAICT.

Well...  they are dired-specific, because they're only used in dired.
(And using them elsewhere would be pretty surprising.)

Emacs does have a problem in this area, though -- I'm guessing there's a
dozen different packages that define similar functionality (i.e.,
"what's in mailcap but with some extras"), and consolidating these would
be nice.  But the problem is that there's different use cases -- the
things a person wants to do in Dired isn't necessarily what they'd want
to do in Gnus when receiving an attachment).

And so we're where we are.

So I don't want to make the minibuffer function depend on Dired, and I
don't want to make these things non-Dired-applicable (because that'd
annoy people who have customised their Dired experience), so there's
nothing actionable left here, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2021-12-04 21:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 20:01 bug#2414: 23.0.90; use dired-guess-default too for minibuffer-default-add-shell-commands Drew Adams
2009-02-22 21:54 ` Juri Linkov
2009-02-22 23:04   ` Drew Adams
2009-02-22 23:37     ` Juri Linkov
2009-02-23  0:25       ` Drew Adams
2021-12-04 21:27 ` Lars Ingebrigtsen [this message]
2021-12-05  9:25   ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dck12o9.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=2414@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).