1@c This file is part of the GNU gettext manual. 2@c Copyright (C) 1995-2020 Free Software Foundation, Inc. 3@c See the file gettext.texi for copying conditions. 4 5@node Emacs Lisp 6@subsection Emacs Lisp 7@cindex Emacs Lisp 8 9@table @asis 10@item RPMs 11emacs, xemacs 12 13@item Ubuntu packages 14emacs, xemacs21 15 16@item File extension 17@code{el} 18 19@item String syntax 20@code{"abc"} 21 22@item gettext shorthand 23@code{(_"abc")} 24 25@item gettext/ngettext functions 26@code{gettext}, @code{dgettext} (xemacs only) 27 28@item textdomain 29@code{domain} special form (xemacs only) 30 31@item bindtextdomain 32@code{bind-text-domain} function (xemacs only) 33 34@item setlocale 35automatic 36 37@item Prerequisite 38--- 39 40@item Use or emulate GNU gettext 41use 42 43@item Extractor 44@code{xgettext} 45 46@item Formatting with positions 47@code{format "%2$d %1$d"} 48 49@item Portability 50Only XEmacs. Without @code{I18N3} defined at build time, no translation. 51 52@item po-mode marking 53--- 54@end table 55