From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: GTK `read-file-name' dialog Date: Mon, 04 Sep 2006 15:12:01 +0200 Message-ID: References: <44F9C967.4040907@swipnet.se> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157375546 19510 80.91.229.2 (4 Sep 2006 13:12:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Sep 2006 13:12:26 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 04 15:12:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GKEFS-0005Gi-QX for ged-emacs-devel@m.gmane.org; Mon, 04 Sep 2006 15:12:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKEFR-0000rl-Tm for ged-emacs-devel@m.gmane.org; Mon, 04 Sep 2006 09:12:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKEFE-0000pi-Ca for emacs-devel@gnu.org; Mon, 04 Sep 2006 09:12:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKEFC-0000nq-QL for emacs-devel@gnu.org; Mon, 04 Sep 2006 09:12:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKEFC-0000nn-M6 for emacs-devel@gnu.org; Mon, 04 Sep 2006 09:12:06 -0400 Original-Received: from [134.60.1.1] (helo=mail.uni-ulm.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GKEPi-0000nw-Sw for emacs-devel@gnu.org; Mon, 04 Sep 2006 09:22:59 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.8/8.13.8) with ESMTP id k84DC2wn009571; Mon, 4 Sep 2006 15:12:02 +0200 (MEST) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 063AB12033; Mon, 4 Sep 2006 15:12:02 +0200 (CEST) Mail-Followup-To: "Jan D." , emacs-devel@gnu.org Original-To: "Jan D." X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l; 3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2; n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 (Jan D.'s message of "Sat\, 02 Sep 2006 20\:11\:51 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DCC-SIHOPE-DCC-3-Metrics: gemini 1085; Body=2 Fuz1=2 Fuz2=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 Xref: news.gmane.org gmane.emacs.devel:59311 Archived-At: On Sat, Sep 02 2006, Jan D. wrote: > I have made some changes. Please try it and see if you find it better. The fix for default file name works fine, AFAICS. Thanks. But the "or type ..." text still needs improvement, I think. With `emacs -Q /tmp/foo.bar': - ` ' I get "type C-x C-w to write files". Incorrect, should be `C-x C-f'. - ` ' => "... type C-x C-f to visit files". Correct. - ` ' => "... type C-x C-f to visit files". Incorrect, should be `C-x d'. - ` ' => "... type C-x C-f to visit files". Incorrect, should be `C-x i'. In the console, I get: ,---- | (emacs:32474): Gtk-CRITICAL **: file gtkfilechooserdefault.c: line 4136 (gtk_file_chooser_default_set_current_name): assertion `impl->action == GTK_FILE_CHOOSER_ACTION_SAVE || impl->action == GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' failed `---- - ` ' => "... type C-x C-w to write files". Correct. - In Gnus, when on a MIME button: ` ' (gnus-mime-save-part) => "type C-x C-w to write files". Misleading: `C-x C-w' doesn't save MIME parts. I think the part ", or type ..." should be removed or generalized (maybe "or use the corresponding key binding."). A particular key binding should only be mentioned if we are sure that it corresponds to the current action. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/