[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
Permit bbdb entries like '1973-06-22 Birthday'. i.e., Ignore the case of
anniv class.
ps: Have I mixed up tabs/spaces and/or indentations? Kindly point me to
the emacs settings for editing org elisp files.
[-- Attachment #2: org-bbdb.patch --]
[-- Type: text/plain, Size: 1189 bytes --]
From 8ca5dcf3dbc8fed1cdba105f0f15513c04e289a2 Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
Date: Mon, 9 Aug 2010 08:44:44 +0530
Subject: [PATCH] org-bbdb: Be lenient. Ignore case in anniv class string.
2010-08-09 Jambunathan K <kjambunathan@gmail.com>
* org-bbdb.el (org-bbdb-anniversaries): Ignore case while looking up
org-bbdb-anniversary-format-alist.
TINYCHANGE
---
lisp/org-bbdb.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org-bbdb.el b/lisp/org-bbdb.el
index a86091e..59cec32 100644
--- a/lisp/org-bbdb.el
+++ b/lisp/org-bbdb.el
@@ -322,8 +322,8 @@ This is used by Org to re-create the anniversary hash table."
(when rec
(let* ((class (or (nth 2 rec)
org-bbdb-default-anniversary-format))
- (form (or (cdr (assoc class
- org-bbdb-anniversary-format-alist))
+ (form (or (cdr (assoc-ignore-case
+ class org-bbdb-anniversary-format-alist))
class)) ; (as format string)
(name (nth 1 rec))
(years (- y (car rec)))
--
1.7.0.4
[-- Attachment #3: Type: text/plain, Size: 16 bytes --]
Jambunathan K.
[-- Attachment #4: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode