Emacs: Hideshow (October 11, 2006, 0) - One of the things I love about vising irc.freenode.net #emacs is that helping people with their questions lets me discover all sorts of cool things about Emacs. Today’s nugget? hideshow.el, which allows you to automatically hide / show code. (Equivalent of vim folding).
I’ve added the following code to my config:
Adding an arbitrary extension to your planner files (June 7, 2005, 0) - Do you want all of your planner files to have a TXT extension so that
they’ll be searched by tools such as Google Desktop or Apple Spotlight?
Use the ‘rename’ tool to add .txt extensions to all of your files, or
use the following code to rename all of your planner files from a
running Planner setup:
(defun my-rename-planner-files ()
Emacs weirdness (October 23, 2003, 0) - For some reason, local-write-file-hooks had the BBDB stuff in it, so
cookies were getting added to my data…
Hmm. Test script.
(let ((old-hook local-write-file-hooks))
(with-temp-buffer (add-hook 'local-write-file-hooks 'foo))
(unless (equal local-write-file-hooks old-hook)
(error "Failed test. local-write-file-hooks was modified in this buffer."))
;; Let's put
Eshell redirection (October 21, 2007, 5) - Mike Mattie has this awesome Emacs tip for
Eshell: redirecting to buffers and Lisp symbols!
To overwrite buffer “foo”:
ls > #
To append to buffer “foo”:
ls >> #
To insert at point in buffer “foo”:
ls >>> #
To redirect to a Lisp symbol:
I had no idea Emacs could do that. Cool!
On Technorati: emacs, pimpmyemacs
E-Mail from Mike Mattie
Random Emacs symbol:
Emacs and w3m: Making tabbed browsing easier (September 12, 2008, 0) - If you browse with a lot of open tabs, like I do, w3m will be much easier to use once you remap w3m-next-buffer and w3m-previous-buffer onto single-key shortcuts, allowing you to press a key to quickly flip between tabs.
By default, w3m-previous-buffer is mapped to C-c C-p and w3m-next-buffer is mapped to C-c C-n. On a