all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.