emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/admin/FOR-RELEASE


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/admin/FOR-RELEASE
Date: Fri, 12 Nov 2004 20:51:44 -0500

Index: emacs/admin/FOR-RELEASE
diff -c emacs/admin/FOR-RELEASE:1.26 emacs/admin/FOR-RELEASE:1.27
*** emacs/admin/FOR-RELEASE:1.26        Sat Nov 13 01:40:36 2004
--- emacs/admin/FOR-RELEASE     Sat Nov 13 01:42:56 2004
***************
*** 124,129 ****
--- 124,155 ----
  Electric-pop-up-window can use it.
  
  
+ ** Partial highlighting of wrapped overlay
+ 
+ From: Ralf Angeli <address@hidden>
+ Date: Mon, 18 Oct 2004 19:09:19 +0200
+ 
+ If you put
+ 
+ (let* ((length (+ (- (window-width) (current-column)) 40))
+        (start (point))
+        (end (+ (point) length))
+        (string (make-string length ?x))
+        ov)
+   (insert string)
+   (setq ov (make-overlay start end))
+   (overlay-put ov 'mouse-face 'highlight)
+   (overlay-put ov 'display string))
+ 
+ into the *scratch* buffer and type `C-x C-e' with point at the last
+ parenthesis, you will get a string which does not fit into the line
+ and has to be wrapped.  If you move over it with your mouse, you
+ should see that only the part on the second line is being highlighted.
+ The full string is highlighted only if the 'display property is not
+ set.
+ 
+ 
+ 
  * DOCUMENTATION
  
  ** Document Custom Themes.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]