Resending, since I got an invalid address error for emacs-pretest-bug
the first time.

Drew Adams wrote:

   IIUC, a nil ARG means to search only the current buffer.

I apparently did not read the docstring carefully enough.  The first
paragraph says exactly that.

   Perhaps this all hinges on the meaning of "if there is a suitable one
   already" - just what does that mean? I suspect that explaining what
   "suitable" means here, in user terms, would mean explaining that only the
   current buffer is to be searched. But I could be wrong.

On reading through the source code, I am the one who is confused now.
Whether the old list is suitable or not is determined by an `and'
expression.  But that `and' expression includes
`dabbrev--last-abbreviation' and this happens after
`dabbrev--reset-global-variables' got called which always sets
`dabbrev--last-abbreviation' to nil.

The way I understand it, the `and' expression _always_ returns nil and
the old completion list is _never_ suitable.

I must be misunderstanding something.  I tried to CC the listed
maintainer, but that apparently resulted in an invalid address error.

Sincerely,

Luc.


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to