GNU bug report logs - #52173
`ś' character not available using `C-x 8'

Previous Next

Package: emacs;

Reported by: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>

Date: Mon, 29 Nov 2021 03:10:01 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52173 in the body.
You can then email your comments to 52173 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 03:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 29 Nov 2021 03:10:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
To: bug-gnu-emacs <at> gnu.org
Subject: `ś' character not available using `C-x 8'
Date: Mon, 29 Nov 2021 04:08:54 +0100
`ś' is a character used in /e.g./ Polish.  Currently `C-x 8 ' s' is not
bound.  Could this be added (along with the capitalized variant)?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 09:31:01 GMT) Full text and rfc822 format available.

Message #8 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
Cc: 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 10:30:10 +0100
>>>>> On Mon, 29 Nov 2021 04:08:54 +0100, Tor Kringeland <tor.a.s.kringeland <at> 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
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 13:56:01 GMT) Full text and rfc822 format available.

Message #11 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 14:55:23 +0100
[Message part 1 (text/plain, inline)]
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Mon, 29 Nov 2021 04:08:54 +0100, Tor Kringeland <tor.a.s.kringeland <at> 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?

[Polish-characters-C-x_8.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 14:07:01 GMT) Full text and rfc822 format available.

Message #14 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
Cc: 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 15:06:48 +0100
>>>>> On Mon, 29 Nov 2021 14:55:23 +0100, Tor Kringeland <tor.a.s.kringeland <at> ntnu.no> said:

    Tor> But when I'm writing with another input method, there comes up (not so
    Tor> often) the need to write some Polish name like Skowroński (also nothing
    Tor> for `C-x 8 ' n') or Kieślowski and it might be quicker to have the
    Tor> key-binding rather than changing the input method (or extending it for
    Tor> all the characters).  The same happens for other languages, like Czech,
    Tor> where if you're writing a name with a `ž' it'd be faster to do something
    Tor> like `C-x 8 v e' than to switch to a Czech input method.

    Tor> I'm attaching a patch for `C-x 8' to include with Polish characters.
    Tor> It's missing `ż', for which I cannot of a good key-binding for (`C-x 8 .'
    Tor> is taken).  Any ideas?

There are hundreds of characters that you could add to C-x 8, thereʼs
nothing particularly special about Polish and Czech: this is why input
methods exist. What might be more useful is an input-method ring, so
you could quickly switch between 2 or more input methods.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 14:25:02 GMT) Full text and rfc822 format available.

Message #17 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 15:24:09 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> There are hundreds of characters that you could add to C-x 8, thereʼs
> nothing particularly special about Polish and Czech: this is why input
> methods exist. What might be more useful is an input-method ring, so
> you could quickly switch between 2 or more input methods.

But adding more things to `C-x 8' isn't a bad idea, either.  Basically,
you could make the same argument for all the `C-x 8' things, but we have
that keymap because it's convenient for people that doesn't use those
diacritics normally.

Adding `C-x 8 ' s` for instance, wouldn't get in the way of anything
else, but would be helpful for those that have to write the
occasional...  er...  what is it?  An s with a caron?  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 14:39:01 GMT) Full text and rfc822 format available.

Message #20 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 15:37:52 +0100
>>>>> On Mon, 29 Nov 2021 15:24:09 +0100, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Robert Pluim <rpluim <at> gmail.com> writes:
    >> There are hundreds of characters that you could add to C-x 8, thereʼs
    >> nothing particularly special about Polish and Czech: this is why input
    >> methods exist. What might be more useful is an input-method ring, so
    >> you could quickly switch between 2 or more input methods.

    Lars> But adding more things to `C-x 8' isn't a bad idea, either.  Basically,
    Lars> you could make the same argument for all the `C-x 8' things, but we have
    Lars> that keymap because it's convenient for people that doesn't use those
    Lars> diacritics normally.

Except C-x 8 is nominally based on ISO 10646, so thereʼs some kind of
underlying logic to the characters it supports.

    Lars> Adding `C-x 8 ' s` for instance, wouldn't get in the way of anything
    Lars> else, but would be helpful for those that have to write the
    Lars> occasional...  er...  what is it?  An s with a caron?  

s with acute. But there are input methods where 's => s with cedilla
(eg Romanian), so what's the logic for preferring Polish, especially
when we already have Polish/Czech/Romanian/latin-n methods etc for all
these characters?

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 14:44:01 GMT) Full text and rfc822 format available.

Message #23 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 15:43:34 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

> Except C-x 8 is nominally based on ISO 10646, so thereʼs some kind of
> underlying logic to the characters it supports.

In what way it it based on Unicode?

>     Lars> Adding `C-x 8 ' s` for instance, wouldn't get in the way of anything
>     Lars> else, but would be helpful for those that have to write the
>     Lars> occasional...  er...  what is it?  An s with a caron?  
>
> s with acute. But there are input methods where 's => s with cedilla
> (eg Romanian), so what's the logic for preferring Polish, especially
> when we already have Polish/Czech/Romanian/latin-n methods etc for all
> these characters?

I wasn't aware that there was any kind of logic to the `C-x 8' map
except "well, that's nice".  😀

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 14:50:01 GMT) Full text and rfc822 format available.

Message #26 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 15:49:31 +0100
>>>>> On Mon, 29 Nov 2021 15:43:34 +0100, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Robert Pluim <rpluim <at> gmail.com> writes:
    >> Except C-x 8 is nominally based on ISO 10646, so thereʼs some kind of
    >> underlying logic to the characters it supports.

    Lars> In what way it it based on Unicode?

Sorry, ISO 8859-1, not 10646

    Lars> Adding `C-x 8 ' s` for instance, wouldn't get in the way of anything
    Lars> else, but would be helpful for those that have to write the
    Lars> occasional...  er...  what is it?  An s with a caron?  
    >> 
    >> s with acute. But there are input methods where 's => s with cedilla
    >> (eg Romanian), so what's the logic for preferring Polish, especially
    >> when we already have Polish/Czech/Romanian/latin-n methods etc for all
    >> these characters?

    Lars> I wasn't aware that there was any kind of logic to the `C-x 8' map
    Lars> except "well, that's nice".  😀

:-)

Looking again at iso-transl.el, perhaps we could define a 'Polish' and
'Czech' language. But again this all duplicates existing
infrastructure in input methods.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 15:56:02 GMT) Full text and rfc822 format available.

Message #29 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: André A. Gomes <andremegafone <at> gmail.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 15:55:16 +0000
Robert Pluim <rpluim <at> gmail.com> writes:

> What might be more useful is an input-method ring, so
> you could quickly switch between 2 or more input methods.

I agree.  It should be easier to go from any 2 input methods defined by
quail.

I will add it to my todo.


-- 
André A. Gomes
"Free Thought, Free World"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 16:53:02 GMT) Full text and rfc822 format available.

Message #32 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: André A. Gomes <andremegafone <at> gmail.com>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 17:52:46 +0100
>>>>> On Mon, 29 Nov 2021 15:55:16 +0000, André A. Gomes <andremegafone <at> gmail.com> said:

    André> Robert Pluim <rpluim <at> gmail.com> writes:
    >> What might be more useful is an input-method ring, so
    >> you could quickly switch between 2 or more input methods.

    André> I agree.  It should be easier to go from any 2 input methods defined by
    André> quail.

    André> I will add it to my todo.

A rough cut. Of course this should probably be part of `toggle-input-method'.

diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index b922f192a9..4f385d5b79 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -1553,6 +1553,35 @@ set-input-method
 (defvar toggle-input-method-active nil
   "Non-nil inside `toggle-input-method'.")
 
+(if dump-mode
+    (load "emacs-lisp/ring")
+  (require 'ring))
+(defvar input-method-ring nil)
+(defun update-input-method-ring (variable value)
+  (when (length> value 0)
+    (dolist (im value)
+      (when (not (assoc (symbol-name im) input-method-alist))
+        (error "%S is not a known input method" im)))
+    (setq input-method-ring (ring-convert-sequence-to-ring value)))
+    (set-default variable value))
+
+(defcustom input-method-list nil
+  "List of input methods to cycle through with `cycle-input-method'."
+  :type '(choice (const nil)
+                 (repeat :tag "List of input methods"
+                         (symbol :tag "Input method")))
+  :group 'mule
+  :set #'update-input-method-ring
+  :version "29.1")
+
+(defun cycle-input-method ()
+  "Cycle through `input-method-ring'."
+  (interactive)
+  (if (and current-input-method
+           (ring-member input-method-ring (intern current-input-method)))
+      (activate-input-method (ring-next input-method-ring (intern current-input-method) ))
+    (activate-input-method (ring-ref input-method-ring 0))))
+
 (defun toggle-input-method (&optional arg interactive)
   "Enable or disable multilingual text input method for the current buffer.
 Only one input method can be enabled at any time in a given buffer.

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 17:04:01 GMT) Full text and rfc822 format available.

Message #35 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: André A. Gomes <andremegafone <at> gmail.com>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 17:03:17 +0000
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Mon, 29 Nov 2021 15:55:16 +0000, André A. Gomes <andremegafone <at> gmail.com> said:
>
>     André> Robert Pluim <rpluim <at> gmail.com> writes:
>     >> What might be more useful is an input-method ring, so
>     >> you could quickly switch between 2 or more input methods.
>
>     André> I agree.  It should be easier to go from any 2 input methods defined by
>     André> quail.
>
>     André> I will add it to my todo.
>
> A rough cut. Of course this should probably be part of `toggle-input-method'.

Am I right in thinking that the ring doesn't cycle through the state of
having no IM selected?  IMO, `cycle-input-method' should deprecate
`toggle-input-method', since the latter is the same as the former when
what you call `input-method-list' has one element.


-- 
André A. Gomes
"Free Thought, Free World"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 17:20:01 GMT) Full text and rfc822 format available.

Message #38 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: André A. Gomes <andremegafone <at> gmail.com>
Cc: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 18:19:18 +0100
>>>>> On Mon, 29 Nov 2021 17:03:17 +0000, André A. Gomes <andremegafone <at> gmail.com> said:

    André> Robert Pluim <rpluim <at> gmail.com> writes:
    >>>>>>> On Mon, 29 Nov 2021 15:55:16 +0000, André A. Gomes <andremegafone <at> gmail.com> said:
    >> 
    André> Robert Pluim <rpluim <at> gmail.com> writes:
    >> >> What might be more useful is an input-method ring, so
    >> >> you could quickly switch between 2 or more input methods.
    >> 
    André> I agree.  It should be easier to go from any 2 input methods defined by
    André> quail.
    >> 
    André> I will add it to my todo.
    >> 
    >> A rough cut. Of course this should probably be part of `toggle-input-method'.

    André> Am I right in thinking that the ring doesn't cycle through the state of
    André> having no IM selected?  IMO, `cycle-input-method' should deprecate
    André> `toggle-input-method', since the latter is the same as the former when
    André> what you call `input-method-list' has one element.

Yes, thatʼs what it does.

It should probably have a 'nil' element in there as well. Iʼm not sure
about deprecating `toggle-input-method', I was thinking more along the
lines of "C-- C-\" meaning "cycle". 

Robert
-- 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 17:23:02 GMT) Full text and rfc822 format available.

Message #41 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
Cc: 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 19:09:34 +0200
> `ś' is a character used in /e.g./ Polish.  Currently `C-x 8 ' s' is not
> bound.  Could this be added (along with the capitalized variant)?

Whereas adding this to `C-x 8 ' s' would be fine, an existing
alternative is to type `C-x \ ' s' after selecting the
input method `compose'.

Also cycling input methods proposed by Robert would be nice -
desktop/window managers support cycling by typing
the keyboard-layout switching key several times
when 3 or more layouts are selected.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 18:12:02 GMT) Full text and rfc822 format available.

Message #44 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
To: Robert Pluim <rpluim <at> gmail.com>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 19:11:33 +0100
Robert Pluim <rpluim <at> gmail.com> writes:

>>>>>> On Mon, 29 Nov 2021 15:43:34 +0100, Lars Ingebrigtsen <larsi <at> gnus.org> said:
>
>     Lars> Robert Pluim <rpluim <at> gmail.com> writes:
>     >> Except C-x 8 is nominally based on ISO 10646, so thereʼs some kind of
>     >> underlying logic to the characters it supports.
>
>     Lars> In what way it it based on Unicode?
>
> Sorry, ISO 8859-1, not 10646
>
>     Lars> Adding `C-x 8 ' s` for instance, wouldn't get in the way of anything
>     Lars> else, but would be helpful for those that have to write the
>     Lars> occasional...  er...  what is it?  An s with a caron?  
>     >> 
>     >> s with acute. But there are input methods where 's => s with cedilla
>     >> (eg Romanian), so what's the logic for preferring Polish, especially
>     >> when we already have Polish/Czech/Romanian/latin-n methods etc for all
>     >> these characters?
>
>     Lars> I wasn't aware that there was any kind of logic to the `C-x 8' map
>     Lars> except "well, that's nice".  😀
>
> :-)
>
> Looking again at iso-transl.el, perhaps we could define a 'Polish' and
> 'Czech' language. But again this all duplicates existing
> infrastructure in input methods.
>
> Robert
> -- 

I think the usage area of having commands like `C-x 8 ' s' is that it's
intuitive (it's what you expect given the behavior of similar
key-bindings and how the command looks "visually", which gives this
merit; with cedilla `C-x 8 , s' makes more sense) and it does not
require you to be aware of the specific input method.  For example, you
could quickly "Skowroński" correctly (with the diacritical mark, and not
without, which is often the "compromise" --- I've been in this situation
several times with Emacs) without being aware that the character is used
in Polish.  Names like these are common to write in English now, which
is why I think `C-x 8' is so convenient, for producing, say, "Bölmer" or
"Fløgstad" without having to switch to a German or Norwegian input
method.

Of course if you do write some text in Polish it'd be cumbersome to use
`C-x 8' all the time and you ought to use a relevant input method (and
cycling through input methods for multilingual writing is a very nice
idea).

The usage cases here are distinct, in my mind.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 29 Nov 2021 18:45:01 GMT) Full text and rfc822 format available.

Message #47 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
Cc: Robert Pluim <rpluim <at> gmail.com>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Mon, 29 Nov 2021 19:44:01 +0100
Tor Kringeland <tor.a.s.kringeland <at> ntnu.no> writes:

> Names like these are common to write in English now, which
> is why I think `C-x 8' is so convenient, for producing, say, "Bölmer" or
> "Fløgstad" without having to switch to a German or Norwegian input
> method.
>
> Of course if you do write some text in Polish it'd be cumbersome to use
> `C-x 8' all the time and you ought to use a relevant input method (and
> cycling through input methods for multilingual writing is a very nice
> idea).
>
> The usage cases here are distinct, in my mind.

Yup.  So I think adding more things to iso-transl-char-map is fine (as
long as we don't go totally overboard).

I.e., I think we should add things here as people request them.  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Fri, 03 Dec 2021 15:56:01 GMT) Full text and rfc822 format available.

Message #50 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Robert Pluim <rpluim <at> gmail.com>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Fri, 03 Dec 2021 16:55:48 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Yup.  So I think adding more things to iso-transl-char-map is fine (as
> long as we don't go totally overboard).

I sent a patch earlier in the discussion.  Is it acceptable?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Fri, 03 Dec 2021 16:45:02 GMT) Full text and rfc822 format available.

Message #53 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
Cc: Robert Pluim <rpluim <at> gmail.com>, 52173 <at> debbugs.gnu.org
Subject: Re: bug#52173: `ś' character not available using
 `C-x 8'
Date: Fri, 03 Dec 2021 17:44:11 +0100
Tor Kringeland <tor.a.s.kringeland <at> ntnu.no> writes:

> 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?

Thanks; applied to Emacs 29.

I doubt that `C-x 8 .' is used extremely frequently, so I've now moved
it to `C-x 8 . .', so that we can open up that useful map to more
characters.  (And put `ż' there.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 52173 <at> debbugs.gnu.org and Tor Kringeland <tor.a.s.kringeland <at> ntnu.no> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 03 Dec 2021 16:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Sat, 04 Dec 2021 05:47:02 GMT) Full text and rfc822 format available.

Message #58 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: tor.a.s.kringeland <at> ntnu.no, 52173 <at> debbugs.gnu.org, rpluim <at> gmail.com
Subject: Re: bug#52173: `ś' character not available
 using `C-x 8'
Date: Sat, 04 Dec 2021 00:46:02 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I doubt that `C-x 8 .' is used extremely frequently, so I've now moved
  > it to `C-x 8 . .', 

Please don't make that change.

Characters like centerdot are the sort of thing that C-x 8 CHAR is meant for.
It is the natural way to enter them.
Input methods don't include centerdot, so the way to get it is with C-x 8 .

The Polish input methods should handle ż.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Sat, 04 Dec 2021 05:57:02 GMT) Full text and rfc822 format available.

Message #61 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: tor.a.s.kringeland <at> ntnu.no, 52173 <at> debbugs.gnu.org, rpluim <at> gmail.com
Subject: Re: bug#52173: `Å›' character not available
 using `C-x 8'
Date: Sat, 04 Dec 2021 06:56:12 +0100
Richard Stallman <rms <at> gnu.org> writes:

>   > I doubt that `C-x 8 .' is used extremely frequently, so I've now moved
>   > it to `C-x 8 . .', 
>
> Please don't make that change.
>
> Characters like centerdot are the sort of thing that C-x 8 CHAR is meant for.
> It is the natural way to enter them.

You can still enter centerdot with `C-x 8'.  You just have to repeat the
dot.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Sun, 05 Dec 2021 05:08:01 GMT) Full text and rfc822 format available.

Message #64 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: tor.a.s.kringeland <at> ntnu.no, 52173 <at> debbugs.gnu.org, rpluim <at> gmail.com
Subject: Re: bug#52173: `Å›' character not
 available using `C-x 8'
Date: Sun, 05 Dec 2021 00:07:25 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > You can still enter centerdot with `C-x 8'.  You just have to repeat the
  > dot.

Ok, it is not a disaster.  But it's an incompatible change.
Is the incompatibility necessary?

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Sun, 05 Dec 2021 05:11:01 GMT) Full text and rfc822 format available.

Message #67 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: tor.a.s.kringeland <at> ntnu.no, 52173 <at> debbugs.gnu.org, rpluim <at> gmail.com
Subject: Re: bug#52173: `Å›' character not
 available using `C-x 8'
Date: Sun, 05 Dec 2021 06:10:23 +0100
Richard Stallman <rms <at> gnu.org> writes:

> Ok, it is not a disaster.  But it's an incompatible change.
> Is the incompatibility necessary?

I think so, yes.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 06 Dec 2021 04:34:02 GMT) Full text and rfc822 format available.

Message #70 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: tor.a.s.kringeland <at> ntnu.no, 52173 <at> debbugs.gnu.org, rpluim <at> gmail.com
Subject: Re: bug#52173: `Å›' character not available using `C-x 8'
Date: Sun, 05 Dec 2021 23:33:53 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > Ok, it is not a disaster.  But it's an incompatible change.
  > > Is the incompatibility necessary?

  > I think so, yes.

Would you please present an argument in favor of the change?
There might be a good reason, I just didn't see one stated here.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 06 Dec 2021 05:06:02 GMT) Full text and rfc822 format available.

Message #73 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: tor.a.s.kringeland <at> ntnu.no, 52173 <at> debbugs.gnu.org, rpluim <at> gmail.com
Subject: Re: bug#52173: `Å›'
 character not available using `C-x 8'
Date: Mon, 06 Dec 2021 06:04:35 +0100
Richard Stallman <rms <at> gnu.org> writes:

> Would you please present an argument in favor of the change?
> There might be a good reason, I just didn't see one stated here.

`C-x 8 .' is useful for a prefix for a number of characters that we
might want to add in the future.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Mon, 06 Dec 2021 17:41:02 GMT) Full text and rfc822 format available.

Message #76 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: tor.a.s.kringeland <at> ntnu.no, 52173 <at> debbugs.gnu.org,
 Richard Stallman <rms <at> gnu.org>, rpluim <at> gmail.com
Subject: Re: bug#52173: `Å›'
 character not available using `C-x 8'
Date: Mon, 06 Dec 2021 19:38:33 +0200
>> Would you please present an argument in favor of the change?
>> There might be a good reason, I just didn't see one stated here.
>
> `C-x 8 .' is useful for a prefix for a number of characters that we
> might want to add in the future.

Here's a list of characters that could be added for the prefix ".":

grep "(\"\." lisp/leim/quail/compose.el
 (".>" ?›)
 (".<" ?‹)
 (".." ?…)
 (".-" ?·)
 (".^" ?·)
 (".=" ?•)
 (".C" ?Ċ)
 (".c" ?ċ)
 (".E" ?Ė)
 (".e" ?ė)
 (".G" ?Ġ)
 (".g" ?ġ)
 (".I" ?İ)
 (".i" ?ı)
 (".Z" ?Ż)
 (".z" ?ż)
 (".A" ?Ȧ)
 (".a" ?ȧ)
 (".O" ?Ȯ)
 (".o" ?ȯ)
 (".B" ?Ḃ)
 (".b" ?ḃ)
 (".D" ?Ḋ)
 (".d" ?ḋ)
 (".F" ?Ḟ)
 (".f" ?ḟ)
 (".H" ?Ḣ)
 (".h" ?ḣ)
 (".M" ?Ṁ)
 (".m" ?ṁ)
 (".N" ?Ṅ)
 (".n" ?ṅ)
 (".P" ?Ṗ)
 (".p" ?ṗ)
 (".R" ?Ṙ)
 (".r" ?ṙ)
 (".S" ?Ṡ)
 (".s" ?ṡ)
 (".Ś" ?Ṥ)
 (".´S" ?Ṥ)
 (".'S" ?Ṥ)
 (".ś" ?ṥ)
 (".´s" ?ṥ)
 (".'s" ?ṥ)
 (".Š" ?Ṧ)
 (".š" ?ṧ)
 (".Ṣ" ?Ṩ)
 (".!S" ?Ṩ)
 (".ṣ" ?ṩ)
 (".!s" ?ṩ)
 (".T" ?Ṫ)
 (".t" ?ṫ)
 (".W" ?Ẇ)
 (".w" ?ẇ)
 (".X" ?Ẋ)
 (".x" ?ẋ)
 (".Y" ?Ẏ)
 (".y" ?ẏ)
 (".ſ" ?ẛ)
 (".○" ?⊙)
 (".:" ?∵)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52173; Package emacs. (Tue, 07 Dec 2021 04:17:01 GMT) Full text and rfc822 format available.

Message #79 received at 52173 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: larsi <at> gnus.org, 52173 <at> debbugs.gnu.org, tor.a.s.kringeland <at> ntnu.no,
 rpluim <at> gmail.com
Subject: Re: bug#52173: `Å›'
 character not available using `C-x 8'
Date: Mon, 06 Dec 2021 23:16:37 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > Here's a list of characters that could be added for the prefix ".":

It never occurred to me there were so many dot characters.
I feel I'm going dotty!

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Jan 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.