I do not know if this a bug or only feature I don't like. But I have
bbdb-pop-up-target-lines 5 (as it is default) it works fine whan I
read meil in VM. But when I want send mail using completion, the pop
up BBDB buffer is always half of my whole XEmacs window high. Or is
there some other variable to configure this? I did not find any....  I
I would like to have always pop up 5-8 lines BBDB buffer, if I want it
bigger I can manually make larget it, but usually it is
enough. Ofcourse I can do C-x 1, but anyway... half window high BBDB
buffer is never useful for me.


Well, I'm very new with BBDB, but I like it a lot! Only some fetures I
need was missing (like only snarf all outgoing e-mail, but I found
moy-bbdb package, and it works!) and now almost everything works how I
like.

BTW. I am too lazy to press M-tab, I like only simple tab works with
headers. So I wrote this:

;---------------------------
(defun my-mail-tab ()
  "Call bbdb-complete-name, if cursor in  Header fields
of the message, otherwise normal? \"TAB\" behaviour."
  (interactive)
  (let ((my-complete nil)
        (case-fold-search t))
    (save-excursion
      (if (search-forward (concat "\n" mail-header-separator
                                  "\n") nil t)
          (setq my-complete t)))
    (if my-complete
        (bbdb-complete-name)
      (indent-relative))))
;;;
(add-hook 'mail-setup-hook
          '(lambda ()
             (define-key mail-mode-map "\t" 'my-mail-tab)))

;---------------------------


Is this too kludge to get to the default behauvior? Or why the tab do
not work in the default behauvior like that when sending mail (in VM
or in Gnus)?

Regards, 
Tommi Raita-aho

===========================================================================

Emacs  : XEmacs 21.1 (patch 14) "Cuyahoga Valley" [Lucid] (i386--freebsd) of Tue Jan 
29 2002 on sea.unav-micro.fi
Package: BBDB 2.32

current state:
==============
(setq
 bbdb-version-date "$Date: 2001/08/26 06:54:56 $"
 bbdb-file-format 6
 bbdb-no-duplicates-p nil
 bbdb-after-change-hook nil
 bbdb-after-read-db-hook nil
 bbdb-always-add-addresses nil
 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-completion-display-record t
 bbdb-completion-type nil
 bbdb-create-hook 'bbdb-creation-date-hook
 bbdb-default-area-code nil
 bbdb-define-all-aliases-field 'mail-alias
 bbdb-dial-local-prefix nil
 bbdb-dial-local-prefix-alist '(((if bbdb-default-area-code (format "(%03d)" 
bbdb-default-area-code) "") ""))
 bbdb-dial-long-distance-prefix nil
 bbdb-dwim-net-address-allow-redundancy nil
 bbdb-electric-p nil
 bbdb-elided-display nil
 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-snarf-nice-real-name (match-string 1 
adstring)) 2)
                                          ("\"\\([^\"]*\\)\"\\s-*<\\([^>]+\\)>"
                                           (bbdb-snarf-nice-real-name (match-string 1 
adstring)) 2)
                                          ("\\(\\b[^<\",]*\\b\\)\\s-*<\\([^>]+\\)>" 1 
2)
                                          ("<\\([^>]+\\)>" nil 2)
                                          ("\\(\\b[^<\",()]+\\b\\)\\s-*(\\([^)]+\\))" 
2 1)
                                          
("\\b\\(\\([^@]+\\.[^@]+\\)@[0-9a-z._-]+\\)\\b"
                                           (bbdb-snarf-nice-real-name (match-string 2 
adstring)) 1)
                                          
("\\b\\(\\([0-9a-z._-]+\\)@[0-9a-z._-]+\\)\\b" nil 1)
                                          ("\\b\\([0-9a-z._-]+\\)\\b" nil 1))
 bbdb-file "~/.bbdb"
 bbdb-file-remote nil
 bbdb-file-remote-save-always t
 bbdb-finger-host-field 'finger-host
 bbdb-gui t
 bbdb-hashtable-size 1021
 bbdb-info-file nil
 bbdb-initialize-hook nil
 bbdb-list-hook '(bbdb-fontify-buffer)
 bbdb-load-hook nil
 bbdb-message-caching-enabled t
 bbdb-mode-hook nil
 bbdb-new-nets-always-primary nil
 bbdb-north-american-phone-numbers-p t
 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-pop-up-elided-display-fields nil
 bbdb-pop-up-elided-display-name-end 48
 bbdb-pop-up-target-lines 5
 bbdb-quiet-about-name-mismatches nil
 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-nice-real-name-regexp "[._, \n ]+"
 bbdb-use-alternate-names t
 bbdb-user-mail-names nil
 bbdb-write-file-hooks '(bbdb-write-file-hook-fn)
 bbdb/mail-auto-create-p t
 bbdb/news-auto-create-p nil
 bbdb/prompt-for-create-p nil
 bbdb/vm-auto-add-label-field 'mail-alias
 bbdb/vm-auto-add-label-list nil
 bbdb/vm-get-from-headers '("From:" "Sender:" "Resent-From:" "Reply-To:" "Resent-To:" 
"Resent-CC:" "To:" "CC:")
 bbdb/vm-get-only-first-from-p t
 bbdb/vm-set-auto-folder-alist-field 'vm-folder
 bbdb/vm-snarf-all-headers '("From:" "Sender:" "Resent-From:" "Reply-To:" "Resent-To:" 
"Resent-CC:" "To:"
                             "CC:")
 features '(reporter bbdb-gui bbdb-vm highlight-headers cus-face vm-vars vm-startup 
vm-version vm vm-autoload
            bbdb-snarf bbdb-com efs-cu ispell mail-abbrevs sendmail rfc822 bbdb 
timezone zenirc-autoloads
            xslt-process-autoloads xemacs-devel-autoloads xemacs-base-autoloads 
w3-autoloads vm-autoloads
            viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads 
vc-autoloads tramp-autoloads
            tpu-autoloads tooltalk-autoloads tm-autoloads time-autoloads 
textools-autoloads
            text-modes-autoloads texinfo-autoloads supercite-autoloads 
strokes-autoloads speedbar-autoloads
            sounds-wav-autoloads sounds-au-autoloads slider-autoloads sieve-autoloads 
sh-script-autoloads
            sgml-autoloads semantic-autoloads scheme-autoloads rmail-autoloads 
reftex-autoloads
            psgml-autoloads ps-print-nomule-autoloads ps-print-autoloads 
prog-modes-autoloads
            pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads 
net-utils-autoloads
            mule-ucs-autoloads mule-base-autoloads misc-games-autoloads mine-autoloads 
mh-e-autoloads
            mew-autoloads mailcrypt-autoloads mail-lib-autoloads locale-autoloads 
leim-autoloads jde-autoloads
            ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads 
hm--html-menus-autoloads
            gnus-autoloads gnats-autoloads games-autoloads fsf-compat-autoloads 
frame-icon-autoloads
            forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads 
eshell-autoloads
            emerge-autoloads elib-autoloads eieio-autoloads eicq-autoloads 
egg-its-autoloads efs-autoloads
            edt-autoloads edit-utils-autoloads ediff-autoloads edict-autoloads 
edebug-autoloads
            dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads 
cookie-autoloads
            clearcase-autoloads cc-mode-autoloads calendar-autoloads calc-autoloads 
c-support-autoloads
            build-autoloads bbdb-autoloads auctex-autoloads apel-autoloads 
ada-autoloads Sun-autoloads
            Standard-autoloads loadhist auto-show fontl-hooks x-iso8859-1 
menubar-items x-menubar mouse
            mode-motion itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu 
lib-complete help-nomule
            derived frame text-props cus-start custom widget cl-extra mini-cl cl cl-19 
packages backquote
            very-early-lisp lucid-scrollbars cut-buffer lucid-menubars motif-dialogs x 
tty-frames tty toolbar
            native-sound scrollbar unix-processes multicast network-streams 
subprocesses menubar berkeley-db
            md5 xemacs tiff png gif jpeg xpm lisp-float-type berkeley-unix dialog 
devices window-system
            c-balloon-help)
 )



_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to