From: Tor Kringeland <tor.a.s.kringeland@ntnu.no>
To: Robert Pluim <rpluim@gmail.com>
Cc: 52173@debbugs.gnu.org
Subject: bug#52173: `ś' character not available using `C-x 8'
Date: Mon, 29 Nov 2021 14:55:23 +0100 [thread overview]
Message-ID: <m235nfysl0.fsf@ntnu.no> (raw)
In-Reply-To: <87zgpn5mxp.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1586 bytes --]
Robert Pluim <rpluim@gmail.com> writes:
>>>>>> On Mon, 29 Nov 2021 04:08:54 +0100, Tor Kringeland <tor.a.s.kringeland@ntnu.no> said:
>
> Tor> `ś' is a character used in /e.g./ Polish. Currently `C-x 8 ' s' is not
> Tor> bound. Could this be added (along with the capitalized variant)?
>
> I think you'd be better off using one of the two Polish input methods,
> theyʼre far more ergonomic than C-x 8
>
> If youʼre already using a different input method, you can extend it
> with bindings for the Polish characters youʼre interested in, eg
>
> (with-temp-buffer
> (activate-input-method "latin-prefix") ;; the input method has to be triggered for `quail-package-alist' to be non-nil
> (let ((quail-current-package (assoc "latin-prefix" quail-package-alist)))
> (quail-define-rules ((append . t))
> ("'s" ?ś))))
>
> Robert
> --
Thanks for the tip.
But when I'm writing with another input method, there comes up (not so
often) the need to write some Polish name like Skowroński (also nothing
for `C-x 8 ' n') or Kieślowski and it might be quicker to have the
key-binding rather than changing the input method (or extending it for
all the characters). The same happens for other languages, like Czech,
where if you're writing a name with a `ž' it'd be faster to do something
like `C-x 8 v e' than to switch to a Czech input method.
I'm attaching a patch for `C-x 8' to include with Polish characters.
It's missing `ż', for which I cannot of a good key-binding for (`C-x 8 .'
is taken). Any ideas?
[-- Attachment #2: Polish-characters-C-x_8.patch --]
[-- Type: text/x-patch, Size: 1676 bytes --]
From 0cdec3270bec60284f19d3b852b8e19fb99a48f4 Mon Sep 17 00:00:00 2001
From: Tor Kringeland <tor.a.s.kringeland@ntnu.no>
Date: Mon, 29 Nov 2021 14:49:08 +0100
Subject: [PATCH] Add support for some Polish characters with `C-x 8'
* lisp/international/iso-transl.el: Add support for some Polish
characters.
---
lisp/international/iso-transl.el | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-transl.el
index 2c7da2b7cd..c59a25efd3 100644
--- a/lisp/international/iso-transl.el
+++ b/lisp/international/iso-transl.el
@@ -86,23 +86,33 @@
("\"y" . [?ÿ])
("''" . [?´])
("'A" . [?Á])
+ ("'C" . [?Ć])
("'E" . [?É])
("'I" . [?Í])
+ ("'N" . [?Ń])
("'O" . [?Ó])
+ ("'S" . [?Ś])
("'U" . [?Ú])
("'Y" . [?Ý])
+ ("'Z" . [?Ź])
("'a" . [?á])
+ ("'c" . [?ć])
("'e" . [?é])
("'i" . [?í])
+ ("'n" . [?ń])
("'o" . [?ó])
+ ("'s" . [?ś])
("'u" . [?ú])
("'y" . [?ý])
+ ("'z" . [?ź])
("*$" . [?¤])
("$" . [?¤])
("*+" . [?±])
("+" . [?±])
(",," . [?¸])
+ (",A" . [?Ą])
(",C" . [?Ç])
+ (",a" . [?ą])
(",c" . [?ç])
("*-" . [?])
("-" . [?])
@@ -110,9 +120,11 @@
("." . [?·])
("//" . [?÷])
("/A" . [?Å])
+ ("/L" . [?Ł])
("/E" . [?Æ])
("/O" . [?Ø])
("/a" . [?å])
+ ("/l" . [?ł])
("/e" . [?æ])
("/o" . [?ø])
("1/2" . [?½])
--
2.34.1
next prev parent reply other threads:[~2021-11-29 13:55 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-29 3:08 bug#52173: `ś' character not available using `C-x 8' Tor Kringeland
2021-11-29 9:30 ` Robert Pluim
2021-11-29 13:55 ` Tor Kringeland [this message]
2021-11-29 14:06 ` Robert Pluim
2021-11-29 14:24 ` Lars Ingebrigtsen
2021-11-29 14:37 ` Robert Pluim
2021-11-29 14:43 ` Lars Ingebrigtsen
2021-11-29 14:49 ` Robert Pluim
2021-11-29 18:11 ` Tor Kringeland
2021-11-29 18:44 ` Lars Ingebrigtsen
2021-12-03 15:55 ` Tor Kringeland
2021-11-29 15:55 ` André A. Gomes
2021-11-29 16:52 ` Robert Pluim
2021-11-29 17:03 ` André A. Gomes
2021-11-29 17:19 ` Robert Pluim
2021-12-03 16:44 ` Lars Ingebrigtsen
2021-12-04 5:46 ` Richard Stallman
2021-12-04 5:56 ` bug#52173: `Å›' " Lars Ingebrigtsen
2021-12-05 5:07 ` Richard Stallman
2021-12-05 5:10 ` bug#52173: `Å›' " Lars Ingebrigtsen
2021-12-06 4:33 ` Richard Stallman
2021-12-06 5:04 ` bug#52173: `Å›' " Lars Ingebrigtsen
2021-12-06 17:38 ` Juri Linkov
2021-12-07 4:16 ` Richard Stallman
2021-11-29 17:09 ` bug#52173: `ś' " Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m235nfysl0.fsf@ntnu.no \
--to=tor.a.s.kringeland@ntnu.no \
--cc=52173@debbugs.gnu.org \
--cc=rpluim@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).