[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: telnet in buffer using elisp -- is this the best way?
From: |
Tennis Smith |
Subject: |
Re: telnet in buffer using elisp -- is this the best way? |
Date: |
Sat, 10 Jul 2004 18:34:31 -0700 |
Hi Kin,
Thanks for the response. I like the approach. Couple additional questions
below.
-Tennis
<snip>
>
> (mapc
> (lambda (x)
> (fset (car x)
> (list 'lambda () (nth 1 x) '(interactive)
> (nth 1 x) `(telnet ,(nth 1 x)) `(rename-buffer ,(nth 2 x)))))
> '((5gw-con "10.10.10.58 2008" "ef-gw-5-con")
> (5gw-con2 "10.10.10.58 2009" "ef-gw-5-con2")
> (7gw "10.10.10.40" "ef-gw-7")))
How can I stuff the 10.10.10.58 addr in to variable so I only have to change
it in one place?
>
> You should M-: (info " (elisp) Top") if you want to find out how
> the above works.
Hmmm... I got "no match" on my machine for this. I typed:
alt-x
followed by:
: (info " (elisp) Top")
Maybe I'm misunderstanding what you're saying....
>
> -kin
>
<snip>