From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add more rebind functions to em-rebind.el Date: Mon, 17 Jul 2017 08:58:25 -0400 Message-ID: References: <5968fc78.8243630a.fed3c.2be5@mx.google.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1500296454 2443 195.159.176.226 (17 Jul 2017 13:00:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2017 13:00:54 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.2.50 (darwin) Cc: emacs-devel@gnu.org To: Matthew Bauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 17 15:00:40 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 1dX5de-0008Gg-LM for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2017 15:00:38 +0200 Original-Received: from localhost ([::1]:50238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX5di-000316-IK for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2017 09:00:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX5cq-0002yg-0V for emacs-devel@gnu.org; Mon, 17 Jul 2017 08:59:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX5cm-00005d-6J for emacs-devel@gnu.org; Mon, 17 Jul 2017 08:59:48 -0400 Original-Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:34115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dX5cm-000053-2Q for emacs-devel@gnu.org; Mon, 17 Jul 2017 08:59:44 -0400 Original-Received: by mail-qt0-x233.google.com with SMTP id 32so105087835qtv.1 for ; Mon, 17 Jul 2017 05:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=Fyiz+JrdqfUU5ccJFKlmlaGUJeTvDD4MsuecGGTJiGA=; b=ZG/CON5Sy+LB+YRgImmE0tqfDsXzAAW1GmHZudfD1qs0T/W46g9nn5kxMjQUK69Qt1 I9+CFGmprZc7h98oDNL5j6lo/KjCNqnVEP2j+g1itU0cn6odxDhPbtRmFsei3BEYf4Fu Da/tqKBuvtZwBw6jmd0OMTTL4f46pB9EGuO5q8bP9A0roGrx8RKGNEbd/dS5EJuf+yyi 6aG8KL/1/j4AFgeCQkUOkDyjJfh1YKTH0P0sn6wm5PMV8cH3PH18b8RiZ6MDPyWdqcFt ZqGr2mzdvLFvf4sw+qiofP6hxoJBjW19XnZSwpTUFdRg0xB2QYLqf2dz1pBQ16F3U0NM hLzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=Fyiz+JrdqfUU5ccJFKlmlaGUJeTvDD4MsuecGGTJiGA=; b=DBAODhslL4p5gtrQo4WodEbH/hk/PaIjb5IwGAUSpr+BwGmPGVvhZJgXYmywp9oARz et6M5BstTZwZobdyfj9N4InfCMqriDbc73scD/AJjgkMkUk/XsxzdZ8obfa0kraXCXIh XWCuTYhODP1JlZHQXsJry1zmBNgxfV/PH1TROYb87V5K86x/WOb0J+9mvTbeEQYCa+kN jPryeDbGAzivvAc8kuuSwqXzLpKDpXnuXUGJMixemnky1mD3IPQQahdLfVCFyr50U1O+ +bT0yAVuZ4Cj//0WqWRkFDbktKW0L+K5+h/0EhetXNlCmVj6rNnLF2hop5yPHzWJn73M ywLw== X-Gm-Message-State: AIVw111qRc8NZ/ign3dOUJT1sdAkZRxo5JI2t2oc4Lra2up81HSygqc7 84r3uyM0JNlKFg== X-Received: by 10.237.41.225 with SMTP id o88mr28047453qtd.27.1500296381784; Mon, 17 Jul 2017 05:59:41 -0700 (PDT) Original-Received: from huntsman-ve702-6287.apng.wlan.private.upenn.edu (guest-pool2-19-028.guest.nat.upenn.edu. [128.91.19.1]) by smtp.gmail.com with ESMTPSA id v17sm13692310qtc.39.2017.07.17.05.59.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 05:59:40 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by huntsman-ve702-6287.apng.wlan.private.upenn.edu (Postfix, from userid 501) id 7B69A256C574; Mon, 17 Jul 2017 08:59:37 -0400 (EDT) In-Reply-To: (Matthew Bauer's message of "Sun, 16 Jul 2017 20:33:59 -0700") Mail-Followup-To: Matthew Bauer , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::233 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:216772 Archived-At: >>>>> "MB" == Matthew Bauer writes: MB> The basic problem was that it wasn't respecting the prompt and deleting MB> backwards from it. Seems to be related to custom prompts. I can believe that. Eshell does to rather some lengths to protect the prompt from any modification; perhaps your custom prompt function need to apply the same text property (or is it overlay?) that Eshell is using. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2