Is it possible to set the default cursor/point position in buffer?
J
Jason
started a topic
over 1 year ago
Hi Matthew,
Please allow me to check with you if it is possible to set the default cursor/point position at the top of the buffer when we come into the Notes area.
The reason of this is because in my use case, I usually edit the Notes to record some updates for future tracing and reviewing, these text sections usually come after a timestamp like <2023-03-30 Thu 22:57>. And I always prefer keeping the latest update section at the top of the Notes area, then my Notes will be something like,
Also, I noticed if I didn't 'Tap to set Show on' through the beorg GUI, or remove existing 'Show on' date manually through the date picker GUI after editing Notes, then the 'Show on' date can be parsed automatically from the beginning of the main content in the Notes(it seems the LOGBOOK Drawers, PROPERTIES, DEADLINE/SCHEDULE and etc parts are not included). This is nice for me as I would also like to make the 'Show on' from my latest update timestamp! In this regard, the order of these update timestamps(latest at the top) becomes more important to my use case('Show on' date parsed from the beginning) as well.
Overall, that's why I would like to consult with you the default cursor/point position setting to the beginning, or maybe the beginning and after the LOGBOOK Drawer and PROPERTIES makes much sense? like,
SCHEDULED: <2023-03-30 Thu>
:PROPERTIES:
:Effort: 15
:END:
:LOGBOOK:
CLOCK: [2023-03-30 Thu 23:31]
- State "WAIT" from "TODO" [2023-03-30 Thu 01:01]
:END:
<------- the default cursor/point position can be configured here
<2023-03-30 Thu 23:16> update note
<2023-03-30 Thu 22:33> initial note
This isn't possible at the moment. I've made a note of adding a feature to beorg to run some Scheme when the editor starts in different contexts as that would allow users to customise this behaviour.
Jason
Hi Matthew,
Please allow me to check with you if it is possible to set the default cursor/point position at the top of the buffer when we come into the Notes area.
The reason of this is because in my use case, I usually edit the Notes to record some updates for future tracing and reviewing, these text sections usually come after a timestamp like <2023-03-30 Thu 22:57>. And I always prefer keeping the latest update section at the top of the Notes area, then my Notes will be something like,
Also, I noticed if I didn't 'Tap to set Show on' through the beorg GUI, or remove existing 'Show on' date manually through the date picker GUI after editing Notes, then the 'Show on' date can be parsed automatically from the beginning of the main content in the Notes(it seems the LOGBOOK Drawers, PROPERTIES, DEADLINE/SCHEDULE and etc parts are not included). This is nice for me as I would also like to make the 'Show on' from my latest update timestamp! In this regard, the order of these update timestamps(latest at the top) becomes more important to my use case('Show on' date parsed from the beginning) as well.
Overall, that's why I would like to consult with you the default cursor/point position setting to the beginning, or maybe the beginning and after the LOGBOOK Drawer and PROPERTIES makes much sense? like,
That would be awesome I think!
Thanks and regards,
Jason