Merge branch 'maint'
This commit is contained in:
commit
576f43b743
|
@ -80,7 +80,7 @@ Otherwise prompt the user for the right bookmark to use."
|
||||||
(car bmks)
|
(car bmks)
|
||||||
(completing-read "Bookmark: " bmks nil t nil nil (car bmks))))))
|
(completing-read "Bookmark: " bmks nil t nil nil (car bmks))))))
|
||||||
(if bookmark
|
(if bookmark
|
||||||
(org-store-link-props :link (contact "bookmark:" bookmark)
|
(org-store-link-props :link (concat "bookmark:" bookmark)
|
||||||
:description bookmark))))
|
:description bookmark))))
|
||||||
|
|
||||||
(provide 'org-bookmark)
|
(provide 'org-bookmark)
|
||||||
|
|
|
@ -171,7 +171,7 @@
|
||||||
(let* ((gitdir (first (org-git-find-gitdir (file-truename file))))
|
(let* ((gitdir (first (org-git-find-gitdir (file-truename file))))
|
||||||
(branchname (org-git-get-current-branch gitdir))
|
(branchname (org-git-get-current-branch gitdir))
|
||||||
(timestring (format-time-string "%Y-%m-%d" (current-time))))
|
(timestring (format-time-string "%Y-%m-%d" (current-time))))
|
||||||
(contact "git:" file "::" (org-git-create-searchstring branchname timestring))))
|
(concat "git:" file "::" (org-git-create-searchstring branchname timestring))))
|
||||||
|
|
||||||
(defun org-git-store-link ()
|
(defun org-git-store-link ()
|
||||||
"Store git link to current file."
|
"Store git link to current file."
|
||||||
|
|
10
doc/org.texi
10
doc/org.texi
|
@ -8698,6 +8698,13 @@ buffer, or a sparse tree (the latter covering of course only the current
|
||||||
buffer).
|
buffer).
|
||||||
@kindex C-c a C
|
@kindex C-c a C
|
||||||
@vindex org-agenda-custom-commands
|
@vindex org-agenda-custom-commands
|
||||||
|
@cindex agenda views, main example
|
||||||
|
@cindex tags, as an agenda view
|
||||||
|
@cindex todo, as an agenda view
|
||||||
|
@cindex tags-todo
|
||||||
|
@cindex todo-tree
|
||||||
|
@cindex occur-tree
|
||||||
|
@cindex tags-tree
|
||||||
|
|
||||||
Custom commands are configured in the variable
|
Custom commands are configured in the variable
|
||||||
@code{org-agenda-custom-commands}. You can customize this variable, for
|
@code{org-agenda-custom-commands}. You can customize this variable, for
|
||||||
|
@ -8758,6 +8765,9 @@ additional key (@kbd{l}, @kbd{p} or @kbd{k}) to select a name (Lisa,
|
||||||
Peter, or Kim) as additional tag to match.
|
Peter, or Kim) as additional tag to match.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
Note that the @code{*-tree} agenda views need to be called from an
|
||||||
|
Org buffer as they operate on the current buffer only.
|
||||||
|
|
||||||
@node Block agenda, Setting Options, Storing searches, Custom agenda views
|
@node Block agenda, Setting Options, Storing searches, Custom agenda views
|
||||||
@subsection Block agenda
|
@subsection Block agenda
|
||||||
@cindex block agenda
|
@cindex block agenda
|
||||||
|
|
|
@ -546,7 +546,7 @@ The table of checksums is written to the file mobile-checksums."
|
||||||
(t (cons (car x) (cons "" (cdr x))))))
|
(t (cons (car x) (cons "" (cdr x))))))
|
||||||
org-agenda-custom-commands)))
|
org-agenda-custom-commands)))
|
||||||
(default-list '(("a" "Agenda" agenda) ("t" "All TODO" alltodo)))
|
(default-list '(("a" "Agenda" agenda) ("t" "All TODO" alltodo)))
|
||||||
thelist new e key desc type match settings cmds gkey gdesc gsettings cnt)
|
thelist atitle new e key desc type match settings cmds gkey gdesc gsettings cnt)
|
||||||
(cond
|
(cond
|
||||||
((eq org-mobile-agendas 'custom)
|
((eq org-mobile-agendas 'custom)
|
||||||
(setq thelist custom-list))
|
(setq thelist custom-list))
|
||||||
|
@ -598,12 +598,13 @@ The table of checksums is written to the file mobile-checksums."
|
||||||
(setq cnt 0)
|
(setq cnt 0)
|
||||||
(while (setq e (pop cmds))
|
(while (setq e (pop cmds))
|
||||||
(setq type (car e) match (nth 1 e) settings (nth 2 e))
|
(setq type (car e) match (nth 1 e) settings (nth 2 e))
|
||||||
|
(setq atitle (if (string= "" gdesc) match gdesc))
|
||||||
(setq settings (append gsettings settings))
|
(setq settings (append gsettings settings))
|
||||||
(setq settings
|
(setq settings
|
||||||
(cons (list 'org-agenda-title-append
|
(cons (list 'org-agenda-title-append
|
||||||
(concat "<after>KEYS=" gkey "#" (number-to-string
|
(concat "<after>KEYS=" gkey "#" (number-to-string
|
||||||
(setq cnt (1+ cnt)))
|
(setq cnt (1+ cnt)))
|
||||||
" TITLE: " gdesc " " match "</after>"))
|
" TITLE: " atitle "</after>"))
|
||||||
settings))
|
settings))
|
||||||
(push (list type match settings) new)))))
|
(push (list type match settings) new)))))
|
||||||
(and new (list "X" "SUMO" (reverse new)
|
(and new (list "X" "SUMO" (reverse new)
|
||||||
|
|
Loading…
Reference in New Issue