emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dabbrev-completion doc string


From: Luc Teirlinck
Subject: Re: dabbrev-completion doc string
Date: Sat, 26 Nov 2005 11:28:55 -0600 (CST)

Drew Adams wrote:

   2. nil is the default value. Why do we _not_ recompute the list of
   completions systematically?

As I pointed out yesterday, that seems to be what actually happens
with the current code.  (Unless I am misunderstanding something.)
`dabbrev-completion' contains an `if' whose long and complex condition
always returns nil.  Hence, the else part of the `if' is _always_
executed, meaning that the list is _always_ recomputed.

Of course, if we believe that the actual behavior is OK, we should
simplify the `dabbrev-completion' code and get rid of the `if'.

The incorrect last paragraph of the docstring should then, of course,
be removed.

Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]