unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Wiegley <jwiegley@gmail.com>
To: Matthew Bauer <mjbauer95@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Add more rebind functions to em-rebind.el
Date: Mon, 17 Jul 2017 08:58:25 -0400	[thread overview]
Message-ID: <m2h8ybz0cu.fsf@huntsman-ve702-6287.apng.wlan.private.upenn.edu> (raw)
In-Reply-To: <CAFnZKr3YHZYwHE5qyCTB8MKML0gwoaGmugM76eOm+hGvdqUoqA@mail.gmail.com> (Matthew Bauer's message of "Sun, 16 Jul 2017 20:33:59 -0700")

>>>>> "MB" == Matthew Bauer <mjbauer95@gmail.com> 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



  reply	other threads:[~2017-07-17 12:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14 17:05 [PATCH] Add more rebind functions to em-rebind.el Matthew Bauer
2017-07-15  6:59 ` John Wiegley
2017-07-17  3:33   ` Matthew Bauer
2017-07-17 12:58     ` John Wiegley [this message]
2017-07-17 21:43       ` Matthew Bauer
2017-07-18 12:17         ` John Wiegley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2h8ybz0cu.fsf@huntsman-ve702-6287.apng.wlan.private.upenn.edu \
    --to=jwiegley@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mjbauer95@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).