aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/language (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-29Eli Zaretskii2023-12-161-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bf4ccb0be07 ; * lisp/term.el (term--xterm-paste): Fix last change. 0d9e2e448d9 ; * doc/lispref/functions.texi (Function Documentation): ... 791cc5065da Fix shaping of Sinhala text efcbf0b5abf Add use cases of (fn) documentation facility. c3331cb3659 Fix pasting into terminal-mode on term.el 5be94e2bce5 Fix opening directory trees from Filesets menu 6b6e770a1f5 Eglot: Add ruff-lsp as an alternative Python server ed8a8a5ba16 Fix symbol name in Multisession Variables examples 400ef15bdc3 js-ts-mode: Fix font-lock rules conflict c165247c300 Add indentation rules for bracketless statements in js-ts... 7f1bd69cd19 Fix c-ts-mode bracketless indentation for BSD style (bug#... e23068cb9a1 Add missing indent rules in c-ts-mode (bug#66152) d2c4b926ac2 Fix treesit-default-defun-skipper (bug#66711) 9874561f39e Fix treesit-node-field-name and friends (bug#66674) eace9e11226 python-ts-mode: Highlight default parameters 23c06c7c308 Update to Org 9.6.13
| * Fix shaping of Sinhala textEli Zaretskii2023-12-161-3/+3
| | | | | | | | | | | | | | * lisp/language/sinhala.el (composition-function-table): Allow U+200D U+0DCA as well as U+0DCA U+200D between consonants. Suggested by Richard Wordingham <richard.wordingham@ntlworld.com>. (Bug#67828)
* | Merge from origin/emacs-29Eli Zaretskii2023-12-091-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f361cc985d ; Minor copyedits in description of ':box' face property 46fe7a17f53 Fix dragging mode line on text terminals with a mouse (bu... 12daf386f37 ; * doc/lispref/processes.texi (Network): Fix wording and... 037d858dc1a (rust-ts-mode): Set electric-indent-chars dc9b733ab88 js-ts-mode: Highlight function parameters inside destruct... 4a72f13bdfb js-ts-mode: Highlight property shorthands in assignments 83ed9018ede (js--treesit-font-lock-settings): Highlight parameters in... ad0f87bb4c3 (js--treesit-font-lock-settings): Remove some duplicates 71c5f3694fd ; Another fix of doc string of 'message-mail-user-agent' ... 04a39353bae ; * lisp/gnus/message.el (message-mail-user-agent): Doc f... 82ddcf37ec6 ; * doc/lispref/files.texi (Changing Files): Fix last cha... 89068516b3e Don't claim to signal an error when deleting a nonexistin... 4fd254e1830 * lisp/indent.el (indent-rigidly): Improve prompt (bug#67... 5f923ff1a6a ; Fix typos a1f88963f5d rust-ts-mode--comment-docstring: Handle block doc comments a547b0e2e83 rust-ts-mode--comment-docstring: Fix/improve the previous...
| * ; Fix typosStefan Kangas2023-12-031-1/+1
| |
* | Prefer seq-filter in hanja-util.elStefan Kangas2023-10-291-11/+7
| | | | | | | | | | | | | | Benchmarking shows seq-filter to be ~30% faster on this machine. * lisp/language/hanja-util.el (hanja-filter): Make into obsolete alias for 'seq-filter'. Update single caller.
* | tibetan.el: compute constants at compile time, optimise regexpsMattias Engdegård2023-08-161-14/+18
| | | | | | | | | | | | | | * lisp/language/tibetan.el (tibetan-subjoined-transcription-alist) (tibetan-regexp, tibetan-precomposed-regexp) (tibetan-precomposition-rule-regexp): Evaluate at compile time. Use regexp-opt.
* | Allow user control on char-width of "ambiguous" charactersEli Zaretskii2023-08-053-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/character.c (syms_of_character) <ambiguous-width-chars>: New char-table. * lisp/international/characters.el (ambiguous-width-chars): Fill the table. (update-cjk-ambiguous-char-widths): New function. (cjk-ambiguous-chars-are-wide): New defcustom, uses 'update-cjk-ambiguous-char-widths' as its :set function. (use-cjk-char-width-table): Obey 'cjk-ambiguous-chars-are-wide' by adding another child char-table for ambiguous-width characters, where the width is set according to the option. * lisp/language/chinese.el ("Chinese-GB", "Chinese-BIG5") ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): * lisp/language/japanese.el ("Japanese"): * lisp/language/korean.el ("Korean"): Add new language-info slot 'cjk-locale-symbol'. Bug#64420
* | Drop duplicate vietnamese-tcvn coding systemUlrich Müller2023-07-311-19/+13
| | | | | | | | | | | | | | | | | | | | * lisp/language/vietnamese.el (vietnamese-vscii): Update docstring. (vietnamese-tcvn, tcvn, tcvn-5712): Make them aliases of vietnamese-vscii. ("Vietnamese"): Drop vietnamese-tcvn from coding-system values. Update docstring. * etc/NEWS: Announce this change.
* | ; Re-add recently removed comment in cyrillic.el.Basil L. Contovounesios2023-07-081-1/+1
| | | | | | | | https://lists.gnu.org/r/emacs-devel/2023-07/msg00303.html
* | ; Simplify last change to cyrillic.el.Basil L. Contovounesios2023-07-081-1/+1
| | | | | | | | https://lists.gnu.org/r/emacs-devel/2023-07/msg00297.html
* | ; Fix last change to lisp/language/cyrillic.el.Basil L. Contovounesios2023-07-081-1/+1
| | | | | | | | | | For discussion, see the following emacs-devel thread: https://lists.gnu.org/r/emacs-devel/2023-07/msg00221.html
* | Disambiguate mode line indication for utf-8 and utf-16Ulrich Müller2023-07-081-1/+2
| | | | | | | | | | | | * lisp/international/mule-conf.el (utf-7): * lisp/language/cyrillic.el (koi8-u): Change mnemonic letters to ?u and ?\N{cyrillic capital letter u}, respectively.
* | ; fix last changeMattias Engdegård2023-07-051-11/+13
| | | | | | | | | | | | * lisp/language/tibetan.el (tibetan-regexp, tibetan-precomposed-regexp) (tibetan-precomposition-rule-regexp): Don't use regexp-opt after all since it breaks bootstrapping.
* | Improve some big regexpsMattias Engdegård2023-07-052-49/+11
|/ | | | | | | * lisp/language/lao-util.el (lao-transcription-pattern): Remove duplicate definition. * lisp/language/tibetan.el (tibetan-regexp, tibetan-precomposed-regexp) (tibetan-precomposition-rule-regexp): Use regexp-opt.
* Followup to addition of TUTORIAL.faEli Zaretskii2023-04-251-1/+2
| | | | | | | | * etc/NEWS: Announce addition of TUTORIAL.fa. * etc/tutorials/TUTORIAL.translators (TUTORIAL.fa): New entry. * lisp/language/misc-lang.el ("Persian"): Add tutorial property.
* Add Farsi/Persian translation of the tutorialMohsen Banan2023-04-251-1/+1
| | | | | | | * etc/tutorials/TUTORIAL.fa: New file. * lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Fix typo in doc string.
* Add Mongolian language environmentsEli Zaretskii2023-04-252-1/+21
| | | | | | | | | | | * lisp/language/misc-lang.el ("Mongolian-traditional"): * lisp/language/cyrillic.el ("Mongolian-cyrillic"): New language environments. * etc/HELLO: Add Mongolian Traditional. * etc/NEWS: Announce the new language environments. (Bug#63028)
* Fix rendering of Traditional Mongolian scriptEli Zaretskii2023-04-231-0/+14
| | | | | | | | | * 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)
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-0134-34/+34
|
* * lisp/language/indian.el: Improve Brahmi composition rules. (bug#58957)समीर सिंह Sameer Singh2022-12-111-13/+29
|
* Update Turkish HelloEli Zaretskii2022-12-091-1/+1
| | | | | | * etc/HELLO (Turkish): * lisp/language/european.el ("Turkish"): Add a Turkish Hello. Suggested by YUSUF ALPER ÇIKIŞIR <yusufcikisir@std.iyte.edu.tr>.
* ; Improve doc strings of Ethiopic support functions and variablesEli Zaretskii2022-11-191-17/+68
| | | | | | | | | | | | | | * lisp/language/ethio-util.el (ethio-primary-language) (ethio-secondary-language, ethio-use-colon-for-colon) (ethio-use-three-dot-question, ethio-quote-vowel-always) (ethio-W-sixth-always, ethio-sera-to-fidel-buffer) (ethio-sera-to-fidel-region, ethio-sera-to-fidel-marker) (ethio-fidel-to-sera-buffer, ethio-fidel-to-sera-region) (ethio-fidel-to-sera-marker, ethio-get-consonant) (ethio-fidel-to-tex-buffer, ethio-tex-to-fidel-buffer) (ethio-fidel-to-java-buffer, ethio-java-to-fidel-buffer) (ethio-find-file, ethio-write-file, ethio-gemination) ("ethiopic-sera"): Doc fixes.
* ; Explain why some files are encoded in utf-8-emacsEli Zaretskii2022-11-195-0/+35
| | | | | | | | | | | | * 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)
* ; Fix typosStefan Kangas2022-11-111-2/+2
|
* ; Change parent language-environment of KharoshthiEli Zaretskii2022-10-301-1/+1
| | | | | | | * lisp/language/misc-lang.el ("Kharoshthi"): Change its parent to "Indian". (Bug#58376) * lisp/international/mule-cmds.el (set-language-info-alist): Fix indentation.
* Set the PARENTS argument for language environmentsसमीर सिंह Sameer Singh2022-10-093-17/+34
| | | | | | | * lisp/language/indonesian.el * lisp/language/philippine.el * lisp/language/misc-lang.el (set-language-info-alist): Add PARENTS argument. (Bug#58376)
* Add support for the Coptic script (bug#58330)समीर सिंह Sameer Singh2022-10-081-0/+14
| | | | | | | | | | | * 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.
* Fix recent changes for Ukrainian languageEli Zaretskii2022-10-041-10/+2
| | | | | | * etc/HELLO: * lisp/language/cyrillic.el ("Ukrainian"): Fix greetings and remove redundant Ukrainian entry in cyrillic.el.
* Update Ukrainian language info alistPo Lu2022-10-041-1/+1
| | | | | | * lisp/language/cyrillic.el ("Ukrainian"): Replace "Glory to Ukraine" with "hello". See www.gnu.org/prep/maintain/html_node/Other-Politics.html.
* Add Ukrainian tutorialDenys Nykula2022-10-041-1/+3
| | | | | | | | | * etc/tutorials/TUTORIAL.uk: Create the translation. * lisp/language/cyrillic.el: Link "Emacs Tutorial" to the translation if the system is Ukrainian, and add our modern greeting as a sample text. * etc/NEWS: * etc/tutorials/TUTORIAL.translators: Attribute my work (bug#55250).
* ; Fix last change.Eli Zaretskii2022-10-021-1/+1
| | | | | * lisp/leim/quail/misc-lang.el ("gothic"): * lisp/language/misc-lang.el ("Gothic"): Doc fixes. (Bug#58194)
* Add support for the Gothic script (bug#58194)समीर सिंह Sameer Singh2022-10-021-0/+14
| | | | | | | | | | | * 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.
* ; Fix documentation of Toto language environmentEli Zaretskii2022-09-301-1/+1
| | | | | * lisp/leim/quail/indian.el ("toto"): * lisp/language/indian.el ("Toto"): Clarify doc strings.
* Add support for the Toto script (bug#58181)समीर सिंह Sameer Singh2022-09-301-0/+10
| | | | | | | | | | * 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-0/+11
| | | | | | | | | | | * 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-0/+14
| | | | | | | | | | | | * 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-0/+22
| | | | | | | | | | | * 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-4/+5
| | | | | | | * lisp/language/indian.el: Improve composition rules for Gurmukhi. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Chess Symbols.
* Use `eql` or `eq` instead of `=` in some placesMattias Engdegård2022-09-152-24/+25
| | | | | | | | | | | | | | | | | 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.
* Speed up display of ArabicEli Zaretskii2022-08-061-3/+6
| | | | | | * lisp/language/misc-lang.el (composition-function-table): Move some of the Arabic composition rules to ZWJ and ZWNJ cells. This speeds up display of Arabic by a factor of 2. (Bug#56682)
* Merge from origin/emacs-28Stefan Kangas2022-07-171-1/+1
|\ | | | | | | | | f5218385c0 Fix obsoletion of nntp-authinfo-file 10b6919870 ; Fix typos
| * ; Fix typosStefan Kangas2022-07-161-1/+1
| |
* | Add new customizable phonetic Tamil input methodVisuwesh2022-07-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/language/indian.el ("Tamil"): Change the default input method of the Tamil language environment to the new input method. * lisp/leim/quail/indian.el (quail-tamil-itrans-compute-syllable-table): New function extracted from... (quail-tamil-itrans-syllable-table): ... here. Use the above function. (quail-tamil-itrans--consonant-order): Auxiliary variable for the above function. (quail-tamil-itrans-compute-signs-table): Add new VARIOUS argument. (quail-tamil-itrans-various-signs-and-digits-table) (quail-tamil-itrans-various-signs-table): Adjust call to the above function. ("tamil-phonetic"): Add new input method. (tamil-input): New group for the input method. (tamil-translation-rules): New defcustom for the input method to change the translation rules. (tamil--syllable-table, tamil--signs-table, tamil--hashtables) (tamil--vowel-signs): Internal variables used by the input method. (tamil--setter, tamil--make-tables) (tamil--update-quail-rules): Internal functions for the input method. (bug#56323) * etc/NEWS: Announce the new input method.
* | Make the Indian itrans methods more phoneticVisuwesh2022-07-071-4/+4
| | | | | | | | | | | | | | | | | | | | The characters ऋ and ॠ are pronunced as ru in languages such as Marathi, Gujarati, Telugu, etc. so add new translation rules that reflects this sound. (bug#56414) * lisp/language/ind-util.el (indian-itrans-v5-table): Add new translation rules to make the input method more phonetic. (indian-tml-base-table, indian-tml-base-digits-table): Fix typo.
* | Fix fallout from bug#50143Visuwesh2022-07-021-6/+6
| | | | | | | | | | | | * lisp/language/ind-util.el (indian-tml-base-table) (indian-tml-base-digits-table): Add TAMIL OM sign and more Sanskrit consonants to the table (bug#50143) (bug#56323).
* | Add support for the Meetei Mayek scriptसमीर सिंह Sameer Singh2022-06-131-0/+27
| | | | | | | | | | | | | | | | | | | | | | * lisp/language/indian.el ("Meetei Mayek"): New language environment. Add composition rules for Meetei Mayek. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Meetei Mayek. * lisp/leim/quail/indian.el ("meetei-mayek"): New input method. * etc/HELLO: Add a Meetei Mayek greeting. * etc/NEWS: Announce the new language environment.
* | Improve Lepcha composition rules and rename its native nameसमीर सिंह Sameer Singh2022-06-111-2/+3
| | | | | | | | | | | | | | * lisp/language/indian.el ("Lepcha"): Rename lepcha script native name and improve composition rules. (Bug#55869) * etc/HELLO: Rename Lepcha script native name.
* | Add support for the Lepcha script (bug#55869)समीर सिंह Sameer Singh2022-06-112-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/language/indian.el ("Lepcha"): New language environment. Add composition rules for Lepcha. Add sample text and input method. * lisp/language/misc-lang.el ("Kharoshthi"): Fix whitespace. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Lepcha. * lisp/leim/quail/indian.el ("lepcha"): New input method. * etc/HELLO: Add a Lepcha greeting. * etc/NEWS: Announce the new language environment.
* | Add support for the Kharoshthi scriptStefan Baums2022-06-091-0/+32
| | | | | | | | | | | | | | | | | | | | * etc/NEWS: Announce the new language environment and script. * etc/HELLO: Add Kharoshthi greeting. * lisp/leim/quail/misc-lang.el ("kharoshthi"): New input method. * lisp/language/misc-lang.el ("Kharoshthi"): New language environment. Set up composition rules for Kharoshthi. (Bug#55539)
* | Add support for the Grantha script (bug#55782)समीर सिंह Sameer Singh2022-06-041-0/+38
| | | | | | | | | | | | | | | | | | | | | | * lisp/language/indian.el ("Grantha"): New language environment. Add composition rules for Grantha. Add sample text and input method. * lisp/international/fontset.el (script-representative-chars) (setup-default-fontset): Support Grantha. * lisp/leim/quail/indian.el ("grantha"): New input method. * etc/HELLO: Add two Grantha greetings. * etc/NEWS: Announce the new language environment.