From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43865: mml-attach-file could call system file chooser Date: Thu, 08 Oct 2020 14:58:52 +0300 Message-ID: <83wo016i9v.fsf@gnu.org> References: <87d01t0wlk.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32705"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43865@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 08 13:59:11 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 1kQUZj-0008P5-8e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 13:59:11 +0200 Original-Received: from localhost ([::1]:39280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQUZi-0002FJ-58 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Oct 2020 07:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQUZa-0002CS-D4 for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 07:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQUZa-0000il-3O for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 07:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQUZa-00036M-2i for bug-gnu-emacs@gnu.org; Thu, 08 Oct 2020 07:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2020 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43865 X-GNU-PR-Package: emacs Original-Received: via spool by 43865-submit@debbugs.gnu.org id=B43865.160215833211904 (code B ref 43865); Thu, 08 Oct 2020 11:59:02 +0000 Original-Received: (at 43865) by debbugs.gnu.org; 8 Oct 2020 11:58:52 +0000 Original-Received: from localhost ([127.0.0.1]:58867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUZQ-00035w-5V for submit@debbugs.gnu.org; Thu, 08 Oct 2020 07:58:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUZO-00035k-2I for 43865@debbugs.gnu.org; Thu, 08 Oct 2020 07:58:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34736) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQUZI-0000i3-JW; Thu, 08 Oct 2020 07:58:44 -0400 Original-Received: from [176.228.60.248] (port=2459 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kQUZH-0004o4-Er; Thu, 08 Oct 2020 07:58:44 -0400 In-Reply-To: <87d01t0wlk.5.fsf@jidanni.org> 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:190077 Archived-At: > From: 積丹尼 Dan Jacobson > > Date: Thu, 08 Oct 2020 19:45:59 +0800 > > C-c C-a runs the command mml-attach-file (found in message-mode-map), > which is an interactive autoloaded compiled Lisp function in > ‘mml.el’. > > OK, but wouldn't it be nice if this could call the "system file chooser" > like Firefox and Chromium do when picking files? Emacs pops up the file selection dialog when the command that prompts for a file was invoked from a mouse-click event (some menu or tool-bar button). When the command is invoked from the keyboard, we don't show the GUI dialogs. See the variable use-dialog-box. This is not a bug, but the usual Emacs behavior.