From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: systemd @ in filenames not supported by thing-at-point Date: Sat, 30 Jul 2016 09:58:11 +0200 Message-ID: <86fuqry2uk.fsf@student.uu.se> References: <86bn1fzzau.fsf@student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469865557 12079 80.91.229.3 (30 Jul 2016 07:59:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2016 07:59:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 30 09:59:08 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bTPAp-00052t-3S for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 09:59:07 +0200 Original-Received: from localhost ([::1]:34707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTPAj-0001ca-3s for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 03:59:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTPAE-0001c6-T2 for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 03:58:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTPAB-0003zP-PY for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 03:58:30 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTPAB-0003y7-I4 for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 03:58:27 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bTPA2-0004iV-79 for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 09:58:18 +0200 Original-Received: from c-9ce1e655.08-680-7570702.cust.bredbandsbolaget.se ([85.230.225.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Jul 2016 09:58:18 +0200 Original-Received: from embe8573 by c-9ce1e655.08-680-7570702.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 Jul 2016 09:58:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 69 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-9ce1e655.08-680-7570702.cust.bredbandsbolaget.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:8lBmD5lHcmH9DAtWgj+OV80qDBY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111017 Archived-At: 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 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 -