[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for woman (woman-topic-at-point)
From: |
David Kastrup |
Subject: |
Re: patch for woman (woman-topic-at-point) |
Date: |
Sun, 28 Aug 2005 21:35:34 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Emilio Lopes <address@hidden> writes:
> Stefan Monnier writes:
>
>> Instead of assoc, I'd recommend you use test-completion. It's
>> probably equivalent given the current code, but it makes the
>> intention much more clear and will work if the completion table is
>> ever changed to some other format.
>
> Thanks for the suggestion. I changed my local copy and will send a
> new version of the patch if there's interest on the changes.
>
> BTW, is there a more elegant way of writing the following? I have the
> feeling I'm missing obvious something here...
>
> (and word-at-point
> (test-completion word-at-point woman-topic-all-completions)
> word-at-point)
(when (and word-at-point
(test-completion word-at-point woman-topic-all-completions))
word-at-point)
It's more verbose, but brings across the purpose somewhat better.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- patch for woman (woman-topic-at-point), Emilio Lopes, 2005/08/25
- Re: patch for woman (woman-topic-at-point), David Kastrup, 2005/08/25
- Re: patch for woman (woman-topic-at-point), Richard M. Stallman, 2005/08/26
- Re: patch for woman (woman-topic-at-point), Emilio Lopes, 2005/08/26
- Re: patch for woman (woman-topic-at-point), Emilio Lopes, 2005/08/26
- Re: patch for woman (woman-topic-at-point), Emilio Lopes, 2005/08/29
- Re: patch for woman (woman-topic-at-point), Stefan Monnier, 2005/08/29
- Re: patch for woman (woman-topic-at-point), Thien-Thi Nguyen, 2005/08/29
- Re: patch for woman (woman-topic-at-point), Stefan Monnier, 2005/08/30
- Re: patch for woman (woman-topic-at-point), Richard M. Stallman, 2005/08/27
RE: patch for woman (woman-topic-at-point), Dr Francis J Wright, 2005/08/26