[Pkg-octave-devel] Bug#324471: octave2.1-emacsen: problems if octave startup file contains cd()

John W. Eaton jwe at bevo.che.wisc.edu
Wed Aug 31 19:14:54 UTC 2005


I applied this change to my sources.

Would you please also report this to the Emacs maintainers so that the
version of octave-inf that is distributed with Emacs can also be
fixed?

Thanks,

jwe


On 27-Aug-2005, Rafael Laboissiere wrote:

| package octave2.1-emacsen
| tags 324471 upstream
| forwarded 324471 bug at octave.org
| stop
| 
| 
| The bug report attached below was filed against version 2.1.69 of the
| Debian package. I confirm that the patch provided fixes the problem also
| for Octave 2.1.71.  Please consider applying it to CVS.
| 
| --
| Rafael
| 
| Received: from fetchmail by laboiss2 with local (Exim 3.36 #1 (Debian))
| 	id 1E96vx-00044Z-00
| 	for <rafael at localhost>; Sat, 27 Aug 2005 22:05:45 +0200
| Received: from neukom.intra.mpipf-muenchen.mpg.de [10.129.1.23]
| 	by localhost with POP3 (fetchmail-6.2.5)
| 	for rafael at localhost (single-drop); Sat, 27 Aug 2005 22:05:45 +0200 (CEST)
| Received: from kom.mpisoc.mpg.de ([192.129.1.23] helo=kom.mpipf-muenchen.mpg.de)
| 	by amalie.intra.mpipf-muenchen.mpg.de with esmtp (Exim 4.05)
| 	id 1E96rb-0007dF-00
| 	for laboissiere at psy.mpg.de; Sat, 27 Aug 2005 22:01:15 +0200
| Received: from master.debian.org ([146.82.138.7])
| 	by kom.mpipf-muenchen.mpg.de with esmtp (Exim 4.34)
| 	id 1E96ra-0002m8-Np
| 	for laboissiere at psy.mpg.de; Sat, 27 Aug 2005 22:01:15 +0200
| Received: from haydn.debian.org [192.25.206.28] 
| 	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
| 	id 1E7u1M-0000Dl-00; Wed, 24 Aug 2005 07:06:20 -0500
| Received: from localhost ([127.0.0.1]:44789 helo=haydn.debian.org)
| 	by haydn.debian.org with esmtp (Exim 4.50)
| 	id 1E7u1L-0008MJ-Iu; Wed, 24 Aug 2005 12:06:20 +0000
| Received: from spohr.debian.org ([140.211.166.43]:38932 ident=mail)
| 	by haydn.debian.org with esmtp (Exim 4.50) id 1E79Q1-0008Dv-N0
| 	for pkg-octave-devel at lists.alioth.debian.org;
| 	Mon, 22 Aug 2005 10:20:42 +0000
| Received: from debbugs by spohr.debian.org with local (Exim 3.36 1 (Debian))
| 	id 1E798y-0006bd-00; Mon, 22 Aug 2005 03:03:04 -0700
| X-Loop: owner at bugs.debian.org
| Resent-From: "Pascal A. Dupuis" <Pascal.Dupuis at esat.kuleuven.be>
| Resent-To: debian-bugs-dist at lists.debian.org
| Resent-CC: Debian Octave Group <pkg-octave-devel at lists.alioth.debian.org>
| Resent-Date: Mon, 22 Aug 2005 10:03:02 UTC
| Resent-Message-ID: <handler.324471.B.11247040397540 at bugs.debian.org>
| X-Debian-PR-Message: report 324471
| X-Debian-PR-Package: octave2.1-emacsen
| X-Debian-PR-Keywords: patch
| Received: via spool by submit at bugs.debian.org id=B.11247040397540
| 	(code B ref -1); Mon, 22 Aug 2005 10:03:02 UTC
| Received: (at submit) by bugs.debian.org; 22 Aug 2005 09:47:19 +0000
| Received: from nibbel.kulnet.kuleuven.ac.be [134.58.240.41] 
| 	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
| 	id 1E78ti-0001aC-00; Mon, 22 Aug 2005 02:47:19 -0700
| Received: from localhost (localhost [127.0.0.1])
| 	by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id D31404C14F
| 	for <submit at bugs.debian.org>; Mon, 22 Aug 2005 11:46:46 +0200 (CEST)
| Received: from smtp02.kuleuven.be (lepidus.kulnet.kuleuven.ac.be
| 	[134.58.240.72])
| 	by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 31DFA4C294
| 	for <submit at bugs.debian.org>; Mon, 22 Aug 2005 11:46:46 +0200 (CEST)
| Received: from electa-30.esat.kuleuven.be (electa-30.esat.kuleuven.be
| 	[10.33.135.40])
| 	by smtp02.kuleuven.be (Postfix) with ESMTP id 22F932CAA0B
| 	for <submit at bugs.debian.org>; Mon, 22 Aug 2005 11:46:46 +0200 (CEST)
| Received: by electa-30.esat.kuleuven.be (Postfix, from userid 2007)
| 	id 546E41C196; Mon, 22 Aug 2005 11:46:44 +0200 (CEST)
| Content-Type: multipart/mixed; boundary="===============1476422183=="
| MIME-Version: 1.0
| From: "Pascal A. Dupuis" <Pascal.Dupuis at esat.kuleuven.be>
| To: Debian Bug Tracking System <submit at bugs.debian.org>
| X-Mailer: reportbug 3.15
| Date: Mon, 22 Aug 2005 11:46:43 +0200
| Message-Id: <20050822094644.546E41C196 at electa-30.esat.kuleuven.be>
| X-Virus-Scanned: by KULeuven Antivirus Cluster
| Delivered-To: submit at bugs.debian.org
| X-Mailman-Approved-At: Wed, 24 Aug 2005 12:06:13 +0000
| Subject: [Pkg-octave-devel] Bug#324471: octave2.1-emacsen: problems if
| 	octave startup file contains cd()
| X-BeenThere: pkg-octave-devel at lists.alioth.debian.org
| X-Mailman-Version: 2.1.5
| Precedence: list
| Reply-To: "Pascal A. Dupuis" <Pascal.Dupuis at esat.kuleuven.be>,
| 	324471 at bugs.debian.org
| List-Id: Development discussion for Octave/Debian
| 	<pkg-octave-devel.lists.alioth.debian.org>
| List-Unsubscribe: <http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel>,
| 	<mailto:pkg-octave-devel-request at lists.alioth.debian.org?subject=unsubscribe>
| List-Archive: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel>
| List-Post: <mailto:pkg-octave-devel at lists.alioth.debian.org>
| List-Help: <mailto:pkg-octave-devel-request at lists.alioth.debian.org?subject=help>
| List-Subscribe: <http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel>,
| 	<mailto:pkg-octave-devel-request at lists.alioth.debian.org?subject=subscribe>
| Sender: pkg-octave-devel-bounces at lists.alioth.debian.org
| Errors-To: pkg-octave-devel-bounces at lists.alioth.debian.org
| X-SA-Exim-Connect-IP: 127.0.0.1
| Resent-Date: Sat, 27 Aug 2005 22:01:15 +0200
| X-UIDL: oj~"!UaM!!5]J!!M^B"!
| Resent-Sender:  <fetchmail at mpipf-muenchen.mpg.de>
| X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=0.94.13
| X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on laboiss2
| X-Spam-Level: 
| X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00 autolearn=ham 
| 	version=3.0.4
| X-Filter: mailagent [version 3.0 PL73] for laboissiere at cbs.mpg.de
| 
| This is a multi-part MIME message sent by reportbug.
| 
| --===============1476422183==
| Content-Type: text/plain; charset="us-ascii"
| MIME-Version: 1.0
| Content-Transfer-Encoding: 7bit
| Content-Disposition: inline
| 
| Package: octave2.1-emacsen
| Version: 2.1.69-1
| Severity: minor
| Tags: patch
| 
| Hello,
| 
| having a cd() in .octaverc leads to annoyances in octave-emacs buffer,
| because subsequent cd() at octave prompt fails 
| "cd: No such directory found via CDPATH environment variable"
| until you perform a cd to some absolute location. The problem is to
| resync the internal buffer idea of path after the .octaverc
| invocation. The enclosed patch solves it.
| 
| Best regards
| 
| Pascal Dupuis
| 
| -- System Information:
| Debian Release: testing/unstable
|   APT prefers testing
|   APT policy: (500, 'testing')
| Architecture: i386 (i686)
| Shell:  /bin/sh linked to /bin/bash
| Kernel: Linux 2.6.12.3
| Locale: LANG=fr_BE at euro, LC_CTYPE=fr_BE at euro (charmap=ISO-8859-15)
| 
| Versions of packages octave2.1-emacsen depends on:
| ii  debianutils                   2.14.1     Miscellaneous utilities specific t
| ii  emacs21 [emacsen]             21.4a-1    The GNU Emacs editor
| ii  octave2.1                     2.1.69-1   GNU Octave language for numerical 
| 
| octave2.1-emacsen recommends no packages.
| 
| -- no debconf information
| 
| --===============1476422183==
| Content-Type: text/plain; charset="us-ascii"
| MIME-Version: 1.0
| Content-Transfer-Encoding: 7bit
| Content-Disposition: attachment; filename="octave-inf.pat"
| 
| --- octave-inf.el.orig	2005-08-22 11:34:57.000000000 +0200
| +++ octave-inf.el	2005-08-22 11:38:05.000000000 +0200
| @@ -234,7 +234,10 @@
|  
|      ;; And finally, everything is back to normal.
|      (set-process-filter proc 'inferior-octave-output-filter)
| -    (run-hooks 'inferior-octave-startup-hook)))
| +    (run-hooks 'inferior-octave-startup-hook)
| +    ;; just in case, to be sure a cd in the startup file 
| +    ;; won't have detrimental effects
| +    (inferior-octave-resync-dirs)))
|  
|  
|  (defun inferior-octave-complete ()
| 
| --===============1476422183==
| Content-Type: text/plain; charset="us-ascii"
| MIME-Version: 1.0
| Content-Transfer-Encoding: 7bit
| Content-Disposition: inline
| 
| _______________________________________________
| Pkg-octave-devel mailing list
| Pkg-octave-devel at lists.alioth.debian.org
| http://lists.alioth.debian.org/mailman/listinfo/pkg-octave-devel
| 
| --===============1476422183==--
| 
| 
| 
| 




More information about the Pkg-octave-devel mailing list