Gnus development mailing list
 help / color / mirror / Atom feed
* `m', the new minibuffer prompts and bbdb
@ 1995-12-29 16:51 Kai Grossjohann
  1996-01-03  9:39 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Kai Grossjohann @ 1995-12-29 16:51 UTC (permalink / raw)


Dear all,

please excuse me if this is a FAQ.  I have just installed sgnus-0.26
and I see that there are new minibuffer prompts in gnus-*-mail
(whatever is called by `m').  What do I do to bind TAB and M-TAB to
bbdb-complete-name in this case?

The name of the keymap or the right hook would be enough information,
of course.

Thanks a lot in advance, and a Happy New Year to all.
        kai
--
Why?


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

* Re: `m', the new minibuffer prompts and bbdb
  1995-12-29 16:51 `m', the new minibuffer prompts and bbdb Kai Grossjohann
@ 1996-01-03  9:39 ` Lars Magne Ingebrigtsen
  1996-01-12 15:36   ` Kai Grossjohann
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-01-03  9:39 UTC (permalink / raw)


Kai Grossjohann <grossjoh@charly.informatik.uni-dortmund.de> writes:

> I have just installed sgnus-0.26
> and I see that there are new minibuffer prompts in gnus-*-mail
> (whatever is called by `m').  What do I do to bind TAB and M-TAB to
> bbdb-complete-name in this case?
> 
> The name of the keymap or the right hook would be enough information,
> of course.

I've just used `read-string', so `minibuffer-local-map' is the keymap
in effect, I think.

-- 
   Lars Magne Ingebrigtsen * larsi@ifi.uio.no
      (a red leaf that falls from the purple tree)


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

* Re: `m', the new minibuffer prompts and bbdb
  1996-01-03  9:39 ` Lars Magne Ingebrigtsen
@ 1996-01-12 15:36   ` Kai Grossjohann
  1996-01-15 23:17     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Kai Grossjohann @ 1996-01-12 15:36 UTC (permalink / raw)


>>>>> On 03 Jan 1996 10:39:11 +0100, Lars Magne Ingebrigtsen
>>>>> <larsi@ifi.uio.no> said:

>>>>> Kai Grossjohann <grossjoh@charly.informatik.uni-dortmund.de> writes:

  Kai> I have just installed sgnus-0.26 and I see that there are new
  Kai> minibuffer prompts in gnus-*-mail (whatever is called by
  Kai> `m'). [...]

  Lars> I've just used `read-string', so `minibuffer-local-map' is the keymap
  Lars> in effect, I think.

Dear Lars,

please use read-from-minibuffer and give it an explicit keymap (which
could be (copy-keymap minibuffer-local-map) if you like).  This way,
BBDB aficionados like myself can rebind TAB to mean
bbdb-complete-name.  Or would the correct way of doing this be to
fiddle with minibuffer-completion-table or somesuch?

tia,
        kai
--
I like both kinds of music.


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

* Re: `m', the new minibuffer prompts and bbdb
  1996-01-12 15:36   ` Kai Grossjohann
@ 1996-01-15 23:17     ` Lars Magne Ingebrigtsen
  1996-01-16  3:59       ` Per Abrahamsen
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-01-15 23:17 UTC (permalink / raw)


Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de> writes:

> please use read-from-minibuffer and give it an explicit keymap (which
> could be (copy-keymap minibuffer-local-map) if you like). 

Is that necessary?  I use `read-string' throughout Gnus, and haven't
used `read-from-minibuffer' anywhere...

-- 
Home is where the cat is.


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

* Re: `m', the new minibuffer prompts and bbdb
  1996-01-15 23:17     ` Lars Magne Ingebrigtsen
@ 1996-01-16  3:59       ` Per Abrahamsen
  0 siblings, 0 replies; 5+ messages in thread
From: Per Abrahamsen @ 1996-01-16  3:59 UTC (permalink / raw)



>>>>> "KG" == Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de> writes:

KG> please use read-from-minibuffer and give it an explicit keymap (which
KG> could be (copy-keymap minibuffer-local-map) if you like). 

>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:

LMI> Is that necessary?  I use `read-string' throughout Gnus, and haven't
LMI> used `read-from-minibuffer' anywhere...

You could also use:

Lisp> (defvar gnus-mail-adddress-map minibuffer-local-map
Lisp>   "Keymap used for prompting for a mail address.")

Lisp>   (let ((minibuffer-local-map gnus-mail-adddress-map))
Lisp>      (read-string 

Alternatively, the bbdb people could use:

Lisp> (defvar bbdb-mail-adddress-map (copy-keymap minibuffer-local-map)
Lisp>   "Keymap used for prompting for a mail address.")

Lisp> (defadvice <name of gnus function> (around use-bbdb)
Lisp>    "Consult BBDB when prompting."
Lisp>    (let ((minibuffer-local-map bbdb-mail-adddress-map))
Lisp>       ad-do-it))

In which case you don't need to do anything.

[ All untested ]


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

end of thread, other threads:[~1996-01-16  3:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-12-29 16:51 `m', the new minibuffer prompts and bbdb Kai Grossjohann
1996-01-03  9:39 ` Lars Magne Ingebrigtsen
1996-01-12 15:36   ` Kai Grossjohann
1996-01-15 23:17     ` Lars Magne Ingebrigtsen
1996-01-16  3:59       ` Per Abrahamsen

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).