From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ali AlipourR Newsgroups: gmane.emacs.bugs Subject: bug#66325: `inherit-input-method`'s poor behavior Date: Tue, 3 Oct 2023 19:55:42 +0330 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000039003e0606d258fe" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24302"; mail-complaints-to="usenet@ciao.gmane.io" To: 66325@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 03 18:26:57 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qniEb-0005vB-HW for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Oct 2023 18:26:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qniEQ-0003Zm-AK; Tue, 03 Oct 2023 12:26:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qniEP-0003Zb-5r for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 12:26:45 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qniEO-0003T7-U6 for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 12:26:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qniEg-0006y3-4D for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 12:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ali AlipourR Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Oct 2023 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66325 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169635038226736 (code B ref -1); Tue, 03 Oct 2023 16:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Oct 2023 16:26:22 +0000 Original-Received: from localhost ([127.0.0.1]:40611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qniE2-0006x9-5i for submit@debbugs.gnu.org; Tue, 03 Oct 2023 12:26:22 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:34522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qniE0-0006ww-HW for submit@debbugs.gnu.org; Tue, 03 Oct 2023 12:26:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qniDd-0003N9-Rk for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 12:25:57 -0400 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qniDb-0003O2-OJ for bug-gnu-emacs@gnu.org; Tue, 03 Oct 2023 12:25:57 -0400 Original-Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-533d31a8523so2051757a12.1 for ; Tue, 03 Oct 2023 09:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696350353; x=1696955153; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=+UvGI1vVoYNYWIeBgbkVIlTNJktsyIpu7qbPw1G7y+0=; b=TzvFQDZJyKg/hUjgGloB8RW5bbtrqo0KxtcfuoazrvyGiSezyh+0ny3CR2Oo08Yr7T 9LKl3y0//EG5Y2V2mznZr4rnW5pgZWObHuLmgdXvlqmpAlh6QyB6nz5k47d/uppng2dc q54Sm2uiqMYlS3Gvf4sYnzxiNovwUdZWqo2HTNVaJdaz/YooICOCu8VF1PtrMc546lqM b/WmFTvtOif6xMrwELh8imBrmO3yzzcQBixFsEWlB5o3TP3lXChqcm79ESb6xCnQirw+ dpZ/Zte8pMBKyIjCppDutD594HTl62hF0Vrga2aeNFyx7BFKdBWHwmEOgYQ1KLOzKRue sj7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696350353; x=1696955153; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+UvGI1vVoYNYWIeBgbkVIlTNJktsyIpu7qbPw1G7y+0=; b=ryx6T1C1Z8dWDVzd437qPdkcWooi5MoVXDvx6npBxs1Y+167OhADCzQV+RqxL9whAF w6XVJwAZk3HhLJJbKc6BdGh6vvFpMDW9e9EREloGzx5uge4hX66oNGp+zLJW4KixhYkK 58qhg1S04622K0b0pO+za0poApgwq7T9M6Ho56+4ISQfdv1N6Z7UwEAnf6VpeloZXkzO ICQfAOV+mtx+7jFsrsfpsioP3MACXIJ47A1DX6DaKuD82hOi50vS6twZpxCCeZUIwTrd LnTqXt1EyP0z8g1Fm6s0Iy28gOLzd/usv1StePtxs0ytDVuz7qT8+o5JbGGJxhVGIHIt N0bQ== X-Gm-Message-State: AOJu0Yx3fSLmpOxhilefEQKMyAvXS3bTUMkCZP40vZhISl9YL0fIWGDZ OJCwvA7xbeVdmL0FaheNIkzXu0C9HtD+A98oysjalhPmGUzipbOs X-Google-Smtp-Source: AGHT+IFO5eXpytw9pBaQ1ShdhezLRSLG2155MAaje7cTEAm6zV4DgbkwN2hzs+ZPpXJ4sEwmlWs7O/BGG0NFy1hSwy8= X-Received: by 2002:a17:906:1db1:b0:9b2:d64a:9ecd with SMTP id u17-20020a1709061db100b009b2d64a9ecdmr11427306ejh.66.1696350353291; Tue, 03 Oct 2023 09:25:53 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=alipoor90@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271716 Archived-At: --00000000000039003e0606d258fe Content-Type: text/plain; charset="UTF-8" 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 --00000000000039003e0606d258fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When you open a minibuffer with a non-nil=C2=A0inherit-inp= ut-method argument, the minibuffer will inherit its -default- input method = from the parent buffer. This much is fine and desirable behavior.=C2=A0
=
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 in= put methods (i.e. uses emacs to write in=C2=A0languages other than English)= you often want to use multiple input methods while editing inside a minibu= ffer.
For example, to enter a mixed English-Chinese/Arabic/Persian/... t= ext as a search term etc.

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

Optimal behavior would be if change of = input-method inside a minibuffer also changed the current input method of t= he parent buffer, so that when you close the minibuffer and return to paren= t buffer, you have your last selected input method that you used inside the= minibuffer, selected and ready to use inside the parent buffer.=C2=A0
<= br>Sorry if the technical terms used aren't 100% accurate, as I'm s= till an Emacs newbie ...

Thanks,
Ali
--00000000000039003e0606d258fe--