[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Completing with anything
From: |
Stefan Monnier |
Subject: |
Re: [O] Completing with anything |
Date: |
Tue, 24 May 2011 09:47:06 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> So, could you add 'failed, which means that no function was able to
> complete? That way I could do something like
> (setq completion-extra-properties '(:exit-function my-exit-function))
> (defun my-exit-function (string finished)
> (when (eq finished 'failed)
> (dabbrev-expand)))
> and always get a dabbrev-expand as fallback to completion-at-point?
Hmm... interesting way to attack that problem. I don't think that will
work quite like this: if the completion provides its own :exit-function
(e.g. to add a terminator string), then yours won't be run.
Stefan
- Re: [O] Completing with anything, Julien Danjou, 2011/05/03
- Re: [O] Completing with anything, Stefan Monnier, 2011/05/04
- Re: [O] Completing with anything, Julien Danjou, 2011/05/04
- Re: [O] Completing with anything, Stefan Monnier, 2011/05/23
- Re: [O] Completing with anything, Julien Danjou, 2011/05/24
- Message not available
- Re: [O] Completing with anything,
Stefan Monnier <=
- Re: [O] Completing with anything, Antoine Levitt, 2011/05/24
- Re: [O] Completing with anything, Stefan Monnier, 2011/05/24
- Re: [O] Completing with anything, Stefan Monnier, 2011/05/24
- Re: [O] Completing with anything, Antoine Levitt, 2011/05/24
- Re: [O] Completing with anything, Stefan Monnier, 2011/05/24
- Re: [O] Completing with anything, Antoine Levitt, 2011/05/24
- Re: [O] Completing with anything, Stefan Monnier, 2011/05/25
- Re: [O] Completing with anything, Antoine Levitt, 2011/05/26
- Re: [O] Completing with anything, Stefan Monnier, 2011/05/27