[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HEAD: Bug in simple.el/minibuffer.el causing display-completion-list to
HEAD: Bug in simple.el/minibuffer.el causing display-completion-list to delete not only word to be completed but everything in file before it
Mon, 28 Apr 2008 14:22:25 +0200
In current HEAD display-completion-list deletes not only word to be
completed but everything in file before it.
(defun my-complete-test ()
'("test1" "test2" "test345")
and call that function in a buffer on the word "test" (M-x
my-complete-test) with some text preceeding "test". deletes everything
before word "test" instead of just replacing it.
This also happens when using the complete-tag function :(.
My interpretation of the problem :).
(set (make-local-variable 'completion-base-size) (or (cdr last) 0))
sets completion-base-size to 0
which causes everything to be deleted before the word to be completed.
seems to be related to completion-setup-function in simple.el checking
for completion-base-size where i believe it should check for
is it possible that it should read:
RCS file: /sources/emacs/emacs/lisp/simple.el,v
retrieving revision 1.924
diff -r1.924 simple.el
< (unless completion-base-size
> (unless completion-all-completions-with-base-size
after applying that patch completion works for me.
|[Prev in Thread]
||[Next in Thread]|
- HEAD: Bug in simple.el/minibuffer.el causing display-completion-list to delete not only word to be completed but everything in file before it,
Arnold Schwaighofer <=