[Top][All Lists]

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

Re: TRAMP not working with ehistory

From: Michael Albinus
Subject: Re: TRAMP not working with ehistory
Date: 13 Jan 2003 16:08:52 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

PA Monwall <address@hidden> writes:

> I get the following error when loading a file with edit-history:
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
> "/usr/local/share/emacs/site-lisp/default.el")
>   logand("/usr/local/share/emacs/site-lisp/default.el" -134217728)


Reproduced here. Looks like wrong expression order in
tramp-completion-mode. Could you, please, check whether the following
patch solves the problem:

address@hidden:[1174] diff -u tramp.el.~1~ tramp.el
--- tramp.el.~1~        Mon Jan 13 11:15:07 2003
+++ tramp.el    Mon Jan 13 15:56:14 2003
@@ -3529,8 +3529,8 @@
     (member (match-string 1 file) (mapcar 'car tramp-methods)))
    ((or (equal last-input-event 'tab)
-       (and (not (event-modifiers last-input-event))
-            (integerp last-input-event)
+       (and (integerp last-input-event)
+            (not (event-modifiers last-input-event))
             (or (char-equal last-input-event ?\?)
                 (char-equal last-input-event ?\t) ; handled by 'tab already?
                 (char-equal last-input-event ?\ ))))

> Any ideas?
> Ed-history is an old package that I've used for several years w/o
> any problems.

Nice package.

> -- pa

Best regards, Michael.

reply via email to

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