Start a new topic

Is it possible to set the default cursor/point position in buffer?

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, 

SCHEDULED: <2023-03-30 Thu>
:PROPERTIES:
:Effort: 15
:END:
:LOGBOOK:
CLOCK: [2023-03-30 Thu 23:31]--[2023-03-30 Thu 23:55] =>  0:24
- State "WAIT"       from "TODO"       [2023-03-30 Thu 01:01]
:END:
<2023-03-30 Thu 23:16> update note
<2023-03-30 Thu 22:33> initial note

 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

 That would be awesome I think!


Thanks and regards,

Jason


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.




1 person likes this

Thanks! That will be great!

Login or Signup to post a comment