From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.comp.gnu.octave.bugs,gmane.emacs.bugs Subject: Re: Bug#443439: emacs: run-octave captures the shell directory tracker Date: Fri, 21 Sep 2007 21:29:09 +0200 Message-ID: References: <18163.59086.203111.308676@segfault.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190403151 629 80.91.229.12 (21 Sep 2007 19:32:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2007 19:32:31 +0000 (UTC) Cc: GNU emacs bug list , Octave bugs list , 443439-maintonly@bugs.debian.org, "John W. Eaton" To: Francesco Potorti` Original-X-From: bug-octave-bounces@octave.org Fri Sep 21 21:32:29 2007 Return-path: Envelope-to: gcgob-bug-octave@gmane.org Original-Received: from mail.cae.wisc.edu ([144.92.13.31]) by lo.gmane.org with esmtp (Exim 4.50) id 1IYoEl-0001vP-KU for gcgob-bug-octave@gmane.org; Fri, 21 Sep 2007 21:32:27 +0200 Original-Received: from www.cae.wisc.edu (www.cae.wisc.edu [144.92.13.3]) by mail.cae.wisc.edu (8.13.8+Sun/8.13.3) with ESMTP id l8LJVlJG016450; Fri, 21 Sep 2007 14:31:48 -0500 (CDT) Original-Received: from mail.cae.wisc.edu (mail.cae.wisc.edu [144.92.13.31]) by www.cae.wisc.edu (8.13.8+Sun/8.13.7) with ESMTP id l8LJTbpV002154 for ; Fri, 21 Sep 2007 14:29:37 -0500 (CDT) Original-Received: from mx2.cae.wisc.edu (mx2.cae.wisc.edu [144.92.13.29]) by mail.cae.wisc.edu (8.13.8+Sun/8.13.3) with ESMTP id l8LJTU3Q015647; Fri, 21 Sep 2007 14:29:30 -0500 (CDT) Original-Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by mx2.cae.wisc.edu (8.13.8/8.13.8/Debian-3) with ESMTP id l8LJTGnJ006210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 21 Sep 2007 14:29:23 -0500 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 2B40822B35; Fri, 21 Sep 2007 21:29:10 +0200 (CEST) X-Yow: Now I need a suntan, a tennis lesson, Annette Funicello and two dozen Day-Glo orange paper jumpsuits!! In-Reply-To: (Francesco Potorti`'s message of "Fri\, 21 Sep 2007 20\:10\:56 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) X-Seen-By: Mailfromd 3.1.3 X-Virus-Scanned: by amavisd-new X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL, BAYES_99, RCVD_IN_DNSWL_MED X-BeenThere: bug-octave@octave.org X-Mailman-Version: 2.1.7 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-octave-bounces@octave.org Xref: news.gmane.org gmane.comp.gnu.octave.bugs:6264 gmane.emacs.bugs:16594 Archived-At: Francesco Potorti` writes: >>> + (set (make-local-variable 'comint-dynamic-complete-functions) >>> + inferior-octave-dynamic-complete-functions) >> >>That is also a hook variable, so it should be set with add-hook. > > However, in shell.el: > > (set (make-local-variable 'comint-dynamic-complete-functions) > shell-dynamic-complete-functions) Sorry, I misparsed it. Both inferior-octave-dynamic-complete-functions and shell-dynamic-complete-functions are hooks by itself, so this is ok. Andreas. -- = Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."