[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ERC completion
From: |
Stefan Monnier |
Subject: |
Re: ERC completion |
Date: |
Mon, 02 May 2011 15:04:38 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>>> I seem to recall talks of priority for completions. Couldn't that be
>>> used here? That way, I'd set completion-at-point-functions to something
>>> that returns the list of dabbrev expands with a low priority, and every
>>> other completion would take precedence over it.
>> By placing it at the end of the hook, you're giving it the lowest
>> priority.
> Cool! Then all that'd be needed is to write a dabbrev-completions
> function that'd return all completions, as found by dabbrev, and set it
> at the end of the hook. Then erc nick completions would take precedence,
> and life would be good again.
No, I think your problem is not that dabbrev had too high a priority,
but rather than erc-nick completion is too eager to complete
everywhere, and never lets the lower-priority completions (such as
dabbrev) play.
Stefan