Re: [O] Org-mode and continuing BBDB compatibility

2013-10-22 Thread Christopher Culver
>  Nick Dokos  writes:
>> Christopher Culver  writes:
>> I am using org-mode version 20131021 and the latest checkout of the
>> bbdb3 git repository. Although I have the following lines in my main
>> .org file:
>>
>> * Anniversaries
>>:PROPERTIES:
>>:CATEGORY: Anniv
>>:END:
>>   %%(org-bbdb-anniversaries)
>>
>> I do not see anniversaries from my .bbdb file in the agenda. I know that
>> some work was done in the past with making org-mode compatible with
>> bbdb3, but are the two projects no longer compatible, or do I probably
>> have some other problem on my end?
>
> I believe the %% construct is recognized only at the beginning of a
> line: try deleting the white space in front.

Thanks, that did the trick. I can now see BBDB anniversaries in my agenda. 

Christopher Culver



Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Nick Dokos
Christopher Culver  writes:

> I am using org-mode version 20131021 and the latest checkout of the
> bbdb3 git repository. Although I have the following lines in my main
> .org file:
>
> * Anniversaries
>:PROPERTIES:
>:CATEGORY: Anniv
>:END:
>   %%(org-bbdb-anniversaries)
>
> I do not see anniversaries from my .bbdb file in the agenda. I know that
> some work was done in the past with making org-mode compatible with
> bbdb3, but are the two projects no longer compatible, or do I probably
> have some other problem on my end?
>

I believe the %% construct is recognized only at the beginning of a
line: try deleting the white space in front.

Nick





Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
"Sebastien Vauban"  writes:

Hi Sebastien:

> Weird.
>
> In the BBDB 3 version that I have from ELPA [1], I do have a file
> `bbdb-autoloads.el', but no `bbdb-loaddefs.el'...

Strange, the name was changed on 11 Dec 2011:

http://comments.gmane.org/gmane.emacs.bbdb.user/2945

Charles

-- 
Linux is obsolete
(Andrew Tanenbaum)


signature.asc
Description: PGP signature


Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Sebastien Vauban
Charles Philip Chan wrote:
> "Sebastien Vauban"  writes:
>
>> You mean bbdb-autoloads?
>
> No, bbdb-loaddefs.el is part of bbdb3. Here is the instructions from the
> README file:
>
> 4) Activate BBDB:
>
>i)   If the BBDB lisp files are in a directory
> "/path/to/bbdb/lisp" you can use in your emacs init file
>
> (require 'bbdb-loaddefs "/path/to/bbdb/lisp/bbdb-loaddefs.el")
>
> This adds "/path/to/bbdb/lisp" to the load-path; so it is all
> you need to make BBDB known to your Emacs.
>
>ii)  The user variable bbdb-print-tex-path should point to the directory
> where the BBDB TeX files reside (default /usr/local/share/bbdb).

Weird.

In the BBDB 3 version that I have from ELPA [1], I do have a file
`bbdb-autoloads.el', but no `bbdb-loaddefs.el'...

Best regards,
  Seb

[1] ~/.emacs.d/elpa/bbdb-20130728.2143

-- 
Sebastien Vauban




Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
"Sebastien Vauban"  writes:

> You mean bbdb-autoloads?

No, bbdb-loaddefs.el is part of bbdb3. Here is the instructions from the
README file:


4) Activate BBDB:

   i)   If the BBDB lisp files are in a directory
"/path/to/bbdb/lisp" you can use in your emacs init file

(require 'bbdb-loaddefs "/path/to/bbdb/lisp/bbdb-loaddefs.el")

This adds "/path/to/bbdb/lisp" to the load-path; so it is all
you need to make BBDB known to your Emacs.

   ii)  The user variable bbdb-print-tex-path should point to the directory
where the BBDB TeX files reside (default /usr/local/share/bbdb).

Charles

-- 
"World domination.  Fast"
(By Linus Torvalds)


signature.asc
Description: PGP signature


Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Sebastien Vauban
Hi Charles,

Charles Philip Chan wrote:
> Christopher Culver  writes:
>
>> I do not see anniversaries from my .bbdb file in the agenda. I know
>> that some work was done in the past with making org-mode compatible
>> with bbdb3, but are the two projects no longer compatible, or do I
>> probably have some other problem on my end?
>
> Works fine here (I am using the git version of both). How are you
> loading bbdb? You should just do a:
>
>   (require 'bbdb-loaddefs)

You mean bbdb-autoloads?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Christopher Culver
Myles English  writes:
> I think you might need:
>
> (setq org-bbdb-anniversary-field 'birthday)
>
> or 
>
> (setq org-bbdb-anniversary-field 'anniversary)
>
> depending on what you called the anniversary field.

My anniversary field in ~/.bbdb is called "anniversary". Setting this
option has no effect for me: I still do not see bbdb anniversaries in
the org-mode agenda.

Christopher Culver



Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Charles Philip Chan
Christopher Culver  writes:

Hi Christopher:

> I do not see anniversaries from my .bbdb file in the agenda. I know
> that some work was done in the past with making org-mode compatible
> with bbdb3, but are the two projects no longer compatible, or do I
> probably have some other problem on my end?

Works fine here (I am using the git version of both). How are you
loading bbdb? You should just do a:

  (require 'bbdb-loaddefs)

Charles

-- 
"Are [Linux users] lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?"
(By Matt Welsh)


signature.asc
Description: PGP signature


Re: [O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Myles English

Hi Christopher,

crcul...@christopherculver.com writes:

> I am using org-mode version 20131021 and the latest checkout of the
> bbdb3 git repository.

I am using older versions.

> Although I have the following lines in my main .org file:
>
> * Anniversaries
>:PROPERTIES:
>:CATEGORY: Anniv
>:END:
>   %%(org-bbdb-anniversaries)
>
> I do not see anniversaries from my .bbdb file in the agenda. I know that
> some work was done in the past with making org-mode compatible with
> bbdb3, but are the two projects no longer compatible, or do I probably
> have some other problem on my end?

I think you might need:

(setq org-bbdb-anniversary-field 'birthday)

or 

(setq org-bbdb-anniversary-field 'anniversary)

depending on what you called the anniversary field.

If you work out how to display birthdays and anniversaries in the same
agenda please share.

Myles



[O] Org-mode and continuing BBDB compatibility

2013-10-21 Thread Christopher Culver
I am using org-mode version 20131021 and the latest checkout of the
bbdb3 git repository. Although I have the following lines in my main
.org file:

* Anniversaries
   :PROPERTIES:
   :CATEGORY: Anniv
   :END:
  %%(org-bbdb-anniversaries)

I do not see anniversaries from my .bbdb file in the agenda. I know that
some work was done in the past with making org-mode compatible with
bbdb3, but are the two projects no longer compatible, or do I probably
have some other problem on my end?

Christopher Culver