* message and TAB
@ 1996-06-20 14:26 Kai Grossjohann
1996-06-20 14:50 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Kai Grossjohann @ 1996-06-20 14:26 UTC (permalink / raw)
In message-mode I tried to bind TAB to indent-relative. But of
course, the default binding of TAB interferes.
As being able to hit TAB to complete newsgroup names is a Nifty
Feature, I wouldn't really want to rebind TAB.
WIBNI there was some way of customizing which function to use for TAB?
(setq message-tab-handler-alist
'(("to\\|cc" . bbdb-complete-name)
("newsgroups\\|followup-to" . message-complete-newsgroup)
; for the message body
(t . indent-relative)))
Whatcha think?
kai
--
Life is hard and then you die.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: message and TAB
1996-06-20 14:26 message and TAB Kai Grossjohann
@ 1996-06-20 14:50 ` Lars Magne Ingebrigtsen
1996-06-20 16:30 ` Kai Grossjohann
0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-06-20 14:50 UTC (permalink / raw)
Kai Grossjohann <grossjoh@ls6.informatik.uni-dortmund.de> writes:
> (setq message-tab-handler-alist
> '(("to\\|cc" . bbdb-complete-name)
> ("newsgroups\\|followup-to" . message-complete-newsgroup)
> ; for the message body
> (t . indent-relative)))
>
> Whatcha think?
It's a bit too fuzzy. Perhaps Message should instead use a local
keymap in the Newsgroups header and just bind `TAB' to the completion
thingie there? What do y'all think? (This means that `TAB' won't
work if the user inserts the Newsgroups header manually...)
--
(domestic pets only, the antidote for overdose, milk.)
larsi@ifi.uio.no * Lars Ingebrigtsen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: message and TAB
1996-06-20 14:50 ` Lars Magne Ingebrigtsen
@ 1996-06-20 16:30 ` Kai Grossjohann
0 siblings, 0 replies; 3+ messages in thread
From: Kai Grossjohann @ 1996-06-20 16:30 UTC (permalink / raw)
>>>>> On 20 Jun 1996 16:50:39 +0200, Lars Magne Ingebrigtsen
>>>>> <larsi@ifi.uio.no> said:
Lars> It's a bit too fuzzy. Perhaps Message should instead use a
Lars> local keymap in the Newsgroups header and just bind `TAB' to
Lars> the completion thingie there? [...]
I'm not quite sure what you mean by `fuzzy', but I wish there was a
way to customize this. After all, if you've already got a mechanism
for doing group name expansion in a header, why shouldn't I be able to
customize it so that it does bbdb-complete-name in To and Cc headers?
I have no strong feelings about whether to implement it with such a
header-local keymap. (Would that be a keymap in an overlay or a
special face or something? Never done this before.) But maybe C-f
C-f C-t and friends should do the right thing?
kai
--
Life is hard and then you die.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-06-20 16:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-20 14:26 message and TAB Kai Grossjohann
1996-06-20 14:50 ` Lars Magne Ingebrigtsen
1996-06-20 16:30 ` Kai Grossjohann
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).