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#62700: 29.0.60; minibuffer-{previous,next,choose}-completion behave unintuitively when point is not at end of buffer Date: Sun, 04 Jun 2023 10:09:16 +0300 Message-ID: <837csj7lgj.fsf@gnu.org> References: <8635574n10.fsf@mail.linkov.net> <868rema032.fsf@mail.linkov.net> <83r0se4bwf.fsf@gnu.org> <87pm7xkqsd.fsf@catern.com> <83jzy419bk.fsf@gnu.org> <874jourckv.fsf@catern.com> <83lei6mxa0.fsf@gnu.org> <86wn1jutxv.fsf@mail.linkov.net> <83zg6eby5t.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6024"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62700@debbugs.gnu.org, sbaugh@catern.com, juri@linkov.net To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 04 09:09:26 2023 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 1q5hri-0001NJ-3e for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jun 2023 09:09:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5hrM-0004EN-3o; Sun, 04 Jun 2023 03:09:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5hrK-0004ED-B0 for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 03:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5hrK-0002B7-2F for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 03:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5hrJ-0005jZ-UL for bug-gnu-emacs@gnu.org; Sun, 04 Jun 2023 03:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jun 2023 07:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62700 X-GNU-PR-Package: emacs Original-Received: via spool by 62700-submit@debbugs.gnu.org id=B62700.168586251221999 (code B ref 62700); Sun, 04 Jun 2023 07:09:01 +0000 Original-Received: (at 62700) by debbugs.gnu.org; 4 Jun 2023 07:08:32 +0000 Original-Received: from localhost ([127.0.0.1]:44792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5hqq-0005il-C3 for submit@debbugs.gnu.org; Sun, 04 Jun 2023 03:08:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5hqn-0005iX-NX for 62700@debbugs.gnu.org; Sun, 04 Jun 2023 03:08:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5hqh-00023w-Op; Sun, 04 Jun 2023 03:08:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vIqunT7d1+Uq73tI86AB7/n9OdwPqbCJowx12J4yHMY=; b=Wvw+Wu2S8ZYz +mTH2KvHuGQwee8BhGv1JUoZz0S6+U30/8dg1CsGVNGlOHgckxz9wEQdbQPDAMwmffe9zszb2GhCn 2MVsKdwZU4s35V25eMbjd0hT/798d2oMh6hqjjsf8UD5FC35FVGaxhZEwSMCqXDFv0ARa3cGyOZGg y+3iT0zlKvamEoTll/3J/rloQoU9lOf7I9kOUMt5eDRzMSy75ynCei4A9t1wxYhqVGVKbu36FDUic Tb1WOymamBbCrc7dhZqL/IGdxOraSJOzcSe/K0QH5/qm5YGxuU6GvxNbJSmVZoYAcqMHDPKALxmx4 2XY7QSHPpW0IByxOLRL4xw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5hqh-0004UW-8P; Sun, 04 Jun 2023 03:08:23 -0400 In-Reply-To: (message from Spencer Baugh on Fri, 02 Jun 2023 20:58:52 -0400) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262903 Archived-At: > From: Spencer Baugh > Cc: Juri Linkov , 62700@debbugs.gnu.org, sbaugh@catern.com > Date: Fri, 02 Jun 2023 20:58:52 -0400 > > It turns out my patch doesn't fully fix the issue, when doing completion > at the end of a file path. For example: > > 1. C-x C-f ~/src/emacs/emacs-29/lisp/.el > 2. TAB to trigger completion, moving point to before .el > 3. M- > 4. The filenames are inserted before the .el, so one gets for example > ~/src/emacs/emacs-29/lisp/abbrev.el.el > > The attached patch for the Emacs 29 branch fixes this remaining case. Thanks, installed. Please in the future try to avoid using "path" for anything other than PATH-style directory lists: the GNU Coding Standards frown on such usage. (I fixed a couple of such uses in the commit log message before pushing.)