Sometimes I want to launch my keyboard through the screen. I knew it was a mistake to listen to latest fads. It now seems my attempts at using "standards compliant" CSS was a waste of time and effort. Why? Because bloody IE 5, 5.5 and 6 do not show up my (basic) low bandwidth html export from org-mode. And not so much as a hint as to why not. Gah. OK, standards move, and old SW does not, but still. I hate coding with target viewer switches : it's error prone, dirty and duplication of effort. Mind you, while I redit this post I see that blogger doesn't work with ie 5.5 either. Ha.
Friday, February 27, 2009
Wednesday, February 18, 2009
Using CEDET
I just came across this wonderful article about using Cedet.
http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html
Well worth reading for those looking for code completion in C and C++ yet are somewhat confused by CEDET documentation.
Tuesday, February 10, 2009
Splitting mail with BBDB and Gnus
I'm currently taking a lookt at splitting email using gnus. It would be a client side replacement for procmail. The advantage being ALL email downloaded at the server would be ing a single IMAP onbox so its's easier to see ALL from more limited clients, and that the splitting into seperate folders is more easily controlled using regexps on the Gnus client side. Anyway, more to come soon as I just got it working - here's the bookmark page:
http://www.emacswiki.org/emacs/SplitMailUsingBbdb
And, woohoo, I just got it working so that emails from BBDB entries tagged with gnus-private get stored in special folders as specified by that BBDB field. And all with IMAP. Wonderful stuff once more.
Thursday, February 5, 2009
Speeding up your Emacs - autoloads
The first you do is make use of the "magic comment". All that is a special format line prior to your defun lines. e.g
- ;;;###autoload
- (defun rgr/anything ()
- "default to thing at point for anything"
- (interactive)
- (anything nil (region-or-word-at-point)))
- ;; Generate autoload for locally downloaded and developed elisp files
- ;;;###autoload
- (defun my-autoloads nil
- (interactive)
- "Generate autoloads for code in ~/.emacs.d/."
- (interactive)
- (let ((generated-autoload-file "~/.emacs.d/my-autoload.el"))
- (update-directory-autoloads "~/.emacs.d")))
I don't need to mention that you need to load the autoload file do I?
- (require 'my-autoload)
Wednesday, February 4, 2009
Anything - more Emacs goodies
.emacs
- (autoload 'anything "my-anything" nil t)
my-anything.el
- (require 'anything-extension)
- (require 'anything-config)
- (setq anything-sources
- (list
- anything-c-source-man-pages
- anything-c-source-bbdb
- anything-c-source-locate
- anything-c-source-w3m-bookmarks
- anything-c-source-occur)
- anything-idle-delay 0.2
- anything-samewindow t
- anything-input-idle-delay 0.2
- anything-candidate-number-limit 10)
- (provide 'my-anything)
- (global-set-key (kbd "
") 'rgr/anything) - (defun rgr/anything ()
- "default to thing at point for anything"
- (interactive)
- (anything nil (region-or-word-at-point)))