summaryrefslogtreecommitdiff
path: root/lisp/international
Commit message (Collapse)AuthorAgeFilesLines
* Avoid signaling errors in emoji.el on empty inputEshel Yaron2024-01-271-5/+6
| | | | | | | * lisp/international/emoji.el (emoji--read-emoji): Signal user-error on empty input. (Bug#68671) Do not merge to master.
* ; Add 2024 to copyright yearsPo Lu2024-01-0227-27/+27
|
* Fix script for some charactersEli Zaretskii2023-12-201-0/+3
| | | | | | | | * lisp/international/characters.el (char-script-table): Fix script for 2 characters. * admin/unidata/blocks.awk: Fix script for Yijing Hexagram Symbols. (Bug#67924)
* Allow listing Emoji from a read-only bufferEli Zaretskii2023-11-231-3/+5
| | | | | | | * lisp/international/emoji.el (emoji-list): Don't barf here if the original buffer is read-inly... (emoji-list-select): ...barf here instead. (Bug#67400) (emoji-list): Doc fix.
* Support regeneration of ja-dic.el under '--with-small-ja-dic'Eli Zaretskii2023-09-241-0/+2
| | | | | | | | | | | | | | * lisp/international/ja-dic-cnv.el (skkdic-convert): Record the value of SMALL_JA_DIC option used to produce ja-dic.el. * leim/Makefile.in (small-ja-dic-option): New target, triggers regeneration of ja-dic.el when the value of SMALL_JA_DIC option changes by the configure script. Suggested by Ulrich Mueller <ulm@gentoo.org>. (${leimdir}/ja-dic/ja-dic.el): Depend on 'small-ja-dic-option'. (Bug#66125) * make-dist (possibly_non_vc_files): * .gitignore: Add 'leim/small-ja-dic-option'.
* Ensure ucs-names is consistent with Unicode namesRobert Pluim2023-09-181-8/+18
| | | | | | | | | | | | * lisp/international/mule-cmds.el (ucs-names): Skip adding an old-name if it conflicts with the offical name of a codepoint. Adjust the ranges iterated over to account for new Unicode codepoints. * test/lisp/international/mule-tests.el (mule-cmds-tests--ucs-names-old-name-override, mule-cmds-tests--ucs-names-missing-names): New tests for checking 'ucs-names' consistency. Bug#65997
* Fix Unicode normalization of charactersEli Zaretskii2023-09-161-3/+11
| | | | | | | | | | | | | * lisp/international/ucs-normalize.el (ucs-normalize-composition-exclusions, check-range): Update from Unicode 15.0 data. (Bug#65996) * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-tests--failing-lines-part1) (ucs-normalize-tests--failing-lines-part2): Update to reflect changes in ucs-normalize.el. * admin/notes/unicode: Mention the updates in ucs-normalize.el.
* Fix the 'C' and 'c' categories of charactersEli Zaretskii2023-09-161-4/+4
| | | | | * lisp/international/characters.el: Fix categories of Chinese characters. (Bug65995)
* Fix Emoji zooming commandsEli Zaretskii2023-09-161-2/+6
| | | | | * lisp/international/emoji.el (emoji-zoom-increase): Handle the case where face property at point is a list of faces. (Bug#65994)
* Add 2 Welsh characters to iso-transl.elDevon Sean McCullough2023-08-131-0/+4
| | | | | * lisp/international/iso-transl.el (iso-transl-char-map): Add two Welsh characters. (Bug#65248)
* Fix visiting HTML files encoded in iso-2022 variantsEli Zaretskii2023-05-221-6/+10
| | | | | | * lisp/international/mule.el (sgml-xml-auto-coding-function) (sgml-html-meta-auto-coding-function): Handle coding-systems whose coding-system-type is iso-2022. (Bug#63644)
* ; Improve font selection for Traditional MongolianEli Zaretskii2023-04-231-1/+1
| | | | | * lisp/international/fontset.el (setup-default-fontset): Improve the font spec for Traditional Mongolian. (Bug#63028)
* Fix rendering of Traditional Mongolian scriptEli Zaretskii2023-04-232-0/+12
| | | | | | | | | * lisp/international/characters.el: Set punctuation syntax for Po characters from the Mongolian block * lisp/international/fontset.el (setup-default-fontset): Add fontset setting for Traditional Mongolic. * lisp/language/misc-lang.el (composition-function-table): Add rules for Traditional Mongolic. (Bug#63028)
* Allow active region when IM is usedEli Zaretskii2023-04-071-1/+2
| | | | | | * lisp/international/quail.el (quail-minibuffer-message): Bind deactivate-mark to allow setting active region in the minibuffer when an input method is used. (Bug#62709)
* Add emoji-zoom-resetRobert Pluim2023-04-062-2/+17
| | | | | | | * lisp/international/emoji.el (emoji-zoom-map): Add emoji-zoom-reset. (emoji-zoom-reset): New function, it resets the zoom level. * lisp/international/mule-cmds.el (ctl-x-map): Add emoji-zoom-reset. * etc/NEWS: Announce new command.
* Make emoji-zoom-{increase,decrease} set text properties correctlyRobert Pluim2023-04-061-17/+27
| | | | | | | * lisp/international/emoji.el (emoji-zoom-increase): Ensure that we're increasing the :height of the anonymous face at point, rather than having two :height properties, which appeared to work by accident, and don't error at eob. (Bug#62675)
* Fix mule-tests under en_US.UTF-8 localeEli Zaretskii2023-02-151-0/+1
| | | | | | | | | * test/lisp/international/mule-tests.el (sgml-html-meta-utf-8): Accept also utf-8-unix/dos/whatever. (Bug#61534) * lisp/international/mule.el (sgml-html-meta-auto-coding-function): Fix comparison when buffer-file-coding-system is of type 'charset'.
* ; Fix trivial mistake in emoji--choose-emojiJonas Bernoulli2023-02-051-1/+1
| | | | | * lisp/international/emoji.el (emoji--choose-emoji): The derived versions are in the cdr not cadr.
* ; Move misplaces parenthesis in emoji--choose-emojiJonas Bernoulli2023-02-051-1/+1
| | | | | * lisp/international/emoji.el (emoji--choose-emoji): Move misplaced parenthesis.
* No longer use transient in isearch-emoji-by-nameJonas Bernoulli2023-02-051-16/+20
| | | | | | | | | | * lisp/isearch.el (isearch-emoji-by-name): Use 'emoji--read-emoji' and if that returns derivations, 'completing-read' to select one of them. This fixes bug#60740. * lisp/international/emoji.el (emoji--init): Autoload. (emoji--read-emoji): New function, which doesn't use transient and returns a list of the glyph and all derivations, if any. (emoji--choose-emoji): Use 'emoji--read-emoji'.
* Fix decoding HTML files from archivesBenjamin Riefenstahl2023-01-221-0/+4
| | | | | | | | | * lisp/international/mule.el (sgml-xml-auto-coding-function): Avoid signaling an error from coding-system-equal when the XML encoding tag specifies an encoding whose type is 'charset'. (Bug#61005) This is the same fix as in #df7ed10e for sgml-xml-auto-coding-function.
* Fix encoding with 'utf-8-auto'Eli Zaretskii2023-01-121-1/+2
| | | | | | | | | | | | * src/coding.c (encode_coding_utf_8): Fix encoding with 'utf-8-auto': it should produce BOM, per the documentation of the :bom attribute. (Bug#60750) * lisp/international/mule.el (define-coding-system): Doc fix. * test/src/coding-tests.el (coding-tests): Use 'with-coding-priority' instead of 'prefer-coding-system', as the latter has global persistent effect and affects further tests.
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-0127-27/+27
|
* Fix definition of CNS 11643-15 charsetEli Zaretskii2022-12-242-2/+2
| | | | | | | * lisp/international/mule-conf.el (chinese-cns11643-15): Fix :code-offset value. (Bug#60275) * lisp/international/characters.el: Add chinese-cns11643-15 to charsets whose characters have categories c and C.
* ; Fix typosStefan Kangas2022-12-081-2/+2
|
* ; Add doc string to 'ucs-normalize-string'Eli Zaretskii2022-11-261-0/+1
| | | | | * lisp/international/ucs-normalize.el (ucs-normalize-string): Add a doc string. (Bug#59603)
* ; Explain why some files are encoded in utf-8-emacsEli Zaretskii2022-11-191-0/+7
| | | | | | | | | | | | * lisp/international/titdic-cnv.el: * lisp/language/ethio-util.el: * lisp/language/ethiopic.el: * lisp/language/ind-util.el: * lisp/language/tibetan.el: * lisp/language/tibet-util.el: * lisp/leim/quail/ethiopic.el: * lisp/leim/quail/tibetan.el: Add commentary explaining why these files are encoded in utf-8-emacs. (Bug#59341)
* ; * emoji.el (emoji--define-transient): Adapt to recent changes in transient.Jonas Bernoulli2022-11-031-2/+1
|
* ; Change parent language-environment of KharoshthiEli Zaretskii2022-10-301-9/+16
| | | | | | | * lisp/language/misc-lang.el ("Kharoshthi"): Change its parent to "Indian". (Bug#58376) * lisp/international/mule-cmds.el (set-language-info-alist): Fix indentation.
* Fix set-language-info-alist when multiple PARENTS are givenVisuwesh2022-10-301-45/+41
| | | | | | | * lisp/international/mule-cmds.el (set-language-info-setup-keymap): Function factored out from... (set-language-info-alist): ...here. Do not mess up the keymaps when multiple parents are given in PARENTS. (Bug#58376)
* Fix typo in textsec-restriction-levelStefan Kangas2022-10-261-1/+1
| | | | | | * lisp/international/textsec.el (textsec-restriction-level): * test/lisp/international/textsec-tests.el (test-restriction-level): Fix typo in symbol name `moderately-restrictive'.
* Pacify recent unused/ignored lexvar warningsBasil L. Contovounesios2022-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Lexvars with special names like 'ignored' or 'unused' are no longer treated specially. * lisp/ansi-color.el (ansi-color-process-output): * lisp/cus-edit.el (customize-apropos-options): * lisp/cus-theme.el (customize-create-theme): * lisp/dired-aux.el (dired-hide-all): * lisp/emacs-lisp/crm.el (crm--choose-completion-string): * lisp/emacs-lisp/tabulated-list.el (tabulated-list-revert): * lisp/ido.el (ido-choose-completion-string): * lisp/international/mule-diag.el (describe-font-internal): * lisp/mail/sendmail.el (sendmail-user-agent-compose): * lisp/progmodes/fortran.el (fortran-uncomment-region): * lisp/progmodes/prolog.el (prolog-inferior-guess-flavor): * lisp/progmodes/ruby-mode.el (ruby-indent-line, ruby-indent-exp): * lisp/url/url.el (url-mm-callback): * lisp/xwidget.el (xwidget-webkit-history-reload): Prepend an underscore to unused function parameter names. * lisp/emacs-lisp/cconv.el (cconv--dummy-var): Remove unused constant. * lisp/files.el (hack-local-variables-filter): Remove unused lexvar.
* Add support for the Coptic script (bug#58330)समीर सिंह Sameer Singh2022-10-081-1/+2
| | | | | | | | | | | * lisp/language/misc-lang.el ("Coptic"): New language environment. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support coptic. * lisp/leim/quail/misc-lang.el ("coptic"): New input method. * etc/HELLO: Add a Coptic greeting. * etc/NEWS: Announce the new language environment.
* ; Improve doc string of 'with-locale-environment'Eli Zaretskii2022-10-021-1/+7
| | | | | * lisp/international/mule-cmds.el (with-locale-environment): Doc fix.
* Add support for the Gothic script (bug#58194)समीर सिंह Sameer Singh2022-10-021-0/+2
| | | | | | | | | | | * lisp/language/misc-lang.el ("Gothic"): New language environment. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support gothic. * lisp/leim/quail/misc-lang.el ("gothic"): New input method. * etc/HELLO: Add Gothic greetings. * etc/NEWS: Announce the new language environment.
* ; * lisp/international/mule.el (set-terminal-coding-system): Doc fix.Eli Zaretskii2022-09-301-5/+5
|
* Further with-locale-environment refresh fixesLars Ingebrigtsen2022-09-301-4/+8
| | | | | | | * lisp/international/mule-cmds.el (set-display-table-and-terminal-coding-system): Allow inhibiting refresh. (set-locale-environment): Inhibit refresh in more paths (bug#58193).
* Don't refresh the frame in with-locale-environmentLars Ingebrigtsen2022-09-302-8/+16
| | | | | | | * lisp/international/mule-cmds.el (with-locale-environment): Inhibit refresh so that there's no flickering (bug#58193). (set-locale-environment): Allow inhibiting the refresh. * lisp/international/mule.el (set-terminal-coding-system): Ditto.
* Add support for the Toto script (bug#58181)समीर सिंह Sameer Singh2022-09-301-1/+1
| | | | | | | | | | * lisp/language/indian.el ("Toto"): New language environment. Add input method. * lisp/international/fontset.el (script-representative-chars): Support Toto. * lisp/leim/quail/indian.el ("toto"): New input method. * etc/NEWS: Announce the new language environment.
* Add support for the Wancho script (bug#58159)समीर सिंह Sameer Singh2022-09-291-1/+2
| | | | | | | | | | | * lisp/language/indian.el ("Wancho"): New language environment. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Wancho. * lisp/leim/quail/indian.el ("wancho"): New input method. * etc/HELLO: Add a Wancho greeting. * etc/NEWS: Announce the new language environment.
* Add support for the Mende Kikakui script (bug#58151)समीर सिंह Sameer Singh2022-09-291-3/+6
| | | | | | | | | | | | * lisp/language/misc-lang.el ("Mende Kikakui"): New language environment. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Mende Kikakui, Indic Siyaq Numbers, Ottoman Siyaq Numbers. * lisp/leim/quail/misc-lang.el ("mende-kikakui"): New input method. * etc/HELLO: Add Mende Kikakui greeting. * etc/NEWS: Announce the new language environment.
* Add support for the Adlam script (bug#58111)समीर सिंह Sameer Singh2022-09-281-1/+1
| | | | | | | | | | | * lisp/language/misc-lang.el ("Adlam"): New language environment. Add composition rules for Adlam. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars): Support Adlam. * lisp/leim/quail/misc-lang.el ("adlam"): New input method. * etc/HELLO: Add Adlam greeting. * etc/NEWS: Announce the new language environment.
* Improve Gurmukhi composition rules (Bug#58098)समीर सिंह Sameer Singh2022-09-281-2/+4
| | | | | | | * lisp/language/indian.el: Improve composition rules for Gurmukhi. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Chess Symbols.
* Add back useful information from gnus-coding.texiStefan Kangas2022-09-271-1/+4
| | | | | | * lisp/international/rfc1843.el: * lisp/net/pop3.el: Improve Commentary by adding back text from deleted file gnus-coding.texi.
* Support Noto Emoji font as fallbackEli Zaretskii2022-09-231-1/+5
| | | | | | | | | The black-and-white emoji font is back under active development, see https://github.com/googlefonts/noto-emoji. So this adds that font as fallback for systems that don't have the capability of using color fonts. * lisp/international/fontset.el (setup-default-fontset): Support black-and-white Noto Emoji font as fallback for Emoji display.
* Merge from origin/emacs-28Stefan Kangas2022-09-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | 478b786d5a ; * doc/lispref/windows.texi (Window Hooks): Fix a typo (b... 5085351645 * lisp/text-modes/tex-mode.el (tex-mode): Fix AUCTeX regre... ee6f8598ca Add vc-annotate-switches to manual 616dcf27e5 ; Fix typos in Lisp symbols 5405852541 Remove mention of non-existent `annotate-switches' 191505b8a3 Mention that src/macuvs.h sometimes needs committing 10373c4b68 ; More comment fixes in font.h (bug#57935) c2595b8dcc ; * src/font.h (struct font_driver): Comment fix. 97b928ce09 MacOS ld warning from native compilation (bug#57849)
| * ; Fix typos in Lisp symbolsStefan Kangas2022-09-201-1/+1
| |
* | Update Unicode support to Unicode version 15.0.0 (bug#57846)समीर सिंह Sameer Singh2022-09-172-18/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/unidata/BidiBrackets.txt * admin/unidata/BidiMirroring.txt * admin/unidata/Blocks.txt * admin/unidata/IVD_Sequences.txt * admin/unidata/IdnaMappingTable.txt * admin/unidata/NormalizationTest.txt * admin/unidata/PropertyValueAliases.txt * admin/unidata/ScriptExtensions.txt * admin/unidata/Scripts.txt * admin/unidata/SpecialCasing.txt * admin/unidata/UnicodeData.txt * admin/unidata/confusables.txt * admin/unidata/copyright.html * admin/unidata/emoji-data.txt * admin/unidata/emoji-sequences.txt * admin/unidata/emoji-test.txt * admin/unidata/emoji-zwj-sequences.txt * test/manual/BidiCharacterTest.txt: Updated files from Unicode 15.0. * admin/unidata/unidata-gen.el (unidata-file-alist): Add new ranges. * lisp/international/fontset.el (script-representative-chars): Add new scripts. (otf-script-alist): Update from latest version. (setup-default-fontset): Add new scripts. * lisp/international/characters.el: Update syntax and category tables for new characters and scripts. (char-width-table): Update for changes in Unicode 15.0. * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-tests--failing-lines-part1) (ucs-normalize-tests--failing-lines-part2): Update per the test results. * doc/lispref/nonascii.texi (Character Properties): Update Unicode version number. * etc/NEWS: Announce support for Unicode 15.0.
* | Use `eql` or `eq` instead of `=` in some placesMattias Engdegård2022-09-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For a switch op to be generated, comparisons must be made using `eq`, `eql` or `equal`, not `=`. * lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): * lisp/files.el (file-modes-char-to-who, file-modes-char-to-right): * lisp/international/titdic-cnv.el (tit-process-header): * lisp/language/ethio-util.el (ethio-input-special-character) (ethio-fidel-to-tex-buffer): * lisp/language/lao.el (consonant): Use `eq` or `eql` instead of `=`. In these cases either `eq` or `eql` would do and the choice does not affect the resulting code. We compare numbers with `eql` and characters with `eq` as a matter of style.
* | Fix textsec-suspicious foreground colorLars Ingebrigtsen2022-09-141-1/+1
| | | | | | | | | | * lisp/international/textsec-check.el (textsec-suspicious): Set the foreground, too (bug#57796).