From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dov Grobgeld Subject: org-mode, file-link, tramp, and smb domain Date: Wed, 8 Jul 2015 18:08:18 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1134cc504f1873051a5e825f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCqxS-0007Cx-6o for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 11:08:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCqxR-0002mH-5w for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 11:08:22 -0400 Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:33287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCqxQ-0002lq-TV for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 11:08:21 -0400 Received: by wgck11 with SMTP id k11so198802907wgc.0 for ; Wed, 08 Jul 2015 08:08:19 -0700 (PDT) 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: emacs-orgmode --001a1134cc504f1873051a5e825f Content-Type: text/plain; charset=UTF-8 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? Thanks! Dov [1] http://www.gnu.org/software/emacs/manual/html_node/tramp/External-methods.html --001a1134cc504f1873051a5e825f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

In tramp the syntax for specify= ing a domain in a smb link is by using a percentage sign [1]

//smb:u= ser%DOMAIN@host:D/path/

but when trying to use this together with th= e org-mode file: link the result is that it changes %D to ^M (control-M). S= imilar results are gotten with other characters after the percentage sign. = (If the letter is not in the hexadecimal range, ^@ (null) is received). Eve= n %% does not escape the percentage sign.

Is there any easy= workaround?

Thanks!
Dov
--001a1134cc504f1873051a5e825f-- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-mode, file-link, tramp, and smb domain Date: Wed, 22 Jul 2015 10:39:20 +0200 Message-ID: <87oaj4zivb.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHpXE-0005yr-TS for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 04:37:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHpXB-0006YR-3a for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 04:37:52 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:50876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHpXA-0006YF-TF for emacs-orgmode@gnu.org; Wed, 22 Jul 2015 04:37:49 -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 Hello, Dov Grobgeld writes: > 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). This last part is not entirely clear to me. Could you elaborate on what are you doing exactly to "use this together with file: link"? Thank you. Regards, -- Nicolas Goaziou