[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BBDB Horking Up Subject Header



At Mon, 11 Jun 2012 12:47:39 -0500,
andrés ramírez wrote:
> 
> Hi Ken.
> 
> This is All the setup I have on my dot_wl file
> (define-key wl-draft-mode-map (kbd "<C-tab>") 'bbdb-complete-name)
> 
> And bbdb works without any issue. My bbdb version is 3.02
> 
> Regards.
> 
> This is the content of my another configuration file (emacs-rc-bbdb.el)
> (require 'bbdb-loaddefs "~/.emacs.d/el-get/bbdb/lisp/bbdb-loaddefs.el");; version 3 and later (no autoloads)
> 
> (setq bbdb-file "~/.emacs.d/bbdb")           ;; keep ~/ clean; set before loading
> (require 'bbdb) 
> (bbdb-initialize)
> (setq 
>     bbdb-offer-save 1                        ;; 1 means save-without-asking
> 
>     
>     bbdb-use-pop-up t                        ;; allow popups for addresses
>     bbdb-electric-p t                        ;; be disposable with SPC
>     bbdb-popup-target-lines  1               ;; very small
>     
>     bbdb-dwim-net-address-allow-redundancy t ;; always use full name
>     bbdb-quiet-about-name-mismatches 2       ;; show name-mismatches 2 secs
> 
>     bbdb-always-add-address t                ;; add new addresses to existing...
>                                              ;; ...contacts automatically
>     bbdb-canonicalize-redundant-nets-p t     ;; x@foo.bar.cx => x@bar.cx
> 
>     bbdb-completion-type nil                 ;; complete on anything
> 
>     bbdb-complete-name-allow-cycling t       ;; cycle through matches
>                                              ;; this only works partially
> 
>     bbbd-message-caching-enabled t           ;; be fast
>     bbdb-use-alternate-names t               ;; use AKA
> 
> 
>     bbdb-elided-display t                    ;; single-line addresses
> 
>     ;; auto-create addresses from mail
>     bbdb/mail-auto-create-p 'bbdb-ignore-some-messages-hook   
>     bbdb-ignore-some-messages-alist ;; don't ask about fake addresses
>     ;; NOTE: there can be only one entry per header (such as To, From)
>     ;; http://flex.ee.uec.ac.jp/texi/bbdb/bbdb_11.html
> 
>     '(( "From" . "no.?reply\\|DAEMON\\|daemon\\|facebookmail\\|twitter"))
> )
> ;; mail alias
> (add-hook 'mail-setup-hook 'bbdb-define-all-aliases)
> (add-hook 'message-setup-hook 'bbdb-define-all-aliases)
> At Mon, 11 Jun 2012 10:21:06 -0600,
> Ken Gunderson wrote:
> > 
> > Hello Again:
> > 
> > I finally got around to configuring wl to use bbdb and all seemed well
> > (other than bbdb and flspell both competing for ESC TAB keybinding -
> > flyspell won) until I tried sending mail to recipient with multiple
> > "net" entries, whereupon selection of desired address resulted not
> > only in that address being inserted into "To:" field but also chomping
> > into "Subject:" header field in the draft buffer.  This occurs to
> > various degrees depending upon how long the "net" address is,
> > e.g. maybe only leaving the "t" or maybe leaving "ject".
> > 
> > Nothing special bbdb related in my .emacs:
> > 
> > (require 'bbdb)
> > (bbdb-initialize)
> > 
> > Nor my .wl:
> > 
> > (require 'bbdb-wl)
> > (bbdb-wl-setup)
> > (setq bbdb-use-pop-up nil)
> > (setq bbdb/mail-auto-create-p nil)
> > (setq wl-summary-from-function 'bbdb-wl-from-func)
> > 
> > Is this a known wl issue or something insidious....??? 
> > 
> > Regards-- Ken

Thanks for the remapping bit.  I tried using just that and minimal
bbdb lines in .emacs and results were the same.  I am using
draft-config-alist to handle multiple imap accounts and though that
might be part of it but commenting out that code results in no
change.  Subsequently, I also tried configuring a minimal .wl
containing _only_ the C-Tab mapping code and .... results were still
the same.

I seem to be encountering quite a few glitches using Wanderlust, which
I hope to resolve before I have to switch to something else.  I'm on a
fairly up to date Archlinux box, Emacs 23.4, Wanderlust installed via
pacman labeled as version: 20120529-1, but start up splash bitmap says
"Almost Unreal", 2.15.9.

Other related packages:

emacs-apel v. 10.8-2 
semi v. 1.14.6-3 
flim v. 1.14.9-3
bbdb v. 2.35-5

Thanks again-- Ken