unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6386: [PATCH] rcirc: Reset mode-line-process when joining a channel
@ 2010-06-09 21:21 Deniz Dogan
  2011-02-05 21:12 ` bug#6386: Deniz Dogan
  0 siblings, 1 reply; 2+ messages in thread
From: Deniz Dogan @ 2010-06-09 21:21 UTC (permalink / raw)
  To: 6386; +Cc: Ryan Yeske

[-- 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 "")
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#6386:
  2010-06-09 21:21 bug#6386: [PATCH] rcirc: Reset mode-line-process when joining a channel Deniz Dogan
@ 2011-02-05 21:12 ` Deniz Dogan
  0 siblings, 0 replies; 2+ messages in thread
From: Deniz Dogan @ 2011-02-05 21:12 UTC (permalink / raw)
  To: 6386-done

Fixed in trunk





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-05 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 21:21 bug#6386: [PATCH] rcirc: Reset mode-line-process when joining a channel Deniz Dogan
2011-02-05 21:12 ` bug#6386: Deniz Dogan

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).