[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17899: 184.108.40.206; dabbrev-completion incorrectly searches all buffer
bug#17899: 220.127.116.11; dabbrev-completion incorrectly searches all buffers
Wed, 2 Jul 2014 15:54:43 +0200
GNU Emacs 18.104.22.168 (x86_64-apple-darwin13.2.0, NS apple-appkit-1265.20)
TO REPRODUCE BUG:
* emacs -Q
* Create two buffers (C-x b) with the following contents:
foo.el: "idris0 idris1"
bar.el: "ideal0 ideal1"
* Go to end of foo.el, write "id" and execute dabbrev-completion (C-M-/)
"id" should complete to "idris". The doc of dabbrev-completion is very clear on
"Like M-/ but finds all expansions in the current buffer
and presents suggestions for completion.
With a prefix argument ARG, it searches all buffers accepted by the
function pointed out by `dabbrev-friend-buffer-function' to find the
If the prefix argument is 16 (which comes from C-u C-u),
then it searches *all* buffers."
No prefix was given here, so it should just look in the current buffer.
A new buffer opens with the text:
"In this buffer, type RET to select the completion near point.
Possible completions are:
Apparently, the buffer bar.el was incorrectly taken into account. After killing
buffer bar.el, dabbrev-completion completes as expected in foo.el.
- bug#17899: 22.214.171.124; dabbrev-completion incorrectly searches all buffers,
Stefan Guath <=