$ emacs -Q &

M-x shell RET

comint-dynamic-complete-functions has the value

(comint-replace-by-expanded-history shell-dynamic-complete-environment-variable 
shell-dynamic-complete-command shell-replace-by-expanded-directory 
comint-dynamic-complete-filename)

which is fine, and expected.  Now do

M-x run-octave RET

and comint-dynamic-complete-functions is now

(inferior-octave-complete comint-dynamic-complete-filename)

in BOTH the *Inferior Octave* buffer and the *shell* buffer, but this
value is unsuitable for the *shell* buffer.

The point is that M-x shell and M-x run-octave keep stomping over each
other's major mode's ideas of what comint-dynamic-complete-functions
should be.  Shouldn't this variable be buffer-local or something?


In GNU Emacs 22.0.50.6 (powerpc-apple-darwin8.6.0, X toolkit)
 of 2006-07-05
X server distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure '--prefix=/usr/local/emacs' '--with-x' 
'--without-carbon' '--with-x-toolkit=athena''

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to