unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Matt McClure <matthewlmcclure@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs Remote Python Interpreters
Date: Wed, 06 Jun 2012 15:39:43 +0200	[thread overview]
Message-ID: <87vcj4lfts.fsf@gmx.de> (raw)
In-Reply-To: CAJELnLGPLBk6scarcCTJCPZgaWif2udTWqpHf1X3+mNW3WuVHQ@mail.gmail.com

Matt McClure <matthewlmcclure@gmail.com> writes:

> Hi Michael,

Hi Matt,

> python.el has some other TRAMP-compatibility problems. I started to
> hack on them and keep notes here:
>
> https://github.com/matthewlmcclure/tramp-virtualenv
>
> I'd be curious to get some feedback from Emacs committers to find out
> if this is on a track that could be merged upstream, or if I should
> take a different approach.

My first comments:

| 1. python.el - a replacement for the python.el distributed with Emacs
| 24 that makes its python-send-region TRAMP-aware.

Well, that code is based on a recommendation I gave last year in
<http://thread.gmane.org/gmane.emacs.tramp/7819>.

As I have said there, this won't be the final solution. And your change
(the call of a modified Tramp function) won't be accepted by the Emacs
maintainers. I believe it would be sufficient to apply `make-temp-file'
properly. I have committed a modified version of my initial proposal to
Emacs' trunk (plus a fix in Tramp, which did appear during my tests).

| 6. tramp-dir-locals.el - a hack to make directory local variables work
| in directories opened via TRAMP.

A harsh hack :-) The problem is already reported as bug#1933 and
bug#6731 in the Emacs bugtracker. I took the opportunity to apply the
proposed patch of bug#1933 to Emacs' trunk, slightly modified. If you
set in your .emacs

  (setq enable-local-variables t)

remote .dir-locals files shall be evaluated, and your hack isn't
necessary anymore.

Could you, please, check whether these patches work for you? We will
investigate your other settings afterwards.

Best regards, Michael.



  reply	other threads:[~2012-06-06 13:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04 20:57 Emacs Remote Python Interpreters Matt McClure
2012-06-05  6:26 ` Andreas Röhler
2012-06-05  7:45 ` Michael Albinus
2012-06-05 13:18   ` Matt McClure
2012-06-05 16:21     ` Michael Albinus
2012-06-05 18:49       ` Matt McClure
2012-06-06 13:39         ` Michael Albinus [this message]
2012-06-06 13:58           ` Michael Albinus
2012-06-06 15:50           ` Matt McClure
2012-06-07 17:02             ` Matt McClure
2012-06-08 10:47               ` Michael Albinus
2012-06-08 13:32                 ` Michael Albinus
2012-06-08 13:36                   ` Matt McClure
2012-06-09 13:12                     ` Matt McClure
2012-06-09 13:49                       ` Michael Albinus
2012-06-11  2:11                         ` Matt McClure
2012-06-11  6:59                           ` Michael Albinus

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87vcj4lfts.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=matthewlmcclure@gmail.com \
    /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.
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).