all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#11186: 24.0.92; ERC: Better names for the different log file name formats
@ 2012-04-05 17:56 Deniz Dogan
  2012-10-07  2:05 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Deniz Dogan @ 2012-04-05 17:56 UTC (permalink / raw)
  To: 11186

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

I think the names of the different log file name formats could be
improved a lot.  There's basically nothing that tells the ordinary user
what the different log formats imply.  Attached is a patch which changes
the name to be more verbose about what the formats mean.

Note that I have used #channel instead of "target" or "buffer" in this
patch, because the ordinary user will most likely understand that
#channel could very well be an IRC user as well.

[-- Attachment #2: Patch --]
[-- Type: text/plain, Size: 948 bytes --]

=== modified file 'lisp/erc/erc-log.el'
--- lisp/erc/erc-log.el	2012-01-19 07:21:25 +0000
+++ lisp/erc/erc-log.el	2012-04-05 17:53:30 +0000
@@ -113,9 +113,9 @@
 custom function which returns the directory part and set
 `erc-log-channels-directory' to its name."
   :group 'erc-log
-  :type '(choice (const :tag "Long style" erc-generate-log-file-name-long)
-		 (const :tag "Long, but with network name rather than server"
+  :type '(choice (const :tag "#channel!nick@server:port.txt" erc-generate-log-file-name-long)
+		 (const :tag "#channel!nick@network.txt"
 			erc-generate-log-file-name-network)
-		 (const :tag "Short" erc-generate-log-file-name-short)
-		 (const :tag "With date" erc-generate-log-file-name-with-date)
+		 (const :tag "#channel.txt" erc-generate-log-file-name-short)
+		 (const :tag "#channel@date.txt" erc-generate-log-file-name-with-date)
 		 (function :tag "Other function")))

 (defcustom erc-truncate-buffer-on-save nil

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

* bug#11186: 24.0.92; ERC: Better names for the different log file name formats
  2012-04-05 17:56 bug#11186: 24.0.92; ERC: Better names for the different log file name formats Deniz Dogan
@ 2012-10-07  2:05 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2012-10-07  2:05 UTC (permalink / raw)
  To: 11186-done

Version: 24.3

Thanks; applied to trunk.





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

end of thread, other threads:[~2012-10-07  2:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05 17:56 bug#11186: 24.0.92; ERC: Better names for the different log file name formats Deniz Dogan
2012-10-07  2:05 ` Glenn Morris

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.