Update on moving .md file into .org on #emacs for #orgmode. Several suggested pandoc, but for some reason I couldn't get that going. Googled how to install, etc., but no joy. So I opened my big old .md file in a buffer, selected All, copied it, and pasted into my big everything in one file org file in the section where I wanted it.
That part worked, but then had to clean up headings. Did it all manually and took about 30 minutes. Oh well. At least now I've got my daily note in orgmode.
Question for some #emacs#orgmode friends: what's the best way to import a long markdown file INTO an already existing org file and have it look like the rest of the org file? Background is that I'm working on building out One Big Org File and want to import my running daily notes from Obsidian into the org file. I've found ways to convert markdown to org, but don't know how to actually place it in the org file. Thanks!
@birv2@simoninireland I know that Org has ways to find headings, but I'm not really familiar with that part. If the converted markdown is in a buffer, then you can use insert-buffer (interactive) or insert-buffer-substring (in lisp programs) to insert the buffer holding the new content into the org file at point.
Hey #emacs#orgmode people. I’ve heard that some people use just one orgmode file for all their writing. Can someone point me to a resource on doing this and maybe weigh in on advisability?
@publicvoit@bmp Thanks for the reply! I really enjoyed your article on getting started with orgmode and your advice to keep things, simple, don't chase key bindings, only learn as you need stuff, etc. That works for me, since I tend to obsess over those details and end up not getting anything done! Under the guise of pseudo-productivity. #orgmode#emacs
So, I'm currently in a middle of moving all of my calendars from Google Calendar to #emacs#orgmode in an on going effort to reduce dependency on Google.
This little project has been progressing better than expected! And now I've found a final piece of a puzzle that makes the whole thing come together: Orgzly Revived [1] (mainly for its Git syncing feature) for Android.
With this combination, I've successfully moved off Google Calendar for good and without any loss in functionality.
Screaming a question into the void regarding #emacs#org#orgmode, hoping that someone will see this:
I'd like to have the same left-margin for all my text. Headline bullets (and list bullets etc.) should be to the left of this margin. In CSS this would be list-style-position: outside;
Would anyone know how to modify the indentations of the headings to some negative value? Pointers much appreciated!
I really enjoy reading this blog. Today I think I have found a solution to a long unsolved question: It's the "org-tree-to-indirect-buffer" function (bound to C-c C-x b).
Falling further down the #emacs RH adventures.... just discovered #orgmode and that might be the clincher for me. My writing is very much outline-driven, and I've always wanted an outliner with movable sections (had something in the early PC days that did that). When you combine all of the other functionality, #emacs gets more and more attractive. Key binding memorization is overwhelming but just saw some good advice: use M-x and functions at first. So we continue.
@birv2 If you like to write with outlines and you're starting to explore #orgmode, you might enjoy the tips Edmund Jorgensen shared in this #EmacsConf talk "Why Nabokov would use Org-Mode if he were writing today": https://emacsconf.org/2023/talks/nabokov/
I found some time in the evening to code this ridiculous small and easy function instead of my first solution with a macro:
(defun dired-to-org ()
"Find references to current directory in org-file."
(interactive)
(let ((dir default-directory))
(switch-to-buffer "myfile.org")
(org-search-view nil dir nil)))
There is this annoying #Emacs#orgmode behavior on editing SQL source blocks, where it adds a level of indentation to the whole block when you hit RET: not always, but frequently, and unclear why. I guess it may have something to do with subqueries, at least I tend to notice it more often with those (and with more complex queries generally). It happens in emacs -Q as well. I think I observed it years ago, and heard of the cause and a workaround at some point, but failing to look it up now. Does anybody here know why it happens, and how to fix it? Would be particularly nice to not disable automatic indentation altogether, but to get a sensible indentation. Maybe for sql-mode as well (aiming primarily--but not exclusively--PostgreSQL, if that matters).