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/


BBDB3 Electric Popup Window

2012-08-15 Thread Charles Philip Chan
Hello:

I migrated to bbdb3 yesterday and so far I like it better than
bbdb2. The only thing that I don't like is that the popup window is not
electric anymore. Are there any plans for it?

Charles

-- 
We are using Linux daily to UP our productivity - so UP yours!
(Adapted from Pat Paulsen by Joe Sloan)


pgpNflj4NRV5u.pgp
Description: PGP signature
--
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: BBDB3 Electric Popup Window

2012-08-15 Thread Roland Winkler
On Wed Aug 15 2012 Charles Philip Chan wrote:
 I migrated to bbdb3 yesterday and so far I like it better than
 bbdb2. The only thing that I don't like is that the popup window is not
 electric anymore. Are there any plans for it?

Hey, you seem to be the first one who was using the electric mode of
BBDB v2. Actually, this was removed from BBDB v3 just a few days ago
due to some general design flaws of the electric mode (things not
particularly related to BBDB) and because it appeared that BBDB did
not get any extra functionality from the electric mode. You might
want to take a look at these recent threads on this list.

I hope to learn something new here: In what way did you use the
electric mode of BBDB v2? What are you missing without it?

Roland

--
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: name for list of notes fields

2012-08-15 Thread Roland Winkler
On Tue Aug 14 2012 Ivan Kanis wrote:
 I have the following patch floating about. Would it affect me?

This is safe.

 +(defun bbdb-record-edit-notes ()
 +  Edit notes of current record.
 +  (interactive)
 +  (bbdb-edit-field (bbdb-current-record) 'notes))

High-level functions such as bbdb-edit-field and
bbdb-record-set-field are intended as an intermediate layer to the
nitty-gritty internals of BBDB.

--
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: BBDB3 Electric Popup Window

2012-08-15 Thread Charles Philip Chan
Roland Winkler wink...@gnu.org writes:

Hi Roland:

 I hope to learn something new here: In what way did you use the
 electric mode of BBDB v2? What are you missing without it?

I like the window configuration restored after using bbdb.

Cheers,
Charles

-- 
The move was on to 'Free the Lizard'

  -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)


pgpAObEjjEOjX.pgp
Description: PGP signature
--
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/

Contrib directory and BBDB3

2012-08-15 Thread Charles Philip Chan
Hi:

It would be nice if there is a contrib directory in the source tree for
bbdb related code that works or have been updated to work with bbdb3.

As part of my migration process, I have updated
niko-bbdb-split.el. I hope some one will find it useful.

Charles

;;; niko-bbdb-split.el --- Various ways to split mails from BBBD

;; Authors: Nicolas Kowalski nicolas.kowal...@imag.fr,
;;  Matthieu Moy matthieu@imag.fr
;; Keywords: mail

;; This file is free software; you can redistribute it and/or modify
;; it with no restriction,

;;; Commentary:

;; Automatic generation of ~/.procmailrc file and/or
;; gnus-move-split-methods from the BBDB database.

;;; Code:

;; Insert the following lines in your configuration files
;; (niko/bbdb2procmailrc-initialize)
;; (niko/bbdb2split-initialize)
;; There is very few chance that the default configuration work for
;; you, so, M-x customize-group RET niko-bbdb-split RET will help you.

;;; ChangeLog:
;; Version 1.2.1: August 14th, 2012
;;   - Changed a few function names to work with BBDB3
;; Charles Philip Chan cpc...@bell.net
;;
;; Version 1.2: September 30th, 2004
;;   - Generation of the default rules for procmail in a different
;; file (optional)
;;
;; Version 1.1: September 07th, 2004 - bugfixes.
;;   - The list of arguments of niko/bbdb2split{-initialize} was
;; mixed up with (interactive).
;;   - niko/bbdb2split returned the wrong value.
;;
;; Version 1.0: April 04, 2004 - initial version
;;

;;
;; procmailrc generation
;;

(eval-and-compile
  (require 'gnus-sum)
  (require 'bbdb)
  )

(defgroup niko-bbdb-split nil
  Splitting mails from BBDB)

(defgroup niko-bbdb2procmail nil
  Generation of a portion of ~/.procmailrc from your BBDB
  :group 'niko-bbdb-split)

(defcustom niko/bbdb2procmailrc-field 'gnus-private
  Field of the BBDB entries used for the condition of the procmail
rule.
  :type 'symbol
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-filename ~/.procmailrc-bbdb
  Name of the generated ~/.procmailrc. Usually, you will want to
put something like \~/.procmailrc-bbdb\ here, and put a
\INCLUDERC=$HOME/procmailrc-bbdb\ in your ~/.procmailrc file, or
you can chose to generate your whole \~/.procmailrc\.
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-default-rule-filename ~/.procmailrc-bbdb-default
  Name of the generated ~/.procmailrc containing the \default\ rule
 (the rule applicable to everyone in your address book without a
gnus-private field. Usually, you will want to include this file at the
end of your ~/.procmailrc file. You can choose the same filename here
and for `niko/bbdb2procmailrc-filename' (or just put nil here) to have
all rules generated in the same file.
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-rule-header :0
  Header of the generated procmail rule. Should be \:0\ (no lock
file) or \:0:\ (procmail will use a lock file, necessary when it
writes directly to a folder).
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-rule-precond 
  If you want to add a precondition to the rule. Should be of the
form \* Header: .*value\\n\.
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-folder-prefix | dmail \+
  Prefix for the action of the rule.
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-folder-suffix \
  Suffix for the action of the rule.
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-file-header
  -*- mode: shell-script -*-
### Warning !!! Generated file, do not edit !!! \n\n
  header inserted on top of the generated file
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-mail-header ^From: .*
  * Procmail syntax regular expression for the field on which sorting
should be done. Usually, \^From.*\.
  :type 'string
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-create-default t
  * Wether a default rule should be created. The default rule is in
the form

:0
* From: anybody in your .bbdb
`niko/bbdb2procmailrc-default-box'
  :type 'bool
  :group 'niko-bbdb2procmail)

(defcustom niko/bbdb2procmailrc-default-box perso
  * Name of the mailbox where mail should be delivered for people in
.bbdb
  :type 'string
  :group 'niko-bbdb2procmail)

(defun niko/bbdb2procmailrc-quote-email (email)
  (replace-regexp-in-string \\. . email))

;;;###autoload
(defun niko/bbdb2procmailrc ()
  Generates a .procmailrc file from your BBDB database, based on the
field `niko/bbdb2procmailrc-field' or each record. The filename is
specified by the variable `niko/bbdb2procmailrc-field', designed to be
included in your ~/.procmailrc with
\INCLUDERC=${HOME}/.procmailrc-bbdb\ or similar, most probably at
the end of your ~/.procmailrc.

The generated rules are in the form
`niko/bbdb2procmailrc-rule-header'
`niko/bbdb2procmailrc-rule-precond'
* 

Re: BBDB3 Electric Popup Window

2012-08-15 Thread Roland Winkler
On Wed Aug 15 2012 Charles Philip Chan wrote:
 Roland Winkler wink...@gnu.org writes:
  I hope to learn something new here: In what way did you use the
  electric mode of BBDB v2? What are you missing without it?
 
 I like the window configuration restored after using bbdb.

...Makes sense. But electric mode is really not needed here. 
The *BBDB* buffer should be displayed such that -if possible-
a plain quit-window restores the window configuration.
Yet somehow BBDB's approach is (has been) such that it fools
quit-window. I'll try to find out how that can be fixed.

--
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: BBDB3 Electric Popup Window

2012-08-15 Thread Charles Philip Chan
Roland Winkler wink...@gnu.org writes:

Hi Roland:

 ...Makes sense. But electric mode is really not needed here. 
 The *BBDB* buffer should be displayed such that -if possible-
 a plain quit-window restores the window configuration.
 Yet somehow BBDB's approach is (has been) such that it fools
 quit-window. I'll try to find out how that can be fixed.

Thanks for looking into it.

On another note, it would be nice if there are settings for the window
size both under and outside of a MUA. I would like to have a much
smaller window in Gnus then if bbdb is called up interactively.

Thanks.

Cheers,
Charles

-- 
Problem solving under linux has never been the circus that it is under
AIX.
(By Pete Ehlke in comp.unix.aix)


pgp8nIPRUG0w6.pgp
Description: PGP signature
--
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/