Function: eudc-edit-hotlist
eudc-edit-hotlist is an autoloaded, interactive and byte-compiled
function defined in eudc-hotlist.el.gz.
Signature
(eudc-edit-hotlist)
Documentation
Edit the hotlist of directory servers in a specialized buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/eudc-hotlist.el.gz
;;;###autoload
(defun eudc-edit-hotlist ()
"Edit the hotlist of directory servers in a specialized buffer."
(interactive)
(let ((proto-col 10)
gap)
(switch-to-buffer (get-buffer-create "*EUDC Servers*"))
(setq buffer-read-only nil)
(erase-buffer)
(dolist (entry eudc-server-hotlist)
(setq proto-col (max (length (car entry)) proto-col)))
(setq proto-col (+ 3 proto-col))
(setq gap (make-string (- proto-col 6) ?\ ))
(insert " EUDC Servers\n"
" ============\n"
"\n"
"Server" gap "Protocol\n"
"------" gap "--------\n"
"\n")
(setq eudc-hotlist-list-beginning (point))
(dolist (entry eudc-server-hotlist)
(insert (car entry))
(indent-to proto-col)
(insert (symbol-name (cdr entry)) "\n"))
(eudc-hotlist-mode)))