Commit graph

3550 commits

Author SHA1 Message Date
Dan Nicolaescu
b38f5e6fea * mouse.el (mouse-popup-menubar): Fix typo.
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Move one more
form inside with-current-buffer.

* progmodes/antlr-mode.el (provide): Move to the end of file.
(require): Don't require font-lock and compile.
(outline-level, imenu-use-markers, imenu-create-index-function):
Move declarations to top level.
(cond-emacs-xemacs-macfn): Declare for compiler.

* vc-bzr.el (vc-bzr-root):
* vc-arch.el (vc-arch-root): Only set a property if the file is
managed by this backend.

* vc-hg.el (vc-hg-state): Support the new status code for
up-to-date.
2008-01-04 08:34:15 +00:00
Stefan Monnier
48d33090d0 * erc-ibuffer.el (erc-channel-modes):
* bs.el (bs--sort-by-mode, bs--get-mode-name):
* imenu.el (imenu-add-to-menubar):
* makesum.el (make-command-summary):
* mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu):
* msb.el (msb--mode-menu-cond):
* calc/calc-embed.el (calc-do-embedded):
* emacs-lisp/helper.el (Helper-describe-mode):
* mail/emacsbug.el (report-emacs-bug):
* progmodes/hideshow.el (hs-grok-mode-type):
* textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
* textmodes/table.el (*table--cell-describe-mode):
Pass mode-name through format-mode-line.
2008-01-04 06:29:12 +00:00
Stefan Monnier
3da360a745 * progmodes/ada-xref.el (ada-prj-find-prj-file):
* progmodes/ada-mode.el (comment-region):
* calendar/todo-mode.el (todo-insert-item):
* bookmark.el (bookmark-buffer-name): Test major-mode rather than mode-name.
2008-01-04 06:18:31 +00:00
Glenn Morris
6e4fcd29a7 (defcustom-c-stylevar): Revert previous change (merge mistake). 2008-01-04 03:14:56 +00:00
Glenn Morris
26dac56cb6 (find-name-arg): Declare for compiler. 2008-01-04 03:13:43 +00:00
Eric S. Raymond
1f0bee0a2d * progmodes/grep.el (grep-find-ignored-directories): Initialize
from the value of vc-directory-exclusion-list.

* vc-hooks (vc-directory-exclusion-list):  Include "_darcs",
even though we don't have a back end for darcs yet.
2008-01-02 23:47:35 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +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
Richard M. Stallman
b63dc21e4f (ada-region-selected): Use `use-region-p'. 2007-12-25 22:47:03 +00:00
Richard M. Stallman
a00e54f7a2 (idlwave-region-active-p): Use `use-region-p'. 2007-12-25 22:45:27 +00:00
Richard M. Stallman
22760342bf (c-region-is-active-p): Use `mark-active' if it's defined. 2007-12-25 22:44:28 +00:00
Richard M. Stallman
c02a1ee94d (c-indent-line-or-region):
Pass prefix arg to `c-indent-command'.  Use `use-region-p'.
2007-12-25 22:14:07 +00:00
Dan Nicolaescu
187e9721c7 (asm-mode-map): Add a major mode menu. 2007-12-25 20:00:12 +00:00
Dan Nicolaescu
d31e8e871c * calculator.el:
* dframe.el:
* iswitchb.el:
* whitespace.el:
* winner.el:
* emacs-lisp/checkdoc.el:
* mail/feedmail.el:
* net/quickurl.el:
* obsolete/fast-lock.el:
* play/5x5.el:
* progmodes/delphi.el:
* progmodes/idlw-shell.el:
* progmodes/idlwave.el:
* textmodes/artist.el:
* textmodes/ispell.el:
* textmodes/texinfmt.el:
* textmodes/texinfo.el: Remove obsolete definitions of backward
compatibility macros for defcustom, defgroup, defface, when,
unless, with-current-buffer and with-temp-message.
2007-12-25 19:21:38 +00:00
Nick Roberts
74d85a08a6 Reformat parts to 80 columns. 2007-12-24 08:00:52 +00:00
Jason Rumney
34fac407db (rgrep): Use find-name-arg. 2007-12-21 10:32:55 +00:00
Glenn Morris
5b57e6c628 (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.
2007-12-19 02:56:45 +00:00
Glenn Morris
c34dc850ce John J Foerch <jjfoerch at earthlink.net> (tiny change)
(compilation-start): Don't pass a FRAME argument to display-buffer.
2007-12-19 02:54:53 +00:00
Thien-Thi Nguyen
d2f795854e * progmodes/cc-vars.el (defcustom-c-stylevar): Eval VAL.
(c-comment-continuation-stars): No longer declare with
cc-bytecomp-obsolete-var and cc-bytecomp-defvar.
(c-block-comment-prefix): Use symbol-value to
access c-comment-continuation-stars.
* progmodes/cc-mode.el (c-initialize-cc-mode):
Use symbol-value to access c-comment-continuation-stars.
2007-12-18 09:21:28 +00:00
Glenn Morris
4f9d920a2d 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.
2007-12-18 02:32:40 +00:00
Glenn Morris
27558c0dd5 (c-subword-mode): Drop support for systems without define-minor-mode. 2007-12-18 02:32:04 +00:00
Glenn Morris
6e1207a545 (defcustom-c-stylevar): Remove debugging message. 2007-12-18 02:31:15 +00:00
Andreas Schwab
67f2eaf15f (sh-font-lock-syntactic-keywords): Fix
comment typo.
2007-12-17 20:32:48 +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
Miles Bader
47854a5568 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-956
2007-12-16 04:31:49 +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
Martin Rudalics
dc56b2ba13 (c-mask-paragraph): Avoid invalid search
bound error in block comment branch.
2007-12-08 09:55:50 +00:00
David Kastrup
274f1353e0 * erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.

* gnus-sum.el (gnus-summary-simplify-subject-query):
* ecomplete.el (ecomplete-display-matches): Fix buggy call to
`message'.

* textmodes/reftex.el (reftex-select-with-char):
* textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-visit-location, reftex-toc-find-section):
* textmodes/reftex-index.el (reftex-index-show-entry):
* textmodes/org.el (org-cycle-hide-archived-subtrees)
(org-table-rotate-recalc-marks, org-mark-ring-push)
(org-follow-info-link, org-mhe-get-message-folder-from-index)
(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
(org-evaluate-time-range, org-edit-agenda-file-list):
* textmodes/artist.el (artist-select-next-op-in-list)
(artist-select-prev-op-in-list):
* term/mac-win.el (mac-service-insert-text):
* startup.el (fancy-about-screen):
* progmodes/vhdl-mode.el (vhdl-decision-query):
* progmodes/idlwave.el (idlwave-template)
(idlwave-scroll-completions, idlwave-display-completion-list):
* progmodes/ebrowse.el (ebrowse-show-progress):
* progmodes/cperl-mode.el (cperl-find-pods-heres):
* progmodes/antlr-mode.el (antlr-insert-option-do):
* play/mpuz.el (mpuz-close-game):
* net/rcirc.el (rcirc-next-active-buffer):
* mail/reporter.el (reporter-update-status):
* kmacro.el (kmacro-display):
* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
* emulation/viper-util.el (viper-save-setting):
* emacs-lisp/lisp-mnt.el (lm-verify):
* emacs-lisp/edebug.el (edebug-set-mode):
* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
* calendar/calendar.el (calendar-print-day-of-year):
* calc/calcalg3.el (calc-curve-fit):
* calc/calcalg2.el (math-integral):
* calc/calc.el (calc-read-key-sequence, calc-version):
* calc/calc-mode.el (calc-set-simplify-mode):
* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
`message'.
2007-12-08 01:02:29 +00:00
Deepak Goel
a867ead0d0 Improves calls to `error', per mail from RMS. 2007-12-08 00:57:23 +00:00
Deepak Goel
768b14f8a0 Fix buggy `error' calls in progmodes/ 2007-12-06 18:36:46 +00:00
Glenn Morris
417cf0b282 (antlr-keyword, antlr-syntax)
(antlr-ruledef, antlr-tokendef, antlr-ruleref-face)
(antlr-tokenref, antlr-literal): Inherit from standard font-lock
faces in non-light-background case.
2007-12-06 04:13:23 +00:00
Glenn Morris
5cec305694 Remove directory part from filenames in function declarations. 2007-12-06 04:09:57 +00:00
Miles Bader
e5e76c0431 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-943
2007-12-06 00:46:18 +00:00
Glenn Morris
981ed8df13 (compilation-shell-minor-mode): Declare as a function. 2007-12-05 03:32:55 +00:00
Glenn Morris
3428c0e9db Comment. 2007-12-04 03:53:04 +00:00
Glenn Morris
2650c1dbf9 (top-level): Don't require cl when compiling. 2007-12-02 20:04:11 +00:00
Glenn Morris
3092d1fbdb (gud-remove, gud-break): Declare as functions. 2007-12-01 02:34:09 +00:00