From: Deniz Dogan <deniz.a.m.dogan@gmail.com>
To: 6386@debbugs.gnu.org
Cc: Ryan Yeske <rcyeske@gmail.com>
Subject: bug#6386: [PATCH] rcirc: Reset mode-line-process when joining a channel
Date: Wed, 9 Jun 2010 23:21:03 +0200 [thread overview]
Message-ID: <AANLkTilCATwK9jG2VnBY29Ln0duZo3gGvk7m5tjl48XV@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
The attached patch fixes an issue with rcirc which occurs when one
joins a channel, from one was previously kicked, which is already
associated with a buffer. Currently mode-line-process still says
":disconnected" after rejoining.
[-- Attachment #2: rcirc-mode-line-process.patch --]
[-- Type: application/octet-stream, Size: 628 bytes --]
=== modified file 'lisp/net/rcirc.el'
--- lisp/net/rcirc.el 2010-06-03 17:22:27 +0000
+++ lisp/net/rcirc.el 2010-06-09 21:18:38 +0000
@@ -2386,7 +2386,10 @@
(rcirc-elapsed-lines process sender channel)))
(when (and last-activity-lines
(< last-activity-lines rcirc-omit-threshold))
- (rcirc-last-line process sender channel)))))
+ (rcirc-last-line process sender channel))))
+ ;; reset mode-line-process in case joining a channel with an
+ ;; already open buffer (after getting kicked e.g.)
+ (setq mode-line-process nil))
(rcirc-print process sender "JOIN" channel "")
next reply other threads:[~2010-06-09 21:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 21:21 Deniz Dogan [this message]
2011-02-05 21:12 ` bug#6386: Deniz Dogan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTilCATwK9jG2VnBY29Ln0duZo3gGvk7m5tjl48XV@mail.gmail.com \
--to=deniz.a.m.dogan@gmail.com \
--cc=6386@debbugs.gnu.org \
--cc=rcyeske@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).