Hi,
I use GNU Emacs 21.4, No Gnus 0.6, and the BBDB snapshot from
http://bbdb.sourceforge.net/.
I have a problem using BBDB with e-mail address completions. I try to
describe the symptoms:
1. I get an interesting e-mail
2. I reply pressing "r".
3. I want to add someone e.g. to the Cc: field, but I don't remember
the address of "John Doe".
4. I put the cursor after "Cc: ", type "John" and press TAB. The
*Completions* buffer appears with several John's from my ~/.bbdb.
5. I select the right one, (putting the cursor on it, pressing RET, og
clicking on it using the middle mouse button).
6. The e-mail address is inserted, *but* the headers, and even more,
of the e-mail are messed up!
For instance:
--8<---------------cut here---------------start------------->8---
To: Joanna Doe <[EMAIL PROTECTED]>
Cc: john [CURSOR HERE]
Subject: Re: Good evening
Gcc: nnml:mail.misc
From: Svend Tollak Munkejord <[EMAIL PROTECTED]>
--text follows this line--
--
Peace, n.:
In international affairs, a period of cheating between two
periods of fighting.
-- Ambrose Bierce, "The Devil's Dictionary"
--8<---------------cut here---------------end--------------->8---
Now, pressing TAB and selecting John's address gives
--8<---------------cut here---------------start------------->8---
To: Joanna Doe <[EMAIL PROTECTED]>
Cc: johnJohn Doe <[EMAIL PROTECTED]>al affairs, a period of cheating between two
periods of fighting.
-- Ambrose Bierce, "The Devil's Dictionary"
--8<---------------cut here---------------start------------->8---
This is not so nice! Could it be fixed somehow?
Note that this does not happen if I just compose a new mail pressing
"m". It has to be a reply or a follow-up.
Regards,
Svend Tollak Munkejord
Emacs : GNU Emacs 21.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2006-05-18 on crested, modified by Debian
Package: BBDB 2.35
current state:
==============
(setq
emacs-version "21.4.1"
bbdb-version-date "$Date: 2006/05/25 23:19:53 $"
bbdb-file-format 6
bbdb-no-duplicates-p nil
bbdb-address-editing-function 'bbdb-address-edit-default
bbdb-address-formatting-alist '((bbdb-address-is-continental .
bbdb-format-address-continental)
(nil . bbdb-format-address-default))
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 'ask
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-check-zip-codes-p t
bbdb-complete-name-allow-cycling t
bbdb-complete-name-hooks nil
bbdb-completion-display-record t
bbdb-completion-type nil
bbdb-continental-zip-regexp "^\\s *[A-Z][A-Z]?\\s *-\\s *[0-9][0-9][0-9]"
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-define-all-aliases-mode 'first
bbdb-dial-local-prefix nil
bbdb-dial-local-prefix-alist '(((if (integerp bbdb-default-area-code)
(format "(%03d)" bbdb-default-area-code)
(or bbdb-default-area-code ""))
"")
)
bbdb-dial-long-distance-prefix nil
bbdb-display-layout 'one-line
bbdb-display-layout-alist '((one-line (order phones mail-alias net notes)
(name-end . 24) (toggle . t))
(multi-line (omit creation-date timestamp)
(toggle . t))
(pop-up-multi-line) (full-multi-line))
bbdb-dwim-net-address-allow-redundancy t
bbdb-electric-p nil
bbdb-expand-mail-aliases t
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-*<\\([^>]+\\)>"
(bbdb-clean-username
(match-string 1 adstring)
)
2)
("\\([^<>, ][^<>,]+[^<>,
]\\)\\s-*<\\([^>]+\\)>" 1 2)
("<\\([^>,]+\\)>" nil 1)
("\\(\\b[^<\",()]+\\b\\)\\s-*(\\([^)]+\\))"
(car
(mail-extract-address-components
(concat
"\""
(match-string 2 adstring)
"\"")
)
)
1)
("\\b\\(\\([^@ \n.]+\\.[^@
\n.]+\\)@[^@ \n]+\\)\\b"
(car
(mail-extract-address-components
(concat
"\""
(match-string 2 adstring)
"\"")
)
)
1)
("\\b\\(\\([^@ \n]+\\)@[^@
\n]+\\)\\b" nil 1)
("\\b\\([^@ \n]+\\)\\b" nil 1))
bbdb-extract-address-components-func 'bbdb-rfc822-addresses
bbdb-file "~/.bbdb"
bbdb-file-remote nil
bbdb-file-remote-save-always t
bbdb-finger-buffer-name "*finger*"
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-lastname-prefixes '("von" "Von" "de" "De")
bbdb-legal-zip-codes '("^$"
"^[ \n]*[0-9][0-9]?[0-9]?[0-9]?[0-9]?[0-9]?[
\n]*$" "^[ \n]*\\([0-9][0-9][0-9][0-9][0-9]\\)[ \n]*-?[
\n]*\\([0-9][0-9][0-9][0-9]?\\)[ \n]*$" "^[ \n]*\\([A-Za-z0-9]+\\)[
\n]+\\([A-Za-z0-9]+\\)[ \n]*$" "^[ \n]*\\([A-Z]+\\)[
\n]*-?[ \n]*\\([0-9]+ ?[A-Z]*\\)[ \n]*$" "^[
\n]*\\([A-Z]+\\)[ \n]*-?[ \n]*\\([0-9]+\\)[
\n]+\\([0-9]+\\)[ \n]*$")
bbdb-list-hook nil
bbdb-load-hook nil
bbdb-mail-abbrev-expand-hook nil
bbdb-message-caching-enabled t
bbdb-message-marker-field 'mark-char
bbdb-mode-hook nil
bbdb-modem-device "/dev/modem"
bbdb-modem-dial nil
bbdb-multiple-buffers nil
bbdb-new-nets-always-primary nil
bbdb-north-american-phone-numbers-p nil
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" "Jobb" "Mobil")
bbdb-pop-up-display-layout 'pop-up-multi-line
bbdb-pop-up-target-lines 5
bbdb-quiet-about-name-mismatches 0
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-snarf-web-prop 'www
bbdb-sound-files ["/usr/demo/SOUND/sounds/touchtone.0.au"
"/usr/demo/SOUND/sounds/touchtone.1.au" "/usr/demo/SOUND/sounds/touchtone.2.au"
"/usr/demo/SOUND/sounds/touchtone.3.au" "/usr/demo/SOUND/sounds/touchtone.4.au"
"/usr/demo/SOUND/sounds/touchtone.5.au" "/usr/demo/SOUND/sounds/touchtone.6.au"
"/usr/demo/SOUND/sounds/touchtone.7.au" "/usr/demo/SOUND/sounds/touchtone.8.au"
"/usr/demo/SOUND/sounds/touchtone.9.au"
"/usr/demo/SOUND/sounds/touchtone.pound.au"
"/usr/demo/SOUND/sounds/touchtone.star.au"]
bbdb-sound-player nil
bbdb-sound-volume 50
bbdb-time-display-format "%d %b %Y"
bbdb-update-records-mode 'annotating
bbdb-use-alternate-names t
bbdb-use-pop-up nil
bbdb-user-mail-names "[EMAIL PROTECTED]|s\\(?:tm\\(?:[EMAIL
PROTECTED]|@\\(?:bacchus\\.pvv\\.org\\|pvv\\.\\(?:ntnu\\.no\\|org\\)\\)\\)\\|[EMAIL
PROTECTED])"
bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
bbdb/gnus-lines-and-from-length 18
bbdb/gnus-score-default nil
bbdb/gnus-score-field 'gnus-score
bbdb/gnus-split-crosspost-default nil
bbdb/gnus-split-default-group "mail.misc"
bbdb/gnus-split-myaddr-regexp "^stm$\\|[EMAIL
PROTECTED]([-a-z0-9]+\\.\\)*localhost.localdomain$"
bbdb/gnus-split-nomatch-function nil
bbdb/gnus-split-private-field 'gnus-private
bbdb/gnus-split-public-field 'gnus-public
bbdb/gnus-summary-in-bbdb-format-letter "b"
bbdb/gnus-summary-known-poster-mark "+"
bbdb/gnus-summary-mark-known-posters t
bbdb/gnus-summary-prefer-bbdb-data t
bbdb/gnus-summary-prefer-real-names t
bbdb/gnus-summary-show-bbdb-names t
bbdb/gnus-summary-user-format-letter "B"
bbdb/gnus-update-records-mode 'annotating
bbdb/mail-auto-create-p t
bbdb/news-auto-create-p nil
bbdb/vm-set-auto-folder-alist-field 'vm-folder
bbdb/vm-set-auto-folder-alist-headers '("From:" "To:" "CC:")
features '(mime-edit eword-encode invisible inv-19 signature mime-image
mime-view mime-conf calist mime eword-decode std11 mel mime-def
mcharset mcs-20 mcs-e20 pces pces-e20 pces-20 broken pcustom
reporter tc sort compface gnus-fun gnus-cite ansi-color gnus-async
gnus-bcklg gnus-ml disp-table view gnus-topic parse-time nnfolder
nnml gnus-demon bbdb-gnus bbdb-snarf mail-extr bbdb-com gnus-delay
gnus-draft gnus-agent gnus-srvr gnus-score score-mode nnvirtual
nntp gnus-cache gnus-msg gnus-art mm-uu mml2015 pgg pgg-parse
pgg-def mm-view nndraft nnmh bbdb-autoloads boxquote rect
gnus-registry cl cl-19 rs-gnus-summary gnus-namazu byte-opt
bytecomp byte-compile gnus-sum gnus-group gnus-undo nnmail
mail-source nnoo gnus-start gnus-spec gnus-int gnus-range message
ecomplete rfc822 mml mml-sec mml-smime smime smime-ldap ldap dig
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2045 rfc2231
rfc2047 qp ietf-drums mailabbrev sendmail gmm-utils mailheader
canlock sha1 hex-util hashcash gnus-win gnus gnus-ems nnheader
gnus-util netrc time-date mail-utils mm-util mail-prsvr wid-edit
w3m-load wdired dired bbdb timezone gnus-load mwheel info
tramp-util compile tramp-smb tramp-ftp tramp mule-util executable
advice advice-preload shell comint ring password format-spec
trampver paren jit-lock font-lock regexp-opt cal-china lunar solar
cal-dst cal-persia cal-islam cal-julian cal-hebrew holidays
diary-lib calendar cal-menu easymenu mime-setup mail-mime-setup
alist semi-setup semi-def debian-el debian-el-loaddefs path-util
poe pym static apel-ver product dpkg-dev-el dpkg-dev-el-loaddefs
tooltip image tool-bar fontset ediff-hook vc-hooks lisp-float-type
lisp-mode page menu-bar timer select scroll-bar mldrag mouse
facemenu faces cus-face frame ucs-tables misc-lang vietnamese
tibetan thai lao korean japanese hebrew greek romanian slovak
czech european ethiopic devanagari indian cyrillic chinese
case-table help overlay md5 base64 format mule env backquote
custom widget x-toolkit)
)
--
Svend Tollak Munkejord
-------------------------------------------------------------------------
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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/