[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IRC client for Emacs
From: |
Alex Schroeder |
Subject: |
Re: IRC client for Emacs |
Date: |
Wed, 14 Aug 2002 21:07:09 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.90 (i686-pc-linux-gnu) |
Karl Eichwalder <address@hidden> writes:
> Noah Friedman <address@hidden> writes:
>
>> I don't know if ERC has been internationalized, but zenirc has a
>> a few localization catalogs already.
>
> Can it serve as an example to internationalized other parts of Emacs,
> too?
Maybe for applications within Emacs. In erc.el there is code like
this:
(defun erc-make-message-variable-name (catalog entry)
(intern (concat "erc-message-"
(symbol-name catalog) "-" (symbol-name entry))))
(defun erc-define-catalog-entry (catalog entry format-spec)
(set (erc-make-message-variable-name catalog entry)
format-spec))
(defun erc-define-catalog (catalog entries)
(dolist (entry entries)
(erc-define-catalog-entry catalog (car entry) (cdr entry))))
(erc-define-catalog
'english
'((bad-ping-response . "Unexpected PING response from %n (time %t)")
(bad-syntax . "Bad syntax")
(cannot-find-file . "Cannot find file %f")
(cannot-read-file . "Cannot read file %f")
(connect . "Connecting to %S:%p... ")
etc.
Alex.
- IRC client for Emacs, Alex Schroeder, 2002/08/09
- Re: IRC client for Emacs, John Wiegley, 2002/08/09
- Re: IRC client for Emacs, Noah Friedman, 2002/08/10
- Re: IRC client for Emacs, Richard Stallman, 2002/08/10
- Re: IRC client for Emacs, Alex Schroeder, 2002/08/11
- Re: IRC client for Emacs, Noah Friedman, 2002/08/11
- Re: IRC client for Emacs, Mario Lang, 2002/08/14
- Re: IRC client for Emacs, Karl Eichwalder, 2002/08/14
- Re: IRC client for Emacs,
Alex Schroeder <=
- Message not available
- Re: IRC client for Emacs, Mario Lang, 2002/08/15
- Re: IRC client for Emacs, Richard Stallman, 2002/08/15
- Re: IRC client for Emacs, Noah Friedman, 2002/08/20
- Re: IRC client for Emacs, Richard Stallman, 2002/08/20
- Re: IRC client for Emacs, Noah Friedman, 2002/08/20
- Re: IRC client for Emacs, Richard Stallman, 2002/08/21
- Re: IRC client for Emacs, Noah Friedman, 2002/08/21
- Re: IRC client for Emacs, Daiki Ueno, 2002/08/22
- Re: IRC client for Emacs, Richard Stallman, 2002/08/23
- Re: IRC client for Emacs, Daiki Ueno, 2002/08/24