emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Toni Cebrián" <ancechu@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-mode in windows fires Tramp without any intervention
Date: Wed, 11 Dec 2013 18:32:57 +0100	[thread overview]
Message-ID: <CAOY6p8xWi=5Nqtv0Nkowkax6BV17vJefNbOFpZ_6+JcnUZqTbA@mail.gmail.com> (raw)
In-Reply-To: <87haaqjoad.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 1890 bytes --]

Hi Michael,

    Trying to file a minimal init.el for bug reporting I discovered the
culprit. In my init file I had:

(setq org-agenda-files (concat org-directory "/gtd.org"))

The missing quote was causing Tramp to be ignited every time I opened a
file or tried to open the agenda view.

Thanks for the help.


2013/12/3 Michael Albinus <michael.albinus@gmx.de>

> Toni Cebrián <ancechu@gmail.com> writes:
>
> > Hi,
>
> Hi Toni,
>
> > I have my own complex Emacs configuration files developed over time
> > when working in a Linux environment. You can see that
> > https://github.com/tonicebrian/emacsconfig in case you are curious. It
> > works seamlessly in Linux and I tried to use that as-is when working
> > in Windows. Emacs in Windows reads that configuration and fires up
> > also without any warning. The problem comes when I try to open a
> > complex Org file, with some links in it. I don't know why, but Tramp
> > is fired and tries to ssh to the machines in one URL within a link
> > element that has the form "http://machine:8080/more/levels".
> >
> > I don't even have the (require 'tramp) in my init.el file so this is
> > something the Org mode plugging is doing by itself. By the way, the
> > org mode version I have is org-20131202 from elpa and Emacs is 24.3.1
> > for Windows. Do you know where to look or what to try? This same Org
> > file, the same init.el and the same emacs version work without any
> > problem in Linux.
> >
> > Any clues?
>
> I guess something of the decoded URL, like "/machine:8080", is treated
> as remote file name Tramp feels responsible for.
>
> Could you please send a short example file which triggers the bug? I
> would try to debug it then.
>
> Please note that I don't use org regularly, so some comments on what to
> do with that file would be helpful.
>
> Best regards, Michael.
>

[-- Attachment #2: Type: text/html, Size: 2646 bytes --]

  reply	other threads:[~2013-12-11 17:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02 14:16 Org-mode in windows fires Tramp without any intervention Toni Cebrián
2013-12-03  9:07 ` Michael Albinus
2013-12-11 17:32   ` Toni Cebrián [this message]
2013-12-06 13:59 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOY6p8xWi=5Nqtv0Nkowkax6BV17vJefNbOFpZ_6+JcnUZqTbA@mail.gmail.com' \
    --to=ancechu@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).