From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49689: [FEATURE REQUEST] Explicitly report change of input method Date: Thu, 22 Jul 2021 09:11:08 +0300 Message-ID: <83czra514z.fsf@gnu.org> References: <20210721224054.esa3psc2w6ryklzq@E15-2016.optimum.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49689@debbugs.gnu.org To: Boruch Baum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 22 08:12:16 2021 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 1m6RwM-00076m-Ra for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 08:12:14 +0200 Original-Received: from localhost ([::1]:57116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6RwK-0008Go-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jul 2021 02:12:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6RwA-0008Gf-Vh for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2021 02:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m6RwA-0000qK-Oc for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2021 02:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m6RwA-0005f5-9B for bug-gnu-emacs@gnu.org; Thu, 22 Jul 2021 02:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jul 2021 06:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49689 X-GNU-PR-Package: emacs Original-Received: via spool by 49689-submit@debbugs.gnu.org id=B49689.162693429521730 (code B ref 49689); Thu, 22 Jul 2021 06:12:02 +0000 Original-Received: (at 49689) by debbugs.gnu.org; 22 Jul 2021 06:11:35 +0000 Original-Received: from localhost ([127.0.0.1]:39225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6Rvj-0005eQ-GB for submit@debbugs.gnu.org; Thu, 22 Jul 2021 02:11:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m6Rvh-0005eD-98 for 49689@debbugs.gnu.org; Thu, 22 Jul 2021 02:11:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43184) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Rvb-0000Ky-Mh; Thu, 22 Jul 2021 02:11:27 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4200 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6Rvb-0005es-94; Thu, 22 Jul 2021 02:11:27 -0400 In-Reply-To: <20210721224054.esa3psc2w6ryklzq@E15-2016.optimum.net> (message from Boruch Baum on Wed, 21 Jul 2021 18:40:54 -0400) 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" Xref: news.gmane.io gmane.emacs.bugs:210493 Archived-At: > Date: Wed, 21 Jul 2021 18:40:54 -0400 > From: Boruch Baum > > Presently, a buffer's current input method is: > > 1] Only reported in the form of a cryptic symbol on the mode line. You get the full description if you hover the mouse pointer above that symbol (it's actually a short string). You can also do this: M-: current-input-method RET > 2] Aforementioned cryptic symbol is not guaranteed to be unique > (BUG?). There are too few short meaningful strings to guarantee uniqueness. So, not a bug, but a mild misfeature due to screen estate constraints. > 2.1] Example: Hebrew and Hebrew-new > > Please consider explicitly reporting changes to the input method. I've > done this to my personal satisfaction locally by adding a single line to > the end of each of functions `activate-input-method' and > `deactivate-input-method', both in file `mule-cmds'. > > (message "Current input method is now: %s" current-input-method)) I don't think I understand the feature request. The message you suggest is ephemeral: it will be removed on the next keystroke. So it's not like it will be shown there for prolonged periods of time. How will it help? > This change has additional benefits: > > 1] Letting me know what I've done when I mis-type `C-\'. Doesn't "C-h l" help you know that? > > 2] Letting me know what to select when performing `C-h I' Please elaborate how does that message help with this last task. Thanks.