all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: patch for woman (woman-topic-at-point)
Date: Fri, 26 Aug 2005 14:05:29 -0400	[thread overview]
Message-ID: <jwvy86o60jn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <izmr4zptl.fsf@tiscali.de> (Emilio Lopes's message of "Fri, 26 Aug 2005 17:21:42 +0200")

> !               (let ((default (and (current-word)
> !                                   (car (assoc (current-word)
> !                                               woman-topic-all-completions)))))

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.


        Stefan

  reply	other threads:[~2005-08-26 18:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-25 18:48 patch for woman (woman-topic-at-point) Emilio Lopes
2005-08-25 19:51 ` David Kastrup
2005-08-26 12:03 ` Richard M. Stallman
2005-08-26 15:21   ` Emilio Lopes
2005-08-26 18:05     ` Stefan Monnier [this message]
2005-08-27 18:57       ` Emilio Lopes
2005-08-28 19:35         ` David Kastrup
2005-08-29 16:08           ` Drew Adams
2005-08-30 16:13             ` Emilio Lopes
2005-08-29 18:08           ` Emilio Lopes
2005-08-29 20:56             ` Stefan Monnier
2005-08-29 22:15               ` Thien-Thi Nguyen
2005-08-31  2:28                 ` Stefan Monnier
2005-08-28  2:45     ` Richard M. Stallman
2005-09-02 11:11       ` Dr Francis J Wright
2005-08-26 15:23   ` Emilio Lopes
2005-08-26 16:25   ` Dr Francis J Wright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvy86o60jn.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.