org-mode change diary timestamp from agenda list - emacs

I have configured org-agenda to use an org-mode diary file. Sometimes I would like to adjust the timestamp for a diary entry from the agenda.
i (org-agenda-diary-entry) inserts diary entries with a bare timestamp rather than a SCHEDULED property. This means using C-c C-s in the agenda will add an additional timestamp rather than adjust the existing one.
Is there a correct way to adjust diary timestamps from the agenda?
Failing that, what's the best way to hook into org-agenda-diary-entry so I can turn that bare timestamp into a SCHEDULED property?

Just found it. > (org-agenda-date-prompt)

Related

org-mode: Possible to save Agenda Global TODO list order?

I'm new to org-mode and wondering if after editing the order of items in the Global TODO List, if you can save that preferred order.
I've tried C-x C-s but that doesn't seem to do anything. Thanks in advance!
It isn't possible to save this. The footnote for
org-agenda-drag-line-forward in the manual
((info "(org) Agenda commands")) says
(2) Moving agenda lines does not persist after an agenda refresh and
does not modify the contributing ‘.org’ files
The command doesn't save any information to make this persist. I
think reordering the original Org file and setting
org-agenda-sorting-strategy is the only way to get sorting changes to persist across agenda calls.

How do I change the default text for "DEADLINE" and "SCHEDULED" in org-mode?

I've been through the org-customize options but I may have missed it there. Can I change it somewhere in the org.el file? If so, where am I most likely to find that file?
`org-deadline-string` is a variable defined in `org.el'.
Its value is "DEADLINE:"
Documentation:
String to mark deadline entries.
A deadline is this string, followed by a time stamp. Should be a word,
terminated by a colon. You can insert a schedule keyword and
a timestamp with M-x org-deadline.
Changes become only effective after restarting Emacs.
You can customize this variable.
`org-scheduled-string` is a variable defined in `org.el'.
Its value is "SCHEDULED:"
Documentation:
String to mark scheduled TODO entries.
A schedule is this string, followed by a time stamp. Should be a word,
terminated by a colon. You can insert a schedule keyword and
a timestamp with M-x org-schedule.
Changes become only effective after restarting Emacs.
You can customize this variable.

What's a good workflow for keeping track of which TODO items I've worked on in the last week in org-mode?

Right now I'm just using inactive timestamps for some TODO items and updating them when I'm working on that item. I figured out how to get them to show up in the Timeline view.
Is there a better workflow to achieve this? Especially e.g. having a quicker way to update the timestamp on an item.
As already mentionned, you definitely have to use clocking commands for this (C-c C-x C-i/j/o). See the manual.
Then, when jumping on whichever day or week (or ...) of the agenda view, you can ask for seeing those "hidden" past entries by pressing 'v l' (view > log). Press 'v' in the agenda, and have a look at all possible commands ('v [' as well for viewing the inactive timestamps).

How can remove the <scheduled date> in the org agenda view quickly?

In the emacs org agenda view(today), I schedule some tasks with the <scheduled date>. But now I want to remove the <scheduled date> single task or mutli tasks together. (Don't want to schedule them to the other day).
Now I have to <TAB> each tasks, and delete the <scheduled date> line.
Is there any quick key (speed key?) to do it?
tl;dr : In the agenda, m on all these tasks, then C-u B s.
This called for quite a bit of searching, but org-mode is powerful.
According to the manual,
C-c C-s (org-schedule)
When called with a prefix argument, remove the scheduling date from the entry.
and, in the agenda:
B (org-agenda-bulk-action)
Bulk action: act on all marked entries in the agenda.
s Schedule all items to a new date.
So what you need to do is:
In the agenda, mark all the items you want to remove the sheduled date from (with m, like in dired)
C-u as the prefix argument to remove the scheduling.
B s to run org-schedule as a bulk action.
And you're done ! Enjoy :·)
Remove scheduled date for single item
In agenda view, Press C-uC-cC-s on task.
Remove schedule date for multiple items
Answer by Nikana works perfectly well.
In agenda view, Mark the tasks with m then C-uB-s.

Is there a folding mode for GNU Emacs calendar/diary entries?

I'd like to have a folding-mode (like org-mode or outline or hs-minor-mode) mode for diary entries.
For example, I'd like a quick overview of the diary entries - date, time, etc. but hide the following (indented) detail lines. Then, I'd like to be able to click on a line in the diary to expand/collapse it (hide/show details). I tried M-x hs-minor-mode in a diary file but it does not seem to recognize the diary file format ("Diary Mode doesn't support Hideshow Minor Mode")
In M-x calendar, when I view the entries for the day, I'd like that view also collapsible.
I know org-mode has agenda management but I've not tried it; I'm used to M-x calendar, M-x diary, and icalendar to import .ics files in email into my diary.
Consider filing an enhancement request, using M-x report-emacs-bug. (Yes, that command is also for enhancement requests.)