Glenn Morris
d2fc7e3d0f
Merge from emacs-23; up to 2010-06-10T12:56:11Z!michael.albinus@gmx.de.
2011-05-12 00:07:06 -07:00
Ralph Schleicher
6eea50c73b
Handle missing add-log-current-defun-function in Which Func mode (Bug#8260)
...
* lisp/progmodes/which-func.el (which-function): Use
add-log-current-defun instead of add-log-current-defun-function,
which might not be defined.
2011-05-08 14:29:35 -04:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Stefan Monnier
175069efeb
Derive from prog-mode, use derived-mode-p, and fix up various
...
minor style issues in lisp/progmodes.
* lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
(vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
make-local-hook.
* lisp/progmodes/sh-script.el (sh-require-final-newline): Remove.
(sh-set-shell): Don't set require-final-newline since it's already done
by prog-mode.
* lisp/progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
since we never set it.
* lisp/progmodes/ebrowse.el (ebrowse-set-tree-indentation):
Use read-string and standard prompt.
* lisp/progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
* lisp/progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
(meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
(meta-common-mode-map): Rename from meta-mode-map.
Remove C-m binding, which is a user preference, not mode specific.
(meta-common-mode): New major mode; replace meta-common-initialization.
* lisp/progmodes/js.el (js-mode): Call syntax-propertize rather than messing
around with font-lock.
* lisp/progmodes/etags.el (select-tags-table-mode):
Derive from special-mode.
* lisp/progmodes/octave-mod.el (octave-mode):
* lisp/progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
(gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
(gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
Let define-derived-mode do its job.
* lisp/progmodes/cpp.el (cpp-edit-mode-map):
Move initialization into declaration.
(cpp-edit-mode): Use define-derived-mode.
(cpp-edit-load): Use derived-mode-p.
* lisp/progmodes/mixal-mode.el (mixal-mode):
* lisp/progmodes/f90.el (f90-mode):
* lisp/progmodes/cfengine.el (cfengine-mode): Don't bother setting
require-final-newline since prog-mode does it already.
* lisp/progmodes/cc-cmds.el (c-update-modeline): Use match-string.
* lisp/progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
* lisp/progmodes/antlr-mode.el: Require cc-mode upfront.
(antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
the declaration.
(antlr-directory-dependencies, antlr-show-makefile-rules):
Use derived-mode-p.
(antlr-language-option): Don't assume point-min==1.
(antlr-mode): Use define-derived-mode.
* lisp/progmodes/ada-mode.el: Use derived-mode-p.
(ada-mode): Use define-derived-mode.
Use hack-local-variables-hook.
* lisp/progmodes/vhdl-mode.el (vhdl-mode):
* lisp/progmodes/verilog-mode.el (verilog-mode):
* lisp/progmodes/vera-mode.el (vera-mode):
* lisp/progmodes/sql.el (sql-mode):
* lisp/progmodes/scheme.el (scheme-mode):
* lisp/progmodes/perl-mode.el (perl-mode):
* lisp/progmodes/octave-inf.el (inferior-octave-mode):
* lisp/progmodes/autoconf.el (autoconf-mode):
* lisp/progmodes/m4-mode.el (m4-mode):
* lisp/progmodes/inf-lisp.el (inferior-lisp-mode):
* lisp/progmodes/idlwave.el (idlwave-mode):
* lisp/progmodes/icon.el (icon-mode):
* lisp/progmodes/idlw-help.el (idlwave-help-mode):
* lisp/progmodes/dcl-mode.el (dcl-mode):
* lisp/progmodes/idlw-shell.el (idlwave-shell-mode):
* lisp/progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
(ebrowse-member-mode, ebrowse-electric-position-mode):
Use define-derived-mode.
* lisp/progmodes/xscheme.el (xscheme-start)
(local-set-scheme-interaction-buffer, scheme-interaction-mode):
* lisp/progmodes/which-func.el (which-function):
* lisp/progmodes/vhdl-mode.el (vhdl-set-style):
* lisp/progmodes/verilog-mode.el (verilog-set-compile-command)
(verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
(verilog-set-define, verilog-auto-reeval-locals):
* lisp/progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
* lisp/progmodes/simula.el (simula-mode):
* lisp/progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
* lisp/progmodes/python.el (python-check, python-mode):
* lisp/progmodes/prolog.el (prolog-mode-variables):
* lisp/progmodes/gud.el (gud-tooltip-activate-mouse-motions):
* lisp/progmodes/ebrowse.el (ebrowse-view-file-other-frame):
* lisp/progmodes/delphi.el (delphi-mode):
* lisp/progmodes/cc-styles.el (c-setup-paragraph-variables):
* lisp/progmodes/cc-mode.el (c-basic-common-init, c-common-init)
(c-font-lock-init): Move make-local-variable to their setq.
* lisp/progmodes/xscheme.el (exit-scheme-interaction-mode)
(xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
(xscheme-debugger-mode-p, xscheme-send-string-1):
* lisp/progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
(tcl-load-file, tcl-restart-with-file):
* lisp/progmodes/ps-mode.el (ps-run-running):
* lisp/progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
* lisp/progmodes/js.el (js--get-all-known-symbols):
* lisp/progmodes/inf-lisp.el (inferior-lisp-proc):
* lisp/progmodes/idlwave.el (idlwave-beginning-of-statement)
(idlwave-template, idlwave-update-buffer-routine-info)
(idlwave-update-current-buffer-info)
(idlwave-get-routine-info-from-buffers, idlwave-choose)
(idlwave-scan-class-info, idlwave-fix-keywords)
(idlwave-list-buffer-load-path-shadows):
* lisp/progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
(idlwave-toolbar-remove):
* lisp/progmodes/idlw-shell.el (idlwave-shell-save-and-action)
(idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
(idlwave-shell-menu-def):
* lisp/progmodes/idlw-complete-structtag.el
(idlwave-prepare-structure-tag-completion):
* lisp/progmodes/gud.el (gud-set-buffer):
* lisp/progmodes/f90.el (f90-backslash-not-special):
* lisp/progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2010-12-10 15:00:25 -05:00
Stefan Monnier
b2e6e5bd15
* lisp/progmodes/which-func.el (which-func-ff-hook): Log the error message.
...
(which-func-update-1): Distinguish symbols from strings.
(which-function): Stay within 80 columns.
2010-12-03 19:49:49 -05:00
Stefan Monnier
33aeea0eb6
* progmodes/which-func.el (which-func-imenu-joiner-function):
...
Return a string, as expected.
(which-function-mode): Make sure we stop any previous timer before
starting a new one.
2010-11-23 21:21:55 -05:00
Juanma Barranquero
9ebc731b45
which-func.el (which-func-format): Split help-echo text into lines.
2010-08-03 18:39:37 +02:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Chong Yidong
1c6bf19606
* progmodes/which-func.el (which-function): Don't assume that
...
entries from `imenu--index-alist' are ordered by buffer position,
which fails when submenus are present (Bug#3153).
2009-04-28 21:29:47 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Glenn Morris
9b3568e17d
(which-func-imenu-joiner-function): Doc fix.
2008-09-30 03:42:56 +00:00
Glenn Morris
fd1c81ef84
Daniel Colascione <danc at merrillpress.com>
...
(which-func-imenu-joiner-function): New.
(which-function): Handle nested imenu trees.
2008-09-30 03:41:35 +00:00
Glenn Morris
b1fc2b5014
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 07:25:26 +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
Masatake YAMATO
59825017c8
Added diff-mode to `which-func-modes'.
2007-09-08 04:35:39 +00:00
Miles Bader
37cc095b6a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
e7f767c25e
Replace `iff' in doc-strings and comments.
2007-08-08 07:34:30 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
1a484753b2
Switch license to GPLv3 or later.
2007-07-25 04:29:40 +00:00
Stefan Monnier
d1947d4c8f
(which-func-modes): Add `python-mode'.
2007-07-12 04:37:06 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Nick Roberts
dfed8466d3
(which-function): Fix documentation/comment typo.
2006-07-27 12:18:03 +00:00
Nick Roberts
d91362c9e0
Update copyright for 2006.
2006-02-10 09:00:31 +00:00
Dan Nicolaescu
e95e5f8193
* mh-customize.el: Do not use face-alias compatibility for
...
faces that did not appear in the previous Emacs release.
* buff-menu.el:
* compare-w.el:
* emacs-lisp/testcover.el:
* play/gomoku.el:
* play/mpuz.el:
* progmodes/flymake.el:
* progmodes/gdb-ui.el:
* progmodes/idlw-help.el:
* progmodes/idlw-shell.el:
* progmodes/ld-script.el:
* progmodes/which-func.el:
* ruler-mode.el:
* strokes.el:
* textmodes/sgml-mode.el:
* textmodes/table.el: Do not use face-alias for backward
compatibility for faces that did not appear in the previous Emacs
release.
2005-08-15 21:29:32 +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
Miles Bader
ef88a99990
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-421
...
Tweak which-func face
2005-06-15 Miles Bader <miles@gnu.org>
* lisp/progmodes/which-func.el (which-func): Only inherit
`font-lock-function-name-face' when that makes sense against the
default mode-line face, otherwise set the face color explicitly.
2005-06-15 04:35:23 +00:00
Miles Bader
9ce2eb5ebb
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-417
...
Remove "-face" suffix from which-func face
2005-06-14 Miles Bader <miles@gnu.org>
* lisp/progmodes/which-func.el (which-func): Remove "-face" suffix from face
name.
(which-func-face): New backward-compatibility alias for renamed face.
(which-func-format): Use renamed which-func face.
2005-06-15 00:14:41 +00:00
Richard M. Stallman
7d2026d518
(which-func-update-1): Turn the mode
...
off in case of error by setting which-func-mode.
2005-05-29 08:31:54 +00:00
Stefan Monnier
ef91372af5
(which-function): Be robust in the face of an
...
imenu--make-index-alist failure.
2005-03-29 14:18:00 +00:00
Thien-Thi Nguyen
911aa04913
(which-function): Use
...
`run-hook-with-args-until-success' instead of a custom loop.
Fixes bug with local hooks.
2004-12-05 16:58:13 +00:00
Richard M. Stallman
a03748044a
(which-func-update-1): Doc fix.
2004-08-16 22:46:26 +00:00
Daniel Pfeiffer
7778781072
(which-func-keymap): New var.
...
(which-func-face): New face.
(which-func-format): Use them.
2004-07-17 08:10:28 +00:00
Glenn Morris
f2633782cd
David Ponce <david@dponce.com>
...
(which-function-mode): Don't cancel which-func-update-timer if not set.
2004-01-18 14:00:34 +00:00
Richard M. Stallman
35e376af6a
(which-func-modes): Add ada-mode.
...
(which-func-functions): New variable.
(which-function): Use that.
2003-09-30 12:53:26 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
5e046f6d57
Moved from lisp/.
2003-05-30 23:31:15 +00:00