From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic James Ferrier Newsgroups: gmane.emacs.devel Subject: small rcirc suggestion Date: Wed, 15 Nov 2006 10:55:37 +0000 Message-ID: <874pt1uggm.fsf@tapsellferrier.co.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163588625 13334 80.91.229.2 (15 Nov 2006 11:03:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Nov 2006 11:03:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 15 12:03:42 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GkIYN-0000JP-F8 for ged-emacs-devel@m.gmane.org; Wed, 15 Nov 2006 12:03:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkIYM-0001bE-Gm for ged-emacs-devel@m.gmane.org; Wed, 15 Nov 2006 06:03:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GkIY9-0001b9-VK for emacs-devel@gnu.org; Wed, 15 Nov 2006 06:03:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GkIY7-0001aX-KK for emacs-devel@gnu.org; Wed, 15 Nov 2006 06:03:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkIY7-0001aU-HY for emacs-devel@gnu.org; Wed, 15 Nov 2006 06:03:23 -0500 Original-Received: from [81.187.188.218] (helo=owls-house.tapsellferrier.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GkIY7-0002rR-7F for emacs-devel@gnu.org; Wed, 15 Nov 2006 06:03:23 -0500 Original-Received: from nicferrier.tapsellferrier.co.uk ([172.31.50.1] helo=localhost) by owls-house.tapsellferrier.co.uk with esmtp (Exim 4.60 #1 (Debian)) id 1GkITm-0006hw-Il; Wed, 15 Nov 2006 10:58:54 +0000 Original-Received: from nferrier by localhost with local (Exim 4.50) id 1GkIQb-00021i-RH; Wed, 15 Nov 2006 10:55:37 +0000 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62330 Archived-At: I know we're heading for release and this is not intended to disrupt that in anyway... but I can't see where else to send this suggestion. I find that I visit the same irc servers all the time and I'd like history to reflect that: diff -u /home/nferrier/rcirc.el\~ /home/nferrier/rcirc.el --- /home/nferrier/rcirc.el~ 2006-11-15 00:05:27.000000000 +0000 +++ /home/nferrier/rcirc.el 2006-11-15 10:37:02.000000000 +0000 @@ -319,19 +319,13 @@ (defconst rcirc-id-string (concat "rcirc on GNU Emacs " emacs-version)) (defvar rcirc-startup-channels nil) - -(defun rcirc-available-servers-to-alist () - - ) ;;;###autoload (defun rcirc (arg) "Connect to IRC. If ARG is non-nil, prompt for a server to connect to." (interactive "P") (if arg - (let* ((server (completing-read "IRC Server: " - (rcirc-defined-servers-to-alist) - rcirc-default-server)) + (let* ((server (read-string "IRC Server: " rcirc-default-server)) (port (read-string "IRC Port: " (number-to-string rcirc-default-port))) (nick (read-string "IRC Nick: " rcirc-default-nick)) (channels (split-string What would be really nice if history were persisted over emacs invocations. Could one make history variables customizations and auto save them? -- Nic Ferrier http://www.tapsellferrier.co.uk for all your tapsell ferrier needs