Tags » Emacs

Turning off Auctex fontification so that columns can align

I love Emacs. I use it for everything, and particularly love it for doing tables in LaTeX because I can easily align everything so that it looks sensible, and rectangle mode makes it easy to move columns around if desired. 40 more words


Emacs: Show modified buffers in tabbar mode

Option 1: Concatenating “*” to buffer name to indicate modification in tabbar mode
(defadvice tabbar-buffer-tab-label (after fixup_tab_label_space_and_flag activate)
  (setq ad-return-value
    (if (buffer-modified-p (tabbar-tab-value tab))
      (concat "" (concat ad-return-value "*"))
      (concat "" (concat ad-return-value "")))))

(defun on-saving-buffer ()
  (tabbar-set-template tabbar-current-tabset nil)
(defun on-modifying-buffer ()
  (set-buffer-modified-p (buffer-modified-p))
  (tabbar-set-template tabbar-current-tabset nil)
(defun after-modifying-buffer (begin end length)
  (set-buffer-modified-p (buffer-modified-p))
  (tabbar-set-template tabbar-current-tabset nil)
(add-hook 'after-save-hook 'on-saving-buffer)
(add-hook 'first-change-hook 'on-modifying-buffer)
… 77 more words

Emacs DOM Traversal

I’ve been doing a bit of web scraping with Emacs lately, and I haven’t been totally satisfied with how my dom.el library worked.

But on Friday I was fiddling around with some jQuery stuff, and I noticed how handy it was that jQuery functions that dealt with a single node (like .attr()) could be fed a list of jQuery objects.  251 more words


Source Code Digging: Emacs-Org-Babel


When we call `C-c C-c` inside a source code block, the function `org-ctrl-c-ctrl-c` will be invoked. The function is content-aware and does different things depending on the context. 1,648 more words


Journal #17: Mail from Emacs - Part #1

Whisper: Yeah, this is probably the most crazy thing I’ve ever done (with emacs, sure).


I have a couple of e-mail accounts out there; this is inevitable nowadays. 662 more words

Sem Categoria

Emacs: No More of My Own Code for PHP Mode

My apologies for the quiet month, as I’ve plans weighing on my mind. In the past I have asked for another Emacs Lisp developer to hopefully step up and offer to maintain… 146 more words

Programming Languages