unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tramp
  2002-09-24  8:59 How to make emacs auto-recognize utf-8 encoded files upon visiting Charles Muller
@ 2002-09-24 19:05 ` Roger Mason
  0 siblings, 0 replies; 21+ messages in thread
From: Roger Mason @ 2002-09-24 19:05 UTC (permalink / raw)


Hi,

I downloaded tramp-2.0.22 and installed it.  I am trying to get it
configured. For now I have to use telnet as the default connection method,
so I executed

(setq tramp-default-method "tm") in the scratch buffer and it returned

"tm"

When I try to get a file from a my home dir on a remote machine:

/fred.here.there.everywhere:~/.emacs

I get 

Method 'tm' didn't specify a connection function in the mini-buffer.

Obviously I missed something in the configuration.  Can anyone help?

Thanks,

Roger Mason
emacs 21.1

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: tramp
       [not found] <mailman.1032894380.6606.help-gnu-emacs@gnu.org>
@ 2002-09-24 20:11 ` Kai Großjohann
  2002-09-26 17:38 ` tramp Michael P. Soulier
  1 sibling, 0 replies; 21+ messages in thread
From: Kai Großjohann @ 2002-09-24 20:11 UTC (permalink / raw)


Roger Mason <rmason@sparky2.esd.mun.ca> writes:

> I downloaded tramp-2.0.22 and installed it.  I am trying to get it
> configured. For now I have to use telnet as the default connection method,
> so I executed
>
> (setq tramp-default-method "tm") in the scratch buffer and it returned

The new Tramp has different methods.  It auto-detects whether to use
base64 or uuencode encodings.  The method is now called "telnet".

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Tramp
@ 2002-09-25 12:34 Roger Mason
  0 siblings, 0 replies; 21+ messages in thread
From: Roger Mason @ 2002-09-25 12:34 UTC (permalink / raw)


Hello,

I put (setq tramp-default-method "telnet") in my .emacs file.  Now, when I
try to contact a remote machine this error is returned:

 "Args out of range: 0,0".

If I try again, I get
 
"File not found and directory write-protected"

I assume something is still not configured correctly.
   
Thanks for any help.
 
Roger Mason

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Tramp
       [not found] ` <nqfzvyjji1.fsf@alcatel.de>
@ 2002-09-25 14:03   ` Kai Großjohann
  2002-09-25 15:25     ` Tramp Roger Mason
  0 siblings, 1 reply; 21+ messages in thread
From: Kai Großjohann @ 2002-09-25 14:03 UTC (permalink / raw)


Michael Albinus <Michael.Albinus@alcatel.de> writes:

> It's reproducible here with Tramp 2.0.23. Looks like the recent change
> in acquiring the default method has side effects. For the time being
> you should write the method explicitly like "/telnet:user@host:"

Does this patch fix it?

--- tramp.el.~2.227.~	Tue Sep 24 18:21:10 2002
+++ tramp.el	Wed Sep 25 16:03:19 2002
@@ -4331,13 +4331,14 @@
 
 (defun tramp-action-password (p multi-method method user host)
   "Query the user for a password."
+  (let ((pw-prompt (match-string 0)))
   (when (tramp-method-out-of-band-p multi-method method user host)
     (kill-process (get-buffer-process (current-buffer)))
     (error (concat "Out of band method `%s' not applicable "
 		   "for remote shell asking for a password")
 	   method))
   (tramp-message 9 "Sending password")
-  (tramp-enter-password p (match-string 0)))
+  (tramp-enter-password p pw-prompt)))
 
 (defun tramp-action-succeed (p multi-method method user host)
   "Signal success in finding shell prompt."

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Tramp
  2002-09-25 14:03   ` Tramp Kai Großjohann
@ 2002-09-25 15:25     ` Roger Mason
  2002-09-25 15:58       ` Tramp Kai Großjohann
  0 siblings, 1 reply; 21+ messages in thread
From: Roger Mason @ 2002-09-25 15:25 UTC (permalink / raw)
  Cc: help-gnu-emacs

That fixed it.  Thanks.

Roger Mason

On Wed, 25 Sep 2002, Kai [iso-8859-15] Großjohann wrote:

> Michael Albinus <Michael.Albinus@alcatel.de> writes:
> 
> > It's reproducible here with Tramp 2.0.23. Looks like the recent change
> > in acquiring the default method has side effects. For the time being
> > you should write the method explicitly like "/telnet:user@host:"
> 
> Does this patch fix it?
> 
> --- tramp.el.~2.227.~	Tue Sep 24 18:21:10 2002
> +++ tramp.el	Wed Sep 25 16:03:19 2002
> @@ -4331,13 +4331,14 @@
>  
>  (defun tramp-action-password (p multi-method method user host)
>    "Query the user for a password."
> +  (let ((pw-prompt (match-string 0)))
>    (when (tramp-method-out-of-band-p multi-method method user host)
>      (kill-process (get-buffer-process (current-buffer)))
>      (error (concat "Out of band method `%s' not applicable "
>  		   "for remote shell asking for a password")
>  	   method))
>    (tramp-message 9 "Sending password")
> -  (tramp-enter-password p (match-string 0)))
> +  (tramp-enter-password p pw-prompt)))
>  
>  (defun tramp-action-succeed (p multi-method method user host)
>    "Signal success in finding shell prompt."
> 
> kai
> -- 
> ~/.signature is: umop 3p!sdn    (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Tramp
  2002-09-25 15:25     ` Tramp Roger Mason
@ 2002-09-25 15:58       ` Kai Großjohann
  0 siblings, 0 replies; 21+ messages in thread
From: Kai Großjohann @ 2002-09-25 15:58 UTC (permalink / raw)
  Cc: help-gnu-emacs

Roger Mason <rmason@sparky2.esd.mun.ca> writes:

> That fixed it.  Thanks.

I will put it in the next version of Tramp.

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: tramp
       [not found] <mailman.1032894380.6606.help-gnu-emacs@gnu.org>
  2002-09-24 20:11 ` tramp Kai Großjohann
@ 2002-09-26 17:38 ` Michael P. Soulier
  2002-09-27 11:43   ` tramp Kai Großjohann
  1 sibling, 1 reply; 21+ messages in thread
From: Michael P. Soulier @ 2002-09-26 17:38 UTC (permalink / raw)


On Tue, 24 Sep 2002 16:35:37 -0230 (NDDT), Roger Mason
<rmason@sparky2.esd.mun.ca> wrote:
> 
> When I try to get a file from a my home dir on a remote machine:
> 
> /fred.here.there.everywhere:~/.emacs

    Ah! So that's the new syntax! It's really confusing having all that
documentation at tramp.sourceforge.net conflict with the new tramp. Is the
EmacsWiki up to date? I don't see tramp mentioned there. 

    Hmm. I just tried the new tramp to login to my box at home.

Args out of range: 0, 0

    This is in the tramp buffer:

Enter passphrase for key '/home/e-smith/files/users/msoulier/.ssh/id_rsa': 

    Mike

-- 
Michael P. Soulier <msoulier@storm.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix
HTML Email Considered Harmful: http://expita.com/nomime.html

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: tramp
  2002-09-26 17:38 ` tramp Michael P. Soulier
@ 2002-09-27 11:43   ` Kai Großjohann
  2002-09-27 12:15     ` tramp Roger Mason
  0 siblings, 1 reply; 21+ messages in thread
From: Kai Großjohann @ 2002-09-27 11:43 UTC (permalink / raw)


"Michael P. Soulier" <msoulier@storm.ca._nospam> writes:

> On Tue, 24 Sep 2002 16:35:37 -0230 (NDDT), Roger Mason
> <rmason@sparky2.esd.mun.ca> wrote:
>> 
>> When I try to get a file from a my home dir on a remote machine:
>> 
>> /fred.here.there.everywhere:~/.emacs
>
>     Ah! So that's the new syntax! It's really confusing having all that
> documentation at tramp.sourceforge.net conflict with the new tramp.

I'm sorry.  I really should change the SourceForge information.
[time passes]  I've now done it.

>     Hmm. I just tried the new tramp to login to my box at home.
>
> Args out of range: 0, 0
>
>     This is in the tramp buffer:
>
> Enter passphrase for key '/home/e-smith/files/users/msoulier/.ssh/id_rsa': 

Please submit a bug report, using M-x tramp-bug RET.  That also tells
you which information I need to successfully chase the bug.  In your
case, it's important to load tramp.el instead of tramp.elc and to
provide a backtrace (you get it if you do M-x toggle-debug-on-error
RET and the reproduce the error message).

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: tramp
  2002-09-27 11:43   ` tramp Kai Großjohann
@ 2002-09-27 12:15     ` Roger Mason
  2002-09-27 13:59       ` tramp Carsten Dominik
  2002-09-27 14:19       ` tramp Kai Großjohann
  0 siblings, 2 replies; 21+ messages in thread
From: Roger Mason @ 2002-09-27 12:15 UTC (permalink / raw)


Hello,

Please forgive my ignorance, but how do I ensure loading of tramp.el & not
tramp.elc?

Thanks,

Roger

On Fri, 27 Sep 2002, Kai [iso-8859-15] Großjohann wrote:

> "Michael P. Soulier" <msoulier@storm.ca._nospam> writes:
> 
> > On Tue, 24 Sep 2002 16:35:37 -0230 (NDDT), Roger Mason
> > <rmason@sparky2.esd.mun.ca> wrote:
> >> 
> >> When I try to get a file from a my home dir on a remote machine:
> >> 
> >> /fred.here.there.everywhere:~/.emacs
> >
> >     Ah! So that's the new syntax! It's really confusing having all that
> > documentation at tramp.sourceforge.net conflict with the new tramp.
> 
> I'm sorry.  I really should change the SourceForge information.
> [time passes]  I've now done it.
> 
> >     Hmm. I just tried the new tramp to login to my box at home.
> >
> > Args out of range: 0, 0
> >
> >     This is in the tramp buffer:
> >
> > Enter passphrase for key '/home/e-smith/files/users/msoulier/.ssh/id_rsa': 
> 
> Please submit a bug report, using M-x tramp-bug RET.  That also tells
> you which information I need to successfully chase the bug.  In your
> case, it's important to load tramp.el instead of tramp.elc and to
> provide a backtrace (you get it if you do M-x toggle-debug-on-error
> RET and the reproduce the error message).
> 
> kai
> -- 
> ~/.signature is: umop ap!sdn    (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: tramp
  2002-09-27 12:15     ` tramp Roger Mason
@ 2002-09-27 13:59       ` Carsten Dominik
  2002-09-27 14:19       ` tramp Kai Großjohann
  1 sibling, 0 replies; 21+ messages in thread
From: Carsten Dominik @ 2002-09-27 13:59 UTC (permalink / raw)


>>>>> "RM" == Roger Mason <rmason@sparky2.esd.mun.ca> writes:

RM> Hello, Please forgive my ignorance, but how do I ensure loading of
RM> tramp.el & not tramp.elc?



Either remove tramp.elc, or load tramp.el explicitly with

M-x load-file /path/to/tramp.el RET

- Carsten

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: tramp
  2002-09-27 12:15     ` tramp Roger Mason
  2002-09-27 13:59       ` tramp Carsten Dominik
@ 2002-09-27 14:19       ` Kai Großjohann
  2002-09-27 17:07         ` w3 again, Roger Mason
       [not found]         ` <mailman.1033146535.10923.help-gnu-emacs@gnu.org>
  1 sibling, 2 replies; 21+ messages in thread
From: Kai Großjohann @ 2002-09-27 14:19 UTC (permalink / raw)


Roger Mason <rmason@sparky2.esd.mun.ca> writes:

> Please forgive my ignorance, but how do I ensure loading of tramp.el & not
> tramp.elc?

You could delete tramp.elc, for example :-)

Or say (load "tramp.el") in your .emacs file.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* w3 again,
  2002-09-27 14:19       ` tramp Kai Großjohann
@ 2002-09-27 17:07         ` Roger Mason
       [not found]         ` <mailman.1033146535.10923.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 21+ messages in thread
From: Roger Mason @ 2002-09-27 17:07 UTC (permalink / raw)


Hi,

I downloaded and installed the CVS versions of url and w3.  When I invoke
w3 (m-x w3) I get:

Loading w3...
Loading cus-edit...
Loading easymenu...done
Loading cus-edit...done
Loading w3...done
Loading url-auth...done
Could not load cookie file /home/rmason/.url/cookies
Loading w3-hot...done
/home/rmason/.mosaic-hotlist-default does not exist!
Contacting host: www.cs.indiana.edu:80
Loading url-cache...done
Downloading of `http://www.cs.indiana.edu/elisp/w3/docs.html' complete.
error in process filter: w3-decode-charset: Invalid function: (macro .
#[(handle) "ÁE‡" [handle nth 2] 3])
error in process filter: Invalid function: (macro . #[(handle) "ÁE‡"
[handle nth 2] 3]

Thanks for any help you can give.

Roger Mason

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: w3 again,
       [not found]         ` <mailman.1033146535.10923.help-gnu-emacs@gnu.org>
@ 2002-09-27 21:16           ` Kevin Rodgers
  2002-09-28 12:27           ` Kai Großjohann
  1 sibling, 0 replies; 21+ messages in thread
From: Kevin Rodgers @ 2002-09-27 21:16 UTC (permalink / raw)


Roger Mason wrote:

> I downloaded and installed the CVS versions of url and w3.  When I invoke
> w3 (m-x w3) I get:
> 
> Loading w3...
> Loading cus-edit...
> Loading easymenu...done
> Loading cus-edit...done
> Loading w3...done
> Loading url-auth...done
> Could not load cookie file /home/rmason/.url/cookies
> Loading w3-hot...done
> /home/rmason/.mosaic-hotlist-default does not exist!
> Contacting host: www.cs.indiana.edu:80
> Loading url-cache...done
> Downloading of `http://www.cs.indiana.edu/elisp/w3/docs.html' complete.
> error in process filter: w3-decode-charset: Invalid function: (macro .
> #[(handle) "ÁE++" [handle nth 2] 3])
> error in process filter: Invalid function: (macro . #[(handle) "ÁE++"
> [handle nth 2] 3]
> 
> Thanks for any help you can give.


Apparently the w3-decode-charset function uses a macro that is not
defined (if you're running it interpreted) or was not defined at
compile-time (if you're running it compiled).

-- 
<a href="mailto:&lt;kevinr&#64;ihs.com&gt;">Kevin Rodgers</a>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: w3 again,
       [not found]         ` <mailman.1033146535.10923.help-gnu-emacs@gnu.org>
  2002-09-27 21:16           ` Kevin Rodgers
@ 2002-09-28 12:27           ` Kai Großjohann
  2002-09-28 14:18             ` Roger Mason
  1 sibling, 1 reply; 21+ messages in thread
From: Kai Großjohann @ 2002-09-28 12:27 UTC (permalink / raw)


Roger Mason <rmason@sparky2.esd.mun.ca> writes:

> error in process filter: Invalid function: (macro . #[(handle) "ÁE"
> [handle nth 2] 3]

Hm.  Are you sure that "make" to compile the two packages used the
same Emacs as the one you're using to run it?

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: w3 again,
  2002-09-28 12:27           ` Kai Großjohann
@ 2002-09-28 14:18             ` Roger Mason
  2002-09-28 16:00               ` Kai Großjohann
  0 siblings, 1 reply; 21+ messages in thread
From: Roger Mason @ 2002-09-28 14:18 UTC (permalink / raw)


Hello,

I checked the config.log for the url & w3 packages: the configure script
found 21.1 in both cases, which is correct.

Thanks,

Roger Mason

On Sat, 28 Sep 2002, Kai [iso-8859-15] Großjohann wrote:

> Roger Mason <rmason@sparky2.esd.mun.ca> writes:
> 
> > error in process filter: Invalid function: (macro . #[(handle) "ÁE"
> > [handle nth 2] 3]
> 
> Hm.  Are you sure that "make" to compile the two packages used the
> same Emacs as the one you're using to run it?
> 
> kai
> -- 
> ~/.signature is: umop ap!sdn    (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: w3 again,
  2002-09-28 14:18             ` Roger Mason
@ 2002-09-28 16:00               ` Kai Großjohann
  2002-09-28 17:51                 ` Roger Mason
                                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Kai Großjohann @ 2002-09-28 16:00 UTC (permalink / raw)


Roger Mason <rmason@sparky2.esd.mun.ca> writes:

> I checked the config.log for the url & w3 packages: the configure script
> found 21.1 in both cases, which is correct.

Hm.  Could you M-: (load "w3.el") RET, then try again?  Maybe now the
backtrace is better, or the issue goes away completely.

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: w3 again,
  2002-09-28 16:00               ` Kai Großjohann
@ 2002-09-28 17:51                 ` Roger Mason
  2002-10-01 17:42                 ` Roger Mason
  2002-10-02 14:34                 ` Roger Mason
  2 siblings, 0 replies; 21+ messages in thread
From: Roger Mason @ 2002-09-28 17:51 UTC (permalink / raw)


Hi,

It returns 't' in the minibuffer, and

Loading w3.el (source)...done
t

in the messages buffer.

Roger

On Sat, 28 Sep 2002, Kai [iso-8859-15] Großjohann wrote:

> Roger Mason <rmason@sparky2.esd.mun.ca> writes:
> 
> > I checked the config.log for the url & w3 packages: the configure script
> > found 21.1 in both cases, which is correct.
> 
> Hm.  Could you M-: (load "w3.el") RET, then try again?  Maybe now the
> backtrace is better, or the issue goes away completely.
> 
> kai
> -- 
> ~/.signature is: umop ap!sdn    (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: w3 again,
  2002-09-28 16:00               ` Kai Großjohann
  2002-09-28 17:51                 ` Roger Mason
@ 2002-10-01 17:42                 ` Roger Mason
  2002-10-02 14:34                 ` Roger Mason
  2 siblings, 0 replies; 21+ messages in thread
From: Roger Mason @ 2002-10-01 17:42 UTC (permalink / raw)


Hello,

I had another go at w3.  I removed the *.elc files of url and w3, set
debug-on-error to 't' and invoked w3 using 'm-x w3'.  here is the
resulting backtrace:

Debugger entered--Lisp error: (invalid-function (macro . #[(handle) "ÁE‡"
[handle nth 2] 3]))
  mm-handle-encoding((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil
nil))
  w3-decode-charset((#<buffer  *mm*<2>> ("text/html") nil nil nil nil nil
nil))
  w3-fetch-callback("http://www.cs.indiana.edu/elisp/w3/docs.html")
  apply(w3-fetch-callback "http://www.cs.indiana.edu/elisp/w3/docs.html")
  url-http-activate-callback()
  url-http-wait-for-headers-change-function(1 185 184)
  url-http-generic-filter(#<process www.cs.indiana.edu> "HTTP/1.1 304 Not
Modified
\nDate: Tue, 01 Oct 2002 17:33:19 GMT
\nServer: Apache/1.3.26 (Unix) PHP/4.2.2 mod_ssl/2.8.10 OpenSSL/0.9.6e
\nConnection: close
\nETag: \"148a7e-b86-3c02cee1\"
\n
\n")

I found a thread at
http://mail.gnu.org/pipermail/emacs-devel/2002-January/004938.html
discussing the same error.  But there did not seem to be any fix.

It would be nice to find a cure for this, but if not I'll try w3m instead.

Roger Mason
emacs 21.1
CVS versions of url & w3
Linux

On Sat, 28 Sep 2002, Kai [iso-8859-15] Großjohann wrote:

> Roger Mason <rmason@sparky2.esd.mun.ca> writes:
> 
> > I checked the config.log for the url & w3 packages: the configure script
> > found 21.1 in both cases, which is correct.
> 
> Hm.  Could you M-: (load "w3.el") RET, then try again?  Maybe now the
> backtrace is better, or the issue goes away completely.
> 
> kai
> -- 
> ~/.signature is: umop ap!sdn    (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* tramp
@ 2002-10-01 23:59 ftrw
       [not found] ` <nq8z1hl42y.fsf@alcatel.de>
  0 siblings, 1 reply; 21+ messages in thread
From: ftrw @ 2002-10-01 23:59 UTC (permalink / raw)


Hi,

I was using tramp last week and it worked.  Now it does not work.  I
suppose I added some new packages (w3 and gnuserv) and tweaked my
.emacs but I cannot figure out what.  Here are the symptoms:

 C-x C-f begins to find a file 

 I clear the minibuffer line and type '/' <TAB> <TAB> and a
 completions list window pops up, showing me all of the files and
 directories in my / directory and all of the hosts in my
 ~/.ssh/known_hosts file.

 I can complete the machine name, as '/machine.uaf.edu:' and when
 I hit <TAB> again, I get a [no match] command.

 If I complete the file name by typing it, as 
 '/machine.uaf.edu:.emacs', I get a message that says:

     'File not found and directory write-protected'

 It is trying to create a file in my root directory.  So tramp finds
 my ~/.ssh/known_hosts file ok but then the connection is not
 happening.

Thank you for any help.

Ryan

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: w3 again,
  2002-09-28 16:00               ` Kai Großjohann
  2002-09-28 17:51                 ` Roger Mason
  2002-10-01 17:42                 ` Roger Mason
@ 2002-10-02 14:34                 ` Roger Mason
  2 siblings, 0 replies; 21+ messages in thread
From: Roger Mason @ 2002-10-02 14:34 UTC (permalink / raw)


Hello,

I have now found the problem.

Firstly, you were correct that running sources vs. byte-code helps to sort
the problem.

Weh I run source code, with debug-on-error set to 't' I get the following
backtrace on invoking m-x w3:

Loading w3 (source)...
Loading cl-macs...done
Loading cus-edit...
Loading easymenu...done
Loading cus-edit...done
Loading w3 (source)...done
Loading url-auth (source)...done
Loading cl-seq...done
Loading w3-hot (source)...done
Cannot determine format of hotlist file:
/home/rmason/.mosaic-hotlist-default
Contacting host: www.cs.indiana.edu:80
Loading url-cache (source)...done
Downloading of `http://www.cs.indiana.edu/elisp/w3/docs.html' complete.
Parsed  80% of 2951...
Parsed 100% of 2951...done
Drawing... done
error in process filter: if: Symbol's value as variable is void:
font-running-xemacs
error in process filter: Symbol's value as variable is void:
font-running-xemacs

On grepping for this variable in the site-lisp directory, I find it is not
defined, so I put

;; Kludge by rm Oct. 2 2002
(defvar font-running-xemacs nil
"True if this is Xemacs.  By default I set it to nil.")

in w3.el, and now everything seems to be OK.

I have not yet tried compiling and running compiled the code.

Thanks to all who assisted.

Roger Mason

On Sat, 28 Sep 2002, Kai [iso-8859-15] Großjohann wrote:

> Roger Mason <rmason@sparky2.esd.mun.ca> writes:
> 
> > I checked the config.log for the url & w3 packages: the configure script
> > found 21.1 in both cases, which is correct.
> 
> Hm.  Could you M-: (load "w3.el") RET, then try again?  Maybe now the
> backtrace is better, or the issue goes away completely.
> 
> kai
> -- 
> ~/.signature is: umop ap!sdn    (Frank Nobis)
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: tramp
       [not found] ` <nq8z1hl42y.fsf@alcatel.de>
@ 2002-10-03  2:13   ` ftrw
  0 siblings, 0 replies; 21+ messages in thread
From: ftrw @ 2002-10-03  2:13 UTC (permalink / raw)


Michael Albinus <Michael.Albinus@alcatel.de> writes:

> ftrw@uaf.edu writes:
> 
> >  If I complete the file name by typing it, as 
> >  '/machine.uaf.edu:.emacs', I get a message that says:
> > 
> >      'File not found and directory write-protected'
> > 
> >  It is trying to create a file in my root directory.  So tramp finds
> >  my ~/.ssh/known_hosts file ok but then the connection is not
> >  happening.
> 
> Could you, pls, perform `M-x tramp-bug', and follow the instructions
> there? Additionally, you shall provide the contents of the buffers
> `*tramp/ssh ftrw@machine.uaf.edu*' and `*debug tramp/ssh
> ftrw@machine.uaf.edu*' (given you're using ssh as default method).

I think it was a version issue in debian.  I updated some packages
(which is done automatically through a mirror) and seem to have
received something out of date.

I traced it down to:

file-name-handler-alist's value is 
(("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'\\|\\.bz2\\'\\|\\.tgz\\'\\|\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" . jka-compr-handler)
 ("^/[^/]*$" . tramp-completion-file-name-handler)
 ("\\`/[^/:]+:" . tramp-file-name-handler)
 ("\\`/:" . file-name-non-special))

The regexp for the tramp-file-name-handler variable was slightly
different.  Somehow in my /etc/emacs/site-start.d directory, the
50tramp.el was an older one, as another one in the same directory
called 50tramp_debpkg.el (or something like that--obviously something
from the debian packageing) was identical to the one that I get now
when I reinstall tramp.  I found this out by comparing the
/etc/emacs/site-start.d directory on a different machine that I loaded
tramp to today.  So things work now after purging and reinstalling
tramp.  There is no more 50tramp_debpkg.el file to be seen.

So I think I may have caught a debian mirror with an old update.

Thanks for the good work.

Ryan

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2002-10-03  2:13 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1032894380.6606.help-gnu-emacs@gnu.org>
2002-09-24 20:11 ` tramp Kai Großjohann
2002-09-26 17:38 ` tramp Michael P. Soulier
2002-09-27 11:43   ` tramp Kai Großjohann
2002-09-27 12:15     ` tramp Roger Mason
2002-09-27 13:59       ` tramp Carsten Dominik
2002-09-27 14:19       ` tramp Kai Großjohann
2002-09-27 17:07         ` w3 again, Roger Mason
     [not found]         ` <mailman.1033146535.10923.help-gnu-emacs@gnu.org>
2002-09-27 21:16           ` Kevin Rodgers
2002-09-28 12:27           ` Kai Großjohann
2002-09-28 14:18             ` Roger Mason
2002-09-28 16:00               ` Kai Großjohann
2002-09-28 17:51                 ` Roger Mason
2002-10-01 17:42                 ` Roger Mason
2002-10-02 14:34                 ` Roger Mason
2002-10-01 23:59 tramp ftrw
     [not found] ` <nq8z1hl42y.fsf@alcatel.de>
2002-10-03  2:13   ` tramp ftrw
     [not found] <mailman.1032957382.1320.help-gnu-emacs@gnu.org>
     [not found] ` <nqfzvyjji1.fsf@alcatel.de>
2002-09-25 14:03   ` Tramp Kai Großjohann
2002-09-25 15:25     ` Tramp Roger Mason
2002-09-25 15:58       ` Tramp Kai Großjohann
  -- strict thread matches above, loose matches on Subject: below --
2002-09-25 12:34 Tramp Roger Mason
2002-09-24  8:59 How to make emacs auto-recognize utf-8 encoded files upon visiting Charles Muller
2002-09-24 19:05 ` tramp Roger Mason

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).