emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/etc/NEWS


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] Changes to emacs/etc/NEWS
Date: Sat, 27 May 2006 17:46:37 +0000

Index: emacs/etc/NEWS
diff -u emacs/etc/NEWS:1.1351 emacs/etc/NEWS:1.1352
--- emacs/etc/NEWS:1.1351       Sat May 27 14:36:59 2006
+++ emacs/etc/NEWS      Sat May 27 17:46:37 2006
@@ -3440,6 +3440,27 @@
 
 ---
 ** cplus-md.el has been deleted.
+
+** Ewoc changes
+
+*** The new function `ewoc-delete' deletes specified nodes.
+
+*** `ewoc-create' now takes optional arg NOSEP, which inhibits insertion of
+a newline after each pretty-printed entry and after the header and footer.
+This allows you to create multiple-entry ewocs on a single line and to
+effect "invisible" nodes by arranging for the pretty-printer to not print
+anything for those nodes.
+
+For example, these two sequences of expressions behave identically:
+
+;; NOSEP nil
+(defun PP (data) (insert (format "%S" data)))
+(ewoc-create 'PP "start\n")
+
+;; NOSEP t
+(defun PP (data) (insert (format "%S\n" data)))
+(ewoc-create 'PP "start\n\n" "\n" t)
+
 
 * Changes in Emacs 22.1 on non-free operating systems
 
@@ -3591,24 +3612,6 @@
 ** The variable `memory-full' now remains t until
 there is no longer a shortage of memory.
 
-** The ewoc package no longer inserts a newline after each pretty-printed
-entry and after the header and footer, to allow for multiple-entry ewocs to
-display on a single line.
-
-To make pre-existing client code behave the same way as before, you must
-arrange to insert a newline in three places: the pretty-printer function,
-the header and the footer.  It is anyway a good idea to specify a non-empty
-footer so that markers after the ewoc's buffer text are properly updated.
-For example:
-
-;; before
-(defun PP (data) (insert (format "%S" data)))
-(ewoc-create 'PP "start\n")
-
-;; now
-(defun PP (data) (insert (format "%S\n" data)))
-(ewoc-create 'PP "start\n\n" "\n")
-
 
 * Lisp Changes in Emacs 22.1
 




reply via email to

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