I've started taking advantage of Emac's org-mode with R code snippets. So nifty!
One thing I miss from ESS-mode is the underscore key "_" that produces the assignment operator "<-". Do you know any way of having this functionality within R code blocks in an org document?
A search on stackexchange and the web didn't return very much, or only answers from 10 years ago...
>>> or some keybindings (e.g. for "<-") inside<br></br>>>> an R source code block.<br></br><br></br>This one can be done with<br></br><br></br> (defun dan/org-underscore-command ()<br></br> (interactive)<br></br> (or (org-babel-do-key-sequence-in-edit-buffer "_")<br></br> (org-self-insert-command 1)))<br></br><br></br> (define-key org-mode-map "_" 'dan/org-underscore-command)<br></br><br></br>And another one that you may like is for commenting code:<br></br><br></br> (defun dan/org-comment-dwim (&optional arg)<br></br> (interactive "P")<br></br> (or (org-babel-do-key-sequence-in-edit-buffer "M-;")<br></br> (comment-dwim arg)))<br></br><br></br> (define-key org-mode-map "M-;" 'dan/org-comment-dwim)<br></br><br></br>
When I stopped my weekly routine, I also stopped organizing tasks. Now I have one big file mixed with personal and work tasks, some active and some complete. It’s an intimidating blob of “stuff,” and just looking at it makes me want to run away to a video game instead.
When should I visit my projects file and move things out into their categories? Second, what are these categories?
Rethinking and reorganizing my life - with org-mode:
@joel making you happy is one of my goals ☺️. But also seriously, this is good feedback. It requires a bit more work on my end (manual vs automatic) but I think I can automate some parts of it.
@nickanderson@joshourisman@petrillic@greg any hints on how to ease my pain much appreciated. Ideally org would look into the attach for each parent until it finds the attachment
@xuxxux@nickanderson@joshourisman@petrillic I honestly don’t do much with images in my notes but in the past I did have success with org-download. I’m not sure if it’s still active. Adding some tags for further reach.
The more I learn #Emacs, the more I think I should've started way earlier.
I'm using only #OrgMode, to create and manage my digital garden, but I've already learnt a good set of useful commands, my digital garden is automagically converted from Org Mode into HTML with a nice CSS, I've even integrated Japanese furigana and PlantUML!
And I'm sharing back all my current learnings, using the digital garden itself: https://marcoxbresciani.codeberg.page/emacs/orgmode/orgmode.html
Have a nice reading, and give me feedbacks! 🙏🏻
@AAMfP
I wish I had stayed with emacs, but life was simple then and it was not readily available on some of my platforms (1988).
Now, I would encourage a young person to use emacs and cultivate it for life because content and workflows will still be available to them forever.
My word perfect and Ms word skills have been obsolete for decades.
#Irreal highlighted @jbaty blog post on the "gravitational pull of emacs" a cyclic moving away for simplicity's sake and a gradual pull back as personal comforts of customisations coax and inevitable return to #emacs
I've noticed a similar tidal motion back and forth, but instead of simple note-taking apps I flow between Emacs and other simpler #FOSS editors, like #Featherpad or #Notepadplusplus
Ultimately the draw & utility of #OrgMode sucks me back into Emacs and has me nuzzling comfortably back in my custom config.
This is probably a result of trying to walk the tight rope of balance between literally "getting things done" (not the GTD system) and "making life easier" with settings & customising.
I suppose, one day, the customisations might reach a stable state & the use of other editors becomes unnecessary. Balance achieved. Enlightenment.
But you know, in tech, everything moves on eternally so the balance undulates softly over time. Not to mention our lives and needs also shift over time.
So perhaps this do-si-do dance we do, will always be?
@AAMfP Furthermore, I'd not say that Markdown definitions are bloated in contrast to Orgdown. Quite the contrary since in the basic Markdown definitions, there are no tables, blocks, properties and many many more syntax elements orgdown knows.
@publicvoit
Nice point.
Indeed I'm actually using Org Mode Markup Syntax also through #Orgzly app (from F-Droid) instead of phone calendar, agenda and notes, but also when writing text emails, text messages and even on Slack, WhatsApp and other similar tools, even if they are not (so) compatible with it.
Maybe your idea is not popular but I'm sure that people using Org Mode Markup Syntax are using it everywhere. 😉
#emacs people: Is there an easy way to customise org-capture (and perhaps org-agenda) to just use the same window and leave my window management alone?
I’m knee-deep into stack overflow posts and wasting way too much time here. This is one of my most longstanding annoyances of #orgmode
(This is actually one of the reasons #orgrr does not use org-capture for new notes.)
I wrote a small post on using the rx macro in places where it's not supported, e.g. in Lisp data files.
rx is a macro which takes a special Lisp form and complies it to a regular expressions string.
The post demonstrates how I use #orgmode with noweb expansion to insert rx results in a source file. In this case, I use it to write scoring rules for elfeed-score with more readable regular expressions.
But I had lots of trouble getting paragraphs left justed (IMHO something that should be default). And even two item lists below each other had different rendering.
In the end I stopped fighting it and just used ... cough ... LibreOffice Impress.
So thanks for pointing me to another presentation software, I'll try it out. I like to have all docs, even presentations, in the Git tree next to the sources. Not in some binary files somewhere else.