help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A system for localizing documentation strings


From: Eli Zaretskii
Subject: Re: A system for localizing documentation strings
Date: Thu, 26 Jul 2007 06:18:04 +0300

> From: Jean-Christophe Helary <fusion@mx6.tiki.ne.jp>
> Date: Thu, 26 Jul 2007 10:05:36 +0900
> 
> A function is  written like this (per Robert Chassell's book, I'm  
> currently only at chapter 3, sorry if all sounds a little too obvious):
> 
> (defun function-name (arguments...)
>       "optional-documentation..."
>       (interactive argument-passing-info)     ; optional
>       body...)
> 
> To offer a practical possibility for interactive localization we'd  
> need a function that dynamically generates output instead of the  
> "optional-documentation..." string. This function would take a number  
> of paired arguments:
> 
> (docfun
>       source-language-1 source-language-1-documentation-string
>       source-language-2 source-language-2-documentation-string
>       etc ...)
> 
> for ex:
> 
> (docfun
>       EN "optional-documentation in EN..."
>       FR "documentation optionnelle en FR...")

This kind of suggestions and the ensuing discussion should be on
emacs-devel mailing list, not here.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]