unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Line editor with dynamic prompt
@ 2014-10-28 16:15 Whitfield Diffie
  2014-10-29  3:44 ` Michael Heerdegen
  2014-10-29  7:46 ` Pascal J. Bourguignon
  0 siblings, 2 replies; 3+ messages in thread
From: Whitfield Diffie @ 2014-10-28 16:15 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-29  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28 16:15 Line editor with dynamic prompt Whitfield Diffie
2014-10-29  3:44 ` Michael Heerdegen
2014-10-29  7:46 ` Pascal J. Bourguignon

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).