From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nick Dokos Newsgroups: gmane.emacs.help Subject: Re: Keeping up; was Another Emacs incompatibility Date: Mon, 24 Aug 2020 12:27:51 -0400 Message-ID: <87eenw6mbc.fsf@alphaville.usersys.redhat.com> References: <0554D751-5F78-47EA-BFAE-7D2CD2A01957@comcast.net> <877dtprr2l.fsf@telefonica.net> <73D18DCC-A1A2-47B4-97BB-FA12FBAA5080@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33169"; 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 Cancel-Lock: sha1:XtJ7f+vqKaN4EbLR1nP8DoYNreM= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 24 18:28:27 2020 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 1kAFKd-0008XV-GN for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 18:28:27 +0200 Original-Received: from localhost ([::1]:43782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAFKc-0003Ax-JL for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 24 Aug 2020 12:28:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAFKD-0003Ai-2b for help-gnu-emacs@gnu.org; Mon, 24 Aug 2020 12:28:01 -0400 Original-Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:36070 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAFKB-0005ms-M6 for help-gnu-emacs@gnu.org; Mon, 24 Aug 2020 12:28:00 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kAFK8-0007u0-ER for help-gnu-emacs@gnu.org; Mon, 24 Aug 2020 18:27:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/24 11:31:56 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:123745 Archived-At: Francis Belliveau writes: > Seems to me that was the first thing that I tried. > Unfortunately, the OS is in charge at that point and it is looking for a GUI feature triggered by C-g rather than passing it inside. > Once the GUI level of the OS, usually Linux via ssh in my case, things > seem to get stuck in some mode where only a mouse-click will fix the > problem. Actually that means at least two layers of OS in are in the > mix. I end up trying innocuous things like minimize, clicking inside > the region, etc. I eventually wake things up. Maybe C-g after > clicking inside the region will work. > Have you tried hitting ESC while the cursor is in the menu? That seems to work "often" IME. > The next time this happens I will try and not the entire sequence I > used to eventually untangle myself. It happens seldom enough now that > I am working mostly remotely, since I encounter fewer machines that do > not have my customizations installed. > > >> On Aug 23, 2020, at 17:27, Óscar Fuentes wrote: >> >> Francis Belliveau writes: >> >>> Now let me ask a question that I have trouble with for a long time. My >>> customizations turn off the menus and tool-bars because they take up >>> valuable screen-space and I hate leaving the keyboard to use them. >>> However, I often end up on a machine where my custom stuff does not >>> exist and accidentally change the focus within emacs to a menu while >>> moving focus between windows. How do I get emacs to focus back on the >>> buffer so that I can go back to typing?I generally fight my way out of >>> the problem, but I have yet to find a magic combination that I can >>> remember to use next time >> >> If the menu is Emacs' menu, C-g should do the trick. > > > -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler