1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

Add a Catalan language environment

* international/mule-cmds.el (locale-language-names): Map locale
  language name `ca' to language environment `Catalan'.

* language/european.el: Add definition of language environment for
  the Catalan language.

* leim/quail/latin-pre.el: Add quail rule to the `catalan-prefix'
  input method to support input of middle dot characters through
  composition (bug#18279).
This commit is contained in:
Ernest Adrogué 2016-03-20 12:01:23 +01:00 committed by Lars Magne Ingebrigtsen
parent 9d5f235112
commit 6e70769e31
4 changed files with 29 additions and 1 deletions

View File

@ -53,6 +53,10 @@ has been added. They are: `file-attribute-type',
`file-attribute-modes', `file-attribute-inode-number', and
`file-attribute-device-number'
---
** The locale language name `ca' is now mapped to the language
environment `Catalan', which has been added.
---
** `align-regexp' has a separate history for its interactive argument
`align-regexp' no longer shares its history with all other

View File

@ -2235,7 +2235,7 @@ See `set-language-info-alist' for use in programs."
("br" . "Latin-1") ; Breton
("bs" . "Latin-2") ; Bosnian
("byn" . "UTF-8") ; Bilin; Blin
("ca" . "Latin-1") ; Catalan
("ca" "Catalan" iso-8859-1) ; Catalan
; co Corsican
("cs" "Czech" iso-8859-2)
("cy" "Welsh" iso-8859-14)

View File

@ -614,6 +614,28 @@ method and applying Turkish case rules for the characters i, I, ı, İ.")))
(documentation . "Support for Brazilian Portuguese."))
'("European"))
(set-language-info-alist
"Catalan" '((charset iso-8859-1)
(coding-system iso-8859-1 iso-8859-15)
(coding-priority iso-8859-1)
(input-method . "catalan-prefix")
(nonascii-translation . iso-8859-1)
(unibyte-display . iso-8859-1)
(setup-function
. (lambda ()
(modify-syntax-entry "w" (standard-syntax-table))))
(exit-function
. (lambda ()
(modify-syntax-entry "_" (standard-syntax-table))))
(sample-text . "\
Catalan (Català) Avui demà i ahir s'esfullarà una rosa.")
(documentation . "\
This language environment uses the ISO-8859-1 character set,
sets the default input method to \"catalan-prefix\", and sets
the syntax of the middle dot character `·' to word."))
'("European"))
(define-coding-system 'mac-roman
"Mac Roman Encoding (MIME:MACINTOSH)."

View File

@ -188,6 +188,7 @@
diaeresis | \" | \"i -> ï \"\" -> ¨
tilde | ~ | ~n -> ñ
cedilla | ~ | ~c -> ç
middle dot | ~ | ~. -> ·
symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
" nil t nil nil nil nil nil nil nil nil t)
@ -223,6 +224,7 @@
("~<" ?\«)
("~!" )
("~?" ?¿)
("~." )
("~ " ?~)
)