Changeset 4169 for trunk/lisp/allout.el
- Timestamp:
- 2006年09月30日 09時12分06秒 (2 years ago)
- Files:
-
- trunk/lisp (modified) (1 prop)
- trunk/lisp/allout.el (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp
- Property svn:ignore changed from
*.elc
MANIFEST
Makefile
Makefile.unix
makefile
elc.tar.gz
cus-load.el
finder-inf.el
subdirs.el
loaddefs.el
to
*.elc
MANIFEST
Makefile
Makefile.unix
makefile
elc.tar.gz
cus-load.el
finder-inf.el
subdirs.el
loaddefs.el
pre-mh-loaddefs.el-CMD
- Property svn:ignore changed from
trunk/lisp/allout.el
r4166 r4169 699 699 ("#" allout-number-siblings) 700 700 ("\C-k" allout-kill-line t) 701 ("\M-k" allout-copy-line-as-kill t) 701 702 ("\C-y" allout-yank t) 702 703 ("\M-y" allout-yank-pop t) 703 704 ("\C-k" allout-kill-topic) 705 ("\M-k" allout-copy-topic-as-kill) 704 706 ; Miscellaneous commands: 705 707 ;([?\C-\ ] allout-mark-topic) … … 1280 1282 (defmacro allout-unprotected (expr) 1281 1283 "Enable internal outline operations to alter invisible text." 1282 `(let ((inhibit-read-only t)1284 `(let ((inhibit-read-only (if (not buffer-read-only) t)) 1283 1285 (inhibit-field-text-motion t)) 1284 1286 ,expr)) … … 1694 1696 ---------------------------------- 1695 1697 \\[allout-kill-topic] allout-kill-topic Kill current topic, including offspring. 1696 \\[allout-kill-line] allout-kill-line Like kill-line, but reconciles numbering, etc. 1698 \\[allout-copy-topic-as-kill] allout-copy-topic-as-kill Copy current topic, including offspring. 1699 \\[allout-kill-line] allout-kill-line kill-line, attending to outline structure. 1700 \\[allout-copy-line-as-kill] allout-copy-line-as-kill Copy line but don't delete it. 1697 1701 \\[allout-yank] allout-yank Yank, adjusting depth of yanked topic to 1698 1702 depth of heading if yanking into bare topic … … 2088 2092 "Protect against changes to invisible text. 2089 2093 2090 See allout-overlay-interior-modification-handler for details. 2091 2092 This before-change handler is used only where modification-hooks 2093 overlay property is not supported." 2094 See allout-overlay-interior-modification-handler for details." 2094 2095 2095 2096 (if (and (allout-mode-p) undo-in-progress (allout-hidden-p)) … … 4188 4189 (allout-renumber-to-depth depth))) 4189 4190 (run-hook-with-args 'allout-structure-deleted-hook depth (point))))) 4191 ;;;_ > allout-copy-line-as-kill () 4192 (defun allout-copy-line-as-kill () 4193 "Like allout-kill-topic, but save to kill ring instead of deleting." 4194 (interactive) 4195 (let ((buffer-read-only t)) 4196 (condition-case nil 4197 (allout-kill-line) 4198 (buffer-read-only nil)))) 4190 4199 ;;;_ > allout-kill-topic () 4191 4200 (defun allout-kill-topic () … … 4224 4233 (allout-renumber-to-depth depth)) 4225 4234 (run-hook-with-args 'allout-structure-deleted-hook depth (point)))) 4235 ;;;_ > allout-copy-topic-as-kill () 4236 (defun allout-copy-topic-as-kill () 4237 "Like allout-kill-topic, but save to kill ring instead of deleting." 4238 (interactive) 4239 (let ((buffer-read-only t)) 4240 (condition-case nil 4241 (allout-kill-topic) 4242 (buffer-read-only (message "Topic copied..."))))) 4226 4243 ;;;_ > allout-annotate-hidden (begin end) 4227 4244 (defun allout-annotate-hidden (begin end) 4228 4245 "Qualify text with properties to indicate exposure status." 4229 4246 4230 (let ((was-modified (buffer-modified-p))) 4247 (let ((was-modified (buffer-modified-p)) 4248 (buffer-read-only nil)) 4231 4249 (allout-unprotected 4232 4250 (remove-text-properties begin end '(allout-was-hidden t))) … … 4238 4256 (if (not (allout-hidden-p)) 4239 4257 (setq next 4240 (next-single-char-property-change (point) 4241 'invisible nil end))) 4258 (max (1+ (point)) 4259 (next-single-char-property-change (point) 4260 'invisible 4261 nil end)))) 4242 4262 (if (or (not next) (eq prev next)) 4243 4263 ;; still not at start of hidden area - must not be any left. … … 5170 5190 strings)) 5171 5191 (when (< (point) next) ; Resume from after hid text, if any. 5172 (line-move 1)) 5192 (line-move 1) 5193 (beginning-of-line)) 5173 5194 (setq beg (point))) 5174 5195 ;; Accumulate list for this topic: … … 5746 5767 (goto-char after-bullet-pos) 5747 5768 (insert "*")))) 5748 (run-hook-with-args 'allout- exposure-changed-hook5749 bullet-pos subtree-end nil))))5769 (run-hook-with-args 'allout-structure-added-hook 5770 bullet-pos subtree-end)))) 5750 5771 ;;;_ > allout-encrypt-string (text decrypt allout-buffer key-type for-key 5751 5772 ;;; fetch-pass &optional retried verifying
