GNU bug report logs - #64664
[PATCH] Ensure 'existing-filename' has 'bounds-of-thing-at-point'

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Sun, 16 Jul 2023 12:04:02 UTC

Severity: normal

Tags: patch

Fixed in version 30.0

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64664 in the body.
You can then email your comments to 64664 AT debbugs.gnu.org in the normal way.

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#64664; Package emacs. (Sun, 16 Jul 2023 12:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philip Kaludercic <philipk <at> posteo.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 16 Jul 2023 12:04:02 GMT) Full text and rfc822 format available.

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

From: Philip Kaludercic <philipk <at> posteo.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Ensure 'existing-filename' has 'bounds-of-thing-at-point'
Date: Sun, 16 Jul 2023 12:03:28 +0000
[Message part 1 (text/plain, inline)]
Tags: patch


Currently, it seems that

(bounds-of-thing-at-point 'existing-filename) ;=> nil

even if at the same time.

(thing-at-point 'existing-filename) ;=> non-nil

To reproduce in emacs -Q, write some existing filename into *scratch*
and then using M-: evaluate the above expressions.

I propose a simple fix in the patch below.

In GNU Emacs 29.0.92 (build 4, x86_64-pc-linux-gnu, GTK+ Version
 3.24.37, cairo version 1.16.0) of 2023-07-16 built on quetzal
Repository revision: 17073af84d7eaedc81d84fc16f8aa0db215c6a31
Repository branch: emacs-29
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
 'configure --with-pgtk --with-native-compilation --with-imagemagick
 --with-tree-sitter'

[0001-Ensure-existing-filename-has-bounds-of-thing-at-poin.patch (text/patch, attachment)]

bug marked as fixed in version 30.0, send any further explanations to 64664 <at> debbugs.gnu.org and Philip Kaludercic <philipk <at> posteo.net> Request was from Philip Kaludercic <philipk <at> posteo.net> to control <at> debbugs.gnu.org. (Sat, 22 Jul 2023 07:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Aug 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 356 days ago.

Previous Next


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