unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [BUG] Empty string as display property
@ 2005-05-13 15:36 Lars Hansen
  2005-05-13 16:09 ` Luc Teirlinck
  2005-05-16 22:15 ` Kim F. Storm
  0 siblings, 2 replies; 5+ messages in thread
From: Lars Hansen @ 2005-05-13 15:36 UTC (permalink / raw)


An empty string as display property has the advantage over the invisible
property that it can be made conditional. However, an empty string as
display property does not work. Try this:

(defun test ()
  (interactive)
  (select-window (display-buffer (get-buffer-create "*test*")))
  (erase-buffer)
  (insert "line 1\naaa"
          (propertize "bbb" 'display "")
          "ccc\nline 3"))

Maybe someone who knows the redisplay code would like to look at this bug.

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

end of thread, other threads:[~2005-05-16 22:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-13 15:36 [BUG] Empty string as display property Lars Hansen
2005-05-13 16:09 ` Luc Teirlinck
2005-05-13 17:13   ` David Kastrup
2005-05-13 17:22   ` Lars Hansen
2005-05-16 22:15 ` Kim F. Storm

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