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

Re: BBDB Horking Up Subject Header



Hi Ken.

We have almost the same setup. As You are going to see I have several
imap accounts

 It is encourage not to modify the
.folders file by hand, but It is easier for newbies :) (lazy to move it to
my .wl file)

This is part of my .folders file
%inbox	"inbox"
%sith
%garbage
%kipuamutay
%inbox:"me@yahoo.com"/nil@imap.n.mail.yahoo.com:143/	"word"
%inbox:"me.me@kipuamutay.com"/clear@dime105.dizinc.com:993!/	"kipu@kp"
%inbox:"me@fastmail.fm"/clear@mail.messagingengine.com:993!/	"quick"
/flag:digest/%inbox	"nuevos"
%/
news{
	-gwene.com.sachachua@news.gwene.org	"sacha"
	-gwene.com.osnews.news@news.gwene.org	"osnews"
	-gwene.com.wxwidgets.blogspot@news.gwene.org	"wxwidgets"
	-gwene.org.archlinux.feeds.news@news.gwene.org	"arch"
	-gwene.org.slashdot.developers@news.gwene.org	"slashdot"
	-gwene.com.feedburner.railstutorial@news.gwene.org	"rails"
	-gwene.archlinux.blogs.master.feed@news.gwene.org	"arch.blogs"
}

How I create draft for any of the imap accounts?. I use templates. And I use a
single smtp server for sending all my email

This is part of my .wl file
(setq wl-template-alist
      '(
        ("fastmail"
	 ("From" . "me me <me@fastmail.fm>")
	 ("Organization" . "fastmail")
 	 (body . "\nHi,\nAndres Ramirez.\n")
	 )
        ("google"
	 ("From" . "me me <xxxx@gmail.com>")
	 ("Organization" . "kipuamutay")
 	 (body . "\nHi 2,\nAndres Ramirez.\n")
	 )
	
      ))

then when composing new draft with 'w' on summary mode
i use 'wl-template-select'
It is bound to C-c C-j.
An iterate among my different templates.

Regards. If that is not enough I can share my .wl file also.
ps: Check the mail user Agent field and You are going to see the wanderlust
libraries version I am using.
At Mon, 11 Jun 2012 13:29:59 -0600,
Ken Gunderson wrote:
> 
> 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
> 
>