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 09:58:11 +0200 [thread overview]
Message-ID: <86fuqry2uk.fsf@student.uu.se> (raw)
In-Reply-To: CAP_d_8Xt-6EM8pd23wfZJDkMJ33tLdFdaa+sLG6q854vFum-7g@mail.gmail.com
Yuri Khan wrote:
> As you surely know, on *nix, every character
> is valid in a filename, except for NUL and
> slash; and every character is valid in a file
> path, except for NUL.
>
> However, we expect all kinds of parentheses,
> brackets and angle brackets to close around
> file paths. #include <foo/bar.h>
Either way it will break something whatever
you do.
If I was in charge of the systemd project,
I wouldn't have used "@" or any such unusual
char in a filename, and
$ find ~ -name \*@\* | wc -l
0
However
$ sudo find / -name \*@\* | wc -l
1164
(far from all of them are systemd related).
As expected tho,
$ sudo find / -name \*@\* | grep -i emacs | wc -l
0
:)
> I do not know of other instances of @ used as
> a delimiter next to a file name.
There are @ in shell scripting (e.g. zsh),
shell programming (Perl), Makefiles as you
mention, LaTeX relies heavily on it, Biblatex
has it for every entry, Lisp has it (the ,@
insert of a list), they are obviously in email
addresses and remote access (ssh etc.), and
doesn't Java come with some crappy
documentation system where the @s act much like
comment delimiters? And the functional
languages have it. And others!
However they doesn't seem to occur with
filenames that often (but sometimes), which
makes it tempting to include it in the list for
quick access to the 1164 or whatever
files above.
Granted, many of those are typically not files
that you edit but rather bunches of data.
One thing to be considered is that systemd is
now all over the Unix world despite some big
money splinter efforts.
Like everyone else, I don't know anything about
it, and I don't like it, but I do use it :)
--
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
- so far: 64 Blogomatic articles -
prev parent reply other threads:[~2016-07-30 7:58 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
2016-07-30 6:48 ` Yuri Khan
2016-07-30 7:58 ` Emanuel Berg [this message]
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=86fuqry2uk.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).