From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.devel Subject: Re: systemd @ in filenames not supported by thing-at-point Date: Sun, 31 Jul 2016 02:23:48 +0200 Message-ID: <86k2g2r6y3.fsf@student.uu.se> References: <867fc3zz5d.fsf@student.uu.se> <86shury87u.fsf@student.uu.se> <86k2g3y4ib.fsf@student.uu.se> <8637mrrvi2.fsf@student.uu.se> <427733f7-6ad9-f476-6831-1899e4fb3257@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1469924713 12982 80.91.229.8 (31 Jul 2016 00:25:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 31 Jul 2016 00:25:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 31 02:24:59 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bTeYs-0003L2-Fd for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2016 02:24:58 +0200 Original-Received: from localhost ([::1]:37943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTeYo-00007N-OQ for ged-emacs-devel@m.gmane.org; Sat, 30 Jul 2016 20:24:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTeYG-00007H-E2 for emacs-devel@gnu.org; Sat, 30 Jul 2016 20:24:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTeYA-0001ah-DS for emacs-devel@gnu.org; Sat, 30 Jul 2016 20:24:19 -0400 Original-Received: from blaine.gmane.org ([80.91.229.8]:34456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTeYA-0001YL-6K for emacs-devel@gnu.org; Sat, 30 Jul 2016 20:24:14 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bTeY2-0003El-Ty for emacs-devel@gnu.org; Sun, 31 Jul 2016 02:24:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 40 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:fw+r9LhhygdXL7CcUXsSESwe0I8= 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206257 Archived-At: Clément Pit--Claudel wrote: > I have no idea what this is about, or what it > has to do with Emacs. In any case, the > original issue sounds like a bug to me, and > you seem to have a reasonable-looking fix for > it. Can you prepare a patch and send it with > M-x report-emacs-bug? That would be very > useful; we could probably discuss that > fix there. By "preparing a patch", do you mean there is some formal way of doing that? If so, I am not familiar with that. (I know of `report-emacs-bug', of course.) But the patch would amount to adding an @ to (defvar thing-at-point-file-name-chars "-~/[:alnum:]_.${}#%,:" "Characters allowable in filenames.") which is at line 242, /usr/share/emacs/24.4/lisp/thingatpt.el.gz However, in my initial post I added the @ *first* which I have since learned on gnu.emacs.help turns the original, initial dash into an interval (when it doesn't appear first anymore), i.e., all of [@, ~] in math notation are included which wasn't the intention, for sure! So better put the @ after the initial dash so the dash will stay a char an nothing else, with @ and only @ included 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 -