Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-10 Thread Nick Dokos
Sriram Karra  wrote:

> On Fri, Aug 10, 2012 at 12:11 PM, Nick Dokos  wrote:
>  
> 
> been a rather good experience. But my needs are simple, and depending on
> the kind of phone integration you are looking for, bbdb might not be
> enough. What exactly are you looking for?
> 
> Nick, What is the kind of phone integration for which BBDB does not work for 
> you? 
> 

I don't think I ever said it's not working for me. I just don't know
what "phone integration" means for other people: for me, I look up a
phone number by name and dial it. As I said, simple needs (and amply
met by bbdb).

Nick



Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-10 Thread Sriram Karra
On Fri, Aug 10, 2012 at 12:11 PM, Nick Dokos  wrote:


> been a rather good experience. But my needs are simple, and depending on
> the kind of phone integration you are looking for, bbdb might not be
> enough. What exactly are you looking for?
>

Nick, What is the kind of phone integration for which BBDB does not work
for you?

-Sriram


Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-09 Thread Nick Dokos
Russell Adams  wrote:

> I'd like to see semantic's for everything! I may have to give BBDB3 a
> whirl, given I've started to pickup elisp. My initial experience was
> hideous, but if I can get phone integration perhaps it'd be worth the
> pain.
> 

I can sympathize: I tried bbdb a long time ago and tried to bend it to
my will. I was left battered and bruised and gave up on it. However,
once I let go and decided to let it do whatever it wants, it is almost
bearable (apart from mailing lists that attach different names to the
same email address: the change review emails for openstack are driving
me batty right now). But I store phone numbers, addresses, email
addresses and even birthdays and anniversaries in there and that has
been a rather good experience. But my needs are simple, and depending on
the kind of phone integration you are looking for, bbdb might not be
enough. What exactly are you looking for?

Nick



Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-09 Thread Russell Adams
On Wed, Aug 08, 2012 at 02:04:23PM +0200, Thomas Koch wrote:
> Russell Adams:
> > Thus I pose the question: What is a valid contact manager for a
> > console-mode user with sync, fast searching and update?
>
> Hallo Russell,
>
> I'm also searching for a contact manager since ages. What I want to try when
> I've time (tm):
>
> - GNU recutils - plain text database, avail. in Debian et al.
> http://www.gnu.org/software/recutils
>
> - http://www.nongnu.org/addressbook
> From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3
> format. Would be wonderful if somebody would update to [vx]card4.
>
> - Postgresql on the Desktop
> After having worked with Hadoop and looked into other NoSQL systems I'd like
> to have a closer look at old SQL stuff again. MySQL vulgarized me.
>
> ...But wouldn't it be better to use something semantic for contact management?

I'd like to see semantic's for everything! I may have to give BBDB3 a
whirl, given I've started to pickup elisp. My initial experience was
hideous, but if I can get phone integration perhaps it'd be worth the
pain.

On the semantic note, I found a utility called tmsu recently
(http://tmsu.org/) which allows semantic tagging of files. There was a
cool looking filesystem called Tagsistant too, but it unfortunately
appears abandoned.

Thanks.

>
> Regards,
>
> Thomas Koch, http://www.koch.ro
>


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3



Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-09 Thread Sriram Karra
On Thu, Jul 19, 2012 at 4:40 PM, Russell Adams wrote:

Thus I pose the question: What is a valid contact manager for a
> console-mode user with sync, fast searching and update?
>

Curious - have you given BBDB a shot? There is a lot of action of late on
BBDB V3. There is also a bi-directional sync utility for BBDB <-> Outlook /
Google Contacts (Disclaimer: I the author of the said utility -
http://karra-asynk.appspot.com/)

It appears like much can be gained by upping the level of integration
between Org mode and BBDB. Thoughts?

-Karra


Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-09 Thread Jose E. Marchesi

- GNU recutils - plain text database, avail. in Debian et al.
http://www.gnu.org/software/recutils

- http://www.nongnu.org/addressbook
From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3 
format. Would be wonderful if somebody would update to [vx]card4.

I still use abook.el to manage my contacts.

But the emacs mode to edit recfiles (rec-mode) is being improved a lot
lately, and soon it will provide a much better user interface than
abook, only more general.  That is why I am not working on abook.el any
further.

You can try the latest recutils+rec-mode by cloning
git://git.savannah.gnu.org/recutils.git

-- 
Jose E. Marchesi http://www.jemarch.net
GNU Project  http://www.gnu.org



Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-08 Thread Bastien
Hi Thomas,

Thomas Koch  writes:

> - http://www.nongnu.org/addressbook
> From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3 
> format. Would be wonderful if somebody would update to [vx]card4.

Jose is reading the list, so chances are that he will hear you :)

-- 
 Bastien



Re: [O] [Orgmode] Re: contact management in org-mode?

2012-08-08 Thread Thomas Koch
Russell Adams:
> Thus I pose the question: What is a valid contact manager for a
> console-mode user with sync, fast searching and update?

Hallo Russell,

I'm also searching for a contact manager since ages. What I want to try when 
I've time (tm):

- GNU recutils - plain text database, avail. in Debian et al.
http://www.gnu.org/software/recutils

- http://www.nongnu.org/addressbook
From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3 
format. Would be wonderful if somebody would update to [vx]card4.

- Postgresql on the Desktop
After having worked with Hadoop and looked into other NoSQL systems I'd like 
to have a closer look at old SQL stuff again. MySQL vulgarized me.

...But wouldn't it be better to use something semantic for contact management?

Regards,

Thomas Koch, http://www.koch.ro



Re: [O] [Orgmode] Re: contact management in org-mode?

2012-07-19 Thread Karl Voit
Hi Russell!

* Russell Adams  wrote:
>
> First, I've found myself very lax updating my Contacts.org file. 

This is no technical issue :-)

> With a moderately large contact file column mode goes so slowly I
> find myself reluctant to use it. Thus my contact list is now
> significantly out of date despite my successful integration with
> mutt.

I do not use column mode (yet). So far I am using the inevitable
yasnippet templates to create an entry and manually filling out the
properties.

> Another issue with column view is that I can't make the first column
> (ie: Name!) sticky, so if I scroll right while filling in fields I
> have no idea who I'm working on. Editing individual fields in the
> property drawer is moderately ok.
>
> The final killer is lack of sync. 

Oh this is also something which I could not resolve yet.

Although I do think that given the fact that I am OK with a working
export mechanism (instead of 2-way sync), it should not be that
complicated to write a short tool that exports names, email
addresses and phone numbers (I really do not want more information
than these on my phone) in a format that Google can import.

Not a very good solution but I was thinking about this one for
myself.

> I have lbdb capturing incoming email addresses, and I find I use
> it constantly without thinking about it. I typically get contact
> information in signature lines with my customers and I've found
> myself doing fast searching in mutt and using a recent email
> instead of using Contacts.org. No sync with my Google account
> means my phone now has an independent contact list again.

I also love mutt and lbdb. Since I started to maintain my contacts
in Org-mode and not in .mutt_aliases and lbdb can query my
contacts.org, I am pretty happy with this situation.

Loose contacts get into my system via lbdb and close contacts get
their Org-mode entry.

> I did see someone created a org-contacts.el based on the format, but
> their site is now offline.
>
> So after a three year experiment, I think I can say my org-mode
> contact management has failed.

This is it?

What about having the possibility to use references to contacts
within Org-mode? I use them all the time.

What about organizing contacts in a hierarchy like family trees. I
can not resemble any other contact manager where it is that easy as
in Org-mode.

What about the possibility to mix TODOs and events with
contact? I love the fact that I can add appointments with my dentist
below his contact-headline ... and add a TODO if I have to transfer
him money or something like that.

These are all features that lets me accept missing sync features and
so forth.

> Thus I pose the question: What is a valid contact manager for a
> console-mode user with sync, fast searching and update?

Anyway, I am curious what other options are out there :-)

-- 
Karl Voit




Re: [O] [Orgmode] Re: contact management in org-mode?

2012-07-19 Thread Russell Adams
Regarding contact management in Org the way I described it below, I
wanted to share issues I've had since.

First, I've found myself very lax updating my Contacts.org file. With
a moderately large contact file column mode goes so slowly I find
myself reluctant to use it. Thus my contact list is now significantly
out of date despite my successful integration with mutt.

Another issue with column view is that I can't make the first column
(ie: Name!) sticky, so if I scroll right while filling in fields I
have no idea who I'm working on. Editing individual fields in the
property drawer is moderately ok.

The final killer is lack of sync. I have lbdb capturing incoming email
addresses, and I find I use it constantly without thinking about it. I
typically get contact information in signature lines with my customers
and I've found myself doing fast searching in mutt and using a recent
email instead of using Contacts.org. No sync with my Google account
means my phone now has an independent contact list again.

I did see someone created a org-contacts.el based on the format, but
their site is now offline.

So after a three year experiment, I think I can say my org-mode
contact management has failed.

Thus I pose the question: What is a valid contact manager for a
console-mode user with sync, fast searching and update?

Thanks.

On Fri, Nov 20, 2009 at 08:32:35AM -0600, Russell Adams wrote:
> On Fri, Oct 30, 2009 at 10:26:07PM -0500, Russell Adams wrote:
> > Looking into this some more, export is really easy. I can just use a
> > dynamic block to store column view in whatever format I choose, and
> > export then search & replace ',' for '|'. That is minimal effort!
> >
> > Sparse searches in column view, hierarchy organization, etc. I'm
> > trying to find a problem here.
>
> I've just converted all my contacts into an Org file, and will
> document below how it is organized.
>
> First is Contacts.org:
>
> 
> #+COLUMNS:  %20ITEM %15Company %10Title %WorkEmail %WorkPhone %WorkMobile 
> %WorkFax %10WorkStreet %WorkCity %WorkState %WorkPostal %HomeEmail %HomePhone 
> %HomeMobile %10HomeStreet %HomeCity %HomeState %HomePostal
>
> * Contacts
>
> ** Adams, Russell
>:PROPERTIES:
>:Company:  Adams Information Services LLC
>:Title:Principal Consultant
>:WorkEmail:rlad...@adamsinfoserv.com
>:WorkPhone:
>:WorkMobile:
>:WorkFax:
>:WorkStreet:
>:WorkCity:
>:WorkState:
>:WorkPostal:
>:HomeEmail:
>:HomePhone:
>:HomeMobile:
>:HomeStreet:
>:HomeCity:
>:HomeState:
>:HomePostal:
>:END:
>
> What a super guy!
> 
>
> I could have multiple top level headings for organization. Making a
> contact a subheading also lets me use C-c / (spare tree searchs) to
> limit the list of contacts.
>
> With the column view modeline, I can edit contacts in long format, or
> change fields in column view.
>
> Next I needed a way to lookup addresses for Mutt. Lbdb is very
> effective, but given I don't use BBDB anymore I required an
> alternative.
>
> I still like lbdb's inmail filter, so I continue to use that. I wrote
> a quick lbdb module to find contacts in Contacts.org.
>
> ~/.lbdb/lbdbrc:
> 
> MODULES_PATH="/usr/lib/lbdb /home/rladams/.lbdb/modules"
> METHODS="m_inmail m_gpg m_orgcontact"
> 
>
> ~/.lbdb/modules/m_orgcontact:
> 
> #! /bin/sh
>
> m_orgcontact_query()
> {
>
> /home/rladams/.lbdb/modules/orgcontact.pl $1
>
> }
> 
>
>
> ~/.lbdb/modules/orgcontact.pl: (note the hardcoded Contacts.org file)
> 
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> # Read org headers are records
>
> $/="\n*";
>
> open(MYFILE,"/home/rladams/doc/OrgFiles/Contacts.org");
> my @rawcontacts = ;
> close(MYFILE);
>
> $/="\n";
>
> foreach (@rawcontacts) {
>   if ( $_ =~ m/$ARGV[0]/i ){
>
> my $name;
>
> foreach (split("\n",$_)) {
>
>   # The first line is the name
>   unless (defined $name) {
> $name = $_;
> $name =~ s/^\s*\**\s*//;
> $name =~ s/\s*$//;
>   }
>
>   if (m/^\s+:.*email.*:/i) {
> my $email = $_;
> $email =~ s/^\s+:\S+:\s+(\S+)/$1/g;
> $email =~ s/\s*$//;
>
> printf("%s\t%s\t((Org))\n", $email, $name);
>
>   }
>
> }
>
>   }
>
> }
> 
>
> Given I still use lbdbq in Mutt for address lookups, now it returns
> one row per email property using the name from the headline.
>
> Next, to make data entry faster, I've defined a yasnippet which
> contains all the properties in a tab list.
>
> ~/.emacs/snippets/text-mode/org-mode/contact:
> --