[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp and rcompile

From: Stefan Monnier
Subject: Re: Tramp and rcompile
Date: Thu, 31 Jan 2008 10:04:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>> The `rcompile' code calls a Tramp macro via `funcall'.
>> Obviously, this can't work.  This code was introduced by Michael Albinus
>> <address@hidden> back in 2006, so I presume that the macro was
>> a function back then (or he had had too much fun the previous night).

> Likely the latter one, I don't remember.  But it looks like I've tested
> only the not byte-compiled version ...

Going through an explicit `funcall' should ensure that it will fail even
if you don't byte-compile the file.

>> I'm tempted to just throw out most of that code since M-x compile should
>> work at least as well for that purpose nowadays.

> I second this.  I have had always a bad feeling, using Tramp *internal*
> functions somewhere else.

OK, so I'll remove the obviously broken code (it will still use an
internal Tramp function, tho).
I also suggest we move rcompile.el to the `obsolete' directory.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]