From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Proposal for an improved `help-for-help' Date: Sun, 25 Apr 2021 13:16:33 +0000 Message-ID: <677a04021b5149138e32@heytings.org> References: <838s7hxqkr.fsf@gnu.org> <1c2c69f9-f42e-45e2-ab0e-8506aa859f85@yandex.ru> <8335ven7tu.fsf@gnu.org> <6654ddbe-0f1b-f36e-26f2-f4ee178b12ac@yandex.ru> <677a04021bc7fbe7bcef@heytings.org> <83mttmldk6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="367"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, stefan@marxist.se, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 25 15:17:09 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 1laedJ-000AZc-8Y for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 15:17:09 +0200 Original-Received: from localhost ([::1]:48268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laedI-0006Sp-8I for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 09:17:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laecn-00063r-WC for emacs-devel@gnu.org; Sun, 25 Apr 2021 09:16:38 -0400 Original-Received: from heytings.org ([95.142.160.155]:56386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laecm-0006v8-53; Sun, 25 Apr 2021 09:16:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1619356593; bh=N/Ijn2+XC1uOyrL4shgfYlBAVzdKx+8EXHW8zezODbc=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Dqtl05rUhijDpPTIWLz5x+AJErv+C5t1uxUIRJP2fKbsZKc1TUf0K9W2bAEmisR+Q IMi0G2W//mYGW4sUsqW9QKDGJaaOVSZ8iH4pqbk2DJ4Jq8d0i741mB+eFQEsadys5E ikWtsdI87r+8QW5kB5Kq3OmZYCTcUPpnXRmE7zhD2Nu2DluM05S3GCaKXnaVNrrmjq vwexTR8dF2TDGOKVM29AquKhooighAZ3P/n1DM9Q8WM3VIVCFYO7k+dSTDqgx4CR0k INcR6HARwwAk7440lIMPuBtS2Byp/joVyyVh0uWVgr1Hl60RhrLcrgdjrO3a4+A+pC iv/nd9mYkM5zg== In-Reply-To: <83mttmldk6.fsf@gnu.org> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:268377 Archived-At: >>>>>> Perhaps the easiest fix would be to handle Delete same as Backspace >>>>>> here. >>>>> >>>>> Yes, that could alleviate the problem in this particular case. >>>> >>>> Please don't, that would be a horribly wrong change. >>> >>> I have described an obvious problem: Emacs says press DEL to scroll, >>> the user presses Del on their keyboard, and Emacs exits instead. >>> >>> All that in a Help interface, which is supposed to help newbies. Not >>> grizzled veterans. >>> >>> It's a real problem, if you want people to actually use this feature. >> >> What about adding (define-key map [delete] 'scroll-down-command) to >> help-map? > > Isn't that what Dmitry suggested above? > Whoops, yes, indeed, I wrote too fast. If that would be a horribly wrong change, I'd suggest to bind it to "ignore". That would at least avoid the problem of help screen disappearing when the user presses Del on their keyboard. And they would at the same time become aware of the fact that Del on their keyboard is not DEL in Emacs.