From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Michel Salim" Newsgroups: gmane.comp.gnu.octave.bugs,gmane.emacs.bugs Subject: Re: CDPATH problem reappears when using octave-2.9.9 from Emacs 23 Date: Thu, 26 Oct 2006 01:33:10 -0400 Message-ID: <883cfe6d0610252233p502ab750ge17ba1b13ff170b3@mail.gmail.com> References: <883cfe6d0610201409s65d1c0abt8e6d75db7e17ca8c@mail.gmail.com> <17722.10618.676894.295164@segfault.lan> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161867122 32300 80.91.229.2 (26 Oct 2006 12:52:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2006 12:52:02 +0000 (UTC) Cc: bug@octave.org, bug-gnu-emacs@gnu.org, "John W. Eaton" Original-X-From: bug-octave-bounces@octave.org Thu Oct 26 14:51:57 2006 Return-path: Envelope-to: gcgob-bug-octave@gmane.org Original-Received: from mail.cae.wisc.edu ([144.92.13.31]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gd4i3-0001Y7-Mc for gcgob-bug-octave@gmane.org; Thu, 26 Oct 2006 14:51:48 +0200 Original-Received: from www.cae.wisc.edu (www.cae.wisc.edu [144.92.13.3]) by mail.cae.wisc.edu (8.13.7+Sun/8.13.3) with ESMTP id k9QCoopZ015365; Thu, 26 Oct 2006 07:50:51 -0500 (CDT) Original-Received: from mail.cae.wisc.edu (mail.cae.wisc.edu [144.92.13.31]) by wwwcaewiscedu (8.13.7+Sun/8.13.7) with ESMTP id k9Q5iS9s002473 for ; Thu, 26 Oct 2006 00:44:28 -0500 (CDT) Original-Received: from mx3.cae.wisc.edu (mx3.cae.wisc.edu [144.92.12.134]) by mail.cae.wisc.edu (8.13.7+Sun/8.13.3) with ESMTP id k9Q5iRGe028378 for ; Thu, 26 Oct 2006 00:44:27 -0500 (CDT) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx3.cae.wisc.edu (8.13.4/8.13.4/Debian-3sarge2) with ESMTP id k9Q5hs6h007707 for ; Thu, 26 Oct 2006 00:44:25 -0500 Original-Received: by py-out-1112.google.com with SMTP id 39so290581pyu for ; Wed, 25 Oct 2006 22:43:54 -0700 (PDT) Original-Received: by 10.35.17.8 with SMTP id u8mr2597592pyi; Wed, 25 Oct 2006 22:33:53 -0700 (PDT) Original-Received: by 10.35.124.16 with HTTP; Wed, 25 Oct 2006 22:33:10 -0700 (PDT) Original-To: rms@gnu.org In-Reply-To: Content-Disposition: inline X-CAE-MailScanner: Found to be clean (errol), Found to be clean (benji) X-Spam-Flag: NO X-Spam-Level: X-Spam-Reason: AWL X-Mailman-Approved-At: Thu, 26 Oct 2006 07:50:49 -0500 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: , Original-Sender: bug-octave-bounces@octave.org Errors-To: bug-octave-bounces@octave.org X-CAE-MailScanner-Information: Please contact security@engr.wisc.edu if this message contains a virus or has been corrupted in delivery. Xref: news.gmane.org gmane.comp.gnu.octave.bugs:4032 gmane.emacs.bugs:15391 Archived-At: On 10/23/06, Richard Stallman wrote: > In any case, I looked at the Emacs lisp files that are distributed > with the pre-release of Emacs that I am using and it appears that this > message could come from the cd function. > > It looks that way. > > Michel, how about if you do M-x toggle-debug-on-error, > and see how cd is actually being called and from where and why? > The last function called before the error was inferior-octave-resync-dirs(), called by inferior-octave-startup(), called by run-octave(nil). The directory that's not found via CDPATH is whatever the current directory is when emacs was invoked. The bizarre thing is: 1. This does not get triggered by octave 2.9.8 2. adding that directory to CDPATH does not change the result 3. I've tried using the emacs mode shipped with Octave by adding them to the load-path, and get the same error. So it's probably not caused by the difference between the two modes. The curious thing is, the last time a CDPATH problem was reported in relation to Octave, the solution was precisely to add the call to inferior-octave-resync-dirs() ... http://velveeta.che.wisc.edu/octave/lists/archive//help-octave.2005/msg03088.html Thanks for looking into this - I could go back to Emacs 21.4, but CVS 23 looks so much more polished. -- Michel Salim http://salimma.livejournal.com