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: Mon, 17 Jul 2017 14:43:12 -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 1500327822 23986 195.159.176.226 (17 Jul 2017 21:43:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2017 21:43:42 +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 23:43:37 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 1dXDnk-0005vV-5m for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2017 23:43:36 +0200 Original-Received: from localhost ([::1]:52709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXDnp-0007mC-O7 for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2017 17:43:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXDnj-0007lr-Ar for emacs-devel@gnu.org; Mon, 17 Jul 2017 17:43:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXDni-0008Bt-Af for emacs-devel@gnu.org; Mon, 17 Jul 2017 17:43:35 -0400 Original-Received: from mail-ua0-x22e.google.com ([2607:f8b0:400c:c08::22e]:34988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXDni-0008BI-4U for emacs-devel@gnu.org; Mon, 17 Jul 2017 17:43:34 -0400 Original-Received: by mail-ua0-x22e.google.com with SMTP id 64so2863968uae.2 for ; Mon, 17 Jul 2017 14:43:34 -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=pZLcDrEAYjkEhyuktUUkz2gnjGkzB9XebvHUVeuWXJY=; b=Tw4BbsxR0sZYC3CMgC9M2nqwzbmQGJPo2mJfpoSuOS/egUMRpgqex4mxN9YiQWFcL7 d7vkJOHz+xNXT2kQ8BUj1EgZasnzSk8tHyLUjeC6xkOA+HffnK2UhrhxsdmeFsJ7hXS2 SXOWov3i2wfVF62/pN7D2zK9cqycpvRd5cZp9Ie/svilEEgd4PF8whmiwad5dYNkgrgl GDfpyTL08Y4FM3+VjMSODEwKgZ32I0p7LfZezDNF+zy0ecwkNwlAKKMxx3Wzroz9RzpX igsfOUMNLTd4y4YG80vqlh8kQ7+ZlvChJEXYMLBE3UkHNSCDDn/vXmGQ5XSlHM4GpxdU Zc4w== 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=pZLcDrEAYjkEhyuktUUkz2gnjGkzB9XebvHUVeuWXJY=; b=AhhbFpbmokQJZNhc4fSciFTbZwUHt58OXImf+2CUw8ul5UA/qXusadGJcvG9EfZ1NY K9fAkHsXuikXxMq6e1+XoLfgDWrl1AR15X/myn+8117XIg24rS2Tm/qcXP9EY5UKZfTu t9CTVGMlrr0LFccmut+C3d0CSForzKdq4CzGigkBzaC3l7u0i9B2nLWRl8vXAl27AbxO K+oF/FxBPBvqPgldXoMurRSeoCZCfezW0KoOBCRG3WC3sRGZu3ofpeedjDBwMv5852Qu DYs8DPy8miWXtrKoZEr+Epd26GFpOraGITDA5hlr2hv9rX7tAHHhMcisaiJvo7Q2/0VN hMiQ== X-Gm-Message-State: AIVw110lyGw8iYwG2f5RMqGx6BBZpP42VAV+AXh9GpUkIl+e7g1NafyF Um48jYFFSZy52sikgELfTxQtPCZr6g== X-Received: by 10.31.218.133 with SMTP id r127mr13860389vkg.104.1500327813239; Mon, 17 Jul 2017 14:43:33 -0700 (PDT) Original-Received: by 10.176.9.196 with HTTP; Mon, 17 Jul 2017 14:43:12 -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::22e 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:216805 Archived-At: It looks like "eshell-highlight-prompt" controls whether read only properties are set to the prompt, I had that disabled. On Mon, Jul 17, 2017 at 5:58 AM, John Wiegley wrote: >>>>>> "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