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

[Pkg-octave-devel] Bug#416048: marked as done (octave2.9-emacsen: interface change in pwd => error message in octave-mod)



Your message dated Thu, 29 Mar 2007 12:02:04 +0000
with message-id <E1HWtKO-0001kf-LG@ries.debian.org>
and subject line Bug#416048: fixed in octave2.9 2.9.10-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: octave2.9-emacsen
Severity: normal
Tags: patch

Hello,

I introduced in 2005 the following patch to octave-mod:
--- 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)))
 
 ^L
 (defun inferior-octave-complete ()


The purpose is to made the idea of inferior-octave process and emacs 
buffer about dirs the same in case the initialisation file '.octaverc' 
contains a 'cd' command. 

It started failing some times ago about unknown "CDPATH". The reason is 
that pwd now returns 'ans = /home/user', and cding to 'ans = /home/user' 
is not possible. The workaround is to use disp(pwd) instead:
--- octave-inf.el.orig  2007-03-23 17:16:19.000000000 +0100
+++ octave-inf.el       2007-03-23 17:16:35.000000000 +0100
@@ -386,7 +386,7 @@
 This command queries the inferior Octave process about its current
 directory and makes this the current buffer's default directory."
   (interactive)
-  (inferior-octave-send-list-and-digest '("pwd\n"))
+  (inferior-octave-send-list-and-digest '("disp(pwd)\n"))
   (cd (car inferior-octave-output-list)))
 
 ;;; provide ourself

May I also ask for the use of update-alternatives to use the right 
versions of octave-inf and co ? There are indeed three sources:
emacs21-el_21.4a+1-3_all.deb
octave2.9-emacsen_2.9.9-8etch1_all.deb
octave2.1-emacsen

TIA

Pascal Dupuis


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.3
Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=ISO-8859-1)
--- octave-inf.el.orig	2007-03-23 17:16:19.000000000 +0100
+++ octave-inf.el	2007-03-23 17:16:35.000000000 +0100
@@ -386,7 +386,7 @@
 This command queries the inferior Octave process about its current
 directory and makes this the current buffer's default directory."
   (interactive)
-  (inferior-octave-send-list-and-digest '("pwd\n"))
+  (inferior-octave-send-list-and-digest '("disp(pwd)\n"))
   (cd (car inferior-octave-output-list)))
 
 ;;; provide ourself

--- End Message ---
--- Begin Message ---
Source: octave2.9
Source-Version: 2.9.10-1

We believe that the bug you reported is fixed in the latest version of
octave2.9, which is due to be installed in the Debian FTP archive:

octave2.9-doc_2.9.10-1_all.deb
  to pool/main/o/octave2.9/octave2.9-doc_2.9.10-1_all.deb
octave2.9-emacsen_2.9.10-1_all.deb
  to pool/main/o/octave2.9/octave2.9-emacsen_2.9.10-1_all.deb
octave2.9-headers_2.9.10-1_i386.deb
  to pool/main/o/octave2.9/octave2.9-headers_2.9.10-1_i386.deb
octave2.9-htmldoc_2.9.10-1_all.deb
  to pool/main/o/octave2.9/octave2.9-htmldoc_2.9.10-1_all.deb
octave2.9-info_2.9.10-1_all.deb
  to pool/main/o/octave2.9/octave2.9-info_2.9.10-1_all.deb
octave2.9_2.9.10-1.diff.gz
  to pool/main/o/octave2.9/octave2.9_2.9.10-1.diff.gz
octave2.9_2.9.10-1.dsc
  to pool/main/o/octave2.9/octave2.9_2.9.10-1.dsc
octave2.9_2.9.10-1_i386.deb
  to pool/main/o/octave2.9/octave2.9_2.9.10-1_i386.deb
octave2.9_2.9.10.orig.tar.gz
  to pool/main/o/octave2.9/octave2.9_2.9.10.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 416048@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octave2.9 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 29 Mar 2007 08:06:16 +0200
Source: octave2.9
Binary: octave2.9-headers octave2.9-info octave2.9-htmldoc octave2.9 octave2.9-emacsen octave2.9-doc
Architecture: source i386 all
Version: 2.9.10-1
Distribution: experimental
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description: 
 octave2.9  - GNU Octave language for numerical computations (2.9 branch)
 octave2.9-doc - PDF documentation on the GNU Octave language (2.9 branch)
 octave2.9-emacsen - Emacs support for the GNU Octave language (2.9 branch)
 octave2.9-headers - header files for the GNU Octave language (2.9 branch)
 octave2.9-htmldoc - HTML documentation on the GNU Octave language (2.9 branch)
 octave2.9-info - GNU Info documentation on the GNU Octave language (2.9 branch)
Closes: 416048
Changes: 
 octave2.9 (2.9.10-1) experimental; urgency=low
 .
   * New upstream release:
     + The emacs/octave-inf.el file correctly calls the pwd command
       (closes: #416048).
     + debian/patches/50_glpk-pre-ifdef-logic.dpatch: Fixed #ifdef logic
       around macro GLPK_PRE_4_14, which was causing an extra closing brace
       to be introduced for the extern "C"  declaration when GLPK_PRE_4_14
       was not defined.  This patch has been sent to bug@octave.org.
     + debian/patches/50_syscalls-test-sleep.dpatch: Increase the amount of
       time to sleep, in case of errno == EAGAIN when running the test for
       syscalls.cc ("make check" hangs in an unpredictable way without this
       patch)
 .
   * Removed dpatches (applied upstream):
     + 50_mkoctifle-man-indent-option
     + 50_fix_hold_state
     + 50_rename-octave-tags
     + 50_clean-mat-files
     + 50_empty-lhs-sparse
     + 50_plot-doc
     + 50_print-imagemagick-extensions
     + 50_correct_test
     + 50_glpk-api-v4.15
     + 50_parse-inline-brackets
     + 50_sparse_constructors
 .
   * debian/rules:
     + Install emacs/octave-tags* files instead of emacs/otags*
     + Added conf.texi to $(savefiles)
     + Added hack for removing the libcruft/misc/pic directory left after
       "make clean", as well as the libcruft/mkf77def script and the test
       file test/a.wav
     + When building the architecture independent part of the pacakge, call
       make with AWK=gawk, otherwise mawk will be used and the infamous
       error message "program limit exceeded: sprintf buffer size=1020"
       will be issued.
 .
   * debian/in/control:
     + Added XS-Vcs-Svn and XS-Vcs-Browser fields
     + Build-depends on gawk
Files: 
 30b7d8d0ca41fb197b27035eaeea04e6 1242 math optional octave2.9_2.9.10-1.dsc
 c6e59c48aa09f4663f808cd8acc50df1 8493859 math optional octave2.9_2.9.10.orig.tar.gz
 663665bea88fe2793cabdc0d30726c88 59315 math optional octave2.9_2.9.10-1.diff.gz
 09f368f88379fb1ec5fd63e0e878f112 7930628 math optional octave2.9_2.9.10-1_i386.deb
 768b4d6451cb1abbbc28bdb78b1db705 356808 math optional octave2.9-headers_2.9.10-1_i386.deb
 5e4ae632beaf6b5fda1bc92b01d6021e 2611798 doc optional octave2.9-doc_2.9.10-1_all.deb
 497bf05073807f6fd1f51b316d00b21f 521624 math optional octave2.9-htmldoc_2.9.10-1_all.deb
 b11d08bd92aff4214c4bc5635b22d954 85928 math optional octave2.9-emacsen_2.9.10-1_all.deb
 31b9df423b6b4ab9bbd7c09c33c8f043 359696 math optional octave2.9-info_2.9.10-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGC6g+k3oga0pdcv4RAnLlAJ0URKQFzMSy+GDB1Zg+KZ853/KPoACfeLVK
ob1tHr8mDEOUddh+MrYtFZ0=
=Qo13
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: