Your message dated Wed, 28 Mar 2007 15:40:35 +0200
with message-id <[email protected]>
has caused the Debian Bug report #416046,
regarding octave2.9: pathdef doesn't include dir with info-emacs-info and
to be marked as having been forwarded to the upstream software
author(s) [email protected]
(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 ---
Re: Bug#416046: octave2.9: pathdef doesn't include dir with info-emacs-info and info-emacs-octave-help
Wed, 28 Mar 2007 15:40:35 +0200
tags 416046 = upstream patch
I am forwarding below a bug report filed against the octave2.9 package in
Debian. The full context can be seen at the Debian BTS . The bug
reporter is correctly complaining that the docs are outdated regarding the
old built-in variables LOADPATH, INFO_FILES, and INFO_PROGRAM. Please,
consider the attached patch against the CVS sources, in which I tried to
chase down all the references to the variables above. Changelog entries are
* depuis <[email protected]> [2007-03-28 08:41]:
> ---------- Initial header -----------
> >From : "Rafael Laboissiere" [email protected]
> To : "Pascal A. Dupuis"
> [email protected],[email protected]
> CC : [email protected]
> Date : Tue, 27 Mar 2007 20:37:55 +0200
> Subject : Re: [Pkg-octave-devel] Bug#416046: octave2.9: pathdef doesn't
> include dir with info-emacs-info and info-emacs-octave-help
> > package octave2.9
> > tags 416046 moreinfo
> > thanks
> > * Pascal A. Dupuis <[email protected]> [2007-03-24 11:55]:
> > > Package: octave2.9
> > > Severity: normal
> > >
> > > Hello,
> > > while trying to understand why the info mode didn't work as expected in
> > > octave2.9 running under emacs, I found that the required "programs"
> > > (shell scripts calling gnudoit), info-emacs-info &
> > > info-emacs-octave-help,
> > > are placed under
> > > /usr/lib/octave/2.9.9/exec/i486-pc-linux-gnu
> > >
> > > This dir does not appear in pathdef, so both functions are unknown.
> > > Could you please solve it ?
> > I am puzzled by this bug report. The path returned by pathdef() is used
> > only for finding *.m and *.oct files and not the executables in
> > /usr/lib/octave/<version>/exec/<arch>. BTW, the following works perfectly
> > for me:
> > $ sudo apt-get install emacs21 gnuserv octave2.9 octave2.9-info
> > $ emacs -eval "(gnuserv-start)" &
> > $ octave2.9
> > octave2.9:1> info_program ("info-emacs-info")
> > octave2.9:2> doc
> > I see then the info directory in my emacs frame. Does this work for you?
> > I may have misunderstood your problem. At any rate, I am tagging this bug
> > report "moreinfo", meaning that if we do not receive further informations in
> > a reasonable time frame I will close this bug report.
> > --
> > Rafael
> OK. Understood.
> Under octave2.1, the equivalent was:
> INFO_PROGRAM = "info-emacs-info";
> It thus changed from a variable to a function.
> Now, there are some discrenpancies into the documentation:
> octave2.9-info states:
> `--info-program PROGRAM'
> Specify the name of the info program to use. The value of PROGRAM
> specified on the command line will override any value of
> `OCTAVE_INFO_PROGRAM' found in the environment, but not any
> commands in the system or user startup files that set the built-in
> variable `INFO_PROGRAM'.
> *Note Getting Help::.
> Default value:
> in E.4 Using the Emacs Info Reader for Octave
> You can use either `plain' Emacs Info or the function `octave-help'
> as your Octave info reader (for `help -i'). In the former case, set
> the Octave variable `INFO_PROGRAM' to `"info-emacs-info"'. The latter
> is perhaps more attractive because it allows to look up keys in the
> indices of _several_ info files related to Octave (provided that the
> Emacs variable `octave-help-files' is set correctly). In this case,
> set `INFO_PROGRAM' to `"info-emacs-octave-help"'.
> It seems that some documented variables don't exist anymore (octave2.9.9,
> debian testing) : DEFAULT_LOADPATH, INFO_FILE, INFO_PROGRAM, LOADPATH ? OTOH,
> things like 'EDITOR' and 'PS1' are now listed as 'built-in functions' ?
> Best regards
> Pascal Dupuis
Description: Text document
--- End Message ---