Emacs

ctietze,
@ctietze@mastodon.social avatar

Anyone using #Emacs org mode with programmatic searches, e.g. with org-ql.el, or buffer regexp matching, who collects the resulting headings with body text?

Use case: my headlines are workout summaries, but below each headings there is a table with details and text with comments, and I want to concatenate the headings + the body text below into an export buffer.

A monthly overview, for example.

org-ql makes querying simple, but I don't manage to get beyond the headings :/

ctietze,
@ctietze@mastodon.social avatar

https://gist.github.com/DivineDominion/6724bcbf5932be5f890e7a708e92fea1

That code does

  1. iterate over all denote.el managed files within the last 30 days,
  2. looking at each org heading with the tag :training:
  3. copying the subtree into an export buffer

That was a wild ride. But it does export a month worth of training logs, so there's that.

ctietze,
@ctietze@mastodon.social avatar

nerds, can you help me with the name of a concept?

We have multiple modes that collect snippets from other buffers, e.g. in occur-mode, rg.el, or 's "collect" buffers that are editable and will change the original location accordingly.

I'm thinking of "transclusion" here, but the most Emacs-y thing that comes to mind is, well, 'occur-mode' itself, but what's the name of concept of what occur.el does? 🤔

fsf,
@fsf@hostux.social avatar

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Ignacio Ruiz Cejudo, Johan Sternerup, Rens Oliemans, Robert Burks, Sergei Golovin, and Toshihiro Umehara for assigning their copyright to the FSF! More: https://u.fsf.org/3ht

fsf,
@fsf@hostux.social avatar

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Andrei Pikas, Ammar Almorsi, Artem Iurchenko, Charalampos Mitrodimas, Felix Lechner, and Giacomo Lorenzetti for assigning their copyright to the FSF! More: https://u.fsf.org/3ht

daviwil,
@daviwil@fosstodon.org avatar

🔴 Today on Live, we'll craft a few Emacs Lisp functions to create a custom note taking workflow with Denote, an excellent note taking package for Emacs!

Join us here: https://systemcrafters.net/live

🕐 in your time zone: https://time.is/compare/1800_in_Athens

fsf,
@fsf@hostux.social avatar

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Ignacio Ruiz Cejudo, Johan Sternerup, Rens Oliemans, Robert Burks, Sergei Golovin, and Toshihiro Umehara for assigning their copyright to the FSF! More: https://u.fsf.org/3ht

fsf,
@fsf@hostux.social avatar

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Ignacio Ruiz Cejudo, Johan Sternerup, Rens Oliemans, Robert Burks, Sergei Golovin, and Toshihiro Umehara for assigning their copyright to the FSF! More: https://u.fsf.org/3ht

fsf,
@fsf@hostux.social avatar

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Andrei Pikas, Ammar Almorsi, Artem Iurchenko, Charalampos Mitrodimas, Felix Lechner, and Giacomo Lorenzetti for assigning their copyright to the FSF! More: https://u.fsf.org/3ht

fsf,
@fsf@hostux.social avatar

Assigning your copyright to the FSF helps defend the GPL and keep software free. Thanks to Ignacio Ruiz Cejudo, Johan Sternerup, Rens Oliemans, Robert Burks, Sergei Golovin, and Toshihiro Umehara for assigning their copyright to the FSF! More: https://u.fsf.org/3ht

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • DreamBathrooms
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • ethstaker
  • JUstTest
  • GTA5RPClips
  • modclub
  • tester
  • Leos
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • anitta
  • megavids
  • provamag3
  • lostlight
  • All magazines