1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
emacs/lisp/international
Paul Eggert c4151ebe15 Improve the optional translation of quotes
Fix several problems with the recently-added custom variable
help-quote-translation where the code would quote inconsistently
in help buffers.  Add support for quoting 'like this', which
is common in other GNU programs in ASCII environments.  Change
help-quote-translation to use more mnemonic values: values are now the
initial quoting char, e.g., (setq help-quote-translation ?`) gets the
traditional Emacs help-buffer quoting style `like this'.  Change the
default behavior of substitute-command-keys to match what's done in
set-locale-environment, i.e., quote ‘like this’ if displayable,
'like this' otherwise.
* doc/lispref/help.texi (Keys in Documentation): Document
new behavior of substitute-command-keys, and document
help-quote-translation.
* doc/lispref/tips.texi (Documentation Tips):
Mention the effect of help-quote-translation.
* etc/NEWS: Mention new behavior of substitute-command-keys,
and merge help-quote-translation news into it.
When talking about doc strings, mention new ways to type quotes.
* lisp/cedet/mode-local.el (overload-docstring-extension):
Revert my recent change to this function, which shouldn't be
needed as the result is a doc string.
* lisp/cedet/mode-local.el (mode-local-print-binding)
(mode-local-describe-bindings-2):
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
* lisp/cus-theme.el (describe-theme-1):
* lisp/descr-text.el (describe-text-properties-1, describe-char):
* lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
* lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
(eieio-help-constructor):
* lisp/emacs-lisp/package.el (describe-package-1):
* lisp/faces.el (describe-face):
* lisp/help-fns.el (help-fns--key-bindings)
(help-fns--compiler-macro, help-fns--parent-mode)
(help-fns--obsolete, help-fns--interactive-only)
(describe-function-1, describe-variable):
* lisp/help.el (describe-mode):
Use substitute-command-keys to ensure a more-consistent quoting
style in help buffers.
* lisp/cus-start.el (standard):
Document new help-quote-translation behavior.
* lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
* lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
(help-xref-url-regexp):
* lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
* lisp/wid-edit.el (widget-documentation-link-regexp):
Also match 'foo', in case we're in a help buffer generated when
help-quote-translation is ?'.
* src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
(LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
(uRSQM1, uRSQM2, LSQM, RSQM): New constants.
(Fsubstitute_command_keys): Document and implement new behavior.
(Vhelp_quote_translation): Document new behavior.
2015-06-19 00:38:45 -07:00
..
ccl.el Spelling fixes 2015-01-10 21:51:43 -08:00
characters.el Generate char-script-table from Unicode source. (Bug#20789) 2015-06-16 23:43:03 -07:00
fontset.el Fix some typos in copied Unicode data. (Bug#20789) 2015-06-16 20:54:40 -04:00
isearch-x.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
iso-ascii.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
iso-cvt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
iso-transl.el C-x 8 shorthands for curved quotes, Euro, etc. 2015-05-10 17:42:21 -07:00
ja-dic-cnv.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ja-dic-utl.el
kinsoku.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
kkc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
latexenc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
latin1-disp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
mule-cmds.el Improve the optional translation of quotes 2015-06-19 00:38:45 -07:00
mule-conf.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
mule-diag.el Support curved quotes in doc strings 2015-05-28 00:22:02 -07:00
mule-util.el Improve and extend filepos-to-bufferpos 2015-06-18 15:06:53 +03:00
mule.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ogonek.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
quail.el Fix display of keyboard layouts for right-to-left scripts 2015-05-02 17:08:54 +03:00
README
robin.el Update source file encoding list 2015-04-28 10:52:06 -07:00
titdic-cnv.el Tweak some build messages. 2015-06-05 16:10:18 -04:00
ucs-normalize.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
utf-7.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00

The following files in this directory are derived from the Unicode
Data File at http://www.unicode.org/Public/UNIDATA/UnicodeData.txt:

  charprop.el uni-bidi.el uni-category.el uni-combining.el
  uni-comment.el uni-decimal.el uni-decomposition.el uni-digit.el
  uni-lowercase.el uni-mirrored.el uni-name.el uni-numeric.el
  uni-old-name.el uni-titlecase.el uni-uppercase.el

These files were generated from the version admin/unidata/UnicodeData.txt
in the Emacs sources, using the file unidata-gen.el in the same directory.

The file UnicodeData.txt is used under the Unicode Terms of Use,
contained in the file admin/unidata/copyright.html.