Restart Emacs on System Startup

This post was originaly published on 2022-09-27. Updated 2022-09-28, to include the improved script. It’s been a year, since I figured out the hack that finally let me use my Compose key in Emacs.1 Without it, I am unable to type any kind of quotation marks or umlauts in emacs. A year in, and I’m tired of restarting the service everytime the machine comes on. The computer can do that for me. ...

September 28, 2022 · Mario Jason Braganza

Blocks in Org Mode

I remember, when I first learned it, the Org Manual mentioning I could have code, quotes, poetry and sundry self structured blocks of text, where the text in that block would flow like I wanted it to. I could have indentation or line breaks as I pleased. And then I promptly forgot about it. The only thing I did remember were code blocks. And that I needed to do a #+begin_src and then a #+end_src and put my code in the middle. And all this while, I would keep typing it in, by hand. ...

September 27, 2022 · Mario Jason Braganza

Rename a File as You Work on It in Emacs

I often fat fingered the file name / buffer name / Org Roam link name when launching something new. And then when I am busy and knee deep in work, I glance up to see the error glaring at me. I figured out, looked up how to fix it Hit C-x d to flip into a dired buffer Find my filename in the list. (C-s can help search and narrow stuff) Then C-x C-q to go into Wdired mode Change the file name to whatever I want it to C-c C-c to be done with it. Et voilà! (If you are editing an Org Roam node, M-x org-roam-db-sync to keep everything shipshape)1 ...

September 16, 2022 · Mario Jason Braganza

Moving Tasks Between Org Files in Emacs

More diving into Org Mode and Emacs. I have a stuff-to-do.org file, that serves as an inbox for most long term tasks that I want to tackle. Stuff that needs doing, books that I want to buy, books that I want to read, courses that I want to learn, movies or tv shows that I want to watch, stuff on the web that I want to catchup on, etc. etc. etc. ...

August 23, 2022 · Mario Jason Braganza

Splitting an Unwieldy Emacs `init.el`

I started with a very simple init.el when I started using Emacs. Rather than learning it in a structured manner, I just decided to jump in at whatever end of the pool and figure it out as I go. I may not know Emacs, but I do know what I want out of a general purpose text editor. And bending Emacs to do my will, to do what I want it to do or behave in the manner I want it to behave. And Emacs to my eternal gratitude, is flexible to do all I want, thanks to the last forty six years worth of hard work and ideas of people from all over. ...

August 13, 2022 · Mario Jason Braganza

Tomorrow is Another Date

Org mode is slowly spreading its tentacles increasingly becoming something, I cannot live without, to manage my day. And I’m getting pretty consistent with it too! Like you see above, I use dates as my headlines, below which I list the various tasks for the day.1 And that’s where I run into my current itch to scratch. ...

July 31, 2022 · Mario Jason Braganza