[-] oantolin@discuss.online 1 points 1 day ago

org-ql is an end-user package, you don't need to be a programmer to use it. It has commands to search among your org files and most options can be customized through Emacs's customize interface. I highly recommend it for searching through org files, I find it much easier to use and also faster than the Org built-in search commands. Check out the project's README file, which includes a bunch of screenshots and animated GIFs showing org-ql in action: https://github.com/alphapapa/org-ql

[-] oantolin@discuss.online 1 points 3 days ago

i get that from org-ql.

[-] oantolin@discuss.online 1 points 3 days ago

¡Qué bien encontrarnos por acá!

[-] oantolin@discuss.online 1 points 3 days ago

As you say, they are basically just window configurations, so I do use them ocassionally. If, in addition to remembering an Emacs window configuration I also want to remember whether the frame is maximized or not, I will use frames instead of tabs. I used to put window configurations into registers, before tabs existed, but tabs are better because when you put a window configuration into a register it even remembers the location of point in every buffer. This means that when you restore the window configuration from the register, points get restored to where they were when you stored the configuration, not to the last time you were using it. In this sense tabs are like window configuration registers that automatically update every time you switch away from them.

[-] oantolin@discuss.online 1 points 3 days ago

Tabs only have "useless UI elements" if you want them to! This is Emacs, after all. To use tabs without displaying any UI element set tab-bar-show to nil.

7
submitted 2 weeks ago* (last edited 2 weeks ago) by oantolin@discuss.online to c/emacs@programming.dev

I'm looking for opinions on org-roam from people that used plain old org for notes extensively before trying org-roam. I've trying to figure out if I'm missing anything by not trying org-roam and it's hard because when I ask org-roam users what they get out of it they tend to reply with stuff that I already know how to do in org: daily notes, capture notes quickly and unobtrusively, searching for notes, linking to other notes. Often it turns out these org-roam users did not use org before org-roam. The exceptions to functionality being available in org that I see mentioned are automatic backlinks and a graphical representation of the link structure.

I have no interest in the seeing the link graph, but I'm not sure about automatic backlinks. In what ways do people find them useful?

It could also happen that the org-roam features I feel I already have in org (daily notes, capturing, searching and linking) are somehow better in org-roam than in plain org. Fair enough, for example I wasn't completely happy with searching and linking in org by itself, so I now use the excellent org-ql package for those tasks. Could someone who has done these things both in plain org and org-roam describe if and how they are improved in org-roam? Particularly, is capturing in org-roam somehow better than org-capture? Are org-roam dailies better than a datetree?

[-] oantolin@discuss.online 6 points 2 weeks ago

Look at the first letters of cycle, use, new and think.

[-] oantolin@discuss.online 7 points 1 month ago

One small thing I liked in the new version is the grep-use-headings user option, if you set it to t, then grep buffer lists the search results with headings, one per file, instead of repeating the filename every single time.

[-] oantolin@discuss.online 1 points 2 years ago

I use it in all buffers whose major mode is derived from text-mode.

[-] oantolin@discuss.online 1 points 2 years ago

By default undo does work in the scratch buffer so it is something in your configuration that is keeping this from working. As a quick way to check, try running emacs -q, which skips loading your configuration, and see if you have undo in the scratch buffer there; if so, it's definitely something you have in you configuration.

You can bisect your configuration to figure out how you are deactivating undo. You can do this manually or with the help of the bug-hunter package.

[-] oantolin@discuss.online 7 points 2 years ago

Acme doesn't stand for some generic editor! It's the famous acme text editor by Rob Pike. It's an interesting editor, very different from Emacs or Vim, and yes, very mousey. In this video Russ Cox gives a great overview: https://youtu.be/dP1xVpMPn8M

[-] oantolin@discuss.online 3 points 2 years ago

I looked at the macro expansion of the form you wrote and it looks like gibberish, so I don't think the :hook keyword allows expressions to be used as hooks, you need to define a function and use the function name:

(use-package pascal ; presumably
  :init
  (defun remove-pascal-completions ()
    (remove-hook 'completion-at-point-functions
                 'pascal-completions-at-point t))
  :hook (pascal-mode . remove-pascal-completions))

Also, the weird single quote character you used probably doesn't work in Emacs (but maybe you have normal single quotes in your file and it's just lemmy's markdown messing things up).

[-] oantolin@discuss.online 6 points 2 years ago

Blatant advertising for one of my packages: Embark has convenient key bindings for all of the commands discussed in this article. If point is on active region and you call embark-act, the s prefix has all of the sort commands there, reverse-region is on r, and delete-duplicate-lines is on d. I tend to forget all the sort commands, so I often call embark-act on a region, press s, and then C-h to get a list of them.

view more: next ›

oantolin

joined 2 years ago