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.devel Subject: Re: Proposal for an improved `help-for-help' Date: Sun, 25 Apr 2021 15:14:08 +0300 Message-ID: <83pmyilfxr.fsf@gnu.org> References: <838s7hxqkr.fsf@gnu.org> <1c2c69f9-f42e-45e2-ab0e-8506aa859f85@yandex.ru> <8335ven7tu.fsf@gnu.org> <83tunulkye.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23806"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, dgutov@yandex.ru To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 25 14:16:50 2021 Return-path: Envelope-to: ged-emacs-devel@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 1ladgv-00061j-8O for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 14:16:49 +0200 Original-Received: from localhost ([::1]:35332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ladgu-0003he-9x for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 08:16:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ladeh-0003DM-Mg for emacs-devel@gnu.org; Sun, 25 Apr 2021 08:14:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35880) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ladeg-00053L-KB; Sun, 25 Apr 2021 08:14:30 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3272 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ladef-0005k7-Mk; Sun, 25 Apr 2021 08:14:30 -0400 In-Reply-To: (message from Stefan Kangas on Sun, 25 Apr 2021 06:49:46 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268371 Archived-At: > From: Stefan Kangas > Date: Sun, 25 Apr 2021 06:49:46 -0500 > Cc: dgutov@yandex.ru, emacs-devel@gnu.org > > Eli Zaretskii writes: > > >> I note that any keyboard I have ever seen or used has had a backspace > >> key. It is of course not interesting to me what exact control codes > >> that key has been sending on various machines over the years. When > >> pressed, it has erased text backwards. > > > > But it doesn't always erase backward, it sometimes _moves_ backward. > > I don't understand what you mean here. Perhaps we use different > terminology. What I mean is that if point is on X in "fooX", I press > backspace and end up with "foX". This is true for any machine I have > used, and I suspect that is the case for most people. In which major mode(s)? What does Backspace do in Info, for example? > > Besides, what exactly is your proposal? Backspace vs DEL is not the > > only such issue: we have RET vs Enter (how many keyboards did you see > > with a key labeled "RET"?). And on my keyboard (and most probably on > > yours as well) I have a key labeled "Delete" and another one labeled > > "Del" -- how do we make sure users will not be confused by that? > > There's also Tab the function key vs TAB the ASCII control character > > -- are we going to make that distinction explicit as well? > > Please forgive for speaking frankly, but I think this is all a bit of a > mess. Other software I use don't have any problem with any of this: > backspace is backspace, delete is delete, return is return, etc. Other software doesn't need to deal with all the different kinds of terminals and keyboard drivers that Emacs tries to handle in a unified manner. > I do appreciate that there are historical reasons, the question of > different keyboards, terminals, features that no one else has, and what > have you. But to me, as an end-user, it looks like a very complicated > tapestry for a couple of keys that no one else seems to be struggling > with. Complex problems rarely if ever have simple solutions, and if they do, those simple solutions are at best only 85% correct. In most cases, there's no easy way around complexity. Therefore, the fact that the solution is complex is not necessarily an indication that it is wrong or sub-optimal. > And in this case it boils down to the unfortunate situation that > "backspace" is described as "DEL" in our documentation. DEL is not a key, it is a character, ASCII 127. By default, the Backspace function key has the same effect as ASCII 127. > I appreciate the hard work that went into this, of course. I'll put > looking into this properly on my list of things to work on. I am > currently already spread too thin with my many Emacs ideas, so I can't > promise to look into this any time soon, unfortunately. > > (I'm also not so sure I am not already in over my head here. :-)) I know the feeling. Don't give up, at least not yet.