From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!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 20:01:23 +0200 Message-ID: <86twf7qa30.fsf@student.uu.se> References: <86bn1fzzau.fsf@student.uu.se> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1469901754 13442 80.91.229.8 (30 Jul 2016 18:02:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Jul 2016 18:02:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) 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 20:02:20 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTYaa-0003Qv-7l for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 20:02:20 +0200 Original-Received: from localhost ([::1]:36640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTYaW-0008O1-Em for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jul 2016 14:02:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTYa5-0008Nk-16 for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 14:01:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTYZz-0000D9-4I for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 14:01:48 -0400 Original-Received: from blaine.gmane.org ([80.91.229.8]:55248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTYZy-0000Cw-TP for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 14:01:43 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bTYZs-0003Fk-2g for help-gnu-emacs@gnu.org; Sat, 30 Jul 2016 20:01:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:X6zRSlHT+LyY/oFQCh61S8Owr/k= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.229.8 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:111029 Archived-At: 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 -