From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: org-mode, file-link, tramp, and smb domain Date: Wed, 8 Jul 2015 17:43:03 +0100 Message-ID: <871tgiiors.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCsRI-0005AG-2C for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 12:43:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCsRB-0000Jz-JN for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 12:43:16 -0400 Received: from mail-am1on0127.outbound.protection.outlook.com ([157.56.112.127]:12313 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCsRB-0000Jl-A7 for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 12:43:09 -0400 In-Reply-To: (Dov Grobgeld's message of "Wed, 8 Jul 2015 18:08:18 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dov Grobgeld Cc: emacs-orgmode On Wednesday, 8 Jul 2015 at 18:08, Dov Grobgeld wrote: > Hello, > > In tramp the syntax for specifying a domain in a smb link is by using a > percentage sign [1] > > //smb:user%DOMAIN@host:D/path/ > > but when trying to use this together with the org-mode file: link the > result is that it changes %D to ^M (control-M). Similar results are gotten > with other characters after the percentage sign. (If the letter is not in > the hexadecimal range, ^@ (null) is received). Even %% does not escape the > percentage sign. > > Is there any easy workaround? Maybe encode the % using %25 (hex value for %) so "... user%25DOMAIN@ ..."? Untested, mind you! -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1260-gcedef7