[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Erc-discuss] Re: ERC buglet with reconnect
From: |
Michael Olson |
Subject: |
[Erc-discuss] Re: ERC buglet with reconnect |
Date: |
Thu, 12 Jul 2007 22:34:33 -0400 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
Tom Tromey <address@hidden> writes:
> Oh, I think I see. C-m is bound to erc-send-current-line. Before
> calling erc-send-input (which eventually calls erc-process-input-line,
> which would end up calling erc-cmd-RECONNECT), it does:
>
> ((not (erc-server-buffer-live-p))
> (message "ERC: No process running")
> (beep))
>
> ... so this is the problem.
I've checked in a fix. Now, to indicate that a command will work even
if the server process is no longer alive, do:
(put 'erc-cmd-SOMECOMMAND 'process-not-needed t)
> And, the use of message+beep is why I couldn't get a stack trace.
> (Aside: why not use error here?)
I've checked in a fix for this as well, so that it will do what you
expect when debug-on-error is non-nil.
--
Michael Olson -- FSF Associate Member #652 |
http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net | /` |\ | | |
Sysadmin -- Hobbies: Lisp, GP2X, HCoop | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
pgppmXA2L29IN.pgp
Description: PGP signature