Re: [BBDB] ChangeLog 2012-07-06

2012-07-08 Thread Stephen Leake
Sam Steingold s...@gnu.org writes:

 Can you explain why you want to override your choice for
 bbdb-message-all-addresses in this function?

 when I try to edit a field when bbdb-message-all-addresses is t, the
 record being edited is the first record displayed, not the record of the
 sender.

I gather you think that's wrong, even though it is what you requested.

Apparently you want to set bbdb-message-all-addresses to nil, not t. 

Why did you set it to t? It defaults to nil, so you set it deliberately.

-- 
-- Stephe

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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-08 Thread Sam Steingold
 * Stephen Leake fgrcura_yr...@fgrcur-yrnxr.bet [2012-07-08 03:49:02 -0400]:

 Sam Steingold s...@gnu.org writes:

 Can you explain why you want to override your choice for
 bbdb-message-all-addresses in this function?

 when I try to edit a field when bbdb-message-all-addresses is t, the
 record being edited is the first record displayed, not the record of the
 sender.

 I gather you think that's wrong, even though it is what you requested.

 Apparently you want to set bbdb-message-all-addresses to nil, not t. 

 Why did you set it to t? It defaults to nil, so you set it deliberately.

I want all the relevant records for a message displayed,
but when I hit ;, I want to edit the record of the sender, not the
first record displayed.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://openvotingconsortium.org http://dhimmi.com
http://thereligionofpeace.com http://think-israel.org
Feynman: 'Philosophy of science is as useful to scientists as ornithology is to 
birds'


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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-08 Thread Stephen Leake
Sam Steingold s...@gnu.org writes:

 (snip discussing bbdb-message-all-addresses)

 I want all the relevant records for a message displayed,

I guess when bbdb pops up automatically for a message.

 but when I hit ;, I want to edit the record of the sender, not the
 first record displayed.

Ok, that makes sense.

; is bound to 'bbdb-mua-edit-field-sender, so it does
seem to be doing the wrong thing, by editing a record that is not the
sender.

However, when I hit ;, it does edit the sender, not the first record
in the list. So apparently my code is different from yours.

Similarly, when I hit : (bbdb-gnus-display-sender), it shows the
correct record.

I'm not familiar with git; how do I identify what revision of bbdb
source I'm currently using?

--
-- Stephe

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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-07 Thread Roland Winkler
On Sat Jul 7 2012 Stephen Leake wrote:
 Sam Steingold s...@gnu.org writes:
  Could you please explain to me how to do this?
 
 Use ad-add-advice on bbdb-mua-edit-field; see the elisp manual for
 more info.

That's one possibility. I mentioned another possibility previously:

On Thu Mar 15 2012 Roland Winkler wrote:
 Actually, I went through quite some effort to break down the code in
 bbdb-mua.el into low-level stuff that I tried to implement as
 general and flexibel as possible, and the high-level commands that
 have rather small pieces of code. bbdb-mua-edit-field with a body of
 11 lines is actually the biggest one. Of course, these high-level
 commands provided in bbdb-mua.el do not take advantage of everything
 that is implemented on the lower level, in particular if you combine
 them with all permutations of settings for user variables used by
 these commands.
 
 But hopefully the new setup of the code does make it easier to
 customize the high-level commands the way you want them to be
 without a need to fiddle with the trickier low-level functions.

---

On Fri Jul 6 2012 Sam Steingold wrote:
 Your general design decisions broke well-documented behavior that
 has been around since v 1.50. Are you sure these decisions were
 well thought-through?

Some time ago you wrote

On Fri Dec 30 2011 Sam Steingold wrote:
  What did you do when you were using BBDB v2?

 hated it and did nothing about it, hoping that someone will fix it
 for me one day.

I have nothing to add here.

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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-07 Thread Sam Steingold
 * Roland Winkler jvax...@tah.bet [2012-07-07 04:44:10 -0500]:

 On Fri Jul 6 2012 Sam Steingold wrote:
 Your general design decisions broke well-documented behavior that
 has been around since v 1.50. Are you sure these decisions were
 well thought-through?

 Some time ago you wrote

 On Fri Dec 30 2011 Sam Steingold wrote:
  What did you do when you were using BBDB v2?

 hated it and did nothing about it, hoping that someone will fix it
 for me one day.

 I have nothing to add here.

you fixed some things and broke others.
this is not good.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://iris.org.il http://ffii.org
http://think-israel.org http://memri.org http://dhimmi.com
Two wrongs don't make a right, but three rights make a left.


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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-07 Thread Sam Steingold
 * Stephen Leake fgrcura_yr...@fgrcur-yrnxr.bet [2012-07-07 01:55:24 -0400]:

 Sam Steingold s...@gnu.org writes:

 * Roland Winkler jvax...@tah.bet [2012-07-06 12:06:27 -0500]:

 On Fri Jul 6 2012 Sam Steingold wrote:
 2012-07-06  Sam Steingold  s...@gnu.org
* lisp/bbdb-mua.el (bbdb-mua-edit-field):
Edit THE record for THE sender, not all the relevant records.

 I do not want to fix the values of user variables in a hard-coded
 way. If you do not like a particular value in a particular context,
 elisp gives you various possibilities to customize things for your
 personal taste.

 Could you please explain to me how to do this?

 Use ad-add-advice on bbdb-mua-edit-field; see the elisp manual for more
 info.

so, there is a user variable bbdb-message-all-addresses, which is now
broken, see below.
to make it work, I need to use advice. you cannot be serious here.

if indeed this is how it is supposed to work these days, then the
defcustom code installing the advice should be added.

 Can you explain why you want to override your choice for
 bbdb-message-all-addresses in this function?

when I try to edit a field when bbdb-message-all-addresses is t, the
record being edited is the first record displayed, not the record of the
sender.


-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://thereligionofpeace.com
http://jihadwatch.org http://iris.org.il http://think-israel.org
Illiterate?  Write today, for free help!


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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-06 Thread Sam Steingold
2012-06-28  Sam Steingold  s...@gnu.org
* lisp/bbdb-com.el (bbdb-complete-mail): Use `quit-window'
instead of `bury-buffer' to get rid of *Completions*.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://iris.org.il http://openvotingconsortium.org
http://truepeace.org http://www.memritv.org http://mideasttruth.com
Before telling the Truth, make sure you know it.


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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-06 Thread Sam Steingold
 * Roland Winkler jvax...@tah.bet [2012-07-06 12:06:27 -0500]:

 On Fri Jul 6 2012 Sam Steingold wrote:
 2012-07-06  Sam Steingold  s...@gnu.org
  * lisp/bbdb-mua.el (bbdb-mua-edit-field):
  Edit THE record for THE sender, not all the relevant records.

 I do not want to fix the values of user variables in a hard-coded
 way. If you do not like a particular value in a particular context,
 elisp gives you various possibilities to customize things for your
 personal taste.

Could you please explain to me how to do this?

 Please, be more considerate of such general design decisions.

Your general design decisions broke well-documented behavior that has
been around since v 1.50.
Are you sure these decisions were well thought-through?

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://pmw.org.il http://www.memritv.org
http://mideasttruth.com http://dhimmi.com http://honestreporting.com
Oh Lord, give me the source code of the Universe and a good debugger!

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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-06 Thread Roland Winkler
2012-07-06  Roland Winkler  wink...@gnu.org
* lisp/bbdb-com.el (bbdb-complete-mail): Use window-live-p.

2012-07-06  Roland Winkler  wink...@gnu.org
* lisp/bbdb-mua.el (bbdb-mua-edit-field): Revert previous change.
Do not use hard-coded bindings for user variables.


BBDB is available at
http://savannah.nongnu.org/projects/bbdb/
To check it out, use
git clone git://git.savannah.nongnu.org/bbdb.git

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


Re: [BBDB] ChangeLog 2012-07-06

2012-07-06 Thread Stephen Leake
Sam Steingold s...@gnu.org writes:

 * Roland Winkler jvax...@tah.bet [2012-07-06 12:06:27 -0500]:

 On Fri Jul 6 2012 Sam Steingold wrote:
 2012-07-06  Sam Steingold  s...@gnu.org
 * lisp/bbdb-mua.el (bbdb-mua-edit-field):
 Edit THE record for THE sender, not all the relevant records.

 I do not want to fix the values of user variables in a hard-coded
 way. If you do not like a particular value in a particular context,
 elisp gives you various possibilities to customize things for your
 personal taste.

 Could you please explain to me how to do this?

Use ad-add-advice on bbdb-mua-edit-field; see the elisp manual for more
info.

Can you explain why you want to override your choice for
bbdb-message-all-addresses in this function?

 Please, be more considerate of such general design decisions.

 Your general design decisions broke well-documented behavior that has
 been around since v 1.50.
 Are you sure these decisions were well thought-through?

I have not been using bbdb 3 long, but so far I very much like the
redesign.

--
-- Stephe

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