From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matthew Bauer Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add more rebind functions to em-rebind.el Date: Sun, 16 Jul 2017 20:33:59 -0700 Message-ID: References: <5968fc78.8243630a.fed3c.2be5@mx.google.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1500262479 22074 195.159.176.226 (17 Jul 2017 03:34:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2017 03:34:39 +0000 (UTC) To: Matthew Bauer , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 17 05:34:26 2017 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 1dWwnf-0004y1-0p for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2017 05:34:23 +0200 Original-Received: from localhost ([::1]:47705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWwnk-0006W9-Kc for ged-emacs-devel@m.gmane.org; Sun, 16 Jul 2017 23:34:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWwne-0006Vs-Ko for emacs-devel@gnu.org; Sun, 16 Jul 2017 23:34:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWwnd-00042P-RT for emacs-devel@gnu.org; Sun, 16 Jul 2017 23:34:22 -0400 Original-Received: from mail-ua0-x22a.google.com ([2607:f8b0:400c:c08::22a]:35086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dWwnd-00041s-Nf for emacs-devel@gnu.org; Sun, 16 Jul 2017 23:34:21 -0400 Original-Received: by mail-ua0-x22a.google.com with SMTP id 64so3313293uae.2 for ; Sun, 16 Jul 2017 20:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=sYLuBsI/epc8Wy1kJJyPoRrXasjNUWURO4/V1z2O0to=; b=DoEmebt69dwjWy3ZBAY8anovH7Uz9iL6rSC7i7t/O12mhA3yL9DXhAiAm0iwd8QGm2 U+waHiqJC4wn6v49L6ArcZoz/oe5REi8tWCs+INzu0rvX7LdsJc0rC7Xh0s6qi1zlAp9 k0fEO23ojDXqAaWV7UJuaK0lxMcKneS7b0x51Oe4he1rVgyXavt+6GXPdF8+2c8B+cjn wYdIrqPUK+g6rquv8b9/PqfA+yDc7akKStNeJi+F47DMSG0pW/OlpgZ7j0v9SUd4N4TX YkNOgNUw7/0mpAlUbJ7v2OSPOKHe+hh/NFht+UiOLnU/Yli1pFq4Q5sA4pGKW/WYDZg0 2czw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=sYLuBsI/epc8Wy1kJJyPoRrXasjNUWURO4/V1z2O0to=; b=XJatVyWYT9jBjuArU0HJ3jt+svctvM5mgYvrPphP060Iwhh5Ju+HFOkQwnsyUkSjTo 37TN7mBq+4jr+XSL5nJyDi4qwHJCS53nUuhtY7fWtXgPvTuN0/zeSloiazDuHo7pGE3j OTieRSTLCxypIOkbOcrj/cmY6xzSNDbD38RN67GCt6qz44gsVOcqL9EgjyfsObVpPytC c90x/PngAZD1yhp+TSmcOlYEDrY7NUoPfqBi1UMF0JPZi4gXfEWSjXsFM8VtW4Lk9KG8 2artZjs6SEgAOU5Q160i3o89I7yJRBJrEERbGWPBYhgeSRBeRdXVVd3V9n3XuhXQrIIO 7Ovw== X-Gm-Message-State: AIVw112zJxyDtypTsr+lSVDPQQ22h+CTr1VCvGvPPWeJBnp6+cngTZYG iJhV3VGs5Nv/w7WoULhDml90hUTy8g== X-Received: by 10.31.157.1 with SMTP id g1mr11174163vke.139.1500262459578; Sun, 16 Jul 2017 20:34:19 -0700 (PDT) Original-Received: by 10.176.9.196 with HTTP; Sun, 16 Jul 2017 20:33:59 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400c:c08::22a 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:216761 Archived-At: I cannot reproduce it on vanilla Emacs. Will try to figure out what's going on with it and get back to you. The basic problem was that it wasn't respecting the prompt and deleting backwards from it. Seems to be related to custom prompts. On Fri, Jul 14, 2017 at 11:59 PM, John Wiegley wrote: >>>>>> "MB" == Matthew Bauer writes: > > MB> This adds two new functions for em-rebind to handle "killing" without > MB> messing up the prompt: > > MB> - eshell-kill-whole-line > MB> - eshell-backward-kill-word > > I've never noticed the current backward-kill-word messing up the prompt > before, so can you clarify what effect these changes have? > > Thanks, > -- > John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F > http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2