From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Branham Newsgroups: gmane.emacs.bugs Subject: bug#32945: [PATCH] Prefer delete-char Date: Fri, 05 Oct 2018 09:11:05 -0500 Message-ID: <874le0fpqe.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1538748610 8247 195.159.176.226 (5 Oct 2018 14:10:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2018 14:10:10 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 To: 32945@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 05 16:10:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1g8Qnt-000211-V2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Oct 2018 16:10:06 +0200 Original-Received: from localhost ([::1]:35362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8Qq0-0000Yw-40 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Oct 2018 10:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8Qpq-0000YL-Aj for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 10:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8Qpm-0004op-Hn for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 10:12:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33733) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8Qpm-0004oj-EE for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 10:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8Qpm-0007dN-8w for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 10:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Branham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Oct 2018 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153874869229308 (code B ref -1); Fri, 05 Oct 2018 14:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Oct 2018 14:11:32 +0000 Original-Received: from localhost ([127.0.0.1]:37991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8QpH-0007ce-QY for submit@debbugs.gnu.org; Fri, 05 Oct 2018 10:11:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8QpF-0007cP-P3 for submit@debbugs.gnu.org; Fri, 05 Oct 2018 10:11:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8Qp4-0004Dd-LF for submit@debbugs.gnu.org; Fri, 05 Oct 2018 10:11:24 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8Qp2-0004CI-IU for submit@debbugs.gnu.org; Fri, 05 Oct 2018 10:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8Qp1-0000OD-PF for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 10:11:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8Qov-00049J-GK for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 10:11:13 -0400 Original-Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:35800) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8Qov-000493-94 for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 10:11:09 -0400 Original-Received: by mail-ot1-x333.google.com with SMTP id j9-v6so12835438otl.2 for ; Fri, 05 Oct 2018 07:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=Z9GaCVJQOeJorUk2x8X1H44iOHW9WD9ABqLrNGa4wSw=; b=TO3aL6Ivx1Mem/lVivzDEJ0jZb0UGj15zoy+/T7ZAl11apRgg/ih1U28Tk01NG3X06 Ig+xQjRkVkiY6LG8HiD2KzoeGdu1x/+rB1YazCha3NUZ1RiL3/AU54x3yCc+jF4K3pfC kC66PsUF7gQ7GbVxqvvCUCYeXGm3UPFeNxPXFTrDgom+GnovDNeAOGzuo2bhA0XX48MX VTdEMdOF6Av8GTE7LiBG7MAWcIpBubNtBanfwB0Macjb23yZg+eRLJn6wrUcFA2BqBzK +tcczh/JozUgYMIPwQ34AiMS+Ppkxcy9IrF8M95BsyCUxbFmaZOK9PatbMNurptSKBNm Gqtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=Z9GaCVJQOeJorUk2x8X1H44iOHW9WD9ABqLrNGa4wSw=; b=lSQmG7CIb3/2Pyv//i2rVQk+LeVbk4Kp10fJTKPdkdaKcjry/DQg5xY1fhNXQ70qPe Dw/CmebEA2NW9KOpy1fE3alOEeTswfzWL5SGycV8cLL8DnWx7gfVni9Z2dNdBNb/WHE5 GbQ5xJqmO9EfvAFaZFJtebeyl9sehsW0Wg+GCmTqB5rRhMZjFpNlFmiNW49azzZ/5D0/ hXtmSsAf/nglxS4VHdZSfMDExY1XlpOi3hR9JywpjQtZ/1IITRjGGadqdmYaTsYDzhmu du25p6mte+LiQt+XHLwWbLTBLu5XNlLgdcwTPXFM1t7lPFLZdwlVeDdpZ95Erzxk6fUM n9Kg== X-Gm-Message-State: ABuFfoiWmgc2F6MUo4ZhKfhJW4idB1hElG/+PDEnI8p23o/9kgj5OFmL 0XqXntTq3/pUA8RVnOFMxQJCZj14 X-Google-Smtp-Source: ACcGV62Ci+A3XSVheL1G9H/THA/h5JrUBuF7CGK61SnKpeSXbmHOmlQkj4Ox5q9P7QhrZv+bo3XANA== X-Received: by 2002:a9d:3e54:: with SMTP id h20mr5947099otg.184.1538748668140; Fri, 05 Oct 2018 07:11:08 -0700 (PDT) Original-Received: from mars (nat-128-62-59-37.public.utexas.edu. [128.62.59.37]) by smtp.gmail.com with ESMTPSA id v31sm977580otf.11.2018.10.05.07.11.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Oct 2018 07:11:07 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150955 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi - This is a trivial change that silences the byte compiler warning in lisp/eshell/em-rebind.el. Thanks for all your work on Emacs! Alex From=2040563de898d99a81d05d3d1585f753e20f815b60 Mon Sep 17 00:00:00 2001 From: Alex Branham Date: Fri, 5 Oct 2018 09:07:13 -0500 Subject: [PATCH] ; lisp/eshell/em-rebind.el (eshell-delete-backward-char): Prefer delete-char =2D-- lisp/eshell/em-rebind.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/eshell/em-rebind.el b/lisp/eshell/em-rebind.el index e6f04b68e0..064dcc762d 100644 =2D-- a/lisp/eshell/em-rebind.el +++ b/lisp/eshell/em-rebind.el @@ -223,7 +223,7 @@ lock it at that." (interactive "P") (let ((count (prefix-numeric-value n))) (if (eshell-point-within-input-p (- (point) count)) =2D (delete-backward-char count n) + (delete-char (- count) n) (beep)))) (defun eshell-delchar-or-maybe-eof (arg) =2D- 2.19.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEeEJ4XAMgliXNXicpHkInolPpmscFAlu3cPkACgkQHkInolPp msfuwwf/Vy2YjchWE+iVU3YHk+gb4nEEqsdodaaEfPnu9Sz6/xZHQrWP8LWv1QUr Jq7WaDLFP8LU8N6AtmOA/IOqSyDDmW9vIex+5D90kZMQC2nes6le4TvWrTPq4/dQ K1T3YrWlkwVyoIlXWiWVH8WFc0od86//3YDWBgCCMVzKYGaeI7hs4qUVcD5c4VV/ IvzwL/7EL2+zQlLzjauLc/UdXCAP3ePh1Fq4IpKorzNvFKFUAfk1YmJ5ynp8OvVy 0pgey5lqUwXe9HEC0HuLBa9nFgZt7SZqfiZqR04d8FYK3Q870YNRq711cEdqUr5H qSRrGYRmIHStKpoelUUHkbfIyjLrbA== =07fP -----END PGP SIGNATURE----- --=-=-=--