unofficial mirror of emacs-devel@gnu.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

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 public inbox

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

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