unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Add '@' to thing-at-point-file-name-chars ?
@ 2016-10-04 18:36 Tino Calancha
  0 siblings, 0 replies; only message in thread
From: Tino Calancha @ 2016-10-04 18:36 UTC (permalink / raw)
  To: Emacs developers; +Cc: Tino Calancha


Hi Emacs,

following question arose in Bug#24606 and
https://lists.gnu.org/archive/html/emacs-devel/2016-07/msg01219.html

Currently, `thing-at-point-file-name-chars' doesn't contain '@'.
Some files of systemd has '@' in their names.  For instance,
in my machine,
/lib/systemd/system/ssh@.service

For those files (thing-at-point 'filename) will not pick up
the full filename:

(let ((file "/lib/systemd/system/ssh@.service"))
   (with-temp-buffer
     (insert file)
     (thing-at-point 'filename)))
=> ".service"

Should we add '@' to 'thing-at-point-file-name-chars' ?

Thanks
Tino



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-04 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-04 18:36 Add '@' to thing-at-point-file-name-chars ? Tino Calancha

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).