markup the notes

Sacha pastes this on #emacs. I think I can tweak this to do the region render. Nice!
"Mark up STRING according to `emacs-wiki-publishing-rules’.
No header or footer is added."
(let ((emacs-wiki-project emacs-wiki-current-project))
(with-temp-buffer
(emacs-wiki-mode)
(insert string)
(let ((emacs-wiki-publishing-header "")
(emacs-wiki-publishing-footer ""))
(emacs-wiki-replace-markup))
(buffer-string))))

Share This

Python, Ipython, and Emacs

While there are several python mode for Emacs, I can’t get them work all together. And the most important thing I want to do is intergrate Ipython in Emacs. So the easiest way is to start an ansi-term, and run Ipython in it. This saved me all the efforts of patching python-mode and so on. […]

boxquote and emacs-wiki-srctag

I like the many small functions of boxquote. However it’s not supported by emacs-wiki and I don’t think it will be: It’s conflict with emacs-wiki-srctag and lack the color thing when publish.
So it might be a good thing to port all the boxquote handy functions to emacs-wiki-srctag. On neat feature will be, advice kill-ring-save, and […]

Prevent tasks lines from being wrapped

Keith Amidon posted this in the list:
(lambda ()
(setq auto-fill-inhibit-regexp "^#[ABC] +[_oX].*")
(setq truncate-lines t)))

Share This

new idea: planner-pyblosxom

After playing with muse-blosxom.el, (emacs-wiki-)blosxom.el, remember-blosxom.el and pyblosxom, I found it’s pretty wired that I’m writting everything in my planner page, while I’d have to write something again for my blog. Also that means I’d have to keep a seperate set of data, and it’s not an easy work to keep them synced.
The ideal thing […]

win key and menu key

I can use xev to see what key I just pressed. Also the Emacs
C-h k runs the command describe-key
which is an interactive compiled Lisp function in `help’.
It is bound to C-h k, <f1> k, <help> k, <menu-bar> <help-menu> <describe> <describe-key>, <menu-bar> <help-menu> <describe> <describe-key-1>.
(describe-key key &optional untranslated up-event)
Display documentation of the function invoked by key.
key […]

about doxygen and doxymacs

To make doxymacs searching code documents (C-c d ?), we need the tag file from doxygen, so need a setting
 
And for using in a developing code, which is not well documented, we need
EXTRACT_ALL            = YES
And for deleper to see all the contents, we need
EXTRACT_PRIVATE        = YES
EXTRACT_STATIC   […]

check out gdb-ui

This need Emacs 21.4 or 22. And from the screenshot at , I think the speedbar buffer is what I want most, which can be found at sb-gud.el
OK, this is cool. I’ll need the cvs Emacs to use this.

Share This

planner man page annotation is not easy to build

There’s no variable that holds the current man page name. So it makes it a bit hard to build a planner annotation

Share This

@@ in mode line

When a file in CVS that is added but not yet committed. In mode line there will be “CVS @@”.
see vc-cvs.el

Share This

Close
E-mail It