Stefan Monnier
69a94a37cd
(octave-complete-symbol): Use completion-in-region.
2009-12-03 02:58:16 +00:00
Glenn Morris
ae4808385b
(octave-complete-symbol): Use choose-completion if
...
mouse-choose-completion is ever removed.
2009-10-24 03:48:37 +00:00
Glenn Morris
1ba983e8d9
Replace last-command-char with last-command-event.
2009-01-09 04:23:38 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Chong Yidong
67885e8cbe
(octave-mode-menu): Fix incorrect quoting.
2008-09-25 22:10:31 +00:00
Glenn Morris
b1fc2b5014
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 07:25:26 +00:00
Stefan Monnier
7210c33ff8
(octave-abbrev-table): Move defvar and
...
initialization into define-abbrev-table. Use :regexp.
(octave-mode-syntax-table): Don't set word syntax for `.
2008-05-02 18:32:18 +00:00
Stefan Monnier
5d8137abac
* progmodes/octave-mod.el (octave-help): New function.
...
* progmodes/octave-hlp.el: Delete.
* info-look.el (octave-mode): Add operator index.
2008-04-30 08:48:02 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
4e643dd23c
Add 2008 to copyright years.
2008-01-07 02:11:00 +00:00
Dan Nicolaescu
004a00f4ae
* progmodes/octave-mod.el (inferior-octave-send-list-and-digest):
...
* play/yow.el (doctor-ret-or-read):
* vc-hooks.el (vc-dired-resynch-file):
* vc-hg.el (log-view-get-marked):
* smerge-mode.el (ediff-cleanup-mess):
* pcvs.el (vc-editable-p, vc-checkout):
* pcomplete.el (comint-bol):
* informat.el (texinfo-format-refill):
* ido.el (tramp-tramp-file-p):
* ibuffer.el (ibuffer-mark-on-buffer, ibuffer-format-qualifier)
(ibuffer-generate-filter-groups)
(ibuffer-format-filter-group-data):
* add-log.el (c-beginning-of-defun, c-end-of-defun): Declare as
functions.
* ido.el (ido-file-internal): Move with-no-warnings to include the
ffap-string-at-point call.
* pcomplete.el (pcomplete-executables): Move defsubst before first
use.
* vc-hg.el (vc-hg-revision-table): Fix last change.
2007-11-19 08:50:04 +00:00
Dan Nicolaescu
f82460271e
* emulation/edt-mapper.el (function-key-map):
...
(edt-map-key): Make it a function instead of using fset. Inline
edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
(edt-gnu-map-key, edt-lucid-map-key): Remove.
(edt-x-emacs-p): Remove.
(edt-emacs-variant, edt-window-system, edt-xserver):
Use featurep 'xemacs.
* net/eudc.el: Use (featurep 'xemacs) instead of the string test.
Replace eudc-xemacs-p with its definition.
(eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
(eudc-emacs-mule-p): Remove.
(eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
eudc-xemacs-p with feature tests.
* net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
(eudc-bob-url-keymap, eudc-bob-sound-keymap)
(eudc-bob-generic-keymap, eudc-bob-popup-menu)
(eudc-bob-toggle-inline-display):
* net/eudc-hotlist.el (eudc-hotlist-emacs-menu): Replace
eudc-emacs-p and eudc-xemacs-p with feature tests.
* net/eudcb-ph.el (eudc-ph-open-session): Replace
eudc-xemacs-mule-p with its former definition.
* progmodes/octave-mod.el (octave-xemacs-p): Remove.
(octave-abbrev-start): Replace octave-xemacs-p with
(featurep 'xemacs).
* progmodes/vera-mode.el (vera-xemacs): Remove.
(vera-mode-syntax-table): Replace vera-xemacs with
(featurep 'xemacs).
* progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
(vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
(vhdl-speedbar-initialize, vhdl-ps-print-init)
(vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
(vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
with (featurep 'xemacs).
* progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
(save-buffer-state-x):
* obsolete/fast-lock.el (fast-lock-verbose):
* emulation/viper-init.el (viper-xemacs-p)
(viper-cond-compile-for-xemacs-or-emacs):
* emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
* ps-print.el (case-fold-search):
* ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
* calculator.el (calculator-help): Use featurep 'xemacs.
2007-10-21 17:22:04 +00:00
Glenn Morris
050a4b353f
(octave-looking-at-kw): Add doc string.
...
(octave-re-search-forward-kw, octave-re-search-backward-kw):
Add doc string, and an explicit COUNT argument.
(octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
INC to search functions.
2007-10-13 20:09:14 +00:00
Glenn Morris
19530b36bf
(octave-looking-at-kw): Add doc string.
...
(octave-re-search-forward-kw, octave-re-search-backward-kw):
Add doc string, and an explicit COUNT argument.
(octave-scan-blocks, octave-beginning-of-defun): Explicitly pass
INC to search functions.
2007-10-13 20:08:01 +00:00
Glenn Morris
a584f30f1d
John W. Eaton <jwe at octave.org>
...
(octave-looking-at-kw)
(octave-re-search-forward-kw, octave-re-search-backward-kw): New functions.
(octave-in-defun-p, calculate-octave-indent)
(octave-blink-matching-block-open, octave-beginning-of-defun)
(octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
to search for regexps that contain case-sensitive keywords.
(octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
(octave-scan-blocks): Likewise, for octave-re-search-forward-kw.
2007-10-13 20:01:54 +00:00
Glenn Morris
f5b54e3190
John W. Eaton <jwe at octave.org>
...
(octave-looking-at-kw)
(octave-re-search-forward-kw, octave-re-search-backward-kw): New functions.
(octave-in-defun-p, calculate-octave-indent)
(octave-blink-matching-block-open, octave-beginning-of-defun)
(octave-auto-fill): Use octave-looking-at-kw instead of looking-at,
to search for regexps that contain case-sensitive keywords.
(octave-beginning-of-defun): Likewise, for octave-re-search-backward-kw.
(octave-scan-blocks): Likewise, for octave-re-search-forward-kw.
2007-10-13 20:01:38 +00:00
Glenn Morris
490a8abe37
John W. Eaton <jwe at octave.org>
...
(octave-abbrev-table): Add "until".
(octave-begin-keywords): Add "do".
(octave-end-keywords): Remove "end".
(octave-reserved-words): Add "end". Remove "all_va_args",
"gplot", and 'gsplot".
(octave-text-functions): Remove "gset", "gshow", "set", and "show".
(octave-variables): Remove "IMAGEPATH", "INFO_FILE",
"INFO_PROGRAM", "LOADPATH", "__error_text__", "automatic_replot",
"default_return_value", "define_all_return_values",
"do_fortran_indexing", "empty_list_elements_ok",
"gnuplot_has_multiplot", "implicit_str_to_num_ok",
"ok_to_lose_imaginary_part", "prefer_column_vectors",
"prefer_zero_one_indexing", "propagate_empty_matrices",
"resize_on_range_error", "treat_neg_dim_as_zero",
"warn_assign_as_truth_value", "warn_comma_in_global_decl",
"warn_divide_by_zero", "warn_function_name_clash",
"warn_missing_semicolon", "whitespace_in_literal_matrix".
Add "DEFAULT_EXEC_PATH", "DEFAULT_LOADPATH", "IMAGE_PATH",
"crash_dumps_octave_core", "sighup_dumps_octave_core",
"sigterm_dumps_octave_core".
(octave-block-match-alist): Remove "end" from block-end keywords.
(octave-mode): Update ftp site address.
2007-10-06 01:49:23 +00:00
Stefan Monnier
e22bbd4896
Remove spurious * in docstrings.
...
(octave-mode-map): Move init into declaration and remove \t binding.
(octave-mode-startup-message): Remove unused var.
(octave-scan-blocks): Remove unused arg `from'.
(octave-forward-block, octave-down-block, octave-up-block): Update callers.
2007-09-19 14:47:51 +00:00
Glenn Morris
e7f767c25e
Replace `iff' in doc-strings and comments.
2007-08-08 07:34:30 +00:00
Glenn Morris
1a484753b2
Switch license to GPLv3 or later.
2007-07-25 04:29:40 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
a48edb29fa
(octave-abbrev-table): Define abbrevs even if abbrev-table is non-nil
...
(saved user abbrevs may have been restored).
2006-12-05 05:25:17 +00:00
Eli Zaretskii
0c93f71581
(octave-indent-for-comment): Behave according to do string.
2006-03-11 15:11:09 +00:00
Nick Roberts
d91362c9e0
Update copyright for 2006.
2006-02-10 09:00:31 +00:00
Eli Zaretskii
d9f9aa720f
(octave-electric-space): Don't indent comments or strings if
...
octave-auto-indent is nil.
2005-12-10 10:29:22 +00:00
Juri Linkov
8ec3bce045
Add :link (custom-group-link font-lock-faces) to defgroup.
2005-11-17 07:40:11 +00:00
Masatake YAMATO
f5fab556d4
* message.el (message-expand-group): Pass the common
...
prefix substring of completion to `display-completion-list'.
* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.
* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.
* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.
* tempo.el (tempo-display-completions): Ditto.
* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.
* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.
* eshell/em-hist.el (eshell-list-history): Ditto.
* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.
* progmodes/etags.el (complete-tag): Ditto.
* progmodes/make-mode.el (makefile-complete): Ditto.
* progmodes/meta-mode.el (meta-complete-symbol): Ditto.
* progmodes/octave-mod.el (octave-complete-symbol): Ditto.
* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.
* textmodes/bibtex.el (bibtex-complete-internal): Ditto.
* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.
* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
2005-10-16 09:31:48 +00:00
Eli Zaretskii
f7fba1a8c0
Change Author and Maintainer address.
...
(octave-maintainer-address): Change Kurt's email address.
2005-08-26 13:41:26 +00:00
Nick Roberts
034babe1e1
Update copyright for release of 22.1 for progmodes directory.
2005-08-01 08:43:45 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Lute Kamstra
9a9691963d
* progmodes/ada-mode.el (ada-mode):
...
* progmodes/antlr-mode.el (antlr-mode):
* progmodes/autoconf.el (autoconf-mode):
* progmodes/dcl-mode.el (dcl-mode):
* progmodes/delphi.el (delphi-mode):
* progmodes/ebrowse.el (ebrowse-tree-mode)
(ebrowse-electric-list-mode, ebrowse-member-mode)
(ebrowse-electric-position-mode):
* progmodes/f90.el (f90-mode):
* progmodes/fortran.el (fortran-mode):
* progmodes/icon.el (icon-mode):
* progmodes/idlw-help.el (idlwave-help-mode):
* progmodes/idlw-shell.el (idlwave-shell-mode):
* progmodes/idlwave.el (idlwave-mode):
* progmodes/inf-lisp.el (inferior-lisp-mode):
* progmodes/m4-mode.el (m4-mode):
* progmodes/meta-mode.el (metafont-mode, metapost-mode):
* progmodes/modula2.el (modula-2-mode):
* progmodes/octave-inf.el (inferior-octave-mode):
* progmodes/octave-mod.el (octave-mode):
* progmodes/pascal.el (pascal-mode):
* progmodes/sh-script.el (sh-mode):
* progmodes/sql.el (sql-mode, sql-interactive-mode):
* progmodes/vhdl-mode.el (vhdl-mode):
* progmodes/xscheme.el (scheme-interaction-mode): Use run-mode-hooks.
2005-05-26 16:43:37 +00:00
Stefan Monnier
cb3d3ec192
(octave-comment-start): Simplify.
...
(octave-mode-syntax-table): Add % as a comment starter.
(octave-point): Remove.
(octave-in-comment-p, octave-in-string-p)
(octave-not-in-string-or-comment-p, calculate-octave-indent)
(octave-blink-matching-block-open, octave-auto-fill):
Use line-(beginning|end)-position instead.
2003-10-24 18:58:28 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Richard M. Stallman
34a463f1b1
(octave-mode-map): Change C-c i bindings to C-c C-i.
...
Duplicate its bindings with last char a ctl char.
2003-01-20 08:59:40 +00:00
Juanma Barranquero
6c83d99f87
Fix typo in comment.
2002-10-18 08:52:37 +00:00
Pavel Janík
99158127ba
(octave-abbrev-table): Mark all the predefined abbrevs as "system" abbrevs.
2001-12-30 22:23:27 +00:00
Pavel Janík
0ff9b955fe
Doc fixes.
2001-12-20 18:59:32 +00:00
Stefan Monnier
52dcc11466
Doc fix.
2001-12-02 07:17:00 +00:00
Gerd Moellmann
cb41203e13
(octave-font-lock-keywords): To font-lock the
...
builtin operators, use `font-lock-builtin-face' for Emacs and
`font-lock-preprocessor-face' otherwise.
2000-03-09 13:29:44 +00:00
Stephen Eglen
2454554e05
Added (require 'custom) and deleted :version line from
...
octave-auto-indent. Both these changes were made to make Octave lisp
files compatible with Emacs 19.34 and XEmacs 20.
1999-10-24 18:17:01 +00:00
Karl Heuer
ceab2c3125
(octave-maintainer-address): Use gnu.org.
1999-08-16 03:54:52 +00:00
Karl Heuer
aa82f4fbdf
(octave-abbrev-start): Use the correct
...
name of the abbrev table, and provide support for XEmacs.
(octave-xemacs-p): New variable.
1998-12-10 03:15:25 +00:00
Dan Nicolaescu
cd32a7baa4
*** empty log message ***
1998-04-20 02:34:53 +00:00
Simon Marshall
883212ce69
Changed font-lock-reference-face to font-lock-constant-face.
1998-02-20 14:58:27 +00:00
Andreas Schwab
28d16ed35b
Customized.
1998-01-26 11:29:46 +00:00
Dave Love
c0b08eb017
Use imenu-case-fold-search.
1997-12-12 17:10:08 +00:00
Karl Heuer
d83ee57852
(octave-auto-indent): New variable.
...
(octave-electric-semi, octave-electric-space): Use it.
(octave-before-magic-comment-p): New func.
(calculate-octave-indent, octave-comment-indent): Use it.
(octave-auto-indent): New variable.
(octave-electric-semi, octave-electric-space): Use it.
(octave-maybe-insert-continuation-string):
New function.
(octave-auto-fill): No longer calls do-auto-fill. Should now
avoid breaking lines after comment starts or before code line
continuation expressions.
(octave-fill-paragraph): Move forward a line if octave-auto-fill
gave up.
(octave-before-magic-comment-p): New func.
(octave-comment-indent): Handle magic comments correctly.
(calculate-octave-indent): Handle magic comments correctly.
(octave-abbrev-table): Added abbrevs for
switch, case, otherwise, and endswitch.
(octave-begin-keywords): Added switch.
(octave-else-keywords): Added case and otherwise.
(octave-end-keywords): Added endswitch.
(octave-block-match-alist): Added an entry for switch syntax.
(calculate-octave-indent): Added support for switch syntax.
(octave-block-end-offset): New function.
(octave-comment-indent): Fix a typo.
(octave-block-match-alist): Move
`otherwise' to right after `case' to have octave-close-block()
correctly close a `switch' block by `endswitch'.
1997-10-24 20:11:44 +00:00
Richard M. Stallman
e09735aadf
(inferior-octave-output-list): Declare here
...
to avoid compiler warnings.
(inferior-octave-output-string): Likewise.
(inferior-octave-receive-in-progress): Likewise.
1997-04-22 04:45:17 +00:00
Richard M. Stallman
092af6d867
Comment change.
1997-04-20 07:33:52 +00:00