Explorar o código

org-remember: Skip creation of the default '* Notes' task

Remember and refile processing does not require a task.  This change
removes the unneeded default task.

This supports a workflow where new remember tasks and notes go into a
mostly empty file which just has #+FILETAGS: at the top and nothing
else.

This workflow has a minimal number of remember templates
  - one for new tasks and (filed in tasks.org)
  - one for new notes (filed in notes.org)
  - one for phone calls (filed in phone.org)

New tasks are added as top-level tasks to the end of these files and
the #+FILETAGS: REFILE header causes each task to be easy to find.
All tasks in these files are refiled to a more appropriate org file at
a later time.
Bernt Hansen %!s(int64=16) %!d(string=hai) anos
pai
achega
e0cb365561
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      lisp/org-remember.el

+ 0 - 4
lisp/org-remember.el

@@ -860,10 +860,6 @@ See also the variable `org-reverse-note-order'."
 	(save-excursion
 	  (save-restriction
 	    (widen)
-	    (and (goto-char (point-min))
-		 (not (re-search-forward "^\\* " nil t))
-		 (insert "\n* " (or (and (stringp heading) heading)
-				    "Notes") "\n"))
 	    (setq reversed (org-notes-order-reversed-p))
 
 	    ;; Find the default location