Re: mail-aliasv

2014-02-19 Thread Uwe Brauer
 henry == henry atting s...@online.de writes:

I have these two lines in my setup:
(add-hook 'mail-setup-hook 'bbdb-mail-aliases)
(add-hook 'message-setup-hook 'bbdb-mail-aliases)

What I would expect is TAB completion on mail aliases. But my
expectations remain unfulfilled...


Hm in vs 2.35 it is 
(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases) 


smime.p7s
Description: S/MIME cryptographic signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

[scenario] (was: select different email address)

2014-02-18 Thread Uwe Brauer
 Gijs == Gijs Hillenius g...@hillenius.net writes:

On 17 Feb 2014, Uwe Brauer wrote:

I think I'm not understanding the issue. Here, [tab] cycles through the
email-adresses. I use this daily.


Hello

May be I did not explain this very well.
Using gnus I have 

(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases) 

Now let me consider the following bbdb entry

-
Uwe Brauer
net: oub.oub@gmail.com, o...@mat.ucm.es
 mail-alias: uwegmail
-

Then I write 
To: uwegmail
and  space completes the corresponding address from the net field, but
only the first address

 oub.oub@gmail.com

(bbdb-complete-name) does the same, in no moment I am offered to use the
address o...@mat.ucm.es

Now I just bound (super tab) to bbdb-next-field
but this returns the following error 

Debugger entered--Lisp error: (wrong-type-argument commandp bbdb-next-field)
  call-interactively(bbdb-next-field)

So I am puzzled, first I thought the behavior I want is only found in
bbdb-3, but Dave's comment seems to suggest otherwise.

Could some clarify please.

Thanks 

Uwe Brauer 


smime.p7s
Description: S/MIME cryptographic signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: [scenario]

2014-02-18 Thread Uwe Brauer
 Gijs == Gijs Hillenius g...@hillenius.net writes:

On 18 Feb 2014, Uwe Brauer wrote:
Gijs == Gijs Hillenius g...@hillenius.net writes:
Hello Gijs,


I erred, when I emailed that [tab] was bound to bbdb-next-field. In
Gnus, [tab] is bound to message-tab.


Aha! I have bound tab to (mail-text) since I never understood what
message-tab is good for. Now I do! Thanks!

Is that what handles the cycling of email addresses?

Perfectly, you saved my day!!!

Uwe 



smime.p7s
Description: S/MIME cryptographic signature
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

select different email address

2014-02-17 Thread Uwe Brauer
Hi

I confess I still with vs 2.35 due to backward compatibility problems.

One of the features I miss is the following:

Suppose for one entry I have several email addresses, then there seems
to way to select from these different email addresses (or from any other
field, say email2). 

Net: foo@foo, foo2@foo
email2: foo3@foo

Bbbdb picks up the first in the list

Of course a workaround is to have two or more entries
according to the different email addresses. However sometimes this is
not very comfortable.

Does bbdb 3 provide such a feature?


regards


Uwe Brauer 


smime.p7s
Description: S/MIME cryptographic signature
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: how to update on incoming (gnus), create on outgoing (message)?

2014-02-15 Thread Uwe Brauer
 Kevin == Kevin Brubeck Unhammer unham...@fsfe.org writes:

Roland Winkler wink...@gnu.org writes:
On Fri Feb 14 2014 Kevin Brubeck Unhammer wrote:


Possibly you want to bind the above lambda expression to (the car or
cdr of) bbdb-mua-update-interactive-p.

I tried adding it to both the car and cdr and sending a message, no
mua in *Messages* so it didn't get called :(

I have an old bbdb addon package:
,
| ;;; moy-bbdb.el --- This file allows to add recipients of outgoing 
| ;; mails in BBDB from gnus (and maybe some other mailers ?). 
| 
| ;; Copyright (C) 2002  Free Software Foundation, Inc.
| 
| ;; Author: Matthieu Moy matthieu@imag.fr
`

Which does precisely what you want. I never knew whether it made its way
into bbdb-3. It seems not.

If you want I can send it to you off-list.


Uwe Brauer 


smime.p7s
Description: S/MIME cryptographic signature
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: BBDB anniversaries in the calendar/diary

2013-11-30 Thread Uwe Brauer
 Roland == Roland Winkler wink...@gnu.org writes:

On Fri Nov 29 2013 Uwe Brauer wrote:


Exactly. - Your screenshot is from Xemacs?  That could explain the
difference.  I do not know anything about it.

Yes, 21.4.X or 21.5.33.


smime.p7s
Description: S/MIME cryptographic signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: BBDB anniversaries in the calendar/diary

2013-11-28 Thread Uwe Brauer
 Roland == Roland Winkler wink...@gnu.org writes:

On Wed Nov 27 2013 Joseph Mingrone wrote:
The only piece missing, from my perspective, is that these days
aren't marked in the calendar like they would be for an equivalent
anniversary created in the diary.  Am I missing a function that
could be added to a calendar hook to have these BBDB anniversaries
mark the calendar?

I still do not understand, 

I use 
(require 'bbdb-anniv)
(add-hook 'list-diary-entries-hook #'bbdb-include-anniversaries)

In my 2.35 bbdb version and I do see the anniversaries marked in the
calendar. Are you saying this is not possible in vs 3?

Uwe Brauer


smime.p7s
Description: S/MIME cryptographic signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: BBDB anniversaries in the calendar/diary

2013-11-26 Thread Uwe Brauer
 Joseph == Joseph Mingrone j...@ftfl.ca writes:

It's useful being able to have BBDB anniversaries show up in the Org
agenda following section 10.3.1 of the Org manual.  The only problem
with putting the anniversaries in BBDB instead of the diary is that the
dates aren't marked in the calendar and don't show up the diary.  Is
there away to make the calendar/diary aware of anniversaries in BBDB?

Yes, such a functionality was implemented by Robert Fenk, I still have
his pkg. However I have only tested in 2.35 and cannot guarantee that it
will work in vs 3. If you want it I can send it to you. However this is
only for the simple diary/ccalendar, not for org-agenda etc.

Uwe Brauer 


smime.p7s
Description: S/MIME cryptographic signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: what function in bbdb v3 replaces bbdb-record-getprop from bbdb v2?

2013-10-08 Thread Uwe Brauer
 Gijs == Gijs Hillenius g...@hillenius.net writes:


2) bbdb-search-simple - bbdb-message-search

3) bbdb-extract-field-value - bbdb-message-header

4) bbdb-record-getprop - bbdb-record-field 

However my test result is that it does not work. I get the same 

nil

that I got when using bbdb-record-field in bbdb-pgp.el

Coincidence, or not? It is likely just me. I'm still finding my way
around edebug..




The test record in .bbbd now is

Test Name
   mail: t...@example.org
   pgp-mail: sign
  notes: test address
encrypt: pgp


Please try out

 encrypt: smime

Just in case

Uwe 


smime.p7s
Description: S/MIME cryptographic signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: what function in bbdb v3 replaces bbdb-record-getprop from bbdb v2?

2013-10-06 Thread Uwe Brauer
 Gijs == Gijs Hillenius g...@hillenius.net writes:

Hi

I'm trying to update bbdb-pgp.el from Bbdb version 2, so that it
will work with Bbdb version 3.

I have never heard of this package and I just tried it out and find some
issues with Xemacs. 

Here is a similar code I wrote up some time ago. It includes also smime,
which I find an important alternative to pgp.

Uwe Brauer 




bbdbadapt-encrypt.el
Description: application/emacs-lisp


smime.p7s
Description: S/MIME cryptographic signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: BBDB V3 visibility

2012-03-04 Thread Uwe Brauer
 On Sun, 04 Mar 2012 08:07:06 -0800, Mark Diekhans ma...@kermodei.com wrote:

Very impressive with how the development of BBDB V3 is coming
along nicely.  Great work!

However, to anyone not on this list, the existence of the
version 3 development is rather well hidden.
I think a list of new features would be good thing.

As Roland pointed out right from the beginning v3 is
incompatible with earlier versions in many aspects, which
made me (still) hesitate to upgrade. 

A list of new features would be very helpful since I cannot
see from the mails why I should upgrade.[1]

Uwe Brauer 

Footnotes:
[1]  to give a trivial example: a gnus introduced imap
 support that was a very strong reason to upgrade.



--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: (X)emacs and bbdb with mail

2011-07-01 Thread Uwe Brauer
 Regarding (X)emacs and bbdb with mail; Michael ber...@opensuse.us adds:

newbie alert!!!  :)
I have been a long time user of mutt and abook. However, I now
desperately need something similar to use with openbsd/linux and
windows!
A number of years ago, I used Xemacs and VM, but didn't know about bbdb.

Well I used for a very short period of time, elm, then pine
before switching to Xemacs+vm+bbdb.

Bbdb is relatively easy, especially if you use 
bbdb/gnus-show-sender
bbdb/gnus-show-all-recipients
which add automatically adresses of incoming mails to your
bbdb data base 
and 
moy-bbdb using.
(add-hook 'message-send-hook 'bbdb/send-hook) 
for doing the  same for your outgoing email.


Xemacs ships already various mail clients and bbdb, however
it is bbdb 2.35 which is incompatible with bbdb vs = 3,
Backwards compatibility was deliberately broken. But on the
other hand development was frozen for many years.

I'm curious if (X)emacs, some mail client, and bbdb would work for the
3 different systems.

All will run wherever (X)emacs run.

Now the mail client is more difficult. Vm worked wonderfully
when workstations where around and the email was physically
stored there. Today we all use imap or pop 3 mail server.
VM imap support  was restricted for many years and terrible
slow at least  till version 7.01. So I switched years ago to
gnus.

However recently development has restarted and it is
announced to have improved imap support. I cannot judge.

An alternative is to run an imap server on or Laptop or a PC
and use offlineimap to synchonize it (a much better solution
in my eyes then using fetchmail.) Then vm should be fine,
but still I have not tested it.

The alternatives are

-  gnus, which has the advantage of being a mail and
   news reader. It is most likely one of the most
   complex lisp packages around, it is highly
   configurable, its imap support is excellent. But it
   has a certain learning curve, this is true


-  Wanderlust, also  a news and email client but more
   hm standard. I gave it a try but since I already had
   written quite a bit of addons to gnus I did not want
   to switch again. You should have a look.

Since I don't know anything about abook I cannot help you on
this issue.

Uwe Brauer 


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB beginners guide?

2010-11-03 Thread Uwe Brauer
 Regarding Re: BBDB beginners guide?; Roland Winkler wink...@gnu.org adds:


I believe that these things cannot be seen independently. I believe
that a main reason why BBDB did not evolve anymore for quite some
time was related to the fact that its code had reached a stage that
made it very difficult for anyone to make any changes to it.
Initially, when I started with this project, I tried to keep the
code more backward compatible. Yet at some point, I realized that I
would not get anywhere with my attempts, unless I took more drastic
steps, i.e., the internals of BBDB have changed significantly.

I can believe that.

Well in that case defalias should be used for backward
compatibility. 

When my updates of BBDB were in a pre-alpha stage and I
did not yet have a detailed roadmap where they would
take me, I thought that there was really not much of a
point trying to continuously (at each intermediate
stage) preserve backward compatibility when it would
have been possible.

Now that the new code has reached a more mature stage,
it could make sense to look over it once more for
things like defaliases.  (Yet this might require
checking things more carefully, as I also tried to make
the behavior of BBDB more consistent both with respect
to differents parts of BBDB as well as compared with
other packages of emacs.)

I think this is a very important issue. As I said I had not
the time of even trying it out. But  now that I know that I
have to check all sort of variables and dig into
documentation I somehow hesitate to try.

Bbdb is very mature and may be long time users like me feel
the same way but I don't know for sure. 

Just out of curiosity what happened with the code I wrote
(namely some splitting functionality for gnus, and I think
also my selection of the ispell dictionary based on bbdb.)
and Wyder patched in, did you rewrite the code, did you
deleted it?

Uwe 


--
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB beginners guide?

2010-11-03 Thread Uwe Brauer
 Regarding Re: BBDB beginners guide?; Roland Winkler wink...@gnu.org adds:


I was just looking at these things once more, and I think that
Johnny's original request provides a good example for why I did
these changes. Johnny asked about the variable bbdb-add-mails in
BBDB 3.XX. In BBDB 2.XX this was called bbdb-always-add-addresses.
Why was the old name very confusing? Because the core functions of
BBDB called email addresses net, while address was used for
snail mail addresses. Yet (later?) add-ons to BBDB 2.XX also used
mail, email and address for this purpose.

In BBDB 3.XX I tried to use consistently address for snail mail
addresses and mail for email addresses.

Right it provides a good example but also for my point.

Although I may find your convention logical, I don't
understand why you can't just keep the name of the old
variable and change things the way you find convenient. I
use bbdb-always-add-addresses variable so when I will try
out 3.X I suppose I will receive an error message and will
not have a direct idea which substitute to use. If you had
kept the name abd may be changing its doc string things
would be much more compatible.

Uwe 


--
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB beginners guide?

2010-10-30 Thread Uwe Brauer
 Regarding Re: BBDB beginners guide?; Johnny yggdra...@gmx.co.uk adds:

Ok, I have realised that the BBDB 2.35 documentation works ok and using
'C-h a', 'C-h v' goes a long way. However, I am trying to make BBDB stop
asking me to add mail addresses. I found:

bbdb-add-address(es) in the online documentation and set this to nil or
'never.


Here is my setting: (still using 2.35 with Robert Fenks
extensions)
(require 'bbdb)
(setq bbdb-use-pop-up nil   
  bbdb-completion-display-record t)



(add-hook 'mail-setup-hook 'bbdb-define-all-aliases) 
(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases) 
(add-hook 'wl-mail-setup-hook 'bbdb-define-all-aliases) 

(setq bbdb-quiet-about-name-mismatches t) 
;; that is useful since some mail clients don't deal with
;; NON ASCII chars in the same way. So Sometimes you receive
;; José sometims Jose 




(setq  bbdb-send-mail-style 'gnus)  ;chance that 
(setq bbdb-dwim-net-address-allow-redundancy t)
(autoload 'bbdb/vm-auto-add-label bbdb-vm Run VM major mode on a buffer nil)

(add-hook 'bbdb-notice-hook 'bbdb/vm-auto-add-label)



(setq bbdb-complete-name-allow-cycling t)


(bbdb-initialize 'gnus 'message)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus) 

(require 'bbdb-anniv)
(add-hook 'list-diary-entries-hook #'bbdb-include-anniversaries)
(require 'bbdb-rf)

In this setting every new mail (even spam) will add an entry
to the BBDB (I once reached 3000 entries)
that is where bbdb-expire comes in handy


(require 'bbdb-expire)


(setq bbdb-expire-this-old 7) ; all bbdb entries older than
7 days will be deleted, 

The only exceptions are entries with have the following fields.

(bbdb-expire-field-foo-p 'mail-alias)
(bbdb-expire-field-foo-p 'vm-folder)
(bbdb-expire-field-foo-p 'vm-virtual)
(bbdb-expire-field-foo-p 'tel)
(bbdb-expire-field-foo-p 'news) 
(bbdb-expire-field-foo-p 'signature)
(bbdb-expire-field-foo-p 'imap) ;Version:1.111
(bbdb-expire-field-foo-p 'mail-hierarchy) ;Version:1.112
(bbdb-expire-field-foo-p 'birthday)
(bbdb-expire-field-foo-p 'face) 
(bbdb-expire-field-foo-p 'www)  

(setq bbdb-expire-preservation-functions
 '(bbdb-expire-field-permanent-p
   bbdb-expire-field-mail-alias-p
   bbdb-expire-field-vm-folder-p
   bbdb-expire-field-vm-virtual-p
   bbdb-expire-field-signature-p
   bbdb-expire-field-tel-p
   bbdb-expire-field-imap-p 
   bbdb-expire-field-mail-hierarchy-p 
   bbdb-expire-field-face-p 
   bbdb-expire-field-birthday-p
   bbdb-expire-field-www-p  
   bbdb-expire-field-news-p 
   bbdb-expire-field-notes-p))

(bbdb-expire-initialize)


Another  extremely useful pkg is moy-bbdb since it adds an
entry one a message is sent (and had no bbdb entry)

(require 'moy-bbdb)
(autoload 'bbdb/send-hook moy-bbdb 
   Function to be added to `message-send-hook' to notice records when
   sending messages t)
 
(add-hook 'message-send-hook 'bbdb/send-hook) ; If you use Gnus

(add-hook 'mail-send-hook 'bbdb/send-hook) ; For other mailers
; (VM, Rmail)

I also use the gnus splitting method and split messages
according to their bbdb entry (I think this code is included
in the official bbdb pkg)
You can then use sigadapt which inserts signatures according
bbdb entries.

I used that code and have extension for adding gcc fields
according to the bbdb entries and set also the ispell
dictionary according to a bbdb entry called ispell-dict.

If you are interested I can send you details.

Uwe Brauer 


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB beginners guide?

2010-10-30 Thread Uwe Brauer
 Regarding Re: BBDB beginners guide?; Bruno Tavernier 
 tavernier.br...@gmail.com adds:
Hi Bruno,

CC: To Roland
Hello Uwe,

First of all I did not mean to attack you, sorry if I have
caused that impression.


From bbdb home page it appears the code did not evolve
for a long time (Jan 2007).

That is correct. (Same was true for VM)

I think Roland wrote bbbd 3.0 with the idea to remove
some crufts, enhance the clarity of the code
(function's description, etc.) 

So far so good, I appreciate that effort

and use more meaningful names.

This, in my opinion, is a very bad idea.
Taste is subjective and once names are chosen they become  a
convention. To break backward compatibility deliberately has
no benefit I can think off. 


From my point of view he managed to do it well. (I am
glad to see the project with a maintainer).


So do I.

Also, I think that only a few variables were
changed. 
Well in that case defalias should be used for backward
compatibility. 

Updating my conf was not much of a big deal -
I am not an emacs old timer, though. I don't have
strong habits yet. ;-)

Well I am using it for almost 20 years. It is not the habit
it is backward compatibility which bothers me.





Regards

Uwe Brauer



--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: prblms: bbdb-define-all-aliases and local-abbrev-table

2010-09-07 Thread Uwe Brauer
 On Mon, 06 Sep 2010 16:33:14 +0200, Uwe Brauer o...@mat.ucm.es wrote:


(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases)


I found (an ugly) work around:
After having expand the mail alias, I have to 
 (setq mail-aliases nil) 
in order that my code works.

Problem is of course if you later on want to add message-goto-cc or
something like this the mail-aliases will not be expanded so
you should advice these functions.

Uwe Brauer 


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


prblms: bbdb-define-all-aliases and local-abbrev-table

2010-09-06 Thread Uwe Brauer

Hello

A while ago I wrote a hack which is a multi language
enhancement of the flyspell abbrev mechanism.

The idea is to have for different languages different minor
modes with different local-abbrev-table(s).

This works fine for all mayor mode I have checked and it
even works for message (or gnus-message)-mode) as long 
as  bbdb-define-all-aliases is *not* involved.

Once I use  bbdb-define-all-aliases say via 

(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases)


Then the following strange things happen:

-  once I call gnus-summary-post-news  then
   local-abbrev-table is set to  

Value: [ash* matlist


That seems to me some table associated with the bbdb
entries. Note that C-h v local-abbrev-table does not display
the entries as they are shown via edit-abbrevs
 
I now turn on say british-minor-mode. It seems that the 
local-abbrev-table is set correctly to the value of that
minor mode.

However abbrevs which are typed below --text follows this line--
are expanded according to the 
text-mode-abbrev-table! Even when I explicitly change  again
and again the minor mode and the local-abbrev-table.

Also all corrections flyspell performs are saved in the 
text-mode-abbrev-table and not in the corresponding minor
mode table.

I say this again: if I don't set 
(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases)
then everything works as expected.

Can somebody please enlighten me?!


thanks


Uwe Brauer 


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdbadapt-gcc

2009-03-17 Thread Uwe Brauer

 I wanted to have a gcc field added to my outgoing messages which is
 based on a relevant bbdb entry. Since I use an imap server it
 Here is an example, I use an imap server, and the outgoing mail to
 the bbdb mailing list should end in the folder BBDB,  that is
 nnimap+UCM:BBDB.
 This is what the code does. The variable
 bbdb-yank-prefix controls the prefix nnimap+UCM: and the field for
 the gcc is called  imap. You can of course change this.

 The starting point was some code provided to me by Robert
 Fenk. However the problem with that code was that it took the gcc
 field from some entry of the BBDB buffer and if there was more than
 on entry often the wrong string was inserted. So I had to use code
 which extracted the correct BBDB entry from the TO field .  I
 succeeded by using to a large extend code from sigadapt.el written
 by by C.Queinnec (University of Paris 6  INRIA)

Uwe Brauer  



bbdbadapt-gcc.el
Description: application/emacs-lisp
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

bbdbadapt-ispell.el

2009-03-17 Thread Uwe Brauer

 I wanted to have the ispell dict selected 
 based on a relevant bbdb entry which I call ispell-dict.
 This is what the code does. 

 The starting point was some code provided to me by Robert
 Fenk. However the problem with that code was that it took the gcc
 field from some entry of the BBDB buffer and if there was more than
 on entry often the wrong string was inserted. So I had to use code
 which extracted the correct BBDB entry from the TO field .  I
 succeeded by using to a large extend code from sigadapt.el written
 by by C.Queinnec (University of Paris 6  INRIA)
 



bbdbadapt-ispell.el
Description: application/emacs-lisp
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

*BBDB* buffer shows all expanded alias

2009-03-15 Thread Uwe Brauer
Hello

I find the following slightly annoying:

I send a mail to Joe1
then I send a mail to Joe2

Switching to the *BBDB* buffer both entries are displayed.

Is there a way that only the last entry is displayed?

thanks

Uwe Brauer 


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


show creating and mod time in the entry

2009-03-14 Thread Uwe Brauer

That must be a very elementary thing, I can't find it in the doc.

How can I display the creating and last access time of a given entry.

Uwe Brauer 


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb abbrev and wanderlust

2009-02-11 Thread Uwe Brauer
Hello

I am thinking to switch from gnus to wanderlust since the imap backend
is so much faster. However it seems impossible to use abbrev of
mail-alias the way I am used to it when using message mode and (ordinary
or vm) mail mode.

Is there any interface missing?


Uwe Brauer 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb abbrev and wanderlust

2009-02-11 Thread Uwe Brauer
 Leo == Leo  sdl@gmail.com writes:

On 2009-02-11 13:21 +, Uwe Brauer wrote:
I am thinking to switch from gnus to wanderlust since the imap backend
is so much faster.

Sorry not related to your question. But do you know why it is faster?
Can Gnus be improved?

I don't know, the whole imap backend is entirely different. 

I should also add that this is for Xemacs. Gnus in GNU emacs is a little
faster than in xemacs or let me better say does not get stacked this
often.
Maybe I ask in the gnus list.

Uwe 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


set ispell dict via bbdb field

2008-10-27 Thread Uwe Brauer
Hello

I have a lisp function which scans the header and selects the
appropriate ispell dict according to header. However address like
.com are of course problematic since it could be an address in the US,
Europe etc.

So I thought of adding a bbdb field say, ispell, which would then setup
the ispell dict, and if necessary other things such as the (Mule) input
mode etc.

I looked a little bit in package such as sigadapt.el but I am afraid
this is too much for my lisp knowledge.

If somebody comes up with an idea I would be grateful.

regards

Uwe Brauer 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: change name annoyance

2008-04-21 Thread Uwe Brauer
 Ted == Ted Zlatanov [EMAIL PROTECTED] writes:

On Sat, 19 Apr 2008 16:08:20 +0900 William Xu [EMAIL PROTECTED] wrote: 
   WX Say my full address is: Foo Bar [EMAIL PROTECTED].  If someone send 
mail
   WX using [EMAIL PROTECTED], then in Gnus, it asks me *every time* whether 
to
   WX Change name Foo Bar to abc?  when I open that mail.  Could this be
   WX improved? Like providing an option, bbdb-never-bother-updating-name-p.  

Seconded, especially for mailing lists whose name gets changed by people
when they reply.  Also the Jan Djarv bug is related, where Jan's BBDB
entry doesn't match his name so I got the following name entries in my
BBDB file when I answer `y' to the update question:

Maybe I miss the point but what's about

(setq bbdb-quiet-about-name-mismatches t) 

Uwe 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: which function is used when hitting space?

2008-02-25 Thread Uwe Brauer
 Tassilo == Tassilo Horn [EMAIL PROTECTED] writes:

Uwe Brauer [EMAIL PROTECTED] writes:
Hi Uwe,

   (add-hook 'bbdb-mail-abbrev-hook
 (lambda (alias rec) (sigadapt-insert-signature)))

Thanks, that works in the sense that no error occurs however it does
not work in the sense that the function is not executed.

Ups, my bad.  Thi hook is called `bbdb-mail-abbrev-expand-hook'.

That worked, THANKS

Uwe 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: which function is used when hitting space?

2008-02-23 Thread Uwe Brauer
 Tassilo == Tassilo Horn [EMAIL PROTECTED] writes:
Hi Tassilo,

The error is because the function you added to that hook
(`sigadapt-insert-signature') has a different number of arguments than
the functions in `bbdb-mail-abbrev-expand-hook' are expected to have.  I
don't know `sigadapt-insert-signature', but if it has zero args, you'd
do something like that:

Right sigadapt-insert-signature has zero args

  (add-hook 'bbdb-mail-abbrev-hook
(lambda (alias rec) (sigadapt-insert-signature)))

Thanks, that works in the sense that no error occurs however it does
not work in the sense that the function is not executed.

For example joe, SPC-- [EMAIL PROTECTED]


but the corresponding  signature does not get inserted. However when I now
interactive call sigadapt-insert-signature then the corresponding
signature gets inserted. I don't know how to debug this with edebug,
since as you said some C code gets involved.

Uwe 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: which function is used when hitting space?

2008-02-22 Thread Uwe Brauer
 Tassilo == Tassilo Horn [EMAIL PROTECTED] writes:
Hi Tassilo,

I see.  Abbrev-expansion in done somewhere in the C code, so it's
a bit hairy.  But maybe you could use
That is what I was expecting .


,[ C-h v bbdb-mail-abbrev-expand-hook RET ]
| bbdb-mail-abbrev-expand-hook is a variable defined in `bbdb-com.el'.
| Its value is nil
| 
| Documentation:
| *Hook or hooks invoked each time an alias is expanded.
| The hook is called with two arguments the alias and the list of records.
`

for your purpose?


Unfortunately this returns an error which I attach

Uwe 



sig-bug
Description: Binary data
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: Newsgroups alias

2008-01-30 Thread Uwe Brauer
 Reiner == Reiner Steib [EMAIL PROTECTED] writes:


However sometimes I want to send a mail to a newsgroup and I am not in
that group so this does not work. 

WFM.  Add a Newsgroups: header (e.g. `C-c C-f C-n'), then hitting
TAB in the Newsgroups line expands the group (at least if Gnus knows
about it, e.g. if your subscribed to it):

Newsgroups: gmane.emacs.bb[TAB] - Newsgroups: gmane.emacs.bbdb.user


Ok, I have bound TAB to pabbrev-expan-maybe.
On a TO: field SPACE expands bbdb alias; while  on a Newsgroups fields is
does not.

So I thought of binding shift tab to 
  (local-set-key [(iso-left-tab)] 'message-expand-group)


However that seems not to work I obtain an error 


--8schnipp-8---
Debugger entered--Lisp error: (wrong-type-argument commandp 
message-expand-group)
  call-interactively(message-expand-group) recursive-edit()
  byte-code(... [buffer-read-only noninteractive debugger-buffer
  middlestart debugger-args debugger-batch-max-lines pop-to-buffer
  debugger-mode debugger-setup-buffer count-lines 2 ...\n message
  buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable
   nil recursive-edit standard-output] 3) debug(error
  (wrong-type-argument commandp message-expand-group))
  call-interactively(message-expand-group)
--8schnapp-8---

What is the correct way to bind this.

Uwe 


pgp420ynatWOt.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: Newsgroups alias

2008-01-29 Thread Uwe Brauer
 Reiner == Reiner Steib [EMAIL PROTECTED] writes:


Can that be easily done with bbdb.

Why not use Gnus' expansion, see `message-completion-alist' and
`message-expand-group'?

Well if gnus is in the summary of a certain newsgroup
gnus-summary-post-news automatically inserts the correct Newsgroups
name.

However sometimes I want to send a mail to a newsgroup and I am not in
that group so this does not work. 

As for your recommendation the first variable gives

--8schnipp-8---
`message-completion-alist' is a variable declared in Lisp.
  -- loaded from message


Value: ((^\\(Newsgroups\\|Followup-To\\|Posted-To\\|Gcc\\):
. message-expand-group) (^\\(Resent-\\)?\\(To\\|B?Cc\\):
. message-expand-name)
(^\\(Reply-To\\|From\\|Mail-Followup-To\\|Mail-Copies-To\\):
. message-expand-name)
(^\\(Disposition-Notification-To\\|Return-Receipt-To\\):
. message-expand-name)) 
--8schnapp-8---


Now I use 
(add-hook 'mail-setup-hook 'bbdb-define-all-aliases) 
(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases) ;Version:1.35
(add-hook 'message-setup-hook 'bbdb-define-all-aliases) ;Version:1.35

Which expands an alias hitting space. 

Now how am I suppose to use message-expand-group? It is not an
interactive function, put it in some hook?

Uwe 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Newsgroups alias

2008-01-25 Thread Uwe Brauer
Hello

Sometimes I would like to post to 2 newsgroups at the same time (I
know this is not very recommend). But then I don't remember the extact
name of newsgroup, so I would like to insert an alias/abbrev in the
newsgroups field which gets expanded. 

Can that be easily done with bbdb.

Uwe Brauer 



 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


stop bbdb from asking (was: Change name Söme Näme to Söme Näme?)

2007-11-23 Thread Uwe Brauer
 Tassilo == Tassilo Horn [EMAIL PROTECTED] writes:

Is there a way to stop bbdb asking those questions?  Maybe by
converting the strings to some other encoding system like utf-8
before the comparison?

Although I do not suffer your problem, I do receive email from the
same author sometimes using slightly different from, (because they use
different mail client). The address is recognised by bbdb  but I am
all the time asked to accept the variation as a AKA. If I receive  next time
a mail with slightly other header I am again asked. So I find this
annoying. Can't bbdb be stopped from asking this questions?

thanks

Uwe Brauer 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking

2007-11-23 Thread Uwe Brauer

 Uwe == Uwe Brauer [EMAIL PROTECTED] writes:
 Can't bbdb be stopped from asking this questions?

Well the Changlog tells me 

  Stop BBDB from adding AKAs when you tell it you don't want them.

But it does not say which variable to set.

Uwe Brauer


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking

2007-11-23 Thread Uwe Brauer
 msteffen == msteffen  [EMAIL PROTECTED] writes:

Tassilo == Tassilo Horn [EMAIL PROTECTED] writes:

 Is there a way to stop bbdb asking those questions?  Maybe by
 converting the strings to some other encoding system like utf-8
 before the comparison?

Although I do not suffer your problem, I do receive email from the

I suffer the problem more or less in the form the original
posting  described. It concerned (certain) names  with
special characters, and I had the impression, the reason
was not that it was one time encoded in latin-1 and the
next time some other way; it was basically the same name (just
a sequence of emails from the same person in the same folder).


Now that you say this, I think I do suffer from the same problem,
since I receive Spanish names, they are sometimes coded as latin-1, or as 
UTF-8 or as god knows what.


Uwe Brauer 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: mailing list alias like in mailrc

2006-11-22 Thread Uwe Brauer
   == WJCarpenter  [EMAIL PROTECTED] writes:

Does anybody know about such a mailrc like feature.

 Below is some code that I have been using for this for a long,
 long time.  IIRC, I wrote it, but it could also be that I wrote
 something like it and then threw mine away when someone else did
 it better.  Sorry for the foggy memories, and sorry if someone
 reading this wrote this code that I swiped without attribution.

 This works for me in my hacked up BBDB 2.34 (does anybody using
 BBDB not have a hacked up version? :-) I think the comments in
 the code explain it pretty well.

Thanks for that code. I am not sure that I have a hacked up version of
bbdb, but if then not the same as you have, for your code did not
work.
First when I byte compile I obtain 
  ** the function define-mail-abbrev is not known to be defined.
Looking at the code it seems that the 
(if (fboundp 'define-mail-abbrev)
does not harm (I am on XEmacs 21.4.19 no mule).
However when I try to use your code by executing 
bbdb-define-all-mail-aliases, then I 2 type of errors depending whether
I have defined the mail-hierarchy' field or not. I will send you these
backtrace in a private mail.

Thanks and regards

Uwe 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: in gnus: add gcc field according to a BBDB entry (field)

2006-05-26 Thread Uwe Brauer
 Robert == Robert Widhopf-Fenk [EMAIL PROTECTED] writes:

   Robert On Thursday, May 25, 2006 at 13:00:18, Uwe Brauer wrote:

I played a little around, but it seems not that trivial.

   Robert Why?

This was just an example.

   Robert Where does the relevant record come from?

   Robert Look at:
   Robert - bbdb-yank-addresses which will tell you how to get records
   Robert   from a BBDB buffer
   Robert - bbdb-record-getprop is used to extract a field from a record 
   Robert - bbdb-complete-name-hooks / bbdb-mail-abbrev-expand-hook
   Robert   might be interesting in order to hook your magic
   Robert - message-insert-to / message-carefully-insert-headers
   Robert   should be used for inserting

   RWF The following defun is a start ...
  
   RWF (defun bbdb-yank-ccc ()
   RWF (interactive)
   RWF (let ((ccc (save-excursion
   RWF (set-buffer bbdb-buffer-name)
   RWF (and bbdb-records
   RWF (car bbdb-records)
   RWF (bbdb-record-getprop (caar bbdb-records) 'gnus-folder)
   RWF (if ccc
   RWF (message-carefully-insert-headers (list (cons 'Ccc ccc))

   RWF It is not that complicated, isn't?

Well right, but the problem is: it does not work. 

I debugged your function and
the problem is that   

 (bbdb-record-getprop (caar bbdb-records) 'gnus-folder)
returns nil for a given bbdb entry which has this field. 

I tried other fields, like imap (which I use for other purposes) that
is 
 (bbdb-record-getprop (caar bbdb-records) 'imap)

 but the  same, it returns nil. I tried it with the net field and then I got
 (bbdb-record-getprop (caar bbdb-records) 'net)
bbdb: cannot access the net field this way

So there is something wrong?

Uwe 



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Problem loc

2006-05-26 Thread Uwe Brauer
 RF == Robert Widhopf-Fenk [EMAIL PROTECTED] writes:


But only the simple email address causes the problems I described.

[EMAIL PROTECTED]


Can please somebody confirm this?

   RF Please try the attached patch which fixes this for me.

Hello 

It worked after restarting xemacs. Thanks for that patch

   RF If it gets a +1 from Waider I try commit ;-)

Waider please apply!


Uwe 



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Problem loc

2006-05-26 Thread Uwe Brauer
 Robert == Robert Widhopf-Fenk [EMAIL PROTECTED] writes:
 
 But only the simple email address causes the problems I described.
 
 [EMAIL PROTECTED]
 
 
 Can please somebody confirm this?

Please try the attached patch which fixes this for me.

Snarfing was done in the buffer  *BBDB snarf* which was
actually empty when entering the while loop you identified
and thus the was noch char at point ...

If it gets a +1 from Waider I try commit ;-)

   Robert It is in CVS now.

   Robert Robert
there is a problem with the patch, it works well in a mail buffer, but
take say a lisp buffer and mark the email address of the author
 again [EMAIL PROTECTED]
and I obtain an error, which I attach:

Another point bbdb-snarf for emails at point still do not work?

Uwe Brauer



snarf-bugtrace
Description: Binary data


in gnus: add gcc field according to a BBDB entry (field)

2006-05-25 Thread Uwe Brauer
Hello

Does anybody know about a function which would insert a gcc field,
according to a relevant BBDB entry?
Example the entry 
gnus-folder: nnimap+myserverimap.here.net:Gnus
would insert
Ccc: nnimap+myserverimap.here.net:Gnus

I played a little around, but it seems not that trivial.

Thanks 

Uwe Brauer



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Problem loc (was: edebug-defun bbdb-snarf-region: stuck)

2006-05-04 Thread Uwe Brauer
 APA == Adrian Aichner [EMAIL PROTECTED] writes:


(while (/= (char-syntax (char-after (point))) ?w)
(forward-line 1))

Anybody has an idea?

   APA Uwe, what we need is a test-case starting with
   APA xemacs -vanilla

   APA Not very surprising, is it?

Hi Adrian,

I think I found the culprit. It has nothing to do with xemacs -vanilla
or not, since it appears with both xemacs and xemacs -vanilla.

The culprit is the region on which I want to apply bbdb-snarf-region.

The following works without trouble:

John Doe [EMAIL PROTECTED]

But only the simple email address causes the problems I described.

[EMAIL PROTECTED]


Can please somebody confirm this?

I think to have the possibility to bbdb-snarf-region on a simple email
address is important! I sometimes get addresses just in this
form. Also goto-address-at-point works like this.

I tried to set up a simplefied version of bbdb-snarf-region,
bbdb-snarf-region-simple so that it would work with the stand alone
email address, but I failed.

Uwe Brauer.



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


edebug-defun bbdb-snarf-region: stuck (was: add email at point to bbdb)

2006-04-27 Thread Uwe Brauer
 Dave == Dave Goldberg [EMAIL PROTECTED] writes:

 On Tue, 25 Apr 2006 11:57:02 +0200, Uwe Brauer
 [EMAIL PROTECTED] said: 
 APA == Adrian Aichner [EMAIL PROTECTED] writes:
   APA Uwe Brauer [EMAIL PROTECTED] writes:
Hi Adrian

   APA Hi Uwe, have you tried bbdb-snarf or bbdb-snarf-region.
Well no, thanks for pointing this out to be. I just tried out. It
seems not  work in a buffer which is not in mail mode! Even worse
xemacs freezes! Can you confirm that?

   Dave I use bbdb-snarf-region all the time in all types of buffers using
   Dave XEmacs 21.4.19 (and have been doing so for many earlier versions) with
   Dave no such problems.

Thanks for your reply
Is this mule or non mule? I am also using 21.4.19 and I edebuged just 
bbdb-snarf-region:
in this loop xemacs get stuck forever:


(while (/= (char-syntax (char-after (point))) ?w)
(forward-line 1))

Anybody has an idea?

Thanks 

Uwe Brauer



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


add email at point to bbdb

2006-03-16 Thread Uwe Brauer
Hello

Does anybody know about a function which would allow me to add an
email address at point to the bbdb data base, something like
goto-address-at-point. 

Thanks 


Uwe Brauer




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: gnus-summary-limit-to-bbdb: how to display all bbdb entries

2005-08-10 Thread Uwe Brauer

   == Thomas Gerds [EMAIL PROTECTED] writes:

 maybe i did not understand correctly but here is my interpretation
 of your question:

 (defun bbdb-list-names ()
   (let ((recs (bbdb-records))
   bbdb-name-list)
 (while recs
   (setq bbdb-name-list
   (cons (concat
  (bbdb-record-firstname (car recs))
   
  (bbdb-record-lastname (car recs)))
 bbdb-name-list))
   (setq recs (cdr recs)))
 bbdb-name-list))
thanks but how is this supposed to work?
I added the interactive option to your function and fired it up in an
ordinary or in an BBDB buffer it does not return anything.

What do I miss.

Uwe 



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: gnus-summary-limit-to-bbdb: how to display all bbdb entries

2005-08-10 Thread Uwe Brauer
   == Uwe Brauer [EMAIL PROTECTED] writes:

   == Thomas Gerds [EMAIL PROTECTED] writes:

maybe i did not understand correctly but here is my interpretation
of your question:

(defun bbdb-list-names ()

(eval-expression '(bbdb-list-names) nil)

Is your friend, sorry.




---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


gnus-summary-limit-to-bbdb: how to display all bbdb entries

2005-08-09 Thread Uwe Brauer
Hello

I would like to generalise the gnus-summary-limit-to-author function, 
to have a gnus-summary-limit-to-bbdb which would display only the
mails from people in my bbdb.

I am looking for a way to display as a list all names of my entries in
the bbdb, something like
Paul Smith
Bill Clinton
George Bush

Etc,

Does anybody know about such a function?

Thanks 

Uwe Brauer



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Updating BBDB on sending mail

2005-04-15 Thread Uwe Brauer
 fouvry == Frederik Fouvry [EMAIL PROTECTED] writes:

fouvry Hi,

fouvry This is a function to add mail addresses to BBDB when sending
fouvry mail.  Adding it to mail-send-hook should trigger it when the
fouvry mail is sent:

fouvry (add-hook 'mail-send-hook 'bbdb/sendmail-update-records)

Do you know about:
 moy-bbdb.el  


;; Author: Matthieu Moy [EMAIL PROTECTED]
;; Keywords: mail
;; Version: 1.3
;; The latest version should allways be availlable from
;; http://www-verimag.imag.fr/~moy/emacs/moy-bbdb.el

It this relevant to what your function does?

Uwe Brauer 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: nnimap-folder-list-from-bbdb almost

2005-02-25 Thread Uwe Brauer
 Ted == Ted Zlatanov [EMAIL PROTECTED] writes:

 
 Cheers,
 Waider. Here at BBDB, we also do Elisp Help...

Ted I advised Uwe to use Elisp macros to accomplish this on the ding list.
Ted It's a cleaner solution, I think, than inserting the data into the
Ted list from the outside, so to speak.

Ted Uwe: you should start  reading the Emacs Lisp manual (usually
Ted reachable with  C-h  i, then select  Elisp) now.You are
Ted definitely ready for it :)


Thanks, but here in Xemacs (21.4.16 no mule debian unstable) this does
not work. I might file a bug report. Or the thing is called
differently in Xemacs 

Uwe 





---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


suggestion for a new function

2005-02-25 Thread Uwe Brauer
Hello


I  will be bold and  ask after  some hours  of  testing to include the
following function into bbdb where ever you think it is appropriate. If
you, Waider, decide that this function will not be included, I will ask
in the gnus list.

Thank you both Ted and Waider

Uwe

--8schnipp-8---

(defun bbdb-nnimap-folder-list-from-bbdb ()
  Return a list of \( \From\ email-regexp imap-folder-name\) tuples
based on the contents of the bbdb.

The folder-name is  the  value  of  the  'imap attribute on  the  bbdb
record;  the email-regexp consists of  all the email addresses for the
bbdb record  concatenated with with  OR.  bbdb records without a 'imap
attribute are ignored.  
Here  is an example of a relevant BBDB entry:

Uwe Brauer
net: [EMAIL PROTECTED]
   imap: testimap


This function  uses  regexp-opt  to  generate  the email-regexp  which
automatically regexp-quotes  its arguments. Please  note: in oder that
this will   work with the nnimap-split-fancy   method you have  to use
macros, that is your setting will look like:

\(setq
 nnimap-split-rule  'nnimap-split-fancy
 nnimap-split-inbox \INBOX\
 nnimap-split-fancy
 `\(|
   ,@\(bbdb-nnimap-folder-list-from-bbdb\)
   ...
\)\)
Note that `\( is the backquote NOT the quote '\(. 

;(interactive)
  (let (;; the raw-notes attribute of a bbdb record
notes-attr
;; the value of the 'imap attribute of a bbdb record
folder-attr
;; strings to put before and after the folder-attr
(folder-prefix )
(folder-postfix )
;; a regexp matching all the email addresses from a bbdb record
email-regexp
;; the list of (folder email) tuples to return
new-elmnt-list
)
;; loop over the bbdb-records; if a imap attribute exists on
;; the record, generate a regexp matching all the email addresses
;; and add a tuple (folder email-regexp) to the new-elmnt-list
(dolist (record (bbdb-records))
  (setq notes-attr (bbdb-record-raw-notes record))
  (when (and (listp notes-attr)
 (setq folder-attr (cdr (assq 'imap 
notes-attr
(setq email-regexp (regexp-opt (mapcar 'downcase 
   (bbdb-record-net record
(unless (zerop (length email-regexp))
  (setq new-elmnt-list
(cons (list From email-regexp (concat folder-prefix
folder-attr folder-postfix)) 
  new-elmnt-list)
new-elmnt-list))

--8schnapp-8---



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: nnimap-folder-list-from-bbdb almost

2005-02-24 Thread Uwe Brauer
 Ronan == Ronan Waide [EMAIL PROTECTED] writes:

Ronan On February 23, [EMAIL PROTECTED] said:

Ronan you  want the (car ) or  (nth  0 )  of  that expression. So
Ronan  either modify the nnimap-folder-list-from-bbdb function so
Ronan that the last thing it does is to apply one of these
Ronan functions to whatever the function was already going to
Ronan return, or use (car (my:nnimap-folder-list-from-bbdb))

right, that is what I thought and tried and failed. Which shows that I
poorly understand the nnimap-split-fancy backend.
I try to find out 
Ronan in place of (my:nnimap-folder-list-from-bbdb)



Ronan Cheers,
Ronan Waider. Here at BBDB, we also do Elisp Help...
Right, true . Sorry

Uwe 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


nnimap-folder-list-from-bbdb almost

2005-02-23 Thread Uwe Brauer

Hello 

Some weeks ago I asked about a function which would generate a entry
in the nnimap-split-fancy method. This entry would be 
based on a relevant entry in the bbdb entry, in this example 
imap.

Now I digged out a function in google which almost does what I
want. See below.

However in generates a entry of the form



((From [EMAIL PROTECTED] testimap))
instead of
(From [EMAIL PROTECTED] testimap)

I debugged the function and it seems the problem is 
  (setq new-elmnt-list
(cons (list 


Which seems to cause the ((

Could anybody please give me a hint how to eliminate on of the
parenthesis.

Than I could just plug in that function into the gnus-splitting
method, like
 nnimap-split-fancy
 '(|
  (: my:nnimap-folder-list-from-bbdb)

Thanks




Uwe Brauer 
Here comes the function.



(defun my:nnimap-folder-list-from-bbdb ()
  Return a list of \(From  email-regexp folder-name\) tuples based on the
contents of the bbdb.

The folder-name is the value of the 'imap attribute on the bbdb
record; the email-regexp consists of all the email addresses for the
bbdb record concatenated with with OR.  bbdb records without a
'imap attribute are ignored.  This function uses regexp-opt to
generate the email-regexp which automatically regexp-quotes its
arguments.
;(interactive)
  (let (;; the raw-notes attribute of a bbdb record
notes-attr
;; the value of the 'imap attribute of a bbdb record
folder-attr
;; strings to put before and after the folder-attr
(folder-prefix )
(folder-postfix )
;; a regexp matching all the email addresses from a bbdb record
email-regexp
;; the list of (folder email) tuples to return
new-elmnt-list
)
;; loop over the bbdb-records; if a imap attribute exists on
;; the record, generate a regexp matching all the email addresses
;; and add a tuple (folder email-regexp) to the new-elmnt-list
(dolist (record (bbdb-records))
  (setq notes-attr (bbdb-record-raw-notes record))
  (when (and (listp notes-attr)
 (setq folder-attr (cdr (assq 'imap 
notes-attr
(setq email-regexp (regexp-opt (mapcar 'downcase 
   (bbdb-record-net record
(unless (zerop (length email-regexp))
  (setq new-elmnt-list
(cons (list From email-regexp (concat folder-prefix 
folder-attr folder-postfix))
  new-elmnt-list)
new-elmnt-list))



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb

2004-12-17 Thread Uwe Brauer
 Ted == Ted Zlatanov [EMAIL PROTECTED] writes:

Ted On Thu, 16 Dec 2004, [EMAIL PROTECTED] wrote:
  (bbdb-search-simple nil who)

Ted I tried to duplicate your bug but could not.2

Ted I added [EMAIL PROTECTED] to a BBDB entry.

Ted Then I   calledM-:(bbdb-search-simplenil
Ted [EMAIL PROTECTED]) and it brought up the correct
Ted entry.

Ted I  repeated with  [EMAIL PROTECTED] in  the BBDB
Ted and again the search for [EMAIL PROTECTED] worked.

Ted This seems to  be what you are reporting,  so maybe  you have
Ted something set up   differently.  First of   all, is  my  test
Ted correct?  Second,  are you running  the latest  BBDB?  Third,
Ted does the test fail for you?

Hi, 



-  I am running no gnus 0.3 (snapshot) and bbdb-2.35

- I switch the address  to be checked  to be my own, that  is
  easier  for testing,  so  I  tried
  (bbdb-search-simple nil [EMAIL PROTECTED])
  and the it turned correctly the entry

-  I did it again with
(bbdb-search-simple nil [EMAIL PROTECTED])
  and the it turned correctly the entry.
So far so good.

So I tried edebug-defun on spam-check-BBDB (I have not much
experience with this). So I send myself a couple of messages from
[EMAIL PROTECTED]
I use the simplify setting
(setq
 nnimap-split-rule  'nnimap-split-fancy 
 nnimap-split-inbox INBOX 
 nnimap-split-fancy  '(|
   (: spam-split)
   MAILBOX))

(setq spam-use-BBDB-exclusive  t)
(setq spam-use-BBDB t)

And indeed these messages end up in SPAM.

So when running the debugger, first everything goes smoothly, who
is correctly identified with  [EMAIL PROTECTED]
the problem start in the line
 (intern-soft who bbdb-cache) there for some reason
nil is returned!!!


Could you do a simple test? Send yourself messages from 
[EMAIL PROTECTED] 

And see whether with the above splitting it ends up in SPAM.

I will continue with the testing and would appreciate any help on
the edebug utility anyway.

Thanks

Uwe 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb

2004-12-17 Thread Uwe Brauer
 Ted == Ted Zlatanov [EMAIL PROTECTED] writes:

Ted On Thu, 16 Dec 2004, [EMAIL PROTECTED] wrote:
  (bbdb-search-simple nil who)
hi 

using edebug, I think the error occurs in this line

 (intern-soft who bbdb-cache))
for [EMAIL PROTECTED] the following gets evaluated.

(intern-soft who bbdb-cache))
^[EMAIL PROTECTED]
(intern-soft who bbdb-cache))
   [EMAIL PROTECTED] 0]  (the cache)
(intern-soft who bbdb-cache))
[EMAIL PROTECTED]
(intern-soft who bbdb-cache))
 ^([Uwe Brauer (Uwe Brauer)  (my bbdb entry)

now for 

[EMAIL PROTECTED]

(intern-soft who bbdb-cache))
^[EMAIL PROTECTED]
(intern-soft who bbdb-cache))
   [EMAIL PROTECTED] 0]  (the cache)
(intern-soft who bbdb-cache))
nil
(intern-soft who bbdb-cache))
 nil


Uwe 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb

2004-12-16 Thread Uwe Brauer

Hello
 (bbdb-search-simple nil who)
 
 (Bbdb/gnus-show-sender seem not to use this function.)

Ronan It does actually use this function, if you trace down the chain of
Ronan calls. However, I can't actually see offhand why it'd fail a
Ronan case-insensitive search. Can you set a debug breakpoint at
Ronan bbdb-search-simple (it's in bbdb.el) and give me a stack trace on a
Ronan failing address?

Hm, I think Ted is more qualified for doing this, Ted do you mind?

Ted Either that, or someone tell me what I'm doing wrong in the spam.el
Ted code :)

Ted Thanks
Ted Ted


Thanks


Uwe 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: possible bug in bbdb-search-simple: gnus, spam-split and bbdb

2004-12-16 Thread Uwe Brauer
 Ronan == Ronan Waide [EMAIL PROTECTED] writes:

Ronan On December 14, [EMAIL PROTECTED] said:
 (bbdb-search-simple nil who)
 
 (Bbdb/gnus-show-sender seem not to use this function.)

Ronan It does actually use this function, if you trace down the chain of
Ronan calls. However, I can't actually see offhand why it'd fail a
Ronan case-insensitive search. Can you set a debug breakpoint at
Ronan bbdb-search-simple (it's in bbdb.el) and give me a stack trace on a
Ronan failing address?

Hi 

I tried to use edebug-defun on spam-check-BBDB
I then made g to get new mail, and indeed the debugger 
went step by step, however I couldn't not produce any useful
backtrace,
Ted I think you really a much more suited for  this.


Thanks

Uwe 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


possible bug in bbdb-search-simple: gnus, spam-split and bbdb

2004-12-14 Thread Uwe Brauer

Hello


I am using gnus+bbdd+spam-split

As you may be know gnus comes with the nnimap-split-fancy backend that
allows to use bbdb as a white list.

A typical setting is:

(setq
 nnimap-split-rule  'nnimap-split-fancy 
 nnimap-split-inbox INBOX 
 nnimap-split-fancy  '(|
   (: spam-split)
   MAILBOX))

(setq spam-use-BBDB-exclusive  t)
(setq spam-use-BBDB t)

Now it turns out, that bbdb does not well distinguish between
capitalised and non capitalised letters before the @.


That is 
 That is
 
 [EMAIL PROTECTED]
 
 Will not be recognised, by  the bbdb based splitting method  (however
 when  applying  bbdb/gnus-show-sender   the   address  is   correctly
 associated with the bbdb entry) , even if I  put it explicitly in the
 bbdb database like this
 
 Net: [EMAIL PROTECTED]
 
 But 
 
 [EMAIL PROTECTED]
 
 Will be recognised either with 
 Net: [EMAIL PROTECTED]
 or
 Net: [EMAIL PROTECTED]
 
I discussed this with Ted Zlatanov, who actually maintains spam.el of
gnus and he told me that the bbdb based splitting method uses 

(bbdb-search-simple nil who)

(Bbdb/gnus-show-sender seem not to use this function.)

Now can the bbdb code changed such that the search is more
intelligent.

For me the problem is to get quite some people of my BBDB as false
positives this way.

Thanks

Uwe Brauer



Emacs  : XEmacs 21.4 (patch 15) Security Through Obscurity [Lucid] 
(i386-debian-linux) of Sat Oct 23 2004 on penell
Package: BBDB 2.35

current state:
==
(setq
 emacs-version 21.4 (patch 15) \Security Through Obscurity\ XEmacs Lucid
 bbdb-version-date $Date: 2003/01/31 13:00:56 $
 bbdb-file-format 6
 bbdb-no-duplicates-p nil
 bbdb-addresses-label-list '(Home Office Mobile Other)
 bbdb-after-change-hook '(bbdb/gnus-score-invalidate-alist)
 bbdb-after-read-db-hook nil
 bbdb-always-add-addresses nil
 bbdb-auto-notes-alist '((X-Face (.+ face 0 (quote replace)))
 (Face (.+ cface 0 (quote 
replace
 bbdb-auto-revert-p nil
 bbdb-canonicalize-net-hook nil
 bbdb-canonicalize-redundant-nets-p t
 bbdb-case-fold-search t
 bbdb-change-hook '(spam-clear-cache-BBDB bbdb-timestamp-hook)
 bbdb-completion-display-record t
 bbdb-completion-type nil
 bbdb-create-hook 'bbdb-creation-date-hook
 bbdb-csv-export-fields '((web\.de (nickname mail-alias) (Vorname firstname)
   (Nachname lastname) 
(Straße privat street home)
   (Postleitzahl privat zip 
home)
   (Ort privat city home)
   (Staat privat country 
home) (Geburtstag birthday)
   (Notizen notes) 
(Web-Seite www)
   (E-Mail-Adresse email) 
(E-Mail 2: Adresse email 1)
   (Telefon privat phone 
home)
   (Telefon geschäftlich 
phone job)
   (Mobilfunktelefon phone 
mobile)
   (Fax privat phone home 
fax))
  (mozilla-1\.7 (First 
firstname) (Last lastname)
   (Display firstname) 
(Nickname mail-alias)
   (email email) (add email 
email 1) (work tel)
   (home tel 1) (fax) 
(pager) (mobil) (address1)
   (address2) (city city) 
(state) (zip) (country)
   (add1) (add2) (city) 
(state) (zip) (country)
   (title) (department) 
(org) (http://webpage; www)
   (http://webpage; www) (  
www) (  www) (  www)
   (custom1 birthday) 
(custom2 anniversary)
   (custom3 hochzeit) 
(custom4 url) (Notes notes))
  (gmx\.de (nickname 
mail-alias) (Vorname firstname)
   (Nachname lastname) 
(Straße privat street home)
   (Postleitzahl privat zip 
home)
   (Ort privat city home)
   (Staat privat country 
home) (Geburtstag birthday)
   (Notizen notes) 
(Web-Seite www)
   (E-Mail-Adresse email) 
(e-mail-2-Adresse email 1

simple func for adding www addresses

2004-09-06 Thread Uwe Brauer
Hello
Sorry for any double posting:
The following primitive hack adds a www address to my bbdb 

 
(defun my-bbdb-add-www ()
 (interactive)
 (let ((myurl (ffap-url-at-point)))
   (find-file-confirm-non-existing ~/.bbdb)
   (goto-char (point-max))
   (insert [nil nil nil nil nil nil nil ((creation-date . \)
   (insert (time-stamp--mm-dd))
   (insert \))
   (insert (timestamp. \)
   (insert (time-stamp--mm-dd))
   (insert \))
   (insert  (www . \ )
   (insert myurl)
   (insert  \)))
   (insert  nil])))



Does anybody have an idea about a cleaner solution?

Thanks

Uwe Brauer

---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


how to add and www address to bbdb

2004-09-06 Thread Uwe Brauer
Hello 

The following primitive hack adds a www address to my bbdb
(defun my-bbdb-add-www ()
(interactive) 
(let ((myurl (ffap-url-at-point)))  
  (find-file-confirm-non-existing ~/.bbdb)
  (goto-char (point-max))
; (insert \n)
(insert [nil nil nil nil nil nil nil ((creation-date . \)
(insert (time-stamp--mm-dd))
(insert \))
(insert  (timestamp . \)
(insert (time-stamp--mm-dd))
(insert \))
(insert  (www . \ )
(insert myurl)
(insert  \)))
(insert  nil] )))

Does anybody have an idea about a cleaner solution?

Thanks

Uwe Brauer



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb annotate email-address in mail (message) buffer

2004-08-03 Thread Uwe Brauer
On 3 Aug 2004, [EMAIL PROTECTED] wrote:

 On July 28, [EMAIL PROTECTED] said:

 bbdb-search-simple may well do what you need, although the interface
 to it is a bit clunky.
I see meanwhile  I found moy-bbdb,   which was posted in  this mailing
list a while ago,  which  does precisely what  I  wanted,  thanks.   I
wouldn't have known anyway how to put this function appropriately into
a hook.

Uwe 



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb: mule and no mule xemacs: problems

2004-08-03 Thread Uwe Brauer


Hello

Recently I switched from xemacs 21.4.15 no mule to the mule version and
back, to my horror the entry 
Rosa María Pardo San Gil 
was changed to

Rosa Mar,Am(Ba Pardo San Gil

How can I convert this back again.

Thanks

Uwe Brauer



---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb annotate email-address in mail (message) buffer

2004-07-28 Thread Uwe Brauer
Hello 

Sometimes  I  write an email  using  goto-address-at-point on an email
address or copy and paste  the address in  an mail-buffer, it would be
nifty  if  I  could check  (via   either the  mail-setup-hook   or the
mail-mode-hook   or even the  mail-send-hook)  whether  this address is
already in my bbdb, and if not add it. Anybody knows about such a
function.

Thanks

Uwe Brauer



---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bug in bbdb-www-grab-homepage

2004-07-27 Thread Uwe Brauer
Hello

Maybe I misunderstood this function, put I placed the cursor on a url
executed the function above, was asked about the bbdb entry to add
this url to, and got an error whose backtrace I attach:


Signaling: (void-function url-view-url)
  url-view-url(t)
  #compiled-function (record) ...(51) [record bbdb-read-new-record bbdb-invoke-hook 
bbdb-create-hook bbdb-record-getprop www bbdb-record-putprop , url-view-url t 
bbdb-change-record bbdb-display-records] 7 
(/home/oub/xemacs/site-lisp/packages/bbdb-2.35/lisp/bbdb-w3.elc . 1074) (list 
(bbdb-completing-read-one-record Add WWW homepage for: ))([Gabriel Nagy 
(Nagy) nil nil nil ([EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
[EMAIL PROTECTED] [EMAIL PROTECTED]) ((creation-date . 1999-05-24) (timestamp . 
2004-07-27) (last-access . 2004-07-27) (mail-alias . nagy) (vm-folder . 
NOTEBOOKS/gabriel.notebook) (tel . hause: +1 858-404-0261 off: (858) 534-5859 | 
((858) 534-5864 old)) (signature . nagy) (vm-virtual . Nagy INBOX OUTBOX) (notes 
. www.math.ucsd.edu/~gnagy)) [Gabriel Nagy nil #marker at 57019 in .bbdb 
0x8bf249c nil]])
  call-interactively(bbdb-www-grab-homepage)
  command-execute(bbdb-www-grab-homepage t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)


bbdb-to-todo list or copy net record to a file.

2004-07-05 Thread Uwe Brauer

Hello

I would like to add email address from bbdb entries to 
a todo list, category email.
 
I am using todo-mode.el written by Oliver Seidel, but  it could be any
other package, the function which adds entries in the todo list 
goes is called 

 todo-insert-item-here 

If  anybody has implemented such a  functionality I would be grateful,
if not maybe somebody could tell me how just  to copy a net address of
an bbdb entry my  cursor is  on to some  file. 
I could use such a file as todo list of emails to be sent today
(Using  ffap-guesser in this file)

Thanks

Uwe Brauer



---
This SF.Net email sponsored by Black Hat Briefings  Training.
Attend Black Hat Briefings  Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: mail aliases

2003-11-11 Thread Uwe Brauer
On 11 Nov 2003, [EMAIL PROTECTED] wrote:

 On Monday, November 10, 2003 at 08:10:44, Robert P. Goldman wrote:
 Actually, there are pro's and cons to the way BBDB does mail
 aliases. On the pro side, you get to see who will receive your
 email.  On the con side, the mail alias is stripped away and
 lost.  This means that you can't do anything clever anywhere else
 with filing the email (based on addressees), etc.

 Recently I though about adding a new hook-variable, i.e.
 bbdb-mail-abbrev-expand-hooks called when expanding an alias.

 Something similar as below ... would that help?

 Ciao Robert

 Index: bbdb-com.el

Robert,

might this hook be helpful for the vm function  we where discussing, I
mean to manipulate  and change the fcc according  to the BBDB entry of
the recipient?

Uwe 



---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb to Mozilla (netscape) address book

2003-10-14 Thread Uwe Brauer
Hello


In ancient times jwz wrote a bbdb export filter to 
the netscape address book.

Today mozilla can import from a comma or tab separated list.  I played
around  with it, but  was not  entirely successful to  convert my bbdb
into a mozilla adressbook.

Did anybody try this?


Uwe Brauer 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: sort bbdb by date

2003-10-14 Thread Uwe Brauer
On 13 Oct 2003, [EMAIL PROTECTED] wrote:

 On Tuesday, September 23, 2003 at 21:27:09, Uwe Brauer wrote:

 There is no such functionality, not for the DB-file and not for the
 display code.  Probably something for the ToDo-List of version 5.0
 ... ;c)

Hm version 5, it came to my mind that bbdb-timestamp-newer provides
some of the functionality I was looking for.

Uwe 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb to Mozilla (netscape) address book

2003-10-14 Thread Uwe Brauer
On 14 Oct 2003, [EMAIL PROTECTED] wrote:

 Uwe Brauer wrote:


 [resent to list from a non-obsolete email address - nmg]

 I did this last week, and still have the scars to show for it.

 I used http://www.diku.dk/~elgaard/lib/emacs/bbdb-ldif.el for the
 conversion, since Mozilla doesn't yet have an import facility for
 vCards, but can import LDIF.

Thanks for pointing this out. The reason I am interested in it is that
I am quite pleased with the SPAM filtering based on my BBDB database.

Since  I thought (wrongly) that mozilla  might be faster, I hoped that
export the bbdb  database  to a  mozilla  address book  would  be very
helpful.


BTW meanwhile I was pointed out  that Robert Fenks bbdb-rf.el provides
the function bbdb-csv-export which does similar things as your package
(I suppose)

Regards


Uwe Brauer 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


feature proposal: vm-fcc

2003-10-13 Thread Uwe Brauer
Hello

One of the nifty features of bbdb, is that it allows to archive
incoming mail via the variable bbdb/vm-set-auto-folder-alist-field

I only have to set vm-folder and I can archive incoming mail in my
INBOX (and outgoing in my OUTBOX)


However I would  prefer that some outgoing mail  is not put via my fcc
to  the   OUTBOX, but  instead but  to   different vm-folder  which is
controlled by a bbdb entry. Of course one has then to write a function
which corrects the fcc, after the address is expanded.

This feature should work for replying mail and composing mail.

Does anybody know about something like this?


Uwe Brauer 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb-new-nets-always-primary and bbdb/mail-auto-create-p

2003-09-29 Thread Uwe Brauer
Hello

I have set  bbdb-new-nets-always-primary to nil, and it worked fine
for me in gnus, however in vm it did not, bbdb acted as if the
variable where set to t.

I asked a  while ago about this,  and no real  answer came up.  Now  I
found  out that there is  a variable  bbdb/mail-auto-create-p which is
set to t by default and which add automatically new entries for VM, MH
and RMAIL (but not gnus.)


I  can   see that   the variable is   a  little  differentfrom
bbdb-new-nets-always-primary however I suggest to add a comment in the
manual and to emphasise that there are 2  ways of adding new addresses
to the bbdb database.


Regards


Uwe Brauer 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


sort bbdb by date

2003-09-25 Thread Uwe Brauer
Hello 

I did not find this one in the documentation:
can I sort the bbdb data base by dates, not alphabetically?


Uwe Brauer 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: feature proposal: jump to a vm-folder entry

2003-06-25 Thread Uwe Brauer
Robert Fenk writes:
  On Tuesday, June 24, 2003 at 13:38:13, Uwe Brauer wrote:
   Hello
   
   I am using bbdb in combination with vm, and have an additional entry
   of the form vm-folder, so my bbdb entries look like:
   say:
   
   Robert Fenk
   net: [EMAIL PROTECTED]
mail-alias: robertf
 vm-folder: NOTEBOOKS/Emacs/rfenk.notebook
   
   Now it would be extremely nifty, if I click on the vm-folder entry
   and (X)emacs would jump to the relevant entry.
  
  I just made a commit allowing `bbdb-user-menu-commands' to
  point to a function (this variable has been there for quite
  some time, but I am not sure if anyone actually ever used
  it).  With this you could so something like the following:
  
  (setq bbdb-user-menu-commands 'uwes-bbdb-menu)
  
  (defun uwes-bbdb-menu (record field)
(let (folder)
  (if (and (consp (bbdb-record-raw-notes record))
   (setq folder (assq 'vm-folder (bbdb-record-raw-notes record)))
   (setq folder (cdr folder)))
  (list 
   (vector (format Visit VM folder: %s folder)
   (list 'vm-visit-folder folder)
   t)
  
  Bye Robert
  

Thanks I  try this at once.

Bye 

Uwe 




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: feature proposal: jump to a vm-folder entry

2003-06-25 Thread Uwe Brauer
Robert Fenk writes:
  On Tuesday, June 24, 2003 at 13:38:13, Uwe Brauer wrote:
[...]
  I just made a commit allowing `bbdb-user-menu-commands' to
  point to a function (this variable has been there for quite
  some time, but I am not sure if anyone actually ever used
  it).  With this you could so something like the following:
  (setq bbdb-user-menu-commands 'uwes-bbdb-menu)
  (defun uwes-bbdb-menu (record field)
(let (folder)
  (if (and (consp (bbdb-record-raw-notes record))
   (setq folder (assq 'vm-folder (bbdb-record-raw-notes record)))
   (setq folder (cdr folder)))
  (list 
   (vector (format Visit VM folder: %s folder)
   (list 'vm-visit-folder folder)
   t)
  Bye Robert
did this work for you, for me Xemacs-21.4.12 bbdb-2.35 it does not,
here is the backtrace attached




bbdb-menu-error
Description: Binary data


Re: feature proposal: jump to a vm-folder entry

2003-06-25 Thread Uwe Brauer
Robert Fenk [EMAIL PROTECTED] writes:

 On Wednesday, June 25, 2003 at 21:50:08, Uwe Brauer wrote:
 Robert Fenk writes:
   On Tuesday, June 24, 2003 at 13:38:13, Uwe Brauer wrote:
 [...]
   I just made a commit allowing `bbdb-user-menu-commands' to point
   to a function (this variable has been there for quite some time,
   but I am not sure if anyone actually ever used it).  With this
   you could so something like the following: (setq
   bbdb-user-menu-commands 'uwes-bbdb-menu) (defun uwes-bbdb-menu
   (record field) (let (folder) (if (and (consp
   (bbdb-record-raw-notes record)) (setq folder (assq 'vm-folder
   (bbdb-record-raw-notes record))) (setq folder (cdr folder)))
   (list (vector (format Visit VM folder: %s folder) (list
   'vm-visit-folder folder) t) Bye Robert
 did this work for you, for me Xemacs-21.4.12 bbdb-2.35 it does not,
 here is the backtrace attached

 As I said I just made a commit you have to do an update, actually
 updating bbdb-gui.el to revision 1.33 should do the trick.  If you are
 not using the CVS version, apply the patch below.

 Cheers Robert
ok I see, I thought what you sent me was the commit, I try your patch
thanks

Uwe 



---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


the format of the new bbdb-2.35

2003-02-20 Thread Uwe Brauer
Hello 

I just downloaded the 2.35 version, for Xemacs-21.4.12, vm 7.08, and
ognus-007. The good thing is that now, bbdb/vm-show-all-recipients
works correctly and adds all new address of an incoming mail to my
bbdb, including the CC and BCC.

The surprise is the bbdb format, the new entries are displayed like
Joe Doe
net: [EMAIL PROTECTED]

No time-stamp, creation date.

Is there a new variable?

Thanks

Uwe Brauer 



---
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/



Re: case Problem for the function bbdb/vm-show-sender

2002-09-25 Thread Uwe Brauer

Robert Fenk writes:
  On Tuesday, September 24, 2002 at 13:35:13, Uwe Brauer wrote:
[...]
[...]
[...]
  Probably you want to tell VM to match email-addresses case
  insensitive.  See the docs on the variable
  `vm-auto-folder-case-fold-search'.   
Yep this it was, thanks.

Uwe 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/



case Problem for the function bbdb/vm-show-sender

2002-09-24 Thread Uwe Brauer

Hi 

I sometimes get mail from address like this

[EMAIL PROTECTED]

however when applying bbdb/vm-show-sender (which is not case sensitive)
it is stored like 

[EMAIL PROTECTED]

now this is not a Problem for sending mail, but 
if I want to apply 
(bbdb/vm-set-auto-folder-alist)
or a similar function.

it does not work, since this function is case  sensitive. I suggest to
change the bbdb/vm-show-sender function such that the function is case
sensitive.


Regards

Uwe Brauer 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/



bbdb/vm-show-all-recipients does not work any more.

2002-09-17 Thread Uwe Brauer


I used bbdb/vm-show-all-recipients  for  a while,  now only the  first
recipient  of say a   To, CC or  BCC  is annoted.  The same happens to
bbdb/gnus-show-all-recipients the  only   function whichworks   as
expected is (bbdb/gnus-summary-show-all-recipients)

Can anybody enlighten me?

Thanks

Uwe Brauer 

Emacs  : XEmacs 21.4 (patch 9) Informed Management [Lucid] (i686-pc-linux) of Wed 
Sep 11 2002 on sunma2
Package: BBDB 2.34

current state:
==
(setq
 emacs-version 21.4 (patch 9) \Informed Management\ XEmacs Lucid
 bbdb-version-date $Date: 2002/01/15 22:53:47 $
 bbdb-file-format 6
 bbdb-no-duplicates-p nil
 bbdb-addresses-label-list '(Home Office Mobile Other)
 bbdb-after-change-hook '(bbdb/gnus-score-invalidate-alist)
 bbdb-after-read-db-hook nil
 bbdb-always-add-addresses nil
 bbdb-auto-notes-alist nil
 bbdb-auto-revert-p nil
 bbdb-canonicalize-net-hook nil
 bbdb-canonicalize-redundant-nets-p t
 bbdb-case-fold-search t
 bbdb-change-hook 'bbdb-timestamp-hook
 bbdb-completion-display-record t
 bbdb-completion-type nil
 bbdb-create-hook 'bbdb-creation-date-hook
 bbdb-default-area-code nil
 bbdb-default-country Emacs
 bbdb-default-domain nil
 bbdb-default-label-list '(Home Office Mobile Other)
 bbdb-define-all-aliases-field 'mail-alias
 bbdb-dial-local-prefix nil
 bbdb-dial-local-prefix-alist '(((if bbdb-default-area-code
  (format (%03d) 
bbdb-default-area-code) )
 )
)
 bbdb-dial-long-distance-prefix nil
 bbdb-display-layout nil
 bbdb-display-layout-alist '((one-line (order phones mail-alias net notes)
  (name-end . 24) (toggle . t)
  (omit last-access permanent))
 (multi-line (indention . 14) 
(toggle . t)
  (omit last-access))
 (pop-up-multi-line (indention 
. 14)
  (omit last-access permanent))
 )
 bbdb-dwim-net-address-allow-redundancy t
 bbdb-electric-p nil
 bbdb-elided-display nil
 bbdb-expire-this-old 1
 bbdb-extract-address-component-handler 'message
 bbdb-extract-address-component-ignore-regexp 
\\(\\(undisclosed\\|unlisted\\)[^,]*recipients\\)\\|no To-header on input
 bbdb-extract-address-component-regexps '((\\\([^\]*\\)\\\s-*\\([^]+\\)
   (car
   
 
   
  
(mail-extract-address-components
   
   
   
   
   
   
(concat

BUG1 in (bbdb-submit-bug-report) for xemacs-21.1.14 when byte compiled

2002-03-11 Thread Uwe Brauer


Hi 

I upgraded from bbdb-2.32 to 2.34, using xemacs-21.1.4 no mule.
Now after byte compiling the bbdb list files, I could not even *make*
a bug report, since I got the error message:
invalid function: #special-form save-current-buffers


Uwe Brauer

Emacs  : XEmacs 21.1 (patch 14) Cuyahoga Valley [Lucid] (i686-pc-linux) of Tue Nov  
6 2001 on sunma2
Package: BBDB 2.34

current state:
==
(setq
 emacs-version 21.1 (patch 14) \Cuyahoga Valley\ XEmacs Lucid
 bbdb-version-date $Date: 2002/01/15 22:53:47 $
 bbdb-file-format 6
 bbdb-no-duplicates-p nil
 bbdb-addresses-label-list '(Home Office Mobile Other)
 bbdb-after-change-hook nil
 bbdb-after-read-db-hook nil
 bbdb-always-add-addresses nil
 bbdb-auto-revert-p nil
 bbdb-canonicalize-net-hook nil
 bbdb-canonicalize-redundant-nets-p t
 bbdb-case-fold-search t
 bbdb-change-hook 'bbdb-timestamp-hook
 bbdb-completion-display-record t
 bbdb-completion-type nil
 bbdb-create-hook 'bbdb-creation-date-hook
 bbdb-default-area-code nil
 bbdb-default-country Emacs
 bbdb-default-domain nil
 bbdb-default-label-list '(Home Office Mobile Other)
 bbdb-define-all-aliases-field 'mail-alias
 bbdb-dial-local-prefix nil
 bbdb-dial-local-prefix-alist '(((if bbdb-default-area-code
  (format (%03d) 
bbdb-default-area-code) )
 )
)
 bbdb-dial-long-distance-prefix nil
 bbdb-display-layout nil
 bbdb-display-layout-alist '((one-line (order phones mail-alias net notes)
  (name-end . 24) (toggle . t))
 (multi-line (indention . 14) 
(toggle . t))
 (pop-up-multi-line (indention 
. 14)))
 bbdb-dwim-net-address-allow-redundancy t
 bbdb-electric-p nil
 bbdb-elided-display nil
 bbdb-file ~/.bbdb
 bbdb-file-remote nil
 bbdb-file-remote-save-always t
 bbdb-finger-host-field 'finger-host
 bbdb-get-addresses-headers '((authors From Resent-From Reply-To)
  (recipients Resent-To 
Resent-CC To CC
   BCC)
  )
 bbdb-get-only-first-address-p t
 bbdb-gui t
 bbdb-hashtable-size 1021
 bbdb-info-file nil
 bbdb-initialize-hook nil
 bbdb-list-hook '(bbdb-fontify-buffer)
 bbdb-load-hook nil
 bbdb-message-caching-enabled t
 bbdb-mode-hook nil
 bbdb-new-nets-always-primary nil
 bbdb-north-american-phone-numbers-p t
 bbdb-notes-default-separator , 
 bbdb-notes-sort-order '((notes . 0) (www . 1) (ftp . 2) (gopher . 3)
 (telnet . 4) (mail-alias . 5) 
(mail-folder . 6)
 (lpr . 7) (creation-date . 1000) 
(timestamp . 1001))
 bbdb-notice-auto-save-file nil
 bbdb-notice-hook nil
 bbdb-offer-save t
 bbdb-phones-label-list '(Home Office Mobile Other 91)
 bbdb-pop-up-display-layout nil
 bbdb-pop-up-elided-display nil
 bbdb-pop-up-target-lines 5
 bbdb-quiet-about-name-mismatches nil
 bbdb-readonly-p nil
 bbdb-refile-notes-default-merge-function 'bbdb-refile-notes-default-merge-function
 bbdb-refile-notes-generate-alist '((creation-date .
 
bbdb-refile-notes-string-least)
(timestamp . 
bbdb-refile-notes-string-most)
)
 bbdb-save-db-timeout nil
 bbdb-send-mail-style nil
 bbdb-silent-running nil
 bbdb-use-alternate-names t
 bbdb-user-mail-names nil
 bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
 bbdb/mail-auto-create-p t
 bbdb/news-auto-create-p nil
 features '(mailcrypt rfc822 comint ring footnote auto-capitalize reporter
dired-faces dired-xemacs dired x-symbol-xmas21 x-symbol-hooks
lstlisting htmlize euro esms esms-conf esms-ssp-funs my-replace
rcy-paren file-confirm my-paragraph lazy-capitialize smiley
annotations recent-files my-count-ascii-region auto-insert-tkld
ivl2r vishebrew AbHebrew-mode AbIvrit-mode bidi-utils
my-hebrew-font highlight-current-line saveplace saveconf 
template
session cal-desk-calendar lunar solar cal-dst cal-persia
cal-julian diary-lib appt calendar sigadapt bbdb-com 
mail-abbrevs
auto-lang regexp-opt bbdb sendmail message messagexmas mml
mm-decode mm-encode mailcap mm-bodies uudecode mail-parse 
rfc2045
rfc2047 qp base64 rfc2231 ietf-drums time-date parse-time 
nnheader

BUG no 2 when using bbdb-submit-bug-report

2002-03-11 Thread Uwe Brauer


Hi 

When using the original bbdb-submit-bug-report command my email get
refused by the sourceforge Server, because my from line is wrong:

It arrives as
 Uwe Brauer Uwe Brauer [EMAIL PROTECTED]
INSTEAD of
 Uwe Brauer Uwe Brauer [EMAIL PROTECTED]

I have to use vm-mail and insert the whole bug report in this buffer.
I attach after list of variables the refused message. I think this is
a *real* bug in bbdb-submit-bug-report since sending mail works fine.

Uwe Brauer

Emacs  : XEmacs 21.1 (patch 14) Cuyahoga Valley [Lucid] (i686-pc-linux) of Tue Nov  
6 2001 on sunma2
Package: BBDB 2.34

current state:
==
(setq
 emacs-version 21.1 (patch 14) \Cuyahoga Valley\ XEmacs Lucid
 bbdb-version-date $Date: 2002/01/15 22:53:47 $
 bbdb-file-format 6
 bbdb-no-duplicates-p nil
 bbdb-addresses-label-list '(Home Office Mobile Other)
 bbdb-after-change-hook nil
 bbdb-after-read-db-hook nil
 bbdb-always-add-addresses nil
 bbdb-auto-revert-p nil
 bbdb-canonicalize-net-hook nil
 bbdb-canonicalize-redundant-nets-p t
 bbdb-case-fold-search t
 bbdb-change-hook 'bbdb-timestamp-hook
 bbdb-completion-display-record t
 bbdb-completion-type nil
 bbdb-create-hook 'bbdb-creation-date-hook
 bbdb-default-area-code nil
 bbdb-default-country Emacs
 bbdb-default-domain nil
 bbdb-default-label-list '(Home Office Mobile Other)
 bbdb-define-all-aliases-field 'mail-alias
 bbdb-dial-local-prefix nil
 bbdb-dial-local-prefix-alist '(((if bbdb-default-area-code
  (format (%03d) 
bbdb-default-area-code) )
 )
)
 bbdb-dial-long-distance-prefix nil
 bbdb-display-layout nil
 bbdb-display-layout-alist '((one-line (order phones mail-alias net notes)
  (name-end . 24) (toggle . t))
 (multi-line (indention . 14) 
(toggle . t))
 (pop-up-multi-line (indention 
. 14)))
 bbdb-dwim-net-address-allow-redundancy t
 bbdb-electric-p nil
 bbdb-elided-display nil
 bbdb-file ~/.bbdb
 bbdb-file-remote nil
 bbdb-file-remote-save-always t
 bbdb-finger-host-field 'finger-host
 bbdb-get-addresses-headers '((authors From Resent-From Reply-To)
  (recipients Resent-To 
Resent-CC To CC
   BCC)
  )
 bbdb-get-only-first-address-p t
 bbdb-gui t
 bbdb-hashtable-size 1021
 bbdb-info-file nil
 bbdb-initialize-hook nil
 bbdb-list-hook '(bbdb-fontify-buffer)
 bbdb-load-hook nil
 bbdb-message-caching-enabled t
 bbdb-mode-hook nil
 bbdb-new-nets-always-primary nil
 bbdb-north-american-phone-numbers-p t
 bbdb-notes-default-separator , 
 bbdb-notes-sort-order '((notes . 0) (www . 1) (ftp . 2) (gopher . 3)
 (telnet . 4) (mail-alias . 5) 
(mail-folder . 6)
 (lpr . 7) (creation-date . 1000) 
(timestamp . 1001))
 bbdb-notice-auto-save-file nil
 bbdb-notice-hook nil
 bbdb-offer-save t
 bbdb-phones-label-list '(Home Office Mobile Other 91)
 bbdb-pop-up-display-layout nil
 bbdb-pop-up-elided-display nil
 bbdb-pop-up-target-lines 5
 bbdb-quiet-about-name-mismatches nil
 bbdb-readonly-p nil
 bbdb-refile-notes-default-merge-function 'bbdb-refile-notes-default-merge-function
 bbdb-refile-notes-generate-alist '((creation-date .
 
bbdb-refile-notes-string-least)
(timestamp . 
bbdb-refile-notes-string-most)
)
 bbdb-save-db-timeout nil
 bbdb-send-mail-style nil
 bbdb-silent-running nil
 bbdb-use-alternate-names t
 bbdb-user-mail-names nil
 bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
 bbdb/mail-auto-create-p t
 bbdb/news-auto-create-p nil
 features '(mailcrypt rfc822 comint ring footnote auto-capitalize reporter
dired-faces dired-xemacs dired x-symbol-xmas21 x-symbol-hooks
lstlisting htmlize euro esms esms-conf esms-ssp-funs my-replace
rcy-paren file-confirm my-paragraph lazy-capitialize smiley
annotations recent-files my-count-ascii-region auto-insert-tkld
ivl2r vishebrew AbHebrew-mode AbIvrit-mode bidi-utils
my-hebrew-font highlight-current-line saveplace saveconf 
template
session cal-desk-calendar lunar solar cal-dst cal-persia
cal-julian diary-lib appt calendar sigadapt bbdb-com 
mail-abbrevs
auto-lang regexp-opt bbdb sendmail message messagexmas