1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-17 19:30:38 -08:00
Commit graph

4144 commits

Author SHA1 Message Date
Dan Nicolaescu
d88782c37f (verilog-error-regexp-emacs-alist): Coded custom
representation of verilog error regular expressions to work with
Emacs-22's new format.
(verilog-error-regexp-xemacs-alist): Coded custom representation
of verilog error regular expressions to work with XEmacs format
(verilog-error-regexp-add-xemacs): Hook routine to install verilog
error recognition into XEmacs.
(verilog-error-regexp-add-emacs): Hook routine to install verilog
error recognition into Emacs-22.
2009-07-06 08:32:48 +00:00
Glenn Morris
3f150a6009 (f90-break-delimiters, f90-no-break-re): Doc fixes. 2009-07-01 07:13:55 +00:00
Glenn Morris
b0d5b05b13 Evangelos Evangelou <vangelis at email.unc.edu> (tiny change)
(f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
2009-07-01 02:58:52 +00:00
Alan Mackenzie
2b78d42cb5 (c-mask-paragraph): Remove a spurious correction between the visible
width of TABs and their number of bytes, so that point is undisturbed
after typing a space, when there are tabs just before "*/".
2009-06-29 14:44:04 +00:00
Dan Nicolaescu
a3a8b0029a * verilog-mode.el (verilog-beg-of-statement)
(verilog-endcomment-reason-re): Support unique case and priority
case.
(verilog-basic-complete-re): Support localparam lineup.
(verilog-beg-of-statement-1): Fix for robustness, unique case.
(verilog-set-auto-endcomments): Fix for unique case, always_comb
commenting.
(verilog-leap-to-case-head): Now support *nested* unique &
priority case statements.
(verilog-auto-lineup): Make just declarations the default (as it
had been).
(verilog-leap-to-case-head): Support priority/unique case
statements.
(verilog-auto-lineup): Rework to give users radio buttons to
select the various styles of automatic lineup
(verilog-error-regexp-alist): Rework to support the XEmacs style
of error regular expressions from compilers, lint tools &
simulators.  Note that GNU Emacs has made it impossible for a mode
to load such things.
(electric-verilog-terminate-line, verilog-indent-declaration)
(verilog-auto-wiure): Rework for radio button selection of
auto-lineup selection of specification of auto lineup.
(verilog-beg-of-statement-1): Redesign to support proper operation
in additional code, based on testing with auto-lineup.
(verilog-calculate-indent, assignments & declarations)
(verilog-backward-token): Enhance to support auto-lineup of
assignments & declarations.
(verilog-in-directive-p, verilog-at-struct-p): New function for
easy test of whether we are.
(verilog-pretty-declarations, verilog-pretty-expr): Massive rework
to support safe execution at almost anyline.
(verilog-calc-1): Properly support indenting deep inside generate
blocks.
(verilog-init-font) Remove definition & use of verilog-init-font,
as it is redundant with font-lock-defaults.
(verilog-mode): Alter the definition of verilog-font-lock-defualts
to avoid circular calls if syntax-ppss is a function (as is the
case now in 22.x GNU Emacs) as that function would sometimes call
itself, leading to (nearly) infinite recursion
(verilog-ovm-begin-re, verilog-ovm-end-re)
(verilog-ovm-statement-re, verilog-leap-to-head)
(verilog-backward-token): Add support for OVM macros.  Some are
complete statements, and others open and close scopes like begin
and end.
(verilog-defun-level-not-generate-re, verilog-defun-level-re)
(verilog-defun-level-generate-only-re): Really fix the defun-list
compilation issue
(verilog-calc-1) (verilog-beg-of-statement): Enhance support for
coverpoint, constraint and cross statements
(verilog-defun-level-list, verilog-generate-defun-level-list)
(verilog-all-defun-level-list): Redo these specifications - it is
too hard to support eval-when compile aggregation of lists also
built at when-compile time.
(verilog-defun-level-list): Place defconsts of variables used in
building regular expressions which are built in eval-when-compile
bodies in the same eval-when-compile body to facilitate compile
without load.
(verilog-beg-block-re-ordered): Support indenting
virtual/protected tasks and functions.
(verilog-defun-level-list,verilog-in-generate-region-p)
(verilog-backward-ws&directives, verilog-calc-1): Speed up
indentation of some module items (generate items).
(verilog-forward-sexp, verilog-leap-to-head): Support stepping
across virtual/protected tasks and functions.

* verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort): Allow
sorting AUTOARG lists.  Suggested by Andrea Fedeli.
(verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
in concatenations.  Reported by Yishay Belkind.
(verilog-auto-ascii-enum): Support one-hot state machines in
AUTOASCIIENUM.  Suggested by Lloyd Gomez.
(verilog-auto-inst, verilog-auto-inst-port): Include interface
modport in AUTOINST and add vl-modport for users.  Reported by
David Rogoff.
(verilog-auto-inout-module, verilog-auto-inst)
(verilog-decls-get-interfaces, verilog-insert-definition)
(verilog-insert-one-definition, verilog-read-decls)
(verilog-read-sub-decls, verilog-read-sub-decls-sig)
(verilog-sig-modport, verilog-signals-combine-bus)
(verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
Suggested by David Rogoff.
(verilog-repair-open-comma): Fix non-insertion of comma when
`DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
(verilog-make-width-expression): Simplify [A-1:0] expression
widths to just {A{1'b0}}.
(verilog-mode): Cleanup checkdoc warnings.
(verilog-auto-inout-module, verilog-signals-matching-dir-re): Add
third optional regexp to AUTOINOUTMODULE to allow selecting only
inputs/outputs or data type.  Suggested by Vasu Kandadi.
(next-error-last-buffer): Fix byte-compiler warning.
(verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
(verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
or shell command text during AUTO expansion.  Suggested by Tad
Truex.
(verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
(verilog-read-sub-decls-sig, verilog-symbol-detick-text): Fix
dotted nets {a.b,c.d} and excaped identifiers being mis-included
in AUTOINOUT. Reported by Matthew Lovell.
(verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
causing use of <= assignments.  Reported by Alex Reed.
(verilog-read-decls): Fix triand, trior, wand, wor to be
recognized by AUTOWIRE.  Reported by Spencer Isaacson.
(verilog-extended-complete-re): Support import "DPI-C" functions.
(verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
y[a+1:a+1]" to not include a in reset list.  Reported by Dan
Dever.
(verilog-insert-date, verilog-insert-year)
(verilog-sk-header-tmpl): Fix verilog-header inserting error on
Windows systems.  Reported by Michael Potts.
(verilog-read-module-name): Fix AUTOINST when the child module
declaration's name is a tick define. Reported by Elliot Mednick.
(verilog-read-decls): Fix V2K parameter bit subscripts getting
passed to next parameter's definition. Reported by Bruce T.
(verilog-read-decls): Fix detecting "parameter int" when using
AUTOINSTPARAM.  Reported by Bruce T.
(verilog-goto-defun): Fix goto not finding modules unless first
perform a verilog-auto expansion. Suggested by Lawrence Butcher.
(verilog-mode): Expand -f flag arguments on entry to mode so
verilog-goto-defun will work.  Reported by Lawrence Butcher.
(verilog-getopt): Expand environment variables in -f file
arguments.  Suggested by Lawrence Butcher.
(verilog-set-define): Fix "Symbol's value as variable is void"
when reading enumerations.
(verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
Suggested by Stephen Peltan.
(verilog-read-defines): Fix reading of enumerations in include
files.  Reported by Steve Peltan.
2009-06-28 17:52:45 +00:00
Glenn Morris
cc80ccee1f Minor header format fixes.
(gud-remove, gud-break): Update declarations.
2009-06-23 07:34:28 +00:00
Miles Bader
a91a2316ad Add arch tagline 2009-06-23 06:44:04 +00:00
Nick Roberts
821ba844dc Pull further modified changes from Dmitry's repository (http://sphinx.net.ru/hg/gdb-mi/). 2009-06-22 10:57:52 +00:00
Nick Roberts
91239a5211 * progmodes/gdb-ui.el: Replace with ...
* progmodes/gdb-ui.el: ... this file.
* progmodes/gud.el: Modify for gdb-mi.el.
* fadr.el: New file.
2009-06-21 12:08:53 +00:00
Chong Yidong
f7a2e63478 * progmodes/compile.el (compilation-error-regexp-alist-alist):
Comment out 2007-07-25 change adding support for Maven error
messages; this regexp is too slow on long lines (Bug#3441).
2009-06-17 16:33:41 +00:00
Chong Yidong
1147352943 * progmodes/ruby-mode.el (ruby-parse-partial, ruby-font-lock-keywords): Support overloadable negative operators (Bug#3587). 2009-06-17 15:16:17 +00:00
Chong Yidong
d4bbd646f4 * progmodes/grep.el (grep-compute-defaults): Simplify how settings
are looked up.
(grep-apply-setting): New function.
(grep-highlight-matches, grep-command, grep-template)
(grep-use-null-device, grep-find-command, grep-find-template):
Clarify role of grep-compute-defaults in docstrings.  Use
grep-apply-setting to apply changes (Bug#3343).
2009-05-23 00:11:53 +00:00
Alan Mackenzie
a0526d5ee5 cc-mode.el (c-extend-and-neutralize-CPP-line): Renamed from
c-neutralize-syntax-in-CPP.  Set the variables c-new-BEG and c-new-END,
thus extending the font-lock region.
(c-font-lock-init): Don't set obsolete variable font-lock-lines-before.

cc-langs.el (c-before-font-lock-function): Rename a value to
c-extend-and-neutralize-syntax-in-CPP.
2009-05-19 22:35:07 +00:00
Richard M. Stallman
0b508a2736 * progmodes/compile.el (compilation-filter): If inserting at end
of accessible part of buffer, keep end of output visible.
2009-05-18 16:30:59 +00:00
Alan Mackenzie
f0e4b2f240 Enhancements for Objective-C:
cc-vars.el
(c-objc-method-arg-min-delta-to-bracket,
c-objc-method-arg-unfinished-offset, c-objc-method-parameter-offset): New
variables.
(c-offsets-alist): Use c-lineup-ObjC-method-call-colons in entry for
objc-method-call-cont.

cc-langs.el (c-constant-kwds): New ObjC keywords "YES", "NO",
"NS_DURING", "NS_HANDLER", "NS_ENDHANDLER".

cc-align.el (c-lineup-ObjC-method-call-colons): New function.
2009-04-30 10:36:24 +00: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
Nick Roberts
4dc5a19d8b (gdb-tooltip-print): Avoid "Non-X frame used"
error with gud-tooltip-mode in the Linux console.
2009-04-28 10:35:41 +00:00
Nick Roberts
7f4b360b32 Give hint for GDB in Emacs on Mac OSX. 2009-04-08 12:34:00 +00:00
Deepak Goel
b3f5a84631 m-v corrections. 2009-03-13 20:37:43 +00:00
Deepak Goel
3c2fbb994b multiple value corrections 2009-03-13 19:56:33 +00:00
Sam Steingold
0fdb20bb32 (compilation-error-regexp-alist-alist): Handle "omake -P" messages "file foo changed". 2009-03-04 14:33:42 +00:00
Sam Steingold
ee15d7591b (compilation-move-to-column): Guard against negative col values. 2009-03-03 22:26:24 +00:00
Eli Zaretskii
8f0e19afc8 (grep-process-setup) [windows-nt msdos]: Use "--color=always". 2009-02-28 17:26:00 +00:00
Glenn Morris
44ea2d6c29 (c-style-variables-are-local-p): Mark as safe if boolean. (Bug#2197) 2009-02-26 03:54:01 +00:00
Glenn Morris
af1d43f946 (cperl-find-pods-heres): Don't globally bind `name'. 2009-02-24 03:31:15 +00:00
Chong Yidong
721451bc13 Fix last change. 2009-02-21 19:50:17 +00:00
Chong Yidong
2f49167cb2 (compilation-error-regexp-alist-alist): Tweak regexp (Bug#2173). 2009-02-21 18:52:19 +00:00
Alan Mackenzie
d28e7f288e cc-engine.el (c-beginning-of-statement-1): Enhance to parse case clauses
with (compile-time) expressions.
cc-langs.el (c-case-kwds-regexp): New variable for the above.
2009-02-21 16:10:39 +00:00
Martin Rudalics
3ba6d4ed56 (python-shift-left, python-shift-right):
When the mark is not active shift the current line.  (Bug#2381)
2009-02-20 16:30:53 +00:00
Stefan Monnier
c9176b9f18 (sh-font-lock-quoted-subshell): ' inside a "..." does not quote anything. 2009-02-19 22:18:16 +00:00
Nick Roberts
8fca05449a (compilation-error-regexp-alist-alist):
Move entry for maven (alphabetical order).
2009-02-19 06:54:22 +00:00
Sam Steingold
72fcf38256 Require comint at top level to fix the last patch. 2009-02-18 15:37:40 +00:00
Juanma Barranquero
0d3e93a66f * progmodes/cc-menus.el (imenu-progress-message):
Remove bogus cc-bytecomp-defun.
  (cc-imenu-objc-function): Don't call `imenu-progress-message'.
  Don't let-bind variable `stupid'.  (Bug#1638)
2009-02-18 09:23:28 +00:00
Martin Rudalics
57a97b446f (flymake): Add defgroup. (Bug#2356) 2009-02-18 07:41:10 +00:00
Sam Steingold
2017951613 (compilation-filter): Call comint-carriage-motion', just like comint-output-filter'. 2009-02-17 16:49:40 +00:00
Juanma Barranquero
33ee2fc873 * progmodes/cc-menus.el (cc-imenu-objc-function): Doc fix. 2009-02-17 10:59:12 +00:00
Glenn Morris
f5107fea3e Ian Eure <ian at digg.com> (tiny change)
(sql-product-alist, sql-connect-sqlite): Remove host, user, password
options not applicable to SQlite. (Bug#1904)
2009-02-14 03:38:00 +00:00
Alan Mackenzie
649504a17b (c-defun-name): Widen, to allow it to work in narrowed buffers. 2009-02-13 14:54:27 +00:00
Stefan Monnier
865ff911f3 (python-use-skeletons): Re-add.
(def-python-skeleton): Use it.
2009-02-12 18:16:26 +00:00
Alan Mackenzie
e26019a56b (c-emacs-features): Crash-fix: change =' to eq'. 2009-02-12 12:30:12 +00:00
Stefan Monnier
7664ec4458 (verilog-mode): Avoid circular use of syntax-ppss. 2009-02-12 05:34:26 +00:00
Chong Yidong
fa8c4a38fd (ps-run-tmp-dir): Doc fix.
(ps-run-make-tmp-filename): Use temporary-file-directory.
2009-02-07 21:56:47 +00:00
Alan Mackenzie
e9176a6375 (c-emacs-features): Change a let to a let* to eliminate BC warnings. 2009-02-06 10:13:59 +00:00
Alan Mackenzie
150948efec (c-emacs-features): Check the working of beginning/end-of-defun-function
more rigorously before setting argumentative-bod-function.
2009-02-05 21:21:07 +00:00
Glenn Morris
e18cc61cc9 Comment (python-mode is now separate from Python). 2009-02-03 04:13:17 +00:00
Stefan Monnier
68a479400b (vhdl-prepare-search-1, vhdl-prepare-search-2): Properly cleanup on `quit'. 2009-02-02 20:49:41 +00:00
Stefan Monnier
86905e5b73 (vhdl-mode-abbrev-table-init):
Mark the entries as being "system" entries rather than "user" entries.
2009-02-02 20:40:18 +00:00
Stefan Monnier
fa043571b2 Follow commenting conventions. 2009-01-31 22:10:22 +00:00
Alan Mackenzie
38477befdc # Fix a typo. 2009-01-30 21:24:22 +00:00
Chong Yidong
bdd9d085a5 (perl-indent-line-command): Call indent-region if region is active.
Use cond instead of nested ifs.
2009-01-28 02:17:29 +00:00