1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 06:00:41 -08:00
Commit graph

4015 commits

Author SHA1 Message Date
Dan Nicolaescu
75e0af7751 * progmodes/vera-mode.el (vera-electric-tab):
* progmodes/vhdl-mode.el (vhdl-electric-tab): Make TAB indent
region when active.
2008-08-06 14:05:54 +00:00
Chong Yidong
0467478ba8 (c-style-alist): For the Ellemtel style, move the
(arglist-cont-nonempty) from c-offsets-alist to c-hanging-braces-alist
like other styles already have.
2008-07-31 14:00:52 +00:00
Chong Yidong
a36abf0ef3 (c-before-hack-hook): New function
(Top Level): Install c-before-hack-hook on
before-hack-local-variables-hook, rather than
c-postprocess-file-styles on hack-local-variables-hook.
2008-07-31 01:37:35 +00:00
Juanma Barranquero
ff6d2a9e33 * lisp/ada-prj.el (ada-prj-initialize-values): Fix use of deleted
ada-xref-set-default-prj-values.
  (ada-prj-display-page): Ditto.

* list/ada-xref.el (ada-gnatstub-opts): Fix doc string.
  (ada-make-filename-from-adaname): Fix free variable.
2008-07-30 09:42:46 +00:00
Dan Nicolaescu
4c5e69c616 * verilog-mode.el (verilog-do-indent): Remove special indent for
declarations inside a parenthetical list. The code is ill-advised,
and doesn't work given user defined types.
(verilog-set-auto-endcomments): Enhance function automatic
endcomment to support functions that return user defined types.
(verilog-mode): Add code to tell which-function-mode minor mode
that Verilog supports this feature.
(verilog-beg-block-re-ordered, verilog-indent-re)
(verilog-forward-sexp, verilog-forward-wa, verilog-calc-1)
(verilog-leap-to-head): Support the new virtual and/or protected
tasks, as well as extern declarations of tasks for indenting and
for foward/backward expression.

* verilog-mode (verilog-read-decls): Allow AUTORESET to work with
SV 'logic' signals.  [Julian Gorfajn]
(verilog-auto-inst-column): Make verilog-auto-inst-column
customizable.
(verilog-string-replace-matches): Avoid recursion with small
replacements.
(verilog-auto-inst-param-value, verilog-mode-version)
(verilog-mode-version-date, verilog-read-inst-param-value)
(verilog-auto-inst, verilog-auto-inst-param)
(verilog-auto-inst-port, verilog-simplify-range-expression): Add
verilog-auto-inst-param-value option for AUTOINST.  [David Rogoff]
This allows parameters to be replaced with their values, on the
expansion of an AUTOINST with Verilog 2001 style parameter
settings.
2008-07-30 07:03:17 +00:00
Juanma Barranquero
32b1a27f28 Typo fixes for Ada mode.
* progmodes/ada-mode.el (ada-batch-reformat): Doc fix.
  (ada-create-case-exception): Fix typo in docstring.
  (ada-no-auto-case): Return nil, not the docstring.
  (ada-indent-current): Reflow docstring.

* progmodes/ada-prj.el (ada-prj-edit, ada-prj-initialize-values)
  (ada-prj-save-specific-option, ada-prj-field): Fix typos in docstrings.
  (ada-prj-load-from-file): Reflow docstring.
  (ada-prj-display-page): Fix typo in widget.

* progmodes/ada-stmt.el (ada-case, ada-package-body, ada-private):
  Fix typos in docstrings.

* progmodes/ada-xref.el (ada-find-executable, ada-gnat-parse-gpr)
  (ada-compile-current, ada-check-current, ada-run-application)
  (ada-get-ali-file-name): Fix typos in docstrings.
  (ada-xref-confirm-compile, ada-find-references)
  (ada-find-local-references, ada-find-any-references): Doc fixes.
  (ada-get-all-references): Fix typo in error message.
  (ada-xref-current-project): Use `let', not `let*'.
  (ada-do-file-completion, ada-xref-change-buffer): Reflow docstring.
2008-07-29 13:20:39 +00:00
Juanma Barranquero
d5875b259c Fix bug #272, and update Ada mode to version 4.0. 2008-07-28 11:03:42 +00:00
Dan Nicolaescu
f63b48bb47 (auto-mode-alist): Add .i and .ii files. 2008-07-24 02:55:59 +00:00
Chong Yidong
928b4203c1 Add terminal class check to faces in last change. 2008-07-23 22:03:40 +00:00
Chong Yidong
0880f4fcb1 (flymake-errline, flymake-warnline): Use more suitable colors on dark
displays.
2008-07-23 21:54:48 +00:00
Juri Linkov
64b98d1239 (tags-query-replace): Set arg map' of perform-replace'
to `multi-query-replace-map'.
2008-07-23 01:19:26 +00:00
Miles Bader
2ae8360b51 Remove sh-newline-and-indent
It is obsolete.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1346
2008-07-22 04:56:09 +00:00
Nick Roberts
cf7238adf9 (gdb-create-define-alist): Don't create a
list of #defines for remote files.
(gdb-source-info): Only show main if it has been found.
2008-07-16 23:02:52 +00:00
Dan Nicolaescu
01623c2898 (grep-files-aliases): Improve the C++ source
pattern and add patterns for C++ header files.
2008-07-11 02:44:10 +00:00
Nick Roberts
c8baaa6b12 (gud-gdb-get-stackframe): Allow absolute
filenames in stack trace (text command mode).
2008-07-05 09:36:39 +00:00
Nick Roberts
95741663a9 (gdb-display-buffer): Don't split a buffer
if it's not part of gdb-ui, e.g, at start.
2008-07-05 09:35:01 +00:00
Glenn Morris
549c0a9664 Spelling fix. 2008-07-01 03:02:37 +00:00
Nick Roberts
959005e4db (gdb-create-source-file-list): New option.
(gdb-init-2): Use it.  Don't run gdb-mode-hook again.
(gdb-var-list-children-regexp, gdb-var-update-regexp)
(gdb-info-breakpoints-custom, gdb-stack-list-frames-regexp)
(gdb-var-list-children-regexp-1, gdb-var-update-regexp-1)
(gdb-stack-list-locals-regexp): Future proof regexps better.
2008-07-01 01:57:50 +00:00
Alan Mackenzie
13ac2398ff cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to the CC Mode specific
functions; this is no longer needed, since {beginning,end}-of-defun now
pass ARG to ...-of-defun-function.

cc-defs.el (c-emacs-features): new feature 'argumentative-bod-function.

----------------------------------------------------------------------
cc-defs.el cc-mode.el CVS:
----------------------------------------------------------------------
2008-06-27 21:12:46 +00:00
Glenn Morris
fffa137cb7 American English spelling fix. 2008-06-27 07:34:53 +00:00
Glenn Morris
6772c8e169 American English spelling fix. 2008-06-27 02:41:14 +00:00
Glenn Morris
321d9c42c4 (bug-reference-fontify): Revert previous change that saved match data. 2008-06-21 20:30:00 +00:00
Glenn Morris
bffc65597f (bug-reference-map): Bind down-mouse-1 rather than mouse-1.
(bug-reference-url-format): Autoload safe if string.
(bug-reference-bug-regexp): Make space after "bug" optional.
(bug-reference-fontify): Save match data.
2008-06-21 20:13:48 +00:00
Alan Mackenzie
c60f3aa442 (c-guess-basic-syntax CASE 5D.5): Fix an infinite loop on invalid syntax. 2008-06-21 09:00:49 +00:00
Stefan Monnier
b705155a62 (c-make-inherited-keymap): Only use set-keymap-parents if set-keymap-parent
doesn't exist.
2008-06-20 19:52:37 +00:00
Nick Roberts
14b26c3304 (gud-gdba-marker-filter): Don't switch to
text command mode.
(gdb): Explain that gud-gdb is needed for text command mode.
2008-06-17 22:09:40 +00:00
Nick Roberts
d91e2cb64e (gdb-memory-set-address)
(gdb-memory-set-repeat-count): Allow keyboard bindings.
(gdb-memory-mode-map): Bind above functions respectively
to 'S' and 'N'.
2008-06-16 11:26:22 +00:00
Stefan Monnier
ec4e0abcd2 * progmodes/compile.el (compilation-start): Don't disable undo in
comint buffer.  Don't override the comint-filter with our own.
(compilation-filter): Change point's insertion-type.
* comint.el (comint-output-filter): Use copy-marker.
2008-06-13 16:22:16 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Glenn Morris
d431decb9e (cperl-info-on-command): Use display-pixel-height rather than
x-display-pixel-height.
2008-06-12 03:48:56 +00:00
Glenn Morris
575b674637 (f90-beginning-of-subprogram, f90-end-of-subprogram): Only give a
message when interactive.
2008-06-12 03:48:15 +00:00
Glenn Morris
dd08226ad2 (fortran-end-of-subprogram): Check for a match before trying to move there.
(fortran-calculate-indent): When fortran-check-all-num-for-matching-do
is non-nil, indent most terminating statements like loop body.
2008-06-11 02:56:03 +00:00
Stefan Monnier
d3d31fad69 (compilation-filter): Fix up last change. 2008-06-11 02:47:57 +00:00
Stefan Monnier
a1562258dc * window.c (Vwindow_point_insertion_type): New var.
(set_window_buffer): Use it.
(syms_of_window): Init and export it to Lisp.
* progmodes/compile.el (compilation-mode):
Set window-point-insertion-type.
(compilation-filter): Don't use insert-before-markers any more.
* emacs-lisp/trace.el (trace-make-advice):
Set window-point-insertion-type in the trace buffer.
* startup.el (normal-top-level): Set window-point-insertion-type in
*Messages*.
* net/telnet.el (telnet-mode): Set window-point-insertion-type.
(telnet-filter): Don't use insert-before-markers any more.
* comint.el (comint-mode): Set window-point-insertion-type.
(comint-output-filter): Don't use insert-before-markers any more.
* button.el (make-text-button): Allow `start' to be a string.
2008-06-10 16:08:48 +00:00
Glenn Morris
0d56ae8918 Remove unnecessary eval-when-compile. 2008-06-07 02:37:56 +00:00
Stefan Monnier
dcaaec2302 (tags-verify-table): Be careful to use and update
tags-file-name and tags-table-list from the right buffer.
(tags-table-check-computed-list, tags-table-extend-computed-list)
(find-tag-noselect): Use with-current-buffer.
2008-06-05 05:55:37 +00:00
John Paul Wallington
e956634f3a (makefile-cleanup-continuations, makefile-warn-suspicious-lines):
Use `derived-mode-p'.
2008-06-03 19:39:24 +00:00
Stefan Monnier
466a09b5f8 (flymake-process-filter): Make sure the source buffer isn't dead. 2008-06-03 08:12:02 +00:00
Stefan Monnier
a9bc137f5e (perl-font-lock-syntactic-keywords): Try to be
yet a bit more clever at distinguishing / from /.
2008-06-03 07:18:54 +00:00
Glenn Morris
5fe2902f8e (f90-typedef-matcher, f90-looking-at-type-like): Check that
end-of-word follows "type".
2008-06-03 03:12:40 +00:00
Stefan Monnier
ab1d38354d * progmodes/flymake.el (flymake-save-buffer-in-file):
* shadowfile.el (shadow-copy-file):
* arc-mode.el (archive-*-write-file-member):
* files.el (diff-buffer-with-file):
* subr.el (with-temp-file): Pass nil to write-region.
* jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
2008-05-28 17:35:34 +00:00
Miles Bader
142e26a72e Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1179
2008-05-26 06:57:40 +00:00
Alan Mackenzie
c5fcadd11f (c-postprocess-file-styles): Throw an error if c-file-style is set to a
non-string.

(c-neutralize-CPP-line): Surround by `save-excursion'.
(c-neutralize-syntax-in-CPP): Optimize for speed.
2008-05-24 12:47:37 +00:00
Alan Mackenzie
b9a6ed295c * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
if c-file-style is set to a non-string

(c-neutralize-CPP-line): Surround by `save-excursion'.
(c-neutralize-syntax-in-CPP): Optimize for speed.
2008-05-24 12:31:59 +00:00
Stefan Monnier
a3507bd3c2 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
* textmodes/reftex.el (reftex-extra-bindings-map): New var.
(reftex-extra-bindings): Use it.
* progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
away from the user-reserved keys.
* progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix): New vars.
(ada-create-keymap): Use them.
2008-05-23 20:31:12 +00:00
Juanma Barranquero
f05cde180d (capitalized-words-mode): Fix typos in docstring. 2008-05-23 15:31:17 +00:00
Nick Roberts
22b6cf4846 (gdb-enable-debug): New function.
(gdb-annotation-rules): New entry for "thread-changed".
(gdb-thread-changed): New function.
2008-05-23 07:36:54 +00:00
Stefan Monnier
7dcc0df260 (fortran-font-lock-keywords-2): Add keywords for
logic operators .eqv. and .neqv.
2008-05-18 04:17:11 +00:00
Glenn Morris
ac342f28c0 (fortran-font-lock-keywords-2): Add .eqv., .neqv. 2008-05-17 20:08:54 +00:00
Glenn Morris
ae500c1a0f (declare-function): Add compat definition.
(awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
2008-05-15 03:30:40 +00:00