Re: Python parsers for lisp expression

2013-01-11 Thread Mitchel Humpherys
On Fri, Jan 11, 2013 at 1:43 AM, Sriram Karra  wrote:

>
> So to come to my query, finally - is there any known library or program -
> in Python - that can successfully parse the BBDB entry syntax? Any ideas on
> how to tackle this problem?
>

If you don't mind depending on Emacs itself, pymacs [1] might work...

[1] http://pymacs.progiciels-bpi.ca/index.html
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: [BBDB] ChangeLog 2012-09-8 (bbdb-ignore-message-alist)

2012-09-10 Thread Mitchel Humpherys
>
> So I replaced the call of gnus-fetch-field by
> gnus-fetch-original-field.  Let me know if now
> bbdb-ignore-message-alist works for you as expected.
>
>
Using X-* headers in `bbdb-ignore-message-alist' appears to be working now.
Thanks!

Mitch
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: Ignore some user names?

2012-09-07 Thread Mitchel Humpherys
Does something like

("From". "The Bug Tracking System")

in your `bbdb-ignore-message-alist' not work?

On Fri, Sep 7, 2012 at 11:12 AM, Norman Walsh  wrote:

> Hi,
>
> One of the internal systems where I work sends bug track messages.
> They all come like this:
>
>From: The Bug Tracking System 
>
> Everytime I read one of these messages, BBDB asks me if I'd like
> to change the name of "some-real-person" to "The Bug Tracking System"
> or add "some-real-person" to "some-other-real-person".
>
> Is there an easy way to tell BBDB to just ignore the name
> "The Bug Tracking System"?
>
> Be seeing you,
>   norm
>
> --
> Norman Walsh  | Man is in love and loves what vanishes,
> http://nwalsh.com/| / What more is there to say?--W. B.
>   | Yeats
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> bbdb-info@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bbdb-info
> BBDB Home Page: http://bbdb.sourceforge.net/
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: bbdb-ignore-message-alist

2012-09-04 Thread Mitchel Humpherys
>
> What is your value of bbdb-mua-auto-update-p?


Its value is bbdb-select-message.



> You need something
> like the default of this variable to enable what you want.
>

The default of `bbdb-mua-auto-update-p', you mean? I'm not customizing it,
so I assume it is the default value... But maybe it's getting changed as a
side-effect of something else I'm customizing? Here's my bbdb configuration
in full, just in case:

(require 'bbdb-loaddefs)
(require 'bbdb)

(bbdb-initialize 'gnus 'message)
(bbdb-mua-auto-update-init 'gnus 'message)

(setq bbdb-mua-update-interactive-p '(query . create)
  bbdb-complete-mail-allow-cycling t
  bbdb-completion-display-record nil
  bbdb-update-records-p 'create
  bbdb-pop-up-window-size 10
  bbdb-message-all-addresses t
  bbdb-ignore-message-alist '(("From" . "code-review@localhost")
  (("To" "CC") . "mitch.spec...@gmail.com")
  (("X-Mailman-Version" "X-Mailing-List") . ".*")))


Thanks,
Mitch
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

bbdb-ignore-message-alist

2012-08-28 Thread Mitchel Humpherys
I'd like to configure bbdb to not auto-notice addresses in mailing
list mail. I'm trying to use the `X-Mailing-List' and
`X-Mailman-Version' headers, since those seem to be consistently
present on all the mailing lists I read, but it doesn't seem to be
working (i.e. bbdb still offers to save email addresses from mails
containing those headers)... What am I doing wrong?

(setq bbdb-ignore-message-alist
  '((("X-Mailman-Version" "X-Mailing-List") . ".*")))


I also put this question on SO for future posterity:
http://stackoverflow.com/q/12148907/209050

Thanks,
Mitch

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb/news-auto-create-p (auto create entries from everything)

2012-08-16 Thread Mitchel Humpherys
Thanks, thank did the trick!

I posted this very question to SO for posterity if you want to go reap
some rep: 
http://stackoverflow.com/questions/11991940/auto-create-entries-for-all-email-addresses-in-bbdb3
(otherwise I'll just answer it myself over there).

Mitch

On Thu, Aug 16, 2012 at 5:36 AM, Alan Schmitt
 wrote:
> Mitchel Humpherys  writes:
>
>> Does bbdbv3 have something similar to bbdb/mail-auto-create-p?
>>
>> Basically I just want bbdb to be big brother and auto-create entries
>> for every email address I ever see. Ever.
>
> I think you need something like the following:
>
> (bbdb-mua-auto-update-init 'gnus 'message)
>
> (setq bbdb-update-records-p 'query)
>
> You can replace 'query by 'create if you want automatic record creation.
>
>> PS What have people found to be the best source for configuring
>> bbdbv3? I've found that nearly everything on emacswiki is for the old
>> version... Maybe we should all just start asking questions on
>> StackOverflow and let that be the documentation? That approach
>> actually seems to work pretty well for some projects...
>
> I'm a complete newbie in the bbdb world, so what I did is ask around
> (first on the orgmode mailing list then here). I wrote about it on my
> blog
> http://blog.petitepomme.net/post/28547901478/installing-and-configuring-bbdb-3
>
> The StackOverflow approach would be nice, if people who know about bbdb
> go there.
>
> Alan
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> bbdb-info@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bbdb-info
> BBDB Home Page: http://bbdb.sourceforge.net/

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb/news-auto-create-p (auto create entries from everything)

2012-08-15 Thread Mitchel Humpherys
Does bbdbv3 have something similar to bbdb/mail-auto-create-p?

Basically I just want bbdb to be big brother and auto-create entries
for every email address I ever see. Ever.

Thanks!
Mitch

PS What have people found to be the best source for configuring
bbdbv3? I've found that nearly everything on emacswiki is for the old
version... Maybe we should all just start asking questions on
StackOverflow and let that be the documentation? That approach
actually seems to work pretty well for some projects...

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/