all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18213: [PATCH] ERC bugfixes and improvements
@ 2014-08-06 17:44 Kelvin White
  2014-12-16 12:24 ` bug#18213: Close debbugs #18213 Kelvin White
  0 siblings, 1 reply; 2+ messages in thread
From: Kelvin White @ 2014-08-06 17:44 UTC (permalink / raw)
  To: 18213


I plan to install the following patch in emacs trunk if there are no
objections. This patch fixes a bug in loss of user mode prefix display,
and adds feature to rename server buffers to network name if available.

=== modified file 'lisp/erc/erc.el'
--- lisp/erc/erc.el     2014-07-08 19:45:24 +0000
+++ lisp/erc/erc.el     2014-08-06 17:36:30 +0000
@@ -4783,10 +4783,10 @@
                (setq name (substring item 1))
                (setf (pcase (aref item 0)
                        ((pred (eq voice-ch)) voice)
-                       ((pred (eq hop-ch))   hop)
+                       ((pred (eq hop-ch))   halfop)
                        ((pred (eq op-ch))    op)
-                       ((pred (eq adm-ch))   adm)
-                       ((pred (eq own-ch))   own))
+                       ((pred (eq adm-ch))   admin)
+                       ((pred (eq own-ch))   owner))
                      'on)))
           (when updatep
             (puthash (erc-downcase name) t
@@ -6233,7 +6233,10 @@
     (cond ((erc-default-target)
            (concat (erc-string-no-properties (erc-default-target))
                    "@" network-name))
-          (network-name network-name)
+          ((and network-name
+                (not (string-equal network-name (buffer-name))))
+           (rename-buffer network-name)
+           network-name)
           (t (buffer-name (current-buffer))))))





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

* bug#18213: Close debbugs #18213
  2014-08-06 17:44 bug#18213: [PATCH] ERC bugfixes and improvements Kelvin White
@ 2014-12-16 12:24 ` Kelvin White
  0 siblings, 0 replies; 2+ messages in thread
From: Kelvin White @ 2014-12-16 12:24 UTC (permalink / raw)
  To: 18213

[-- Attachment #1: Type: text/plain, Size: 54 bytes --]

Bug fix for missing user mode. This report is closed.

[-- Attachment #2: Type: text/html, Size: 79 bytes --]

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

end of thread, other threads:[~2014-12-16 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-06 17:44 bug#18213: [PATCH] ERC bugfixes and improvements Kelvin White
2014-12-16 12:24 ` bug#18213: Close debbugs #18213 Kelvin White

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.