GNU bug report logs - #51612
27.2; MS-Windows: M-n to auto-complete file path

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Fri, 5 Nov 2021 15:23:02 UTC

Severity: normal

Found in version 27.2

Done: Eli Zaretskii <eliz <at> gnu.org>

To reply to this bug, email your comments to 51612 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51612; Package emacs. (Fri, 05 Nov 2021 15:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dani Moncayo <dmoncayo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 05 Nov 2021 15:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: 27.2; M-n to auto-complete file path
Date: Fri, 5 Nov 2021 16:21:52 +0100
This report is specific to the MS-Windows port of Emacs.

Recipe from 'emacs -Q':
------------
1. Type in the *scratch* buffer the absolute path
   of some existing file of your system, using backslashes.
   For example: "c:\tmp\myfile".
2. Move the cursor (point) just after the ':' in the file path.
3. Type 'C-x C-f M-n' (that is, try to visit the file, by using
   the auto-completion file-path feature).
------------

The behavior I see is that the auto-completion produces just 'c:/',
instead of the expected 'c:/tmp/myfile'.

I see the expected behavior when I move the cursor to any other
position of the file path (in step 2).

In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 6.3.9600
System Description: Microsoft Windows Server 2012 R2 Standard
(v6.3.0.9600.20144)

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: ESN
  locale-coding-system: cp1252

--
Dani Moncayo




Changed bug title to '27.2; MS-Windows: M-n to auto-complete file path' from '27.2; M-n to auto-complete file path' Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sat, 06 Nov 2021 00:26:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51612; Package emacs. (Thu, 17 Jul 2025 08:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 51612 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 51612 <at> debbugs.gnu.org
Subject: 27.2; M-n to auto-complete file path
Date: Thu, 17 Jul 2025 10:47:59 +0200
Ping

I hit this bug from time to time.  I'd be grateful if someone could
look into this.

TIA.

--
Dani Moncayo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51612; Package emacs. (Thu, 17 Jul 2025 09:19:01 GMT) Full text and rfc822 format available.

Message #13 received at 51612 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 51612 <at> debbugs.gnu.org
Subject: Re: bug#51612: 27.2; M-n to auto-complete file path
Date: Thu, 17 Jul 2025 12:18:31 +0300
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Date: Thu, 17 Jul 2025 10:47:59 +0200
> 
> Ping
> 
> I hit this bug from time to time.  I'd be grateful if someone could
> look into this.

I tried just now, both with the current emacs-30 branch and the master
branch, and couldn't reproduce the behavior you describe.  I _can_
reproduce with older Emacs versions, up to and including Emacs 29.3.

So I guess this bug was solved in Emacs 30, and we can close it.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51612; Package emacs. (Thu, 17 Jul 2025 09:26:02 GMT) Full text and rfc822 format available.

Message #16 received at 51612 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 51612 <at> debbugs.gnu.org
Subject: Re: bug#51612: 27.2; M-n to auto-complete file path
Date: Thu, 17 Jul 2025 11:25:18 +0200
On Thu, Jul 17, 2025 at 11:18 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Dani Moncayo <dmoncayo <at> gmail.com>
> > Date: Thu, 17 Jul 2025 10:47:59 +0200
> >
> > Ping
> >
> > I hit this bug from time to time.  I'd be grateful if someone could
> > look into this.
>
> I tried just now, both with the current emacs-30 branch and the master
> branch, and couldn't reproduce the behavior you describe.  I _can_
> reproduce with older Emacs versions, up to and including Emacs 29.3.
>
> So I guess this bug was solved in Emacs 30, and we can close it.

OK -- for the record, I've detailed below the version I'm using now
(for which the problem does exist).

Currently I don't have another version for MS-Windows to test.

That said, I guess you are right.  Let's close this ticket then and
when I update my MS-Windows version I'll test this again.

Thanks!

-- 
Dani Moncayo


In GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-08-02 built on
 AVALON
Windowing system distributor 'Microsoft Corp.', version 6.3.9600
System Description: Microsoft Windows Server 2012 R2 Standard
(v6.3.0.9600.21620)

Configured using:
 'configure --with-modules --without-dbus --with-native-compilation=aot
 --without-compress-install --with-tree-sitter CFLAGS=-O2'

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB

(NATIVE_COMP present but libgccjit not available)

Important settings:
  value of $LANG: ESN
  locale-coding-system: cp1252




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Thu, 17 Jul 2025 09:36:02 GMT) Full text and rfc822 format available.

Notification sent to Dani Moncayo <dmoncayo <at> gmail.com>:
bug acknowledged by developer. (Thu, 17 Jul 2025 09:36:02 GMT) Full text and rfc822 format available.

Message #21 received at 51612-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 51612-done <at> debbugs.gnu.org
Subject: Re: bug#51612: 27.2; M-n to auto-complete file path
Date: Thu, 17 Jul 2025 12:34:44 +0300
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Date: Thu, 17 Jul 2025 11:25:18 +0200
> Cc: 51612 <at> debbugs.gnu.org
> 
> On Thu, Jul 17, 2025 at 11:18 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > > From: Dani Moncayo <dmoncayo <at> gmail.com>
> > > Date: Thu, 17 Jul 2025 10:47:59 +0200
> > >
> > > Ping
> > >
> > > I hit this bug from time to time.  I'd be grateful if someone could
> > > look into this.
> >
> > I tried just now, both with the current emacs-30 branch and the master
> > branch, and couldn't reproduce the behavior you describe.  I _can_
> > reproduce with older Emacs versions, up to and including Emacs 29.3.
> >
> > So I guess this bug was solved in Emacs 30, and we can close it.
> 
> OK -- for the record, I've detailed below the version I'm using now
> (for which the problem does exist).
> 
> Currently I don't have another version for MS-Windows to test.

You should be able to install 30.1 or the latest pretest 30.1.90 from
the GNU FTP or alpha sites.

> That said, I guess you are right.  Let's close this ticket then and
> when I update my MS-Windows version I'll test this again.

Closing.




This bug report was last modified 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.