[EMAIL PROTECTED] (Kai =?iso-8859-15?q?Gro=DFjohann?=) writes:
> What does Gnus have to do with Tramp? Yes, I also ask myself. Yet,
> witness the following backtrace:
>
> Michael?
Hmm, it's my code, indeed. Expanding "/home-local" there's a check
whether there's something to do with file name completion (because it
matches the regexp in file-name-handler-alist). For this I check,
beside other indications, `last-input-char'. Looks like M-g is
expanded to -134217625 ... strange.
> Debugger entered--Lisp error: (args-out-of-range #^[t
>...lots.of.numbers.and.nil.snipped...
> char-equal(-134217625 63)
> (or (char-equal last-input-char 63) (or (char-equal last-input-char 9) (char-equal
>last-input-char 32)))
Just checked with Emacs 20.7 and 21.2, no problem with M-g. Is there a
change on input events with Emacs 21.3 (you're using)?
Does it help to change the function like this:
(defun tramp-completion-mode (file)
"Checks whether method / user name / host name completion is active."
(cond
((featurep 'xemacs) t)
((string-match "^/.*:.*:$" file) nil)
((string-match
(concat
tramp-prefix-regexp
tramp-method-regexp tramp-postfix-single-method-regexp "$")
file)
(member (match-string 1 file)
(cons tramp-ftp-method (mapcar 'car tramp-methods))))
((or (equal last-input-event 'tab)
(and (not (event-modifiers last-input-event))
(integerp last-input-event)
(or (char-equal last-input-event ?\?)
(char-equal last-input-event ?\t) ; handled by 'tab already?
(char-equal last-input-event ?\ ))))
t)))
> kai
Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel