Gnus development mailing list
 help / color / mirror / Atom feed
* Re: auto-complete
       [not found] <muov51$vqc$1@ger.gmane.org>
@ 2015-10-04 15:01 ` Eric S Fraga
  2015-10-04 19:19   ` auto-complete Peter Münster
  0 siblings, 1 reply; 2+ messages in thread
From: Eric S Fraga @ 2015-10-04 15:01 UTC (permalink / raw)
  To: ding

On Saturday,  3 Oct 2015 at 18:18, Haris wrote:
> Hi
>
> This is my .emacs file:

[...]

> Why auto-complete doesn't work ?
> Do I press TAB key to auto-complete ?

What is it you expect to auto-complete?

If it is mail addresses, what address book tool do you use?  If bbdb, I
do the following:

--8<---------------cut here---------------start------------->8---
(require 'bbdb)
(require 'bbdb-loaddefs)
(bbdb-initialize 'gnus 'message) ; 'vm 'w3
(bbdb-mua-auto-update-init 'gnus 'message)
(bbdb-mail-aliases)
--8<---------------cut here---------------end--------------->8---

-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 25.0.50.2 + Ma Gnus v0.14 + evil-git-ff74cfb
: BBDB version 3.1.2 (2014-04-28 23:20:47+00:00)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: auto-complete
  2015-10-04 15:01 ` auto-complete Eric S Fraga
@ 2015-10-04 19:19   ` Peter Münster
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Münster @ 2015-10-04 19:19 UTC (permalink / raw)
  To: ding

On Sun, Oct 04 2015, Eric S Fraga wrote:

> (require 'bbdb)
> (require 'bbdb-loaddefs)
> (bbdb-initialize 'gnus 'message) ; 'vm 'w3
> (bbdb-mua-auto-update-init 'gnus 'message)
> (bbdb-mail-aliases)

And this is nice for resending messages ("S D r"):

--8<---------------cut here---------------start------------->8---
(defun message-read-from-minibuffer (prompt &optional initial-contents)
  "Read from the minibuffer while providing abbrev expansion."
  (bbdb-completing-read-mails "To: " initial-contents))
--8<---------------cut here---------------end--------------->8---

-- 
           Peter




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-04 19:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <muov51$vqc$1@ger.gmane.org>
2015-10-04 15:01 ` auto-complete Eric S Fraga
2015-10-04 19:19   ` auto-complete Peter Münster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).