TiMueller

joined 1 year ago
 

If I understand it right, goto-last-change should go to the places where I made the last edits. But often, when I want to go back, it seems to have "forgotten" them, jumps to a very old edit, and then displays "No further change info" in the minibuffer.

I just had the problem again. I made sure the edits are very far away, many lines in the same org-buffer. Neither goto-last-change-reverse nor goto-last-change does find them. But when I use undo-redo, all my "forgotten" edits are found and subsequently undone. How can that be?

Do you use a different function for going back to the last edits? Or am I using goto-last-change in a wrong way? The variable glc-default-span is set to 8, and I am using Org mode version 9.6.9 and Emacs 29.1. Thank you for any advice!

Edit: I also use undo-fu-session, could it be that this interferes with goto-last-change?

 

After having used org-agenda just for my todos and scheduled events, I just found out one can use it to search one's notes too. It works great! With one bad side-effect. I added several org directories using:

(setq org-agenda-text-search-extra-files (directory-files-recursively "~/Writer/" "\\.org$"))

Now, after searching, all the files the agenda had opened to look for my search string have been added to the list of recent files. So (find-file (completing-read "Recent files: " recentf-list)) becomes less useful because it doesn't show the latest opened files on top of the list anymore, but instead a complete list of all my org-files.

Is there a way to prevent agenda search from caching files into recentf-list?

Thank you very much for any help!