How to insert screenshots in Org documents on macOS
August 9, 2020
As I'm taking notes or writing in Org-mode, I often want to insert screenshots inline with the text. While Org supports inserting and displaying inline images, the assumption is that the image is already somewhere in the file system and we just want to link to it. In this post I will show you how to automate the insertion of images from the clipboard into an org-mode document.
New book: Publishing with Emacs, Org-mode and Leanpub
June 20, 2020
I am happy to announce the new release of my new book "Publishing with Emacs, Org-mode and Leanpub", which talks about powerful tools and workflows you can use to easily publish your words.
Beautifying Org Mode in Emacs
March 21, 2018
Configuring Org Mode in Emacs for beautiful typography for both text and code editing.
My Emacs Configuration, With Commentary
December 17, 2017
I have enjoyed slowly converting my configuration files to literate programming style using org-mode in Emacs. It's now the turn of my Emacs configuration file.
Spotlight: use-package, a declarative configuration tool - Mastering Emacs
February 25, 2016
via https://www.masteringemacs.org/article/spotlight-use-package-a-declarative-configuration-tool Have you ever heard of use-package? It’s a declarative way of expressing package configuration in Emacs but without the tears. This looks amazingly useful. I need to start migrating my Emacs config to use-package ASAP.
Fixing Emacs problems with the fish shell
May 14, 2015
I started getting errors from the TRAMP Emacs package because I was using fish as my default shell, and it does not recognize certain standard syntax elements (such as && to separate commands), and Emacs runs subcommands under the default shell. I fixed this by: Changing my account's default shell back to `/bin/bash` Changing my Terminal.app preferences to run `/usr/local/bin/fish` when a shell opens, instead of the default login shell:
Remapping Mac modifier keys on Emacs 23.3
November 27, 2011
I just switched from Carbon Emacs (which is old Emacs 22.x) to Emacs for OS X Modified on my Mac (which is a Cocoa app, and Emacs 23.3). One of the unwelcome changes was that the Emacs 'Meta' modifier is now by default mapped to the Option key and not Command as before. But this gave me the opportunity to learn how to map the Mac keyboard modifier keys arbitrarily.
Installing AucTeX on EmacsW32 on Win7/64bit
August 17, 2010
Today I had to install AucTeX to use on my Win7/64 machine under EmacsW32. I found the basic instructions here: http://www.sturmnet.org/blog/2007/09/01/installing-auctex-in-emacsw32, but I had to modify them a bit (in particular, I am using tetex installed from cygwin instead of MiKTeX). Here are the commands I used: $ mkdir -p /usr/local/share/texmf $ ./configure --prefix='c:/Program Files (x86)/Emacs/emacs' --with-texmf-dir='/usr/local/share/texmf' --with-lispdir='c:/Program Files (x86)/Emacs/emacs/site-lisp' $ make $ make install I then added the following lines to my C:\Program Files (x86)\Emacs\site-lisp\site-start.