GNU bug report logs -
#44267
New input method 'compose'
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Tue, 27 Oct 2020 20:54:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
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 44267 in the body.
You can then email your comments to 44267 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Tue, 27 Oct 2020 20:54:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juri Linkov <juri <at> linkov.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 27 Oct 2020 20:54:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tags: patch
[Creating a separate feature request from bug#43866]
>> > How about making a new input method for those? It seems to me that
>> > C-x 8 is already too "fat".
>>
>> Yes, a new method might be useful as well. But since such method can't
>> be enabled all the time because such sequences as "= E" should be inserted
>> literally in normal circumstances. So such method needs to be enabled
>> temporarily, and it takes more time to enable/disable it, while it's
>> useful only to insert a single special character sometimes, it would be
>> much easier to type some prefix key before typing "= E" to insert €
>> when such a need arises occasionally.
>
> But turning an input method on and off is just 1 key, C-\, whereas
> C-x 8 is 2 keys, and not very convenient sequence to type, at least on
> QWERTY keyboards. So it looks like a dedicated input method will
> still be a win. I don't think it's right that the only Unicode input
> method we have is TeX -- that is great for TeX users, but many people
> don't use (La)TeX, and will find it unintuitive to type the TeX
> sequences.
I agree now that a new input method should be sufficient, and
no need to mess with 'C-x 8'. All existing problems of input methods
will be solved in another request. So here is a new input method:
[leim-quail-compose.patch (text/x-diff, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Wed, 28 Oct 2020 11:40:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 44267 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> linkov.net> writes:
> I agree now that a new input method should be sufficient, and
> no need to mess with 'C-x 8'. All existing problems of input methods
> will be solved in another request. So here is a new input method:
Having a Multi_key-like input method makes sense to me. I don't get
this bit, though:
> +;; You can enable this input method transiently with `C-u C-x \ compose RET'.
> +;; Then typing `C-x \' will enable this input method temporarily, and
> +;; after typing a key sequence it will be disabled. So typing
> +;; e.g. `C-x \ E =' will insert the Euro sign character and disable
> +;; this input method afterwards.
`C-x \' doesn't seem to be bound in this Emacs, and your input method
doesn't bind it either? There's probably something trivial here I'm
missing; I'm not really familiar with the Quail stuff. Or did you mean
`C-x C-m C-\'?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Wed, 28 Oct 2020 11:42:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 44267 <at> debbugs.gnu.org (full text, mbox):
Heh, never mind --
+(define-key ctl-x-map "\\" 'transient-input-method)
is in the next bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Wed, 28 Oct 2020 15:54:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 44267 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Date: Tue, 27 Oct 2020 22:30:19 +0200
>
> +(quail-define-package
> + "compose" "UTF-8" "+" t
I think "UTF-8" is not the best name for this. How about "Unicode"?
This new method should be called out in NEWS.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Wed, 28 Oct 2020 20:08:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 44267 <at> debbugs.gnu.org (full text, mbox):
>> +(quail-define-package
>> + "compose" "UTF-8" "+" t
>
> I think "UTF-8" is not the best name for this. How about "Unicode"?
This input method was based on the existing Unicode input methods
"TeX", "rfc1345", "sgml" that all use "UTF-8". And `M-x list-input-methods'
puts all them under the "UTF-8" category.
> This new method should be called out in NEWS.
Maybe something like this:
diff --git a/etc/NEWS b/etc/NEWS
index 24f0acf0fb..b4b9e87499 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -129,6 +129,9 @@ Emacs to break lines after more characters than just whitespace
characters. In particular, this significantly improves word-wrapping
for CJK text mixed with Latin text.
+---
+** New input method 'compose' based on X Multi_key sequences.
+
---
** Improved language transliteration in Malayalam input methods.
Added a new Mozhi scheme. The inapplicable ITRANS scheme is now
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Wed, 28 Oct 2020 20:08:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 44267 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> Also it's possible to create a new input method from the existing
> 'C-x 8' keymap, and set it as the default method, e.g.:
>
> C-u C-x \ iso-transl RET
> C-x \ * E - inserts the character EURO SIGN
So here is the input method created from the 'C-x 8' keymap:
[iso-transl-im.el (application/emacs-lisp, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Sun, 01 Nov 2020 21:27:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 44267 <at> debbugs.gnu.org (full text, mbox):
> This input method was based on the existing Unicode input methods
> "TeX", "rfc1345", "sgml" that all use "UTF-8". And `M-x list-input-methods'
> puts all them under the "UTF-8" category.
>
>> This new method should be called out in NEWS.
>
> Maybe something like this:
>
> diff --git a/etc/NEWS b/etc/NEWS
> index 24f0acf0fb..b4b9e87499 100644
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -129,6 +129,9 @@ Emacs to break lines after more characters than just whitespace
> characters. In particular, this significantly improves word-wrapping
> for CJK text mixed with Latin text.
>
> +---
> +** New input method 'compose' based on X Multi_key sequences.
> +
> ---
> ** Improved language transliteration in Malayalam input methods.
> Added a new Mozhi scheme. The inapplicable ITRANS scheme is now
Pushed to the trunk.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44267
; Package
emacs
.
(Tue, 10 Nov 2020 19:23:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 44267 <at> debbugs.gnu.org (full text, mbox):
tags 44267 fixed
close 44267 28.0.50
quit
>> Also it's possible to create a new input method from the existing
>> 'C-x 8' keymap, and set it as the default method, e.g.:
>>
>> C-u C-x \ iso-transl RET
>> C-x \ * E - inserts the character EURO SIGN
>
> So here is the input method created from the 'C-x 8' keymap:
Now pushed to master, and closed.
Added tag(s) fixed.
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Tue, 10 Nov 2020 19:23:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.0.50, send any further explanations to
44267 <at> debbugs.gnu.org and Juri Linkov <juri <at> linkov.net>
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Tue, 10 Nov 2020 19:23:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Dec 2020 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 272 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.