From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Paul W. Rankin" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49593: Emacs overrides normal-erase-is-backspace Date: Sun, 18 Jul 2021 15:01:39 +1000 Organization: By Dasein Message-ID: <726cbb9e1c7656d897b349ac6c0a245a@purelymail.com> References: <878s26d16t.fsf@gnus.org> Reply-To: "Paul W. Rankin" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29545"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Purely Mail via Roundcube/1.4.10 Cc: 49593@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 18 07:03:10 2021 Return-path: Envelope-to: geb-bug-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 1m4yxJ-0007Su-QK for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Jul 2021 07:03:09 +0200 Original-Received: from localhost ([::1]:35314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4yxH-0008Dn-TJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Jul 2021 01:03:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4yxC-0008DY-7b for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2021 01:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4yxC-0001m8-0N for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2021 01:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4yxB-0004M5-Id for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2021 01:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Jul 2021 05:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49593 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo Original-Received: via spool by 49593-submit@debbugs.gnu.org id=B49593.162658453316677 (code B ref 49593); Sun, 18 Jul 2021 05:03:01 +0000 Original-Received: (at 49593) by debbugs.gnu.org; 18 Jul 2021 05:02:13 +0000 Original-Received: from localhost ([127.0.0.1]:55019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4ywP-0004Kv-7S for submit@debbugs.gnu.org; Sun, 18 Jul 2021 01:02:13 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:48912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4ywL-0004Ke-QZ for 49593@debbugs.gnu.org; Sun, 18 Jul 2021 01:02:11 -0400 DKIM-Signature: a=rsa-sha256; b=nSm7Dj5gNvWH4Onf6rK8hCp6oIizNcZ4NDoYxCMY1MpxIgDsgZE+tj+lZIIGtg9ImHQAGgB7ciVwRdT/PwMLpzbnwjS8Ky5LrpTpmsyml4SerTwOhBVHEaAc5kAN9Uz00MBI7YGargLskZmuqHygPWzWXsq3uZCC/wYG6pZKDBfM65YxgSiU5HgqxCDIVJjMKA1wvtpC68BGvqkfQn8MHPSRvQVJFQhFRBJGXWiM5HHNTtFro0nAhb+QMR6b5Ri51vtWhfTUIUiVqi3yo4EqqzHpKaj05kBiX+g+oPXWlu81MzOp8Ap1hcQ+gyNKSmfW2Zw6h9hWvlL1YI2LJ7w3WQ==; s=purelymail3; d=bydasein.com; v=1; bh=nVJG3VMl/HlXkBw6wLm4dsgd7r3uuOEY2hP+HHxzp5E=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=ZHpBCSEjEqejrxzbLGyrU1+B+QnC1Ckwcpv+DerpaYG1HuiuFrxd0YiFfYCBpZ47oRB9uubno2HfM2RiMK6PZ/yTyzBQ4+qwt4owPn8SW9+XahinZ+9L/snpDUGa5YepN2wfdp8IQA9LN4aG6S/v5HcBR+va+RC/eCmsOM/mXAwIELOpLHIptZjuOxrJFPQXPI+vPGLqSyEClDeLIoZISmubTEvuOmhP3e1Vkvb7bVxLlqoRnhnbFdie9NEAaWHhzU9UVN+B9tzeR0Qk6crAd0bd+XEMUo9G5kRHscoJiga+PFKerRcQEi0wz4Dv75jRbo36NHjTqWhWKZKVcQjGAw==; s=purelymail3; d=purelymail.com; v=1; bh=nVJG3VMl/HlXkBw6wLm4dsgd7r3uuOEY2hP+HHxzp5E=; h=Feedback-ID:Received:From:To; Feedback-ID: 791:353:null:purelymail X-Pm-Original-To: 49593@debbugs.gnu.org Original-Received: by ip-172-30-0-12.ec2.internal (JAMES SMTP Server ) with ESMTPA ID -1660164130; Sun, 18 Jul 2021 05:01:39 +0000 (UTC) In-Reply-To: <878s26d16t.fsf@gnus.org> X-Sender: pwr@bydasein.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210160 Archived-At: Hi Lars, Thanks for looking into this. Yes after reading through the code of this my opinion is that it would be better scrapped and rewritten from scratch. (For me the patch did not fix the option persisting after restarting Emacs.) I've managed to resolve my problem via the console itself so I'd rather not touch it, but might be worthwhile keeping the issue open if anyone else requires the mode/variable. On 2021-07-16 20:04, Lars Ingebrigtsen wrote: > > Hm, looking at the code to `normal-erase-is-backspace-mode', I don't > see > how that's supposed to work at all. The value is only used in > `normal-erase-is-backspace-setup-frame', and calling > `normal-erase-is-backspace-mode' doesn't actually change the value of > the variable, which explains why `custom-set-variables' does nothing.