GNU bug report logs - #66325
`inherit-input-method`'s poor behavior

Previous Next

Package: emacs;

Reported by: Ali AlipourR <alipoor90 <at> gmail.com>

Date: Tue, 3 Oct 2023 16:27:01 UTC

Severity: normal

Tags: moreinfo

Done: Stefan Kangas <stefankangas <at> gmail.com>

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 66325 in the body.
You can then email your comments to 66325 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#66325; Package emacs. (Tue, 03 Oct 2023 16:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ali AlipourR <alipoor90 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 03 Oct 2023 16:27:02 GMT) Full text and rfc822 format available.

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

From: Ali AlipourR <alipoor90 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: `inherit-input-method`'s poor behavior
Date: Tue, 3 Oct 2023 19:55:42 +0330
[Message part 1 (text/plain, inline)]
When you open a minibuffer with a non-nil inherit-input-method argument,
the minibuffer will inherit its -default- input method from the parent
buffer. This much is fine and desirable behavior.

However, with this option enabled, you can no longer change your input
method while editing inside the minibuffer. (i.e. using C-\ or
toggle-input-method)

This is poor behavior, since if you are someone who uses input methods
(i.e. uses emacs to write in languages other than English) you often want
to use multiple input methods while editing inside a minibuffer.
For example, to enter a mixed English-Chinese/Arabic/Persian/... text as a
search term etc.

Acceptable behavior would be if even with inherit-input-method enabled,
Emacs allowed changing the input method inside the minibuffer (And just
default to the input-method that it inherited from the parent buffer).

Optimal behavior would be if change of input-method inside a minibuffer
also changed the current input method of the parent buffer, so that when
you close the minibuffer and return to parent buffer, you have your last
selected input method that you used inside the minibuffer, selected and
ready to use inside the parent buffer.

Sorry if the technical terms used aren't 100% accurate, as I'm still an
Emacs newbie ...

Thanks,
Ali
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66325; Package emacs. (Tue, 03 Oct 2023 17:19:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ali AlipourR <alipoor90 <at> gmail.com>
Cc: 66325 <at> debbugs.gnu.org
Subject: Re: bug#66325: `inherit-input-method`'s poor behavior
Date: Tue, 03 Oct 2023 20:17:46 +0300
> From: Ali AlipourR <alipoor90 <at> gmail.com>
> Date: Tue, 3 Oct 2023 19:55:42 +0330
> 
> When you open a minibuffer with a non-nil inherit-input-method argument, the minibuffer will inherit its
> -default- input method from the parent buffer. This much is fine and desirable behavior. 
> 
> However, with this option enabled, you can no longer change your input method while editing inside
> the minibuffer. (i.e. using C-\ or toggle-input-method)

C-\ (toggle-input-method) indeed toggles between the (inherited) input
method of the parent buffer and no input method, but you can select a
different input method by typing "C-u C-\", which will trhen prompt
for an input method.

> This is poor behavior, since if you are someone who uses input methods (i.e. uses emacs to write in
> languages other than English) you often want to use multiple input methods while editing inside a
> minibuffer.
> For example, to enter a mixed English-Chinese/Arabic/Persian/... text as a search term etc.

You should be able to switch to any input method by using "C-u C-\".
If it works for you, I see no bug here.




Added tag(s) moreinfo. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 05 Oct 2023 21:55:04 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Wed, 10 Jan 2024 10:36:02 GMT) Full text and rfc822 format available.

Notification sent to Ali AlipourR <alipoor90 <at> gmail.com>:
bug acknowledged by developer. (Wed, 10 Jan 2024 10:36:02 GMT) Full text and rfc822 format available.

Message #15 received at 66325-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 66325-done <at> debbugs.gnu.org, Ali AlipourR <alipoor90 <at> gmail.com>
Subject: Re: bug#66325: `inherit-input-method`'s poor behavior
Date: Wed, 10 Jan 2024 02:35:12 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Ali AlipourR <alipoor90 <at> gmail.com>
>> Date: Tue, 3 Oct 2023 19:55:42 +0330
>>
>> When you open a minibuffer with a non-nil inherit-input-method argument, the minibuffer will inherit its
>> -default- input method from the parent buffer. This much is fine and desirable behavior.
>>
>> However, with this option enabled, you can no longer change your input method while editing inside
>> the minibuffer. (i.e. using C-\ or toggle-input-method)
>
> C-\ (toggle-input-method) indeed toggles between the (inherited) input
> method of the parent buffer and no input method, but you can select a
> different input method by typing "C-u C-\", which will trhen prompt
> for an input method.
>
>> This is poor behavior, since if you are someone who uses input methods (i.e. uses emacs to write in
>> languages other than English) you often want to use multiple input methods while editing inside a
>> minibuffer.
>> For example, to enter a mixed English-Chinese/Arabic/Persian/... text as a search term etc.
>
> You should be able to switch to any input method by using "C-u C-\".
> If it works for you, I see no bug here.

No further comments here within 3 months, so I'm assuming that fixed it.
I'm therefore closing this bug report.

If this conclusion is incorrect and this is still an issue, please reply
to this email (use "Reply to all" in your email client) and we can
reopen the bug report.




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

This bug report was last modified 1 year and 118 days ago.

Previous Next


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