all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error connecting to telnet URLs with port number
@ 2007-09-22 16:47 Diane Murray
  2007-09-22 19:01 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Diane Murray @ 2007-09-22 16:47 UTC (permalink / raw)
  To: emacs-devel

An error occurs if URL tries to retrieve a telnet URL including a
port, because `terminal-emulator' only expects strings as the ARGS.
Here's a patch to fix that.


2007-09-22  Diane Murray  <disumu@x3y2z1.net>

	* url-misc.el (url-generic-emulator-loader): Send the port as a
	string to `url-do-terminal-emulator'.


--- url-misc.el	02 Aug 2007 18:43:27 +0200	1.10.2.1
+++ url-misc.el	22 Sep 2007 18:30:53 +0200	
@@ -75,7 +75,7 @@
   (let* ((type (intern (downcase (url-type url))))
 	 (server (url-host url))
 	 (name (url-user url))
-	 (port (url-port url)))
+	 (port (number-to-string (url-port url))))
     (url-do-terminal-emulator type server port name))
   nil)

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

* Re: Error connecting to telnet URLs with port number
  2007-09-22 16:47 Error connecting to telnet URLs with port number Diane Murray
@ 2007-09-22 19:01 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2007-09-22 19:01 UTC (permalink / raw)
  To: Diane Murray; +Cc: emacs-devel

Diane Murray wrote:

> An error occurs if URL tries to retrieve a telnet URL including a
> port, because `terminal-emulator' only expects strings as the ARGS.
> Here's a patch to fix that.

Thanks again. Applied.

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

end of thread, other threads:[~2007-09-22 19:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-22 16:47 Error connecting to telnet URLs with port number Diane Murray
2007-09-22 19:01 ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.