Endless Parentheses
Artur Malabarba
Endless Parentheses is a blog. Originally, it exclusively featured posts about Emacs, mostly focused on improving your productivity and making Emacs life easier in general. Now, however, it has mutated into a blog about productivity in general. Emacs still permeates my life (and will still show up here a lot), but I feel I have more to talk about in other subjects and won’t be restricting myself to Emacs anymore.
Top Words
- emacs
- mode
- better
- lisp
- package
- buffer
- directory
- cider
- packages
- file
All posts (153)
Once you've come to terms with power of setf, it is time to meet its older sister, cl-letf. As the name implies, letf is to setf like let is to setq, but, once again, that is only the tip of the iceberg. To get started, let's have a variable and require the feature. (require 'cl-lib) (setq my-list '(0 1 2 3 4 5))...
setf is a modest name for a macro that does much more work than it gets paid for. Quoting the doc page: This is a generalized version of `setq'; the PLACEs may be symbolic references such as (car x) or (aref x i), as well as plain symbols. For example, (setf (cadr x) y) is equivalent to (setcar (cdr x) y). The...
Have you ever stopped to consider what is the string you type most often? In my case the answer is two-fold: “~/” and “.emacs.d/”. Minibuffer completion helps, but we can always make things better. The following snippet intelligently inserts both of these with a single key, and it's smart enough to know which one...
To those who were interested in gmail-message-mode. Thanks to patjak and oantolin, there is now a solution for using it in Firefox as well. See the original post for the instructions. Comment on this.
One little-know feature of org-mode is that you can define new types of links with the aptly named org-add-link-type. The applications of this virtue are many. One might, for instance, write links which search an entire code base for an expression. (org-add-link-type "grep" 'endless/follow-grep-link) (defun...
Trying out the myriad of Emacs mail clients is no less than an odyssey. I am proud to say I dove into this sea of protocols and credentials and emerged from it a better man, albeit empty handed. I do not blame the clients available. Gnus and Mew, in particular, are both Herculean beasts of coding prowess. It was I...
Last week, Bin Chen shared his workflow for merging Github pull requests. Other than the use of Firefox instead of Conkeror, it was identical to mine. Now I gladly come to admit that Alexander Yakushev has outsmarted us both by fixing up magit-gh-pulls-mode, a package originally written by Yann Hodique which does it...
My laptop is so old it is almost getting out-performed by my smartphone, the principal consequence being that its keyboard has started to give up on life. Occasionally, a key won't register when I hit it, and occasionally I'll get paranoid and hit a key twice without knowing it actually had registered the first...
Take a minute now and be honest with yourself. Do you like the shift key, or do you just put up with it? Perhaps it's just because my hands are the size of basketballs, but I've always found Shift hard to reach. Key-chord has allowed me to ban my shift use at least when it comes to inputting symbols....
Narrowing is one of those features you won’t even hear about in a more mundane editor, but Emacs has an entire keymap for it. While I wouldn’t want to be without this feature, I’m all for simplification. Michael Fogleman (the same justicier who took matters to his own hands on Hungry Delete Mode) mentioned the...
Page 14 of 16