unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Octave Help Mode?
       [not found] <fu0o8p$t8g$1@registered.motzarella.org>
@ 2008-04-15  7:20 ` David Hansen
  2008-04-15 15:55   ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: David Hansen @ 2008-04-15  7:20 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: emacs-devel

[Cc: to emacs-devel]

On Tue, 15 Apr 2008 01:10:17 +0200 Christian Herenz wrote:

> I have a problem with Ocatve Mode. C-x C-h (or M-x octave-help) does
> not work. It seems that octave-hlp.el cannot find the entrys, so no
> symbol can be described. However, the variable octave-help-files is
> set to "octave". Maybe this is a bug in my distribution?
> I use openSUSE 10.2, and I get no error message, but as stated above I
> cannot get help on anything.

It's working here but I use a developer version of emacs.  Is C-h S
working?

To the emacs-devels:

Is there any need for `ocatave-help' if `info-lookup-symbol' is doing
the same (as far as I can see)?

> At another system running Debian (Sarge) I get the error message
> "Info-find-node: Info file octave does not exist", but on the bash
> "info octave" shows the info file. However, it is not shown in M-x
> info (info-mode) inside emacs?

Maybe adjust INFO_PATH but that sounds like a Debilian bug.

David





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Octave Help Mode?
  2008-04-15  7:20 ` Octave Help Mode? David Hansen
@ 2008-04-15 15:55   ` Stefan Monnier
  2008-04-15 18:21     ` David Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2008-04-15 15:55 UTC (permalink / raw)
  To: emacs-devel

>> I have a problem with Ocatve Mode. C-x C-h (or M-x octave-help) does
>> not work. It seems that octave-hlp.el cannot find the entrys, so no
>> symbol can be described. However, the variable octave-help-files is
>> set to "octave". Maybe this is a bug in my distribution?
>> I use openSUSE 10.2, and I get no error message, but as stated above I
>> cannot get help on anything.

> It's working here but I use a developer version of emacs.  Is C-h S
> working?

> To the emacs-devels:

> Is there any need for `octave-help' if `info-lookup-symbol' is doing
> the same (as far as I can see)?

I haven't looked at octave-help, but maybe it is indeed redundant.
Can someone check?


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Octave Help Mode?
  2008-04-15 15:55   ` Stefan Monnier
@ 2008-04-15 18:21     ` David Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: David Hansen @ 2008-04-15 18:21 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

On Tue, 15 Apr 2008 11:55:17 -0400 Stefan Monnier wrote:

>> Is there any need for `octave-help' if `info-lookup-symbol' is doing
>> the same (as far as I can see)?
>
> I haven't looked at octave-help, but maybe it is indeed redundant.
> Can someone check?

Well, I just did.  It does indeed nothing more than `info-lookup-symbol'.

I suggest to remove octave-hlp.el and applying the attached patch.  But
it can't hurt to wait a bit and give the maintainer a chance to have his
word.

David


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2606 bytes --]

*** octave-mod.el.~1.44.~	2008-02-17 01:40:24.000000000 +0100
--- octave-mod.el	2008-04-15 20:13:12.000000000 +0200
***************
*** 31,44 ****
  ;; It defines Octave mode, a major mode for editing
  ;; Octave code.
  
- ;; The file octave-hlp.el provides `octave-help', a facility for looking up
- ;; documentation on a symbol in the Octave info files.
- 
  ;; The file octave-inf.el contains code for interacting with an inferior
  ;; Octave process using comint.
  
! ;; See the documentation of `octave-mode', `octave-help' and
! ;; `run-octave' for further information on usage and customization.
  
  ;;; Code:
  (require 'custom)
--- 31,41 ----
  ;; It defines Octave mode, a major mode for editing
  ;; Octave code.
  
  ;; The file octave-inf.el contains code for interacting with an inferior
  ;; Octave process using comint.
  
! ;; See the documentation of `octave-mode' and `run-octave' for further
! ;; information on usage and customization.
  
  ;;; Code:
  (require 'custom)
***************
*** 224,230 ****
      (define-key map "\C-c\M-\C-h" 'octave-mark-block)
      (define-key map "\C-c]" 'octave-close-block)
      (define-key map "\C-c\C-f" 'octave-insert-defun)
!     (define-key map "\C-c\C-h" 'octave-help)
      (define-key map "\C-c\C-il" 'octave-send-line)
      (define-key map "\C-c\C-ib" 'octave-send-block)
      (define-key map "\C-c\C-if" 'octave-send-defun)
--- 221,227 ----
      (define-key map "\C-c\M-\C-h" 'octave-mark-block)
      (define-key map "\C-c]" 'octave-close-block)
      (define-key map "\C-c\C-f" 'octave-insert-defun)
!     (define-key map "\C-c\C-h" 'info-lookup-symbol)
      (define-key map "\C-c\C-il" 'octave-send-line)
      (define-key map "\C-c\C-ib" 'octave-send-block)
      (define-key map "\C-c\C-if" 'octave-send-defun)
***************
*** 283,289 ****
      ["Submit Bug Report"	octave-submit-bug-report t]
      "-"
      ["Describe Octave Mode"	octave-describe-major-mode t]
!     ["Lookup Octave Index"	octave-help t])
    "Menu for Octave mode.")
  
  (defvar octave-mode-syntax-table
--- 280,286 ----
      ["Submit Bug Report"	octave-submit-bug-report t]
      "-"
      ["Describe Octave Mode"	octave-describe-major-mode t]
!     ["Lookup Octave Index"	info-lookup-symbol t])
    "Menu for Octave mode.")
  
  (defvar octave-mode-syntax-table
***************
*** 1517,1523 ****
       'octave-comment-char
       'octave-continuation-offset
       'octave-continuation-string
-      'octave-help-files
       'octave-send-echo-input
       'octave-send-line-auto-forward
       'octave-send-show-buffer))))
--- 1514,1519 ----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-15 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fu0o8p$t8g$1@registered.motzarella.org>
2008-04-15  7:20 ` Octave Help Mode? David Hansen
2008-04-15 15:55   ` Stefan Monnier
2008-04-15 18:21     ` David Hansen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).