From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7215: 24.0.50; Minibuffer path completion mispositions point Date: Mon, 18 Oct 2010 10:24:24 -0400 Message-ID: References: <87aamgc3jr.fsf@leeloo.anubex.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1287413775 5472 80.91.229.12 (18 Oct 2010 14:56:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Oct 2010 14:56:15 +0000 (UTC) Cc: 7215@debbugs.gnu.org To: Tim Van Holder Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 18 16:56:07 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P7r8A-0000tH-L5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Oct 2010 16:56:06 +0200 Original-Received: from localhost ([127.0.0.1]:46860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7qxN-0000I1-Ft for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Oct 2010 10:44:57 -0400 Original-Received: from [140.186.70.92] (port=59616 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7qv6-0007no-8f for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 10:43:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7qv0-0002Cf-D4 for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 10:42:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7qv0-0002CL-BU for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 10:42:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P7qaE-0006p6-5e; Mon, 18 Oct 2010 10:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Oct 2010 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7215 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7215-submit@debbugs.gnu.org id=B7215.128741165626222 (code B ref 7215); Mon, 18 Oct 2010 14:21:02 +0000 Original-Received: (at 7215) by debbugs.gnu.org; 18 Oct 2010 14:20:56 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7qa8-0006ot-Ih for submit@debbugs.gnu.org; Mon, 18 Oct 2010 10:20:56 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7qa6-0006om-Gy for 7215@debbugs.gnu.org; Mon, 18 Oct 2010 10:20:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4JABL2u0xMCpO7/2dsb2JhbACgM3lyvjiFSQSSGQ X-IronPort-AV: E=Sophos;i="4.57,345,1283745600"; d="scan'208";a="80006520" Original-Received: from 76-10-147-187.dsl.teksavvy.com (HELO pastel.home) ([76.10.147.187]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Oct 2010 10:24:24 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 611AAA8213; Mon, 18 Oct 2010 10:24:24 -0400 (EDT) In-Reply-To: (Tim Van Holder's message of "Mon, 18 Oct 2010 08:56:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 18 Oct 2010 10:21:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40953 Archived-At: >> I've installed the patch below into the emacs-23 branch. =A0This should >> fix the problem. =A0Please confirm, > I'm on trunk, not the emacs-23 branch. Yes, but the bug was there as well. It'll get merged into trunk in due tim= e. > However, I (manually) applied the same change to trunk and the problem > did indeed go away. Thank you for confirming. > Does mark matter in the minibuffer? Yes. > If so, perhaps it should be forward-char-nomark? forward-char is a low-level function which does not touch the mark. forward-char-nomark OTOH is a command (only defined if you load pc-select.el) which does affect the mark. So `forward-char' is what we want here. > Note: the diff you posted seems to ignore whitespace, which made it > slightly harder to twig that you were extending the let, because the > goto-char and indent didn't change their indentation. It's a tradeoff: OT1H you don't see that the indentation changed, but OTOH you do see that this part of the code has not been modified. Stefan