unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Validating with tempo.el
@ 2006-05-22 22:55 Lennart Borgman
  0 siblings, 0 replies; only message in thread
From: Lennart Borgman @ 2006-05-22 22:55 UTC (permalink / raw)


If templates from tempo.el (or other similar libraries) are used in a 
validating mode like nxml-mode then there may be cases where the prompts 
are overwritten by a message. This occurs in the case of nxml-mode 
because the validation is run with run-with-idle-timer and the message 
is given from within the timer.

I do not know what the best cure for this is. One possible solution is 
adding a variable holding a function to run after something has been 
added by a template. This can perhaps be done with an advice.

Another (more general) solution would perhaps be to

  1) add the message to the message buffer
  2) add it to the beginning of the prompt
  3) redisplay the prompt

Is this possible? Is this desireable?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-22 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-22 22:55 Validating with tempo.el Lennart Borgman

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