Playing around with planner-search-notes (October 30, 2003, 0) -
(defun planner-search-notes (regexp)
"Return a buffer with all the notes returned by the query for REGEXP."
(interactive "MRegexp: ")
(let ((results (planner-search-notes-internal regexp)))
Proof-of-concept code for autosensing task information (December 27, 2004, 0) -
(defun sacha/planner-create-task-from-buffer ()
(let ((annotation (run-hook-with-args-until-success 'planner-annotation-functions))
Elisp snippet for sucking data into BBDB (October 29, 2003, 0) -
(defun sacha/suck-data-into-bbdb (notes)
"Create BBDB data given NOTES.
The region should contain data of the form:
name | company | e-mail"
(interactive "MEnter notes string: ")
(while (re-search-forward "^\\(.*?\\)\s*|\s*\\(.*?\\)\s*|\s*\\(.*?\\)\s*$" nil t)
(let* ((name (match-string 1))
(company (match-string 2))
Emacs: Show only people whom I haven’t pinged since… (September 28, 2006, 0) - One of the things I want in a contact management system is a quick way
to find out who I haven’t pinged in a while. The following code
filters currently-displayed contacts to show who I might want to get
back in touch with. Call it from a *BBDB* window and specify the date
(could be 2006.01.01 for annual, -7