From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: When are toolkit file dialogs used? Date: Tue, 1 Feb 2005 18:08:14 +0100 Message-ID: <147f855ea4223602012642c79721524b@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107277972 2102 80.91.229.2 (1 Feb 2005 17:12:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 17:12:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 18:12:52 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw1a1-0003bi-5Z for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 18:12:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw1mx-0007uD-7j for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 12:26:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw1mR-0007qb-3H for emacs-devel@gnu.org; Tue, 01 Feb 2005 12:25:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw1mL-0007mn-9h for emacs-devel@gnu.org; Tue, 01 Feb 2005 12:25:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw1mL-0007kw-1Q for emacs-devel@gnu.org; Tue, 01 Feb 2005 12:25:29 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw1Wc-0005jx-LS; Tue, 01 Feb 2005 12:09:15 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050201170912.JRVP12890.mxfep02.bredband.com@coolsville.localdomain>; Tue, 1 Feb 2005 18:09:12 +0100 In-Reply-To: Original-To: rms@gnu.org X-Mailer: Apple Mail (2.619.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32713 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32713 > In man/files.texi I am rewriting > > When Emacs is built with a suitable GUI toolkit, it pops up the > standard File Selection dialog of that toolkit instead of prompting for > the file name in the minibuffer. On Unix and GNU/Linux platforms, > Emacs > does that when built with LessTif and Motif toolkits; on MS-Windows, > the > GUI version does that by default. > > as follows: > > When Emacs is built with a suitable GUI toolkit, commands invoked > with the mouse use standard File Selection dialog of that toolkit > instead of prompting for the file name in the minibuffer. On Unix and > GNU/Linux platforms, Emacs does that when built with GTK, LessTif, and > Motif toolkits; on MS-Windows, the GUI version does that by default. > > > However, is that correct nowadays? Or is more changed needed? I don't know if this is the appropriate place, but the variable use-file-dialog also controls if a file dialog is used (the variable is new in 21.4). use-file-dialog is documented in frames.texi so maybe it is redundant to mention it in files.texi also. C-h v use-file-dialog *Non-nil means mouse commands use a file dialog to ask for files. This applies to commands from menus and tool bar buttons. The value of `use-dialog-box' takes precedence over this variable, so a file dialog is only used if both `use-dialog-box' and this variable are non-nil. Jan D.