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

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

comint-dynamic-complete-functions keeps getting clobbered


From: Otto Maddox
Subject: comint-dynamic-complete-functions keeps getting clobbered
Date: Fri, 07 Jul 2006 14:03:04 +0100

$ 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





reply via email to

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