1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 21:20:45 -08:00
Commit graph

3293 commits

Author SHA1 Message Date
Glenn Morris
6c64cd0434 Quote all calls to "auxiliary skeleton"s to prevent infloops. 2008-01-20 04:01:05 +00:00
Glenn Morris
9ce3eb9a3f Martin Svenson <phromo at gmail.com> (tiny change)
(python-imports): Default to "None".
2008-01-20 03:57:19 +00:00
Dan Nicolaescu
fc9a928757 * progmodes/sh-script.el (sh-basic-offset):
* progmodes/cc-vars.el (c-syntactic-indentation)
(c-syntactic-indentation-in-macros): Mark as safe.
2008-01-19 18:32:34 +00:00
Alan Mackenzie
1d6c7cd7ee (c-constant-symbol): Put this defun inside an eval-and-compile, so as to
permit byte-compiling (e.g. in bootstrap).
2008-01-16 21:26:59 +00:00
Juanma Barranquero
a8b6a3a6a0 (ada-convert-file-name): Fix typo in docstring. 2008-01-16 16:19:01 +00:00
Juanma Barranquero
d2bde04f6a Fix typos in comments. 2008-01-16 16:15:56 +00:00
Alan Mackenzie
43b829c118 * (c-constant-symbol): New function which supersedes c-const-symbol.
During a customize-.. call it enables an element of (e.g.)
c-hanging-braces alist to have its name displayed, even when the default
value of c-h-b etc. doesn't include the elemnt.  Replace uses of the old
function by the new.

* progmodes/cc-vars.el (c-hanging-braces-alist): Remove the obscure
non-working fragment ":value c-".
2008-01-14 22:31:07 +00:00
Alan Mackenzie
f189315dde (c-guess-basic-syntax): prevent a macro call inside a struct being
recognised as a K&R argument.
2008-01-14 19:17:31 +00:00
Eli Zaretskii
26a30fea51 (ebrowse-view-file-other-window): Delete function.
(ebrowse-view/find-file-and-search-pattern): Call view-file-other-window
instead of ebrowse-view-file-other-window.
(ebrowse-view-file-other-frame): Don't call current-window-configuration.
Fix second argument in the call to view-mode-enter.  Doc fix.
2008-01-12 14:04:05 +00:00
Nick Roberts
78971dff70 (gdb-dequeue-input): Make doubly sure
session doesn't hang because gdb-pending-triggers is non-nil.
(gdb-frame-handler): Use buffer-file-name instead of
buffer-name in case of duplicate file names.
2008-01-10 10:27:02 +00:00
Dan Nicolaescu
e177606792 (verilog-mode-map): Don't bind C-M-a,
C-M-e and C-M-h for emacs, they work by default.
(verilog-emacs-features): Remove.
(verilog-setup-dual-comments, verilog-populate-syntax-table):
Remove.  Move syntax table initialization ...
(verilog-mode-syntax-table): ... here.
(verilog-mode): Don't initialize the syntax table here.
(verilog-mark-defun): Only do something useful for XEmacs, emacs
does not need it.
2008-01-10 07:05:10 +00:00
Dan Nicolaescu
eaf7efe9ba * progmodes/verilog-mode.el (verilog-booleanp): New function for
backward compatibility. Replace all uses of booleanp with
verilog-booleanp.
2008-01-09 17:04:59 +00:00
Dan Nicolaescu
606180397c (top-level): Fix spacing.
(verilog-mode-version, verilog-mode-release-date): Update version
number.
(verilog-mode-release-emacs): New variable.
(compile-command, reporter-prompt-for-summary-p): Define for byte
compiler.
(verilog-startup-message-lines)
(verilog-startup-message-displayed)
(verilog-display-startup-message): Remove.
(verilog-highlight-p1800-keywords): Improve docstring.
(sigs-in, sigs-out, got-sig, got-rvalue, uses-delayed)
(vector-skip-list): Only defvar at compile time.
(verilog-highlight-translate-off, verilog-indent-level)
(verilog-indent-level-module, verilog-indent-level-declaration)
(verilog-indent-declaration-macros, verilog-indent-lists)
(verilog-indent-level-behavioral)
(verilog-indent-level-directive, verilog-cexp-indent)
(verilog-case-indent, verilog-auto-newline)
(verilog-auto-indent-on-newline, verilog-tab-always-indent)
(verilog-tab-to-comment, verilog-indent-begin-after-if)
(verilog-align-ifelse, verilog-minimum-comment-distance)
(verilog-auto-lineup, verilog-highlight-p1800-keywords)
(verilog-auto-endcomments, verilog-auto-read-includes)
(verilog-auto-star-expand, verilog-auto-star-save)
(verilog-library-flags, verilog-library-directories)
(verilog-library-files, verilog-library-extensions)
(verilog-active-low-regexp, verilog-auto-sense-include-inputs)
(verilog-auto-sense-defines-constant, verilog-auto-reset-widths)
(verilog-assignment-delay, verilog-auto-inst-vector)
(verilog-auto-inst-template-numbers)
(verilog-auto-input-ignore-regexp)
(verilog-auto-inout-ignore-regexp)
(verilog-auto-output-ignore-regexp)
(verilog-auto-unused-ignore-regexp, verilog-typedef-regexp): Add
safe-local-variable properties.
(verilog-statement-menu, verilog-company)
(verilog-re-search-forward, verilog-re-search-backward)
(verilog-error-regexp-add, verilog-end-block-re)
(verilog-emacs-features, verilog-populate-syntax-table)
(verilog-setup-dual-comments, verilog-type-font-keywords)
(verilog-inside-comment-p, electric-verilog-backward-sexp)
(verilog-backward-sexp, verilog-forward-sexp)
(verilog-font-lock-init, verilog-mode)
(electric-verilog-terminate-line, electric-verilog-semi)
(electric-verilog-tab, verilog-insert-1, )
(verilog-insert-indices, verilog-generate-numbers)
(verilog-comment-region, verilog-label-be)
(verilog-beg-of-statement, verilog-in-case-region-p)
(verilog-in-struct-region-p, verilog-in-generate-region-p)
(verilog-in-fork-region-p, verilog-backward-case-item)
(verilog-set-auto-endcomments, verilog-get-expr)
(verilog-expand-vector-internal, verilog-surelint-off)
(verilog-batch-execute-func, verilog-calculate-indent)
(verilog-calc-1, verilog-calculate-indent-directive)
(verilog-leap-to-head, verilog-continued-line)
(verilog-backward-token, verilog-backward-syntactic-ws)
(verilog-forward-syntactic-ws, verilog-backward-ws&directives)
(verilog-forward-ws&directives, verilog-at-constraint-p)
(verilog-skip-backward-comments, verilog-indent-line-relative)
(verilog-do-indent, verilog-indent-comment)
(verilog-more-comment, verilog-pretty-declarations)
(verilog-pretty-expr, verilog-just-one-space)
(verilog-indent-declaration, verilog-get-completion-decl)
(verilog-goto-defun, verilog-showscopes, verilog-header)
(verilog-signals-combine-bus, verilog-read-decls)
(verilog-read-always-signals-recurse, verilog-read-instants)
(verilog-read-auto-template, verilog-set-define)
(verilog-read-defines, verilog-read-signals, verilog-getopt)
(verilog-is-number, verilog-expand-dirnames)
(verilog-modi-lookup, verilog-modi-cache-results)
(verilog-insert-one-definition, verilog-make-width-expression)
(verilog-delete-autos-lined, verilog-auto-save-check)
(verilog-auto-arg, verilog-auto-inst-port, verilog-auto-inst)
(verilog-auto-inst-param, verilog-auto-reg)
(verilog-auto-reg-input, verilog-auto-wire, )
(verilog-auto-output, verilog-auto-output-every)
(verilog-auto-input, verilog-auto-inout)
(verilog-auto-inout-module, verilog-auto-sense)
(verilog-auto-reset, verilog-auto-tieoff, verilog-auto-unused)
(verilog-auto-ascii-enum, verilog-auto)
(verilog-sk-define-signal, verilog-mode-mouse-map)
(verilog-load-file-at-mouse, verilog-load-file-at-point)
(verilog-library-files): Cleanup spacing of )'s they should not be
on unique lines.  Fix checkdoc warnings.
2008-01-09 06:30:58 +00:00
Glenn Morris
70b79a6011 Kevin Ryde <user42 at zip.com.au>
(compilation-error-regexp-alist-alist): For perl, allow "during global
destruction" at end.
2008-01-08 07:54:04 +00:00
Nick Roberts
bc676c5840 (gdb-var-list-children-1): Put varnum in
quotes in case of spaces, e.g. STL containers (not pretty).
2008-01-08 01:59:29 +00:00
Nick Roberts
6e498a9766 (gud-gdb-command-name): Explain
"--annotate=3" option is necessary for the Graphical Interface.
2008-01-07 03:51:03 +00:00
Glenn Morris
4e643dd23c Add 2008 to copyright years. 2008-01-07 02:11:00 +00:00
Nick Roberts
47aef245fc (hide-ifdef-mode-menu): Put hide-ifdef commands
on menu bar.
2008-01-06 21:29:20 +00:00
Dan Nicolaescu
7ea26faf0c * progmodes/verilog-mode.el (top-level): Don't require compile.
(compilation-error-regexp-alist, compilation-last-buffer):
Define for compiler.
(verilog-insert-1): New function.
(verilog-insert-indices, verilog-generate-numbers): Doc fixes.
Use verilog-insert-1.
(verilog-surelint-off): Use next-error-last-buffer if bound.
Check compile buffer is live.

* progmodes/verilog-mode.el: Replace all instances of
string-to-int with string-to-number, insert-string with insert,
and read-input with read-string.
(top-level): No need to require imenu, reporter, dinotrace, vc,
font-lock when compiling.  Always require compile.  Relegate remaining
compatibility cruft to XEmacs.  Don't require font-lock.
(verilog-version): Remove superfluous concat.
(dinotrace-unannotate-all, zmacs-activate-region, customize-apropos):
No need to define.
(verilog-regexp-opt): On Emacs, just make it an alias for regexp-opt.
(verilog-font-lock-keywords, verilog-font-lock-keywords-1)
(verilog-font-lock-keywords-2, verilog-font-lock-keywords-3)
(verilog-startup-message-displayed): These are variables, not constants.
(verilog-batch-execute-func, verilog-auto-inst)
(verilog-auto-inst-param): Use mapc rather than mapcar.
(sigs-in, sigs-inout, sigs-out): Define for compiler rather than
actually defining.
(verilog-modi-get-decls, verilog-modi-get-sub-decls)
(verilog-modi-get-outputs, verilog-modi-get-inouts)
(verilog-modi-get-inputs, verilog-modi-get-wires)
(verilog-modi-get-regs, verilog-modi-get-assigns)
(verilog-modi-get-consts, verilog-modi-get-gparams)
(verilog-modi-get-sub-outputs, verilog-modi-get-sub-inouts)
(verilog-modi-get-sub-inputs): Move inline functions earlier in
the file.
(sigs-in, sigs-out): Don't declare multiple times.
(got-sig, got-rvalue, uses-delayed): Define for compiler with just
`defvar'.
(verilog-auto): Call dinotrace-unannotate-all only if bound.
(verilog-module-inside-filename-p): No need to wrap fboundp test
in condition-case.
(reporter-submit-bug-report): Autoload it.
(verilog-mark-defun): Call zmacs-activate-region only if bound.
(verilog-font-customize): Call customize-apropos only if bound.
(verilog-getopt-flags, verilog-auto-reeval-locals):
Use make-local-variable rather than make-variable-buffer-local.
(verilog-company, verilog-project, verilog-modi-cache-list):
Move make-variable-buffer-local calls to top-level.
(font-lock-defaults-alist): Don't define it.
(verilog-need-fld): Remove.
(verilog-font-lock-init): Don't set font-lock-defaults-alist.
(verilog-mode): Only call make-local-hook on XEmacs.
Set font-lock-defaults rather than using verilog-font-lock-init.
2008-01-05 10:23:26 +00:00
Nick Roberts
ae084884d0 (gud-def): Do nothing if gud-running is t.
(gud-speedbar-menu-items): Add item for gdb-var-set-format
below.
2008-01-03 22:00:06 +00:00
Nick Roberts
b3dac3299c (gdb-var-set-format): Set the output format
of watch expressions (only works fully with GDB 6.7 or later).
2008-01-03 21:58:33 +00:00
Dan Nicolaescu
218da0e9a7 * progmodes/sh-script.el (sh-indentation): Add safe-local-variable property. 2008-01-03 06:40:58 +00:00
YAMAMOTO Mitsuharu
ea7ac2eb95 (rgrep): Fix last change. 2007-12-28 10:48:05 +00:00
Richard M. Stallman
2d0a22f826 (compilation-start): Set initial visible point properly even when
compilation buffer already current.
2007-12-27 03:31:20 +00:00
Dan Nicolaescu
187e9721c7 (asm-mode-map): Add a major mode menu. 2007-12-25 20:00:12 +00:00
Jason Rumney
34fac407db (rgrep): Use find-name-arg. 2007-12-21 10:32:55 +00:00
Thien-Thi Nguyen
1fae03f253 (defcustom-c-stylevar): Revert to pre-2007-12-12 version. 2007-12-17 09:16:57 +00:00
Thien-Thi Nguyen
d55f5fcfc2 (defcustom-c-stylevar): Remove debugging message. 2007-12-17 09:03:46 +00:00
Thien-Thi Nguyen
7d2a95143a Fix typo. 2007-12-12 10:12:51 +00:00
Thien-Thi Nguyen
f26920db7e (defcustom-c-stylevar): Rewrite. 2007-12-12 08:00:45 +00:00
Dan Nicolaescu
38f584e90e (set-buffer-menubar): Remove unused
function.
(add-submenu): Only define for XEmacs.
(verilog-regexp-words): Revert previous change, keep the other
definition.
2007-12-11 03:19:09 +00:00
Dan Nicolaescu
6ca0ff7375 (verilog-kill-existing-comment, verilog-insert-date)
(verilog-insert-year): Rename in order not to pollute the global
namespace from kill-existing-comment, insert-date and
insert-year, respectively.
(verilog-set-auto-endcomments, verilog-header): Update callers.
2007-12-09 19:38:37 +00:00
Dan Nicolaescu
2d5590e0a3 * progmodes/perl-mode.el (perl-continued-statement-offset)
(perl-continued-brace-offset, perl-brace-offset)
(perl-brace-imaginary-offset, perl-label-offset):
* progmodes/cperl-mode.el (cperl-brace-offset)
(cperl-continued-brace-offset, cperl-label-offset)
(cperl-continued-statement-offset)
(cperl-extra-newline-before-brace, cperl-merge-trailing-else): Add
safe-local-variable properties.
2007-12-09 19:19:46 +00:00
Miles Bader
819ee2f42a Add arch tagline 2007-12-09 07:24:51 +00:00
Glenn Morris
637b4d3838 Fix copyright years.
Re-license under GPLv3+.
2007-12-09 01:32:56 +00:00
Dan Nicolaescu
30d48f20cd * progmodes/verilog-mode.el (verilog-mode-map)
(verilog-template-map, verilog-mode-mouse-map): Fix typos.
(verilog-colorize-include-files): Use only overlay functions so
that it can work on both emacs and XEmacs.
(set-extent-keymap): Remove unused defun.
2007-12-08 20:43:01 +00:00
Dan Nicolaescu
7d49d8e100 * progmodes/verilog-mode.el (verilog-mode-map): Fix typo. 2007-12-08 19:59:24 +00:00
Dan Nicolaescu
b68a96b966 (verilog-string-replace-matches)
(verilog-string-remove-spaces, verilog-re-search-forward)
(verilog-re-search-backward, verilog-re-search-forward-quick)
(verilog-re-search-backward-quick, verilog-get-beg-of-line)
(verilog-get-end-of-line, verilog-within-string): Move definitions
before first use. No code changes.
2007-12-08 19:19:43 +00:00
Dan Nicolaescu
6edb57162c (verilog-mode-version)
(verilog-mode-release-date): Don't use expanding keywords.
(provide): Move to the end of file.
(fboundp): Don't check if eval-when-compile is bound, it is used
later in the file without checking.
(when, unless): Copy definitions from subr.el.
(char-before, defcustom, defface, customize-group)
(verilog-batch-error-wrapper): Don't use old style backquotes.
(verilog-regexp-opt): Avoid using the cl function case.
(verilog-regexp-words): Remove duplicated definition.
(verilog-mode-abbrev-table): Remove, duplicate.
(verilog-mode-map, verilog-template-map, verilog-mode-mouse-map):
Declare and initialize in one step.
(verilog-declaration-prefix-re, verilog-declaration-re)
(verilog-end-of-statement, verilog-indent-declaration)
(verilog-get-lineup-indent): Remove trailing whitespace.
(verilog-mode): Fix autoload cookie. Set
beginning-of-defun-function and end-of-defun-function. Use when
instead of if.
(verilog-emacs-features, verilog-auto-ascii-enum)
(verilog-insert-indices): Escape braces in doc strings.
2007-12-08 18:43:17 +00:00
Dan Nicolaescu
6341f35755 New file. 2007-12-08 17:58:56 +00:00
Stefan Monnier
a0e3c626e8 (perl-font-lock-syntactic-keywords): Don't match "sub { (...) ... }". 2007-11-30 19:21:33 +00:00
Nick Roberts
1030a7b3f8 Update commentary. 2007-11-19 07:26:01 +00:00
Juanma Barranquero
1fc0c6247c (c-crosses-statement-barrier-p): Fix typo in docstring. 2007-11-15 18:27:06 +00:00
Nick Roberts
d4b9f75c42 (gdb-parent-bptno-enabled): New variable.
(gdb-breakpoint-regexp, gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe, gdb-delete-breakpoint)
(gdb-goto-breakpoint): Generalise for breakpoints with multiple
locations.
(gdb-info-breakpoints-custom, gdb-assembler-custom)
(gdb-toggle-breakpoint): Update for new gdb-breakpoint-regexp.
(gdb-put-breakpoint-icon): Only display icon for parent breakpoint.
2007-11-14 09:05:26 +00:00
Nick Roberts
c91d7cbb08 (gud-gdb): Remove vestigial gdba doc and code. 2007-11-05 06:40:26 +00:00
Glenn Morris
6da047e741 (tags-table-mode): Disable undo. 2007-11-02 08:19:17 +00:00
Nick Roberts
f8fef1ceba (gdb-delete-out-of-scope): New option.
(gdb-var-update-handler-1): Use it.
2007-10-30 05:37:34 +00:00
Glenn Morris
b21c7071ac (f90-indented-comment-re, f90-directive-comment-re)
(f90-break-delimiters): Mark these regexps as safe if they are strings.
2007-10-25 04:00:42 +00:00
Glenn Morris
be6a2f1a5a (fortran-comment-line-start-skip, fortran-directive-re):
Mark these regexps as safe if they are strings.
2007-10-25 03:57:21 +00:00
Richard M. Stallman
ff04b3780d (ps-mode-map): Delete C-c v binding. 2007-10-25 02:23:34 +00:00