aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-03-03 11:38:43 +0000
committerEli Zaretskii2006-03-03 11:38:43 +0000
commit46771bb390ff60ac06389c726489d0af3091e19b (patch)
treebbf6a873381b911613082ceadee1abba991ecb7d
parent36ba2f7dd343dda819d0c3f8b978b16b24bb2781 (diff)
downloademacs-46771bb390ff60ac06389c726489d0af3091e19b.tar.gz
emacs-46771bb390ff60ac06389c726489d0af3091e19b.zip
Restablished intermediate missing comment header to preserve outline structure.
(allout-beginning-of-current-entry): Wasn't skipping invisible text - fixed. (allout-open-topic): Was failing when opening a topic at end-of-buffer - fixed. (allout-minor-mode): Moved nearer to allout-mode function.
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/allout.el13
2 files changed, 18 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3ab962ac96e..f82c29d6ba5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12006-03-03 Ken Manheimer <ken.manheimer@gmail.com>
2
3 allout.el: Restablished intermediate missing comment header to
4 preserve outline structure.
5 (allout-beginning-of-current-entry): Wasn't skipping invisible
6 text - fixed.
7 (allout-open-topic): Was failing when opening a topic at
8 end-of-buffer - fixed.
9 (allout-minor-mode): Moved nearer to allout-mode function.
10
12006-03-02 Carsten Dominik <dominik@science.uva.nl> 112006-03-02 Carsten Dominik <dominik@science.uva.nl>
2 12
3 * textmodes/org.el (org-paste-subtree): Removed forgotten (debug) 13 * textmodes/org.el (org-paste-subtree): Removed forgotten (debug)
diff --git a/lisp/allout.el b/lisp/allout.el
index edce1e8d61e..6690456123e 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -1605,6 +1605,8 @@ OPEN: A topic that is not closed, though its offspring or body may be."
1605 allout-mode 1605 allout-mode
1606 ) ; let* 1606 ) ; let*
1607 ) ; defun 1607 ) ; defun
1608;;;_ > allout-minor-mode
1609(defalias 'allout-minor-mode 'allout-mode)
1608 1610
1609;;;_ - Position Assessment 1611;;;_ - Position Assessment
1610;;;_ > allout-hidden-p (&optional pos) 1612;;;_ > allout-hidden-p (&optional pos)
@@ -1612,9 +1614,6 @@ OPEN: A topic that is not closed, though its offspring or body may be."
1612 "Non-nil if the character after point is invisible." 1614 "Non-nil if the character after point is invisible."
1613 (get-char-property (or pos (point)) 'invisible)) 1615 (get-char-property (or pos (point)) 'invisible))
1614 1616
1615;;;_ > allout-minor-mode
1616(defalias 'allout-minor-mode 'allout-mode)
1617
1618;;;_ > allout-overlay-insert-in-front-handler (ol after beg end 1617;;;_ > allout-overlay-insert-in-front-handler (ol after beg end
1619;;; &optional prelen) 1618;;; &optional prelen)
1620(defun allout-overlay-insert-in-front-handler (ol after beg end 1619(defun allout-overlay-insert-in-front-handler (ol after beg end
@@ -1753,6 +1752,7 @@ to return the current depth of the most recently matched topic."
1753 1752
1754;;;_ #4 Navigation 1753;;;_ #4 Navigation
1755 1754
1755;;;_ - Position Assessment
1756;;;_ : Location Predicates 1756;;;_ : Location Predicates
1757;;;_ > allout-on-current-heading-p () 1757;;;_ > allout-on-current-heading-p ()
1758(defun allout-on-current-heading-p () 1758(defun allout-on-current-heading-p ()
@@ -2236,9 +2236,10 @@ Returns the value of point."
2236 "When not already there, position point at beginning of current topic header. 2236 "When not already there, position point at beginning of current topic header.
2237 2237
2238If already there, move cursor to bullet for hot-spot operation. 2238If already there, move cursor to bullet for hot-spot operation.
2239\(See `allout-mode' doc string for details on hot-spot operation.)" 2239\(See `allout-mode' doc string for details of hot-spot operation.)"
2240 (interactive) 2240 (interactive)
2241 (let ((start-point (point))) 2241 (let ((start-point (point)))
2242 (move-beginning-of-line 1)
2242 (allout-end-of-prefix) 2243 (allout-end-of-prefix)
2243 (if (and (interactive-p) 2244 (if (and (interactive-p)
2244 (= (point) start-point)) 2245 (= (point) start-point))
@@ -2927,7 +2928,9 @@ Nuances:
2927 ;; Going inwards - double-space if first offspring is 2928 ;; Going inwards - double-space if first offspring is
2928 ;; double-spaced, otherwise snug up. 2929 ;; double-spaced, otherwise snug up.
2929 (allout-end-of-entry) 2930 (allout-end-of-entry)
2930 (line-move 1) 2931 (if (eobp)
2932 (newline 1)
2933 (line-move 1))
2931 (allout-beginning-of-current-line) 2934 (allout-beginning-of-current-line)
2932 (backward-char 1) 2935 (backward-char 1)
2933 (if (bolp) 2936 (if (bolp)