Skip to content

Commit 5258a6a

Browse files
author
Musa Al-hassy
committed
Fix: Typo with replace-in-buffer
1 parent de4fb8e commit 5258a6a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

init.el

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,6 +1891,11 @@ fonts (•̀ᴗ•́)و"
18911891
;; Since DONE is a terminal state, it has no exit-action.
18921892
;; Let's explicitly indicate time should be noted.
18931893
(setq org-log-done 'time)
1894+
;; → Take a look at org-log-done and org-log-into-drawer. These will tell org to log the date and time when an item's status is changed (you can specify).
1895+
;; → When the agenda is built you can show all these logged items on the date they were completed with org-agenda-log-mode, org-agenda-log-mode-items, and org-agenda-start-with-log-mode.
1896+
;; → This allows me to place TODO items anywhere I want (my logbook, notes, and a scratch list) and as I complete them through the week they're all shown in the agenda according to when I completed each.
1897+
;; → I use org-clock-in to the task I'm working on, then a simple clocktable with some dates will show me exactly what I worked on.
1898+
;; → [Weekly Review] which creates a day-by-day summary of the time I worked on what tasks. On Friday, I can look at this and see what I did over the week.
18941899

18951900
;; I prefer to log TODO creation also
18961901
(setq org-treat-insert-todo-heading-as-state-change t)
@@ -2364,7 +2369,7 @@ Example uses:
23642369
(save-excursion
23652370
(goto-char (point-min))
23662371
(while (re-search-forward regexp nil t)
2367-
)
2372+
(replace-match replacement))))
23682373

23692374
;; Press “?” on a leading headline star to see other speed commands.
23702375
;;

init.org

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7003,6 +7003,11 @@ should be generated and ‘@’ denoting a user note should be made.
70037003
;; Since DONE is a terminal state, it has no exit-action.
70047004
;; Let's explicitly indicate time should be noted.
70057005
(setq org-log-done 'time)
7006+
;; → Take a look at org-log-done and org-log-into-drawer. These will tell org to log the date and time when an item's status is changed (you can specify).
7007+
;; → When the agenda is built you can show all these logged items on the date they were completed with org-agenda-log-mode, org-agenda-log-mode-items, and org-agenda-start-with-log-mode.
7008+
;; → This allows me to place TODO items anywhere I want (my logbook, notes, and a scratch list) and as I complete them through the week they're all shown in the agenda according to when I completed each.
7009+
;; → I use org-clock-in to the task I'm working on, then a simple clocktable with some dates will show me exactly what I worked on.
7010+
;; → [Weekly Review] which creates a day-by-day summary of the time I worked on what tasks. On Friday, I can look at this and see what I did over the week.
70067011

70077012
;; I prefer to log TODO creation also
70087013
(setq org-treat-insert-todo-heading-as-state-change t)
@@ -8263,7 +8268,7 @@ TODO: Causes weird max-image-size issues?
82638268
(save-excursion
82648269
(goto-char (point-min))
82658270
(while (re-search-forward regexp nil t)
8266-
)
8271+
(replace-match replacement))))
82678272

82688273
;; Press “?” on a leading headline star to see other speed commands.
82698274
;;

0 commit comments

Comments
 (0)