unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: systemd @ in filenames not supported by thing-at-point
Date: Sat, 30 Jul 2016 20:01:23 +0200	[thread overview]
Message-ID: <86twf7qa30.fsf@student.uu.se> (raw)
In-Reply-To: jwvziozujb6.fsf-monnier+gmane.emacs.help@gnu.org

Stefan Monnier wrote:

>> (setq thing-at-point-file-name-chars
>> "@-~/[:alnum:]_.${}#%,:")
>
> "@-~" matches all chars between @ and ~.
> IOW it's important to keep the "-" as the
> first character.

Which is 64-126?

Wow, that is low tech!

I suppose it can be useful for people wanting
higher precision than the char classes give but
still has too big a set of chars to input them
manually - ... or is it something else?

There is something similar in zsh I now
remember and I actually had a bug just like
this adding a char to a string without noticing
the second char (and had I, I don't think that
would have helped as it is just another dash) -
perhaps one should memorize to always "stack"
chars from the right (the tail) and not the
left (the head)?

By the way who has all that crazy stuff
in filenames? Even tho it might make sense to
add the @ perhaps one should not do it as
a political statement, and then have them
others removed as well...

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 64 Blogomatic articles -                   




  reply	other threads:[~2016-07-30 18:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-30  1:31 systemd @ in filenames not supported by thing-at-point Emanuel Berg
2016-07-30  5:41 ` Drew Adams
2016-07-30  6:07   ` Emanuel Berg
2016-07-30  6:43     ` Drew Adams
2016-07-30 17:29   ` Stefan Monnier
2016-07-30 18:01     ` Emanuel Berg [this message]
2016-07-30  6:48 ` Yuri Khan
2016-07-30  7:58   ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86twf7qa30.fsf@student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).