Merge branch 'master' of orgmode.org:org-mode
This commit is contained in:
commit
857146b484
|
@ -4274,7 +4274,7 @@ be placed into a headline or into (the first line of) a plain list item.
|
|||
Each cookie covers checkboxes of direct children structurally below the
|
||||
headline/item on which the cookie appears@footnote{Set the variable
|
||||
@code{org-hierarchical-checkbox-statistics} if you want such cookies to
|
||||
represent the all checkboxes below the cookie, not just the direct
|
||||
count all checkboxes below the cookie, not just those belonging to direct
|
||||
children.}. You have to insert the cookie yourself by typing either
|
||||
@samp{[/]} or @samp{[%]}. With @samp{[/]} you get an @samp{n out of m}
|
||||
result, as in the examples above. With @samp{[%]} you get information about
|
||||
|
@ -4331,8 +4331,7 @@ a @kbd{C-u} prefix, update the entire file. Checkbox statistic cookies are
|
|||
updated automatically if you toggle checkboxes with @kbd{C-c C-c} and make
|
||||
new ones with @kbd{M-S-@key{RET}}. TODO statistics cookies update when
|
||||
changing TODO states. If you delete boxes/entries or add/change them by
|
||||
hand, use this command to get things back into sync. Or simply toggle any
|
||||
entry twice (checkboxes with @kbd{C-c C-c}).
|
||||
hand, use this command to get things back into sync.
|
||||
@end table
|
||||
|
||||
@node Tags, Properties and Columns, TODO Items, Top
|
||||
|
|
|
@ -51,6 +51,12 @@
|
|||
(defvar org-babel-R-command "R --slave --no-save"
|
||||
"Name of command to use for executing R code.")
|
||||
|
||||
(defun org-babel-edit-prep:R (info)
|
||||
(let ((session (cdr (assoc :session (nth 2 info)))))
|
||||
(when (and session (string-match "^\\*\\(.+?\\)\\*$" session))
|
||||
(save-match-data (org-babel-R-initiate-session session nil))
|
||||
(setq ess-local-process-name (match-string 1 session)))))
|
||||
|
||||
(defun org-babel-expand-body:R (body params &optional graphics-file)
|
||||
"Expand BODY according to PARAMS, return the expanded body."
|
||||
(let ((graphics-file
|
||||
|
|
|
@ -214,6 +214,7 @@ buffer."
|
|||
(let ((mark (and (org-region-active-p) (mark)))
|
||||
(case-fold-search t)
|
||||
(info (org-edit-src-find-region-and-lang))
|
||||
(full-info (org-babel-get-src-block-info))
|
||||
(org-mode-p (or (org-mode-p) (derived-mode-p 'org-mode)))
|
||||
(beg (make-marker))
|
||||
(end (make-marker))
|
||||
|
@ -323,7 +324,10 @@ buffer."
|
|||
(org-src-mode)
|
||||
(set-buffer-modified-p nil)
|
||||
(and org-edit-src-persistent-message
|
||||
(org-set-local 'header-line-format msg)))
|
||||
(org-set-local 'header-line-format msg))
|
||||
(let ((edit-prep-func (intern (concat "org-babel-edit-prep:" lang))))
|
||||
(when (fboundp edit-prep-func)
|
||||
(funcall edit-prep-func full-info))))
|
||||
t)))
|
||||
|
||||
(defun org-edit-src-continue (e)
|
||||
|
|
Loading…
Reference in New Issue