0

Is it possible to have a flow in Emacs similar to LogSeq whereby the user can call one tag (e.g., #quotes) and have a buffer filled with all the text that matches such tag? I suppose the closer thing is to do grep, but I was wondering if there was something more sophisticated that would collect all the entire blocks belonging to a specific tag. Thanks!

Solution here: https://emacs.stackexchange.com/a/70981/15546

7
  • 1
    A method like the one described here would allow you to do a tags search in a set of Org mode files and collect all the matches in one buffer, but that would be only the headlines. You can easily get to the full text of the headline (in a different buffer) by pressing SPACE. Not sure whether that meets your requirements though. See the Org manual for some details on this kind of search.
    – NickD
    Mar 17, 2022 at 1:18
  • 1
    In fact, the above mechanism can be used to export the agenda with not just the headlines but (depending on the option org-agenda-add-entry-text-maxlines) part or all of the body of each headline as well.
    – NickD
    Mar 17, 2022 at 3:11
  • I will have a look, thanks! It seems that I can search beyond my agenda files, which is the purpose as I want to search within newly created notes. Mar 17, 2022 at 7:23
  • 1
    You might find @gusbrs's comments in this question useful.
    – NickD
    Mar 17, 2022 at 12:09
  • 1
    Check my answer to the linked question and see if it helps you with this one.
    – NickD
    Mar 18, 2022 at 3:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.