From: Whitfield Diffie <whitfield.diffie@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Line editor with dynamic prompt
Date: Tue, 28 Oct 2014 09:15:49 -0700 [thread overview]
Message-ID: <CAF+O-CVi4RLK+2hTZL3D=QxJ94oori+xpS4Yt=TPps653fHBJQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
The attached program --- whose calling sequence is
(lineedit prompt-base starting-string position-in-string)
displays the length of the string and the position of point in the
string as part of the prompt; it changes as point moves or the string
is edited.
Does anyone know how to do this without having to write the line
editor by hand?
Whit
[-- Attachment #2: lineedit.el --]
[-- Type: application/octet-stream, Size: 3214 bytes --]
next reply other threads:[~2014-10-28 16:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 16:15 Whitfield Diffie [this message]
2014-10-29 3:44 ` Line editor with dynamic prompt Michael Heerdegen
2014-10-29 7:46 ` Pascal J. Bourguignon
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAF+O-CVi4RLK+2hTZL3D=QxJ94oori+xpS4Yt=TPps653fHBJQ@mail.gmail.com' \
--to=whitfield.diffie@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.