making address formatting more flexible

2011-02-02 Thread Roland Winkler
I am thinking about ways to make the formatting of snail mail addresses more flexible. In my BBDB I have addresses from a few countries in the world, and each goes with slightly different formatting styles, in particular for city, zip code and state. Yet currently BBDB has only two hard-coded

bbdb-popup-target-window-size (Re: BBDB 3.x documentation)

2011-02-02 Thread Roland Winkler
On Wed Feb 2 2011 Johnny wrote: Well, my recent discovery was that the variable name change bbdb-popup-target-lines - bbdb-popup-window-size in BBDB 3.x. They seem to do the same thing (i.e. setting the target number of lines for the bbdb-popup window). The default value was 5 but is now 0.5.

Re: making address formatting more flexible

2011-02-02 Thread Leo
On 2011-02-02 23:15 +0800, Roland Winkler wrote: Yet currently BBDB has only two hard-coded functions bbdb-format-address-default and bbdb-format-address-continental. I am thinking about replacing this scheme by a generic function bbdb-format-address that uses some kind of format strings for

Re: making address formatting more flexible

2011-02-02 Thread Johnny
Roland Winkler wink...@gnu.org writes: I am thinking about ways to make the formatting of snail mail addresses more flexible. This is a good idea; the current BBDB handling seems very US-centered. For one, I think Postal code should replace the American term Zip code as default naming, as this

bbdb/gnus-show-sender (Re: BBDB 3.x documentation)

2011-02-02 Thread Roland Winkler
On Wed Feb 2 2011 Johnny wrote: Roland Winkler wink...@gnu.org writes: Further, I don't understand how to get the bbdb/gnus-show-sender to add unknown addresses; [snip] However, browsing the lisp code, I assume that the following is actually invoked (?) which seems to simply return

Re: notsp Re: BBDB ran off with my Spacebar press

2011-02-02 Thread jidanni
See you BBDB snots, Harald feels the same way. H == Harald Hanche-Olsen han...@math.ntnu.no writes: H This is a particular risk that has been bothering me for a long time. H Not BBDB especially, but just about every GUI has this tendency to pop H up some sort of dialogue on its own from time to

Re: making address formatting more flexible

2011-02-02 Thread Leo
On 2011-02-03 00:41 +0800, Roland Winkler wrote: This is still awkward for Chinese addresses. In bbdb2 it was so awkward to put address in the address field that I have to put them in the notes field. This is because we tend to use one line for the address and it is specified from

Re: notsp Re: BBDB ran off with my Spacebar press

2011-02-02 Thread Roland Winkler
On Thu Feb 3 2011 jida...@jidanni.org wrote: See you BBDB snots, Harald feels the same way. H == Harald Hanche-Olsen han...@math.ntnu.no writes: H This is a particular risk that has been bothering me for a long time. H Not BBDB especially, but just about every GUI has this tendency to pop

Re: making address formatting more flexible

2011-02-02 Thread Roland Winkler
On Thu Feb 3 2011 Leo wrote: It appears to me that the room number could become a second street part. (The street part of a BBDB address is really just a list of strings.) Also, newlines would become part of the format specification. So if the format specification for chinese addresses

Re: notsp Re: BBDB ran off with my Spacebar press

2011-02-02 Thread jidanni
All I know is BBDB should never allow spacebar instead of a genuine y when asking questions, as that question might be asked when the user is trying to scroll an article, and doesn't notice he is being asked something there in the minibuffer. I don't think I changed that part in

Re: making address formatting more flexible

2011-02-02 Thread Roland Winkler
On Wed Feb 2 2011 Johnny wrote: This is a good idea; the current BBDB handling seems very US-centered. For one, I think Postal code should replace the American term Zip code as default naming, as this seems to be the generic term. This becomes yet more complicated. I vaguely remember that

Re: notsp Re: BBDB ran off with my Spacebar press

2011-02-02 Thread Roland Winkler
On Thu Feb 3 2011 jida...@jidanni.org wrote: All I know is BBDB should never allow spacebar instead of a genuine y when asking questions, as that question might be asked when the user is trying to scroll an article, and doesn't notice he is being asked something there in the minibuffer. I