From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: Some developement questions Date: Thu, 06 Sep 2018 21:15:08 +0300 Message-ID: References: <87sh36inql.fsf@himinbjorg.adminart.net> <837ekhb2me.fsf@gnu.org> <87zhxcbmtr.fsf@himinbjorg.adminart.net> <83in409lub.fsf@gnu.org> <871sanb71j.fsf@himinbjorg.adminart.net> <87k1oeaofu.fsf@ada> <20180825103413.gbm5stsl67j6weow@Ergus> <87k1od7vzf.fsf@himinbjorg.adminart.net> <83wosd5h3x.fsf@gnu.org> <871sakzssu.fsf@himinbjorg.adminart.net> <83bm9n6f7d.fsf@gnu.org> <87tvneql3i.fsf@himinbjorg.adminart.net> <83o9dl2oob.fsf@gnu.org> <87y3coopyf.fsf@himinbjorg.adminart.net> <8736uvmn44.fsf@himinbjorg.adminart.net> <87y3chqre4.fsf@toy.adminart.net> <87va7j65s6.fsf@toy.adminart.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536257606 30272 195.159.176.226 (6 Sep 2018 18:13:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2018 18:13:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) Cc: emacs-devel@gnu.org To: hw Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 20:13:22 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxymP-0007l1-75 for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2018 20:13:21 +0200 Original-Received: from localhost ([::1]:34923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxyoV-0001Xt-GS for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2018 14:15:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxyoK-0001XY-B2 for emacs-devel@gnu.org; Thu, 06 Sep 2018 14:15:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxyoF-0004Tb-73 for emacs-devel@gnu.org; Thu, 06 Sep 2018 14:15:20 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:42343) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fxyoE-0004Rs-Q9 for emacs-devel@gnu.org; Thu, 06 Sep 2018 14:15:15 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id D337C39C; Thu, 6 Sep 2018 14:15:11 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 06 Sep 2018 14:15:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=MhsjOUqjUgo6bi59/Dktwew6re0AkRbpMwmk4tRSdCI=; b=l3Z/7z8J A3i6moEOkXDwLG2ot49QurmCoetz57BxIX//8CEWNn9IJjf9LoswrrjcyIOTW194 3W9NFPF1hA94O7qGcZwVi4Evkzb1xlJGt+EJl06gh2VgK5VOhYez0xBrOECgpiDw Fm96cvFrwD82KZqxPxMZkT6i3feYtqyyU5xUDYysu6i/QC+5DzznXT8RVbLV2rdg v1A+BO43dYwO5Lxw45eUjC9bv+X1C5lMrgIl457NiYB91GdwMn0jDqzgwrHdO57B gcZN9bztvNe+3xKNuWeF+ejwbweYuO5ENuiSx/RnVMNWDj0Ay2Yg5zY4LxyutCmy JnlowIrqmykldQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=MhsjOUqjUgo6bi59/Dktwew6re0Ak RbpMwmk4tRSdCI=; b=s0615PaodtL0f7fw3E5fmczxa4qdE6wacsqWV9zS3jcqj 8bnDRMq4LalOnSUno62Kci2b/5iq98QV35PKTdLAJdyFFtJ0pIazKaEnZn8NI+5u rhFjJ9VwRAlfbZPMrQMIWzsmhumg8zpj9DOpjL87yG20Rwtnd96M2tx65CERq+o7 zTBOk3r0XXs7rWqzz1xqNyWUJBsrrRaN2INKCbOswUApbEesosD6csg9me1hte9h qofUhphpcjBKVvic6kuI+gZ4cLUBW3MFFluLRSkbuQtifTcz+BR1gp0T4MeJuO9+ erfRAEKfn+NXXd75AzaM0FD2fo/PtAjNJRpp553Jg== X-ME-Proxy: X-ME-Sender: Original-Received: from fgunbin.playteam.ru (unknown [94.25.218.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 44A201029E; Thu, 6 Sep 2018 14:15:10 -0400 (EDT) In-Reply-To: <87va7j65s6.fsf@toy.adminart.net> (hw@adminart.net's message of "Wed, 05 Sep 2018 22:36:09 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.25 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229354 Archived-At: Hi, On 05/09/2018 22:36 +0200, hw wrote: > Filipp Gunbin writes: > >> On 04/09/2018 16:16 +0200, hw wrote: >> [...] >>> Ok, Emacs should be able to automatically switch on or off the menu (and >>> perhaps the tool bar) depending on the mode of a buffer. >> >> Emacs cannot guess for the user when she needs or does not need a menu >> bar or a tool bar. You have to instruct it to, somehow. > > Can I do that per mode? So I could have them automatically enabled when > in info mode and automatically disabled when not? Emacs could > automatically remember the last setting for each mode I used, so no > additional instructing would be necessary. Yes, customize change-major-mode-hook or just Info-mode-hook. >>> Info mode should understand the contemporary key bindings M-left and >>> M-right to go back and forth in the history. (Those are bound to >>> movement by word, which is probably not extremely useful in info >>> buffers.) >>> >>> Should I make a feature request? >> >> It's very useful. At least for me - when I read info, I usually move >> the cursor by word or by sentence. > > That probably means there would be a lot of resistance to get these > useful key bindings to be the default :( > > Please try word-wise movement on a German keyboard with these keys. Do > not use the Alt key for this because it has been almost 30 years that it > was not possible to use that like ESC at all. Force yourself to do it > for at least two hours; after that, you may use the Alt key and try for > another two hours. Then tell me how useful these key bindindings really > are :) I've never worked on a German keyboard (but I've just read https://en.wikipedia.org/wiki/German_keyboard_layout). So what's your exact problem with Alt's? I do work with Russian keyboard, and I usually use US layout when working with Emacs, and have (setq default-input-method 'russian-computer) in .emacs, so C-\ switches to it. You should have 2 Ctrl's and 2 Alt's (one of which could be AltGr) on a German keyboard, so you should be in same situations as other users. >> Well, this thread looks like you're describing how you fight with Emacs >> defaults. You could make your own set of customizations and see what >> comes out of it. Maybe others will find them useful. > > You could always change the default to your preference after it has > changed to something people are more likely to know. You could propose > that all web browsers start using 'l' to move backwards in history, > too. It's really the first time I heard of Alt+arrow bindings. Maybe that's because I don't use keyboard for navigation in a web browser :-) Filipp