all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: Octave Help Mode?
Date: Tue, 15 Apr 2008 20:21:18 +0200	[thread overview]
Message-ID: <87bq4bc735.fsf@localhorst.mine.nu> (raw)
In-Reply-To: jwvlk3fcdwu.fsf-monnier+emacs@gnu.org

[-- 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 ----

  reply	other threads:[~2008-04-15 18:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-14 23:10 Octave Help Mode? Christian Herenz
2008-04-15  7:20 ` David Hansen
2008-04-15 15:55   ` Stefan Monnier
2008-04-15 18:21     ` David Hansen [this message]
     [not found] ` <mailman.10364.1208244210.18990.help-gnu-emacs@gnu.org>
2008-04-15  8:42   ` Christian Herenz
2008-04-15 10:00     ` Peter Dyballa
2008-04-15 13:04     ` David Hansen
     [not found]     ` <mailman.10371.1208264912.18990.help-gnu-emacs@gnu.org>
2008-04-15 14:32       ` Christian Herenz
2008-04-15 15:28         ` David Hansen
     [not found]         ` <mailman.10374.1208273905.18990.help-gnu-emacs@gnu.org>
2008-04-15 16:35           ` Christian Herenz
2008-04-15 16:41             ` Richard G Riley
2008-04-15 18:34               ` David Hansen
2008-04-15 18:52                 ` Lennart Borgman (gmail)
2008-04-16 12:56                   ` David Hansen
2008-04-15 18:37               ` Lennart Borgman (gmail)
     [not found]               ` <mailman.10394.1208284679.18990.help-gnu-emacs@gnu.org>
2008-04-15 21:40                 ` Christian Herenz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bq4bc735.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.