From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67090 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.gnus.general Subject: Re: bug#499: 23.0.60; minibuffer tab completion regression Date: Sun, 29 Jun 2008 13:26:44 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214760495 2721 80.91.229.12 (29 Jun 2008 17:28:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2008 17:28:15 +0000 (UTC) Cc: ding@gnus.org To: James Cloos Original-X-From: ding-owner+M15556@lists.math.uh.edu Sun Jun 29 19:29:00 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KD0hw-0003vD-3r for ding-account@gmane.org; Sun, 29 Jun 2008 19:29:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KD0gO-0000oz-H8; Sun, 29 Jun 2008 12:27:24 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KD0gN-0000og-49 for ding@lists.math.uh.edu; Sun, 29 Jun 2008 12:27:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KD0gG-0006ry-Vf for ding@lists.math.uh.edu; Sun, 29 Jun 2008 12:27:22 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KD0ga-000849-00 for ; Sun, 29 Jun 2008 19:27:36 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQFAMNiZ0hFxIdG/2dsb2JhbACBW6xvgXo X-IronPort-AV: E=Sophos;i="4.27,723,1204520400"; d="scan'208";a="23740340" Original-Received: from 69-196-135-70.dsl.teksavvy.com (HELO pastel.home) ([69.196.135.70]) by ironport2-out.teksavvy.com with ESMTP; 29 Jun 2008 13:26:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 16BB0835A; Sun, 29 Jun 2008 13:26:44 -0400 (EDT) In-Reply-To: (James Cloos's message of "Sun, 29 Jun 2008 11:06:50 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67090 Archived-At: > For ding readers: > gnus-article-save-part's setup of appending the proposed filename to the > current save dir as the prompt no longer allows one to easily type in a > new path using tab completion without customizing completion-styles as > Stefan describes below. JimC> In short, pathname tab completion used to ignore everything at JimC> and right of point whereas now it does not. Stefan> Indeed, it does now: it constrains the list of possible Stefan> completions to those that include the text after point. Stefan> E.g. if your minibuffer is "/foo/bat.c" you can place point Stefan> after "bat" and hit TAB to complete to a filename among Stefan> "bat*.c". Stefan> You can get the old behavior with one of the following: Stefan> - C-k TAB C-y Stefan> - customizing completion-styles: you can for example replace Stefan> `basic' by `emacs22' to get back Emacs-22's behavior. Note Stefan> that if you select `emacs21' you won't get this behavior Stefan> since Emacs-21 (and all previous Emacs) did not ignore the Stefan> text after point. > Forwarded to the ding list in case any changes need to be made to how > gnus prompts for output filenames.... Probably the best choice is to do like C-x C-w does: - don't insert initially the file name in the minibuffer. - let M-n insert the default file name in the minibuffer. - if the user enters just a directory name, append the base file name to it. Stefan