1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
Commit graph

4392 commits

Author SHA1 Message Date
Glenn Morris
bc1d5cdfd4 * lisp/progmodes/python.el (python-shell): Doc fix. 2010-11-09 23:46:01 -08:00
Glenn Morris
14121c5280 * lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix. 2010-11-08 23:41:57 -08:00
Stefan Monnier
73525e726c * lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.

Fixes: debbugs:7322
2010-11-08 13:56:10 -05:00
Wilson Snyder
8468f78b66 * progmodes/verilog-mode.el (verilog-insert-one-definition)
(verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
AUTOINOUT for SV style multidimensional arrays, bug294.  Reported
by Eric Mastromarchi.
(verilog-preprocess): Use with-current-buffer and
font-lock-fontify-buffer to cleanup style issues.
2010-11-06 00:54:19 -07:00
Glenn Morris
e084bc3d41 * lisp/progmodes/sql.el: Remove comment link to defunct viewcvs url. 2010-10-30 19:16:20 -07:00
Wilson Snyder
a03c234213 verilog-mode.el updates.
This file should be copied to the trunk verbatim.

* verilog-mode.el (verilog-directive-re): Make this variable
auto-built for efficiency of execution and updating.
(verilog-extended-complete-re): Support 'pure' fucntion & task
declarations (these have no bodies).
(verilog-beg-of-statement): general cleanup to enable support of
'pure' fucntion & task declarations (these have no bodies).  These
efforts together fix Verilog bug210 from veripool; which was also
noticed by Steve Pearlmutter.
(verilog-directive-re, verilog-directive-begin, verilog-indent-re)
(verilog-directive-nest-re, verilog-set-auto-endcomments): Support
`elsif.  Reported by Shankar Giri.
(verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
attribute handling for lining up declarations and assignments.
(verilog-beg-of-statement-1): Fix issue where continued declaration
is indented differently if it is after a begin..end clock.
(verilog-in-attribute-p, verilog-skip-backward-comments)
(verilog-skip-forward-comment-p): Support proper treatment of
attributes by indent code. Reported by Jeff Steele.
(verilog-in-directive-p): Fix comment to correctly describe
function.
(verilog-backward-up-list, verilog-in-struct-region-p)
(verilog-backward-token, verilog-in-struct-p)
(verilog-in-coverage-p, verilog-do-indent)
(verilog-pretty-declarations): Use verilog-backward-up-list as
wrapper around backward-up-list inorder to properly skip comments.
Reported by David Rogoff.
(verilog-property-re, verilog-endcomment-reason-re)
(verilog-beg-of-statement, verilog-set-auto-endcomments)
(verilog-calc-1 ): Fix for assert a; else b; indentation (new form
of if). Reported by Max Bjurling and
(verilog-calc-1): Fix for clocking block in modport
declaration. Reported by Brian Hunter.
* verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
(verilog-gate-keywords, verilog-read-sub-decls)
(verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
(verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
(verilog-read-decls): Fix spaces in V2K module parameters causing
mis-identification as interfaces, bug287.
(verilog-read-decls): Fix not treating "parameter string" as a
parameter in AUTOINSTPARAM.
(verilog-read-always-signals-recurse, verilog-read-decls): Fix not
treating `elsif similar to `endif inside AUTOSENSE.
	(verilog-do-indent): Implement correct automatic or static task or
function end comment highlight. Reported by Steve Pearlmutter.
(verilog-font-lock-keywords-2): Fix highlighting of single
character pins, bug264.  Reported by Michael Laajanen.
(verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
(verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
(verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
(verilog-pretty-expr): Fix interactive arguments, bug272. Reported
by Mark Johnson.
(verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): Add
'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
bug269. Suggested by Gary Delp.
(verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
(verilog-preprocessor, verilog-set-compile-command): Create
verilog-preprocess and verilog-preprocessor to show preprocessed
output.
(verilog-get-beg-of-line, verilog-get-end-of-line)
(verilog-modi-file-or-buffer, verilog-modi-name)
(verilog-modi-point, verilog-within-string): Move defmacro's
before first use to avoid warning. Reported by Steve Pearlmutter.
(verilog-colorize-buffer, verilog-colorize-include-files-buffer)
(verilog-colorize-region, verilog-highlight-buffer)
(verilog-highlight-includes, verilog-highlight-modules)
(verilog-highlight-region, verilog-mode): Rename colorize to
highlight to match other packages.  Disable module highlighting,
as received speed complaints, reenable for experimentation only
using new verilog-highlight-modules.
(verilog-read-decls): Fix regexp stack overflow in very large
AUTO_TEMPLATEs, bug250.
(verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
(verilog-scan): Create verilog-save-buffer-state to standardize
making insignificant changes that shouldn't call hooks.
(verilog-save-no-change-functions, verilog-save-scan-cache)
(verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
Create verilog-save-no-change-functions to wrap verilog-scan
preservation, and fix to work with nested preserved calls.
(verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
(verilog-submit-bug-report): Update variable list to be complete.
(verilog-auto, verilog-colorize-region): Fix AUTO expansion
breaking on-the-fly font-locking.
(verilog-colorize-buffer, verilog-colorize-include-files)
(verilog-colorize-include-files-buffer, verilog-colorize-region)
(verilog-load-file-at-mouse, verilog-load-file-at-point)
(verilog-mode, verilog-read-inst-module-matcher): With point on a
AUTOINST cell instance name, middle mouse button now finds-file on
it.  Suggested by Brad Dobbie.
(verilog-alw-get-temps, verilog-auto-reset)
(verilog-auto-sense-sigs, verilog-read-always-signals)
(verilog-read-always-signals-recurse): Fix loop indexes being
AUTORESET. AUTORESET now assumes any variables in the
initialization section of a for() should be ignored.  Reported by
Dan Dever.
(verilog-error-font-lock-keywords)
(verilog-error-regexp-emacs-alist)
(verilog-error-regexp-xemacs-alist): Fix error detection of
Cadence HAL, reported by David Asher.  Repair drift between the
three similar error variables.
(verilog-modi-lookup, verilog-modi-lookup-cache)
(verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
(verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
Fix slow verilog-auto expansion on very large files.
(verilog-read-sub-decls-expr, verilog-read-sub-decls-line): Fix
AUTOOUTPUT treating "1*2" as a signal name in submodule connection
"{1*2{...".  Broke in last revision.
(verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
submodule connections with replications "{#{a},#{b}}".
2010-10-23 14:12:38 -07:00
Juanma Barranquero
88dbda519d Fix typos.
* doc/misc/gnus.texi (Group Parameters, Buttons): Fix typos.

* lisp/org/org-exp.el (org-export-visible):
* lisp/progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
  Fix typos in docstrings.
2010-10-23 01:38:34 +02:00
Nick Roberts
4897601e9f (gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe): Correct regexp to work when
breakpoint number exceeds nine.
2010-10-09 23:51:42 +13:00
Masatake YAMATO
33bd47beb4 Close bug#6976.
* lisp/progmodes/antlr-mode.el (antlr-font-lock-additional-keywords): Fix typo.
2010-09-07 19:45:12 -07:00
Chris Foote
9027027d08 * progmodes/python.el (python-block-pairs): Allow use of "finally" with "else" (Bug#3991). 2010-08-22 20:44:55 -04:00
Stefan Monnier
8f081e96de * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
extra backslash added to each line.

Fixes: debbugs:6890
2010-08-21 11:19:38 +02:00
Michael Albinus
a67e6f1334 * progmodes/flymake.el (flymake-start-syntax-check-process): Use
`start-file-process' in order to let it run also on remote hosts.
2010-08-18 20:24:52 +02:00
Juanma Barranquero
9ebc731b45 which-func.el (which-func-format): Split help-echo text into lines. 2010-08-03 18:39:37 +02:00
Chong Yidong
e72b6fa4b2 Doc fix to commentary (Bug#6653). 2010-07-17 17:57:06 -04:00
Christoph Scholtes
4565b08e18 Add some font-locking for Python 2.7.
* lisp/progmodes/python.el (python-font-lock-keywords): Add Python 2.7
builtins (BufferError, BytesWarning, WindowsError; callables
bin, bytearray, bytes, format, memoryview, next, print; __package__).
2010-07-06 21:46:58 -07:00
Glenn Morris
943375a636 Minor js.el fix.
* lisp/progmodes/js.el (js-mode-map): Use standard capitalization and
ellipses for menu entries.
2010-06-22 00:04:20 -07:00
Alan Mackenzie
05c123e62c * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set in file
local variables, set it first.
2010-06-20 16:17:05 +00:00
Glenn Morris
4111f0c731 Close bug#6450.
* lisp/progmodes/idlwave.el (idlwave-action-and-binding):
Fix typo in 2009-12-03 change.
2010-06-18 19:27:57 -07:00
Chong Yidong
4da3541bbe * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
font-lock-constant-face, not obsolete font-lock-reference-face.

* htmlfontify.el (hfy-face-resolve-face): New function.
(hfy-face-to-style): Use it (Bug#6279).
2010-05-27 11:25:58 -04:00
Chong Yidong
f5d6ff44b7 Make paragraph vars local for js-mode (Bug#6071).
* progmodes/js.el (js-mode): Make paragraph variables local before
calling c-setup-paragraph-variables (Bug#6071).
2010-05-02 11:15:29 -04:00
Juanma Barranquero
063c632403 * progmodes/sql.el: Fix typos. 2010-04-24 04:59:23 +02:00
Chong Yidong
790c2e44de Revert 2009-10-12 change to compilation-next-error-function (Bug#5983).
* progmodes/compile.el (compilation-next-error-function): Revert
2009-10-12 change (Bug#5983).
2010-04-20 12:04:05 -04:00
Chong Yidong
7860d2e357 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
default settings (Bug#5928).
2010-04-14 11:33:42 -04:00
Alan Mackenzie
e42a330165 Reverse 2009-12-03T16:02:10Z!acm@muc.de "Enhance `c-parse-state' to run efficiently in
\"brace desserts\".".
2010-04-12 18:58:52 +00:00
Alan Mackenzie
7af4bf3aea Reverse change 2010-02-04T21:15:37Z!acm@muc.de: "Change strategy for marking < and > as template
delimiters: mark them strictly in matching pairs."
2010-04-12 15:15:07 +00:00
Alan Mackenzie
e2387bdba2 Reverse 2010-02-25T21:21:25Z!acm@muc.de:
"  (i) Remove any hard syntax-table properties for <, > inserted by C-y.
  (ii) Remove category text props, not syntax-table ones in unmarking <, >.
".
2010-04-12 14:59:56 +00:00
Alan Mackenzie
a1c7301e31 Reverse 2010-03-01T11:31:42Z!acm@muc.de: "Fix bug #5649: 23.1.92; Indentation problems in C mode.". 2010-04-12 14:55:18 +00:00
Alan Mackenzie
2811df2c90 Reverse 2010-03-01T17:46:36Z!acm@muc.de "Correct buggy patch 2010-03-01T11:31:42Z!acm@muc.de to cc-engine.el.". 2010-04-12 14:48:07 +00:00
Alan Mackenzie
db00cb3ae4 Undo 2010-03-15T01:38:28Z!yamaoka@jpl.org "Fix off-by-one error. Fixes bug #5747." 2010-04-12 14:34:09 +00:00
Glenn Morris
0a23b2c303 Fix bug ref in previous. 2010-04-09 19:14:47 -07:00
Glenn Morris
119850e927 Close bug#1835.
* progmodes/fortran.el (fortran-match-and-skip-declaration):
New function.
(fortran-font-lock-keywords-3): Use it.  (Bug#1835)
2010-04-09 19:12:03 -07:00
Chong Yidong
2a793f7f35 Revert 2009-08-15 change, restoring electric punctuation (Bug#5586)
* progmodes/js.el (js-auto-indent-flag, js-mode-map)
(js-insert-and-indent): Revert 2009-08-15 change, restoring
electric punctuation for "{}();,:" (Bug#5586).
2010-03-28 16:41:37 -04:00
Nick Roberts
eca16aa79a (gdb-apple-test): New function.
(gdb-init-1): Use it.
2010-03-26 21:58:41 +13:00
Stefan Monnier
efee6a6d9c (makefile-rule-action-regex): Backtrack less.
(makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
not be present any more.
2010-03-24 11:57:16 -04:00
Alan Mackenzie
657071fc07 cc-engine.el (c-remove-stale-state-cache): Fix off-by-one error. Fixes
bug #5747.
2010-03-22 17:21:22 +00:00
Alan Mackenzie
eb2f6eeb39 Correct buggy patch 2010-03-01T11:31:42Z!acm@muc.de to cc-engine.el. 2010-03-01 17:46:36 +00:00
Alan Mackenzie
dd21b6216d Fix bug #5649: 23.1.92; Indentation problems in C mode. 2010-03-01 11:31:42 +00:00
Chong Yidong
449d63fdc0 Minor doc fix. 2010-02-28 16:34:58 -05:00
Chong Yidong
b8280f3930 Minor Python mode fix (Bug#5653).
* progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow
the characters _<> in the stack entry (Bug#5653).
2010-02-26 19:19:50 -05:00
Alan Mackenzie
8a249abc87 (i) Remove any hard syntax-table properties for <, > inserted by C-y.
(ii) Remove category text props, not syntax-table ones in unmarking <, >.
2010-02-25 21:21:25 +00:00
Chong Yidong
3e39928c77 * progmodes/compile.el (compilation-error-regexp-alist-alist): In
`watcom' anchor regexp to start of line, to avoid slowness
(Bug#5599).
2010-02-20 08:53:06 -05:00
Nick Roberts
8cfae03d19 Accommodate change of disassemble output in GDB 7.1. 2010-02-19 17:55:31 +13:00
Glenn Morris
055e4eea01 Close bug#5593.
* progmodes/f90.el (f90-electric-insert): Give it a delete-selection property.
2010-02-18 18:36:10 -08:00
Chong Yidong
f29fd8694c Fix ada-mode handling of number literals.
* progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
(ada-adjust-case): Don't adjust case in hexadecimal number literals.
2010-02-08 18:27:29 -05:00
Glenn Morris
50e4518b52 Fix previous change for F2003 interfaces.
* progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
Move F2003 named interfaces from keywords-2 to keywords-1, and
use function-name-face rather than constant-face.
Simplify "abstract interface" regexp.
2010-02-07 12:23:20 -08:00
Glenn Morris
7cf3f3d6da Handle F2003 named interfaces.
* progmodes/f90.el (f90-font-lock-keywords-2)
(f90-looking-at-type-like, f90-looking-at-program-block-end):
Handle F2003 named interfaces.
2010-02-06 17:41:45 -08:00
Chong Yidong
ffe87109ce * progmodes/cc-mode.el (c-common-init): Bind temporary variables
beg and end before calling c-get-state-before-change-functions.
2010-02-06 08:01:43 -05:00
Glenn Morris
f43d8ecc20 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'. 2010-02-05 00:12:08 -08:00
Alan Mackenzie
dd969a56a5 Change strategy for marking < and > as template delimiters: mark them
strictly in matching pairs.
2010-02-04 21:15:37 +00:00
Juri Linkov
ad6fc8f44e * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
beginning of interactive spec like all other grep commands do.
Put "all" in front of "gz".  (Bug#5260)
2010-01-31 23:47:47 +02:00