Gnus development mailing list
 help / color / mirror / Atom feed
* Nnslashdot group containing "\w+:\s+\w+" causes error
@ 2003-12-15  7:10 Matti Saarinen
  2003-12-31  2:27 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Matti Saarinen @ 2003-12-15  7:10 UTC (permalink / raw)



I updated my Gnus from CVS this morning (2003-12-15). When I tried to
start Gnus it began, during the startup, asking my password for ftp
site ".god Domain Names". When I tried to find what's going on, I
found out that there was an old nnslashdot-group ".god Domain Names:
and something".

It seems that if the name of an nnslashdot group contains (in a perl
syntax) a string "\w+:\s+\w+", Gnus eventually lauches ange-ftp which
tries to connect to a site the name of which is the name of the group
up to the colon.

Unfotunately, I didn't save the backtrace.

-- 
- Matti -



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

* Re: Nnslashdot group containing "\w+:\s+\w+" causes error
  2003-12-15  7:10 Nnslashdot group containing "\w+:\s+\w+" causes error Matti Saarinen
@ 2003-12-31  2:27 ` Lars Magne Ingebrigtsen
  2004-01-02 16:52   ` Kai Grossjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-12-31  2:27 UTC (permalink / raw)


Matti Saarinen <mjs@cc.tut.fi> writes:

> It seems that if the name of an nnslashdot group contains (in a perl
> syntax) a string "\w+:\s+\w+", Gnus eventually lauches ange-ftp which
> tries to connect to a site the name of which is the name of the group
> up to the colon.

Weird.  Emacs 21 uses the much more intelligent Tramp multi-host
thing, so perhaps it's insinuated something into one of the file
insertion functions that didn't it didn't use to...

But without a backtrace it's difficult to say.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Nnslashdot group containing "\w+:\s+\w+" causes error
  2003-12-31  2:27 ` Lars Magne Ingebrigtsen
@ 2004-01-02 16:52   ` Kai Grossjohann
  2004-01-02 19:38     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Grossjohann @ 2004-01-02 16:52 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Weird.  Emacs 21 uses the much more intelligent Tramp multi-host
> thing, so perhaps it's insinuated something into one of the file
> insertion functions that didn't it didn't use to...

Currently, Tramp uses the same regexes as Ange-FTP used to, I think.

> But without a backtrace it's difficult to say.

Indeed.  Please provide a backtrace, Matti.

Kai



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

* Re: Nnslashdot group containing "\w+:\s+\w+" causes error
  2004-01-02 16:52   ` Kai Grossjohann
@ 2004-01-02 19:38     ` Lars Magne Ingebrigtsen
  2004-01-03 15:52       ` Kai Grossjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-01-02 19:38 UTC (permalink / raw)


Kai Grossjohann <kai@emptydomain.de> writes:

> Currently, Tramp uses the same regexes as Ange-FTP used to, I think.

Hey!  While I have you here, a Tramp problem:  :-)

If I say `C-x f /user@host.somewhere:' it insists on using ssh instead
of ftp.

Debugger entered--Lisp error: (quit)
  accept-process-output(#<process *tramp/ssh host.somewhere*> 1)
  tramp-wait-for-output()
  tramp-handle-expand-file-name("/user@host.somewhere:" nil)

How do I get it to not do that?  I mean, without actually reading the
manual?   

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

* Re: Nnslashdot group containing "\w+:\s+\w+" causes error
  2004-01-02 19:38     ` Lars Magne Ingebrigtsen
@ 2004-01-03 15:52       ` Kai Grossjohann
  2004-01-03 18:47         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Kai Grossjohann @ 2004-01-03 15:52 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> How do I get it to not do that?  I mean, without actually reading the
> manual?   

You ask me ;-)

You can either tell Tramp to always use ftp for filenames where the
method is not specified.  See the variable tramp-default-method.  For
example, (setq tramp-default-method "ftp").

Or you can tell Tramp to use ftp for certain user/host combinations.
See the variable tramp-default-method-alist.  For example,
(add-to-list 'tramp-default-method-alist '("u1" "h1" "ftp")) -- this
means that when the user name matches the regexp u1 and the host name
matches the regexp h1, then use ftp.  (Use "" for the regexp if you
need one that always matches.)

Does this help?

Kai



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

* Re: Nnslashdot group containing "\w+:\s+\w+" causes error
  2004-01-03 15:52       ` Kai Grossjohann
@ 2004-01-03 18:47         ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-01-03 18:47 UTC (permalink / raw)


Kai Grossjohann <kai@emptydomain.de> writes:

> You can either tell Tramp to always use ftp for filenames where the
> method is not specified.  See the variable tramp-default-method.  For
> example, (setq tramp-default-method "ftp").

Thanks; that does the trick.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




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

end of thread, other threads:[~2004-01-03 18:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-15  7:10 Nnslashdot group containing "\w+:\s+\w+" causes error Matti Saarinen
2003-12-31  2:27 ` Lars Magne Ingebrigtsen
2004-01-02 16:52   ` Kai Grossjohann
2004-01-02 19:38     ` Lars Magne Ingebrigtsen
2004-01-03 15:52       ` Kai Grossjohann
2004-01-03 18:47         ` Lars Magne Ingebrigtsen

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 NNTP newsgroup(s).