unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How can I remove effects of text properties in 'before-string
@ 2017-10-22  7:25 Amos Bird
  2017-10-22  7:43 ` Amos Bird
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Amos Bird @ 2017-10-22  7:25 UTC (permalink / raw)
  To: help-gnu-emacs


Hi there,

emacs -Q

(set-window-margins (get-buffer-window) 20 0)
(overlay-put (make-overlay (point) (point)) 'before-string 
(propertize "." 'display `((margin left-margin) ,"Hi there!")))
(hl-line-mode)

The string "Hi there!" is also highlighted. How can I disable 
that?

regards,
--
Amos Bird
amosbird@gmail.com


^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <<<87tvyrabkk.fsf@gmail.com>]

end of thread, other threads:[~2017-10-27 14:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <<87tvyrabkk.fsf@gmail.com>
     [not found] ` <<838tg3b27v.fsf@gnu.org>
2017-10-22 16:33   ` How can I remove effects of text properties in 'before-string Drew Adams
2017-10-22 16:50     ` Eli Zaretskii
     [not found]     ` <<837evnazze.fsf@gnu.org>
2017-10-22 17:32       ` Drew Adams
2017-10-27 14:44         ` Eli Zaretskii
2017-10-22  7:25 Amos Bird
2017-10-22  7:43 ` Amos Bird
2017-10-22 16:00 ` Emanuel Berg
2017-10-22 17:07   ` Amos Bird
2017-10-22 16:02 ` Eli Zaretskii
2017-10-22 17:07   ` Amos Bird
2017-10-22 17:15     ` Eli Zaretskii
2017-10-22 18:08       ` Amos Bird
2017-10-22 18:24         ` Eli Zaretskii
2017-10-22 19:12           ` Amos Bird
2017-10-22 19:34             ` Eli Zaretskii
2017-10-23 12:57         ` Stefan Monnier
     [not found] <<<87tvyrabkk.fsf@gmail.com>

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