From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: max.brieiev@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Setting input method automatically whenever text is to be entered. Date: Tue, 20 Apr 2021 18:39:47 +0300 Message-ID: <87im4hufr0.fsf@gmail.com> References: <87pmypuh4i.fsf@gmail.com> <874kg1kmhj.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17603"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 20 17:40:48 2021 Return-path: Envelope-to: geh-help-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 1lYsUZ-0004TW-Nr for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 20 Apr 2021 17:40:47 +0200 Original-Received: from localhost ([::1]:57852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYsUY-0007vm-Qp for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 20 Apr 2021 11:40:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYsTh-0007vg-T0 for help-gnu-emacs@gnu.org; Tue, 20 Apr 2021 11:39:53 -0400 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:45619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYsTg-0007AW-GQ for help-gnu-emacs@gnu.org; Tue, 20 Apr 2021 11:39:53 -0400 Original-Received: by mail-lf1-x129.google.com with SMTP id g8so62212024lfv.12 for ; Tue, 20 Apr 2021 08:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version; bh=FOvkwPvSFFChDDQlanGRFp9c3Gn2kKHCUm6hhVGP3XA=; b=TrQhlUNNMBZJky2jphQHpEdELsUoX4OaTfsNfNlCy1ex9FbFF6Q0Hx6yfJ58abxO+/ p5r4yEA/68NonL8psPpJppe0ZeGLNbaY+1ZBggIsWnu1u6KglrQpVVXcIib2mMPeOZR/ 4v7vTbBykEEncn9Pt1KJuFESbJiCsBjKFQmnqt5DY99US8B3jcL4rwwW6XqAYB3wSOTO EB8OeupXNr45E5FhBzFoJ6fve3trjhocS6SawYp3PLYFJsgKrW0oxbiLKVoHNRyDl4jm udwFr7yY902fvLPNWWHHwq5JaMDwQyNaXhgetvuLKDs4NuNwx7hR3EHmleiubwZS3a4k EUnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:mail-followup-to:date :in-reply-to:message-id:user-agent:mime-version; bh=FOvkwPvSFFChDDQlanGRFp9c3Gn2kKHCUm6hhVGP3XA=; b=lCoaqUwS0wLj8OuhPS+KB3DaHhKRR1Jamgfc84A0Ls+XZuvwmiTEK/kgMUNAtqNj4r oqLVlEHVzhu+7JFp+oZlHcng75fv6t3P9Dh1fJDi2CQqXdAZLAsfUEjrgQbRjhUItyfM 6TmDzGGmwvjdPssDPYLKemXF8jbuIjJ6wA7Bw2I11zxdfmUYDmm4mHAZPzKjTXq/BIQd iVtS5Zv9HPnT8ons631hvyBwKxB9XQMJ8WvEZTnMEXVj82g0Cj9Wj1n2iXXhZhRhaRyt t/OgqzTGttiPbQ97xKmU4jNfwQ+xnEYWZOmJVm81m+7PrLMvgYZEx70aPUn40WFZmjUM greA== X-Gm-Message-State: AOAM530K6athab7SjrJiaYHtVnHoaVRIIvcMQ4HowM3F2gBZrw6qaNSo UKLYYFflOlPJToIzI999TTF/nRzDZHmloQ== X-Google-Smtp-Source: ABdhPJyvq/Thvbrae+Jjc1pyCn1eKB1RkYmu9mBBW8aR4rDMyJ03scATLJcqLhc6tmPIY4lCstdqtQ== X-Received: by 2002:ac2:4e6d:: with SMTP id y13mr16839802lfs.509.1618933190366; Tue, 20 Apr 2021 08:39:50 -0700 (PDT) Original-Received: from arch-max ([109.251.233.9]) by smtp.gmail.com with ESMTPSA id z16sm2192953lfu.158.2021.04.20.08.39.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Apr 2021 08:39:49 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <874kg1kmhj.fsf@zoho.eu> (Emanuel Berg via Users list for the's message of "Tue, 20 Apr 2021 17:24:24 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=max.brieiev@gmail.com; helo=mail-lf1-x129.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129093 Archived-At: Emanuel Berg via Users list for the GNU Emacs text editor writes: > Okay, you need to set the keyboard layout in Emacs? > > Did you check out `default-input-method'? Yes, I have set this through customize interface. However, each time I want to enter text I need to press C-\ to activate it. So the idea was to use mode-hooks to set it automatically, which kind of works, but not always.