1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00
Commit Graph

1576 Commits

Author SHA1 Message Date
Juanma Barranquero
66dc9a0f2f (autoload-before-p): Remove.
(update-file-autoloads, update-directory-autoloads): Use `time-less-p'.
2004-04-27 22:46:52 +00:00
Stefan Monnier
f578d9f8aa (checkdoc-output-error-regex-alist): New var.
(checkdoc-output-font-lock-keywords): Remove error regexp.
(checkdoc-output-mode-map): Remove.
(checkdoc-output-mode): Derive from compilation-mode.
(checkdoc-find-error-mouse, checkdoc-find-error): Remove.
2004-04-23 22:25:17 +00:00
Stefan Monnier
09c774f713 (rx-syntax): Move sregex style syntax to code.
(rx-bracket, rx-check-any, rx-any): Clean up name space.
2004-04-23 21:25:58 +00:00
Stefan Monnier
ccfbe67988 Doc fixes.
(rx-constituents): Add/extend many forms.
(rx-check): Check form is a list.
(bracket): Defvar.
(rx-check-any, rx-any, rx-check-not): Modify.
(rx-not): Simplify.
(rx-trans-forms, rx-=, rx->=, rx-**, rx-not-char, rx-not-syntax): New.
(rx-kleene): Use rx-trans-forms.
(rx-quote-for-set): Delete.
(rx): Allow multiple args.
2004-04-23 21:23:29 +00:00
Stefan Monnier
6f8e359068 (batch-byte-recompile-directory): Add byte-recompile-directory's opt `arg'. 2004-04-21 22:34:27 +00:00
Stefan Monnier
780b142e2d (checkdoc-output-mode): Make it a normal major mode.
(checkdoc-buffer-label): Make sure the file name is meaningful.
(checkdoc-output-to-error-buffer): Remove.
(checkdoc-error, checkdoc-start-section): Rewrite.
2004-04-21 20:54:03 +00:00
Richard M. Stallman
67d170f2d2 (easy-menu-add): Do call x-popup-menu, but only if it's defined. 2004-04-21 19:14:49 +00:00
Richard M. Stallman
dc0485c4f8 (disassemble): Handle lambda-exp as arg. 2004-04-21 19:14:04 +00:00
Richard M. Stallman
a4f6653194 Fix previous change. 2004-04-21 19:13:00 +00:00
Richard M. Stallman
0a0eb031ad (byte-compile-no-warnings): Handle multiple args: compile like progn. 2004-04-21 19:12:04 +00:00
Richard M. Stallman
ae122ad2d4 (with-no-warnings): Simplify: take all args as &rest arg. 2004-04-21 19:10:29 +00:00
Stefan Monnier
a080ff233c (batch-byte-compile-file): Give a backtrace if requested. 2004-04-14 20:43:45 +00:00
Stefan Monnier
44b254cc4f (beginning-of-defun-raw, end-of-defun):
Correctly handle negative arguments when calling hook functions.
2004-04-14 18:20:23 +00:00
Stefan Monnier
96ef1febd2 (checkdoc-output-mode-map, checkdoc-find-error-mouse, checkdoc-find-error):
Use posn-set-point to merge the mouse and non-mouse case.
2004-04-14 17:49:43 +00:00
Stefan Monnier
7d0e09557f (byte-compile-cond): Fix last change. 2004-04-12 03:11:10 +00:00
Miles Bader
1f3ddf11e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
Remove RCS keywords

2004-04-10  Miles Bader  <miles@gnu.org>

   RCS keyword removal (only non-comment changes are enumerated here):

   * lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
   (byte-compile-insert-header): Don't use `byte-compile-version'.
   * lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
   instead of calculating something from the RCS `State' keyword
   [the latter is almost entirely useless anyway].
   * lisp/forms.el (forms-version): Variable removed.
   (forms-mode): Don't use `forms-version'.
   * lisp/recentf.el (recentf-version): Variable removed.
   * lisp/progmodes/delphi.el (delphi-version): Variable removed.
   * lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Stefan Monnier
b1b2ae8162 (easy-menu-add): Make it work in non-X Emacs. 2004-04-09 16:41:36 +00:00
Eli Zaretskii
05ec033b10 (rx): Work at compile time, not run time. 2004-03-27 11:52:07 +00:00
Stefan Monnier
98fdbd102f (ad-subr-arglist): Undo part of last patch. 2004-03-23 02:45:33 +00:00
Stefan Monnier
d08c4c2857 Fix copyright. 2004-03-22 15:38:14 +00:00
Stefan Monnier
eaf33a1780 (pp-eval-expression): Simplify. 2004-03-22 15:32:24 +00:00
Stefan Monnier
4f9d876485 (lisp-mode-variables): Don't set
normal-auto-fill-function and comment-indent-function.
The default values now work just as well.
Don't set font-lock-beginning-of-syntax-function since we already set
syntax-begin-function.
(lisp-outline-level): Put ;;;###autoload at same level as (.
(prin1-char): Quote special chars.
2004-03-22 15:31:46 +00:00
Stefan Monnier
de00302bfd (lm-keywords-finder-p): Use defvar rather than with-no-warnings. 2004-03-22 15:28:28 +00:00
Stefan Monnier
e409c5272f (edebug-display): Bring up a debug trace if the source location can't be found.
(edebug-compute-previous-result): Use prin1-char.
2004-03-22 15:27:46 +00:00
Stefan Monnier
b008007c6a (checkdoc-error): Dont' assume point-min == 1.
(debug-ignored-errors): Add an entry.
2004-03-22 15:24:49 +00:00
Stefan Monnier
b122f3fb5a (byte-recompile-directory): Ignore hidden dir.
(byte-compile-file): Output warning when deleting a file.
2004-03-22 15:23:59 +00:00
Stefan Monnier
66599b54fb (defsubst): Add edebug spec and use backquote.
(dont-compile, eval-when-compile, eval-and-compile): Add edebug spec.
2004-03-22 15:22:34 +00:00
Stefan Monnier
e856a453a1 (byte-compile-log-lap, byte-compile-inline-expand): Use backquote.
(byte-optimize-pure-func): Rename from byte-optimize-concat.
(symbol-name, regexp-opt, regexp-quote): Mark as pure.
2004-03-22 15:21:08 +00:00
Stefan Monnier
1de9630d9b (backquote-list*-macro): Use nreverse. 2004-03-22 15:17:01 +00:00
Stefan Monnier
35abd1e238 (ad-subr-arglist): Simplify. 2004-03-22 15:16:27 +00:00
Juri Linkov
b49c969bd0 Doc fix. 2004-03-22 07:48:01 +00:00
Juanma Barranquero
942269e7b4 (rx): Work at compile time, not run time. 2004-03-21 15:34:56 +00:00
Juanma Barranquero
7ab91c5f45 (make-obsolete-variable): Fix docstring. 2004-03-18 00:20:44 +00:00
Richard M. Stallman
8de4476933 (byte-compile-get-constant): For strings, do compare text properties. 2004-03-12 10:09:59 +00:00
Stefan Monnier
d8a8cbe26c (lisp-mode-variables): Set it. 2004-03-08 02:15:05 +00:00
Eli Zaretskii
740b7c2dbb (rx-check, rx-check-any, rx-check-not)
(rx-repeat, rx-check-backref, rx-syntax, rx-to-string): Use
lower-case "rx" in all error message.
(rx-or): Put group around result.
(rx-constituents): Add backref.
(rx-syntax): Add string-delimiter, comment-delimiter.
(rx-categories): Add combining-diacritic.
(rx-check-not, rx-greedy, rx): Doc fix.
(rx-backref, rx-check-backref): New.
2004-02-16 16:51:39 +00:00
Eli Zaretskii
062a9fce99 (rx-not): Bind case-fold-search to nil. 2004-02-16 12:12:02 +00:00
Luc Teirlinck
5410f047b3 (lisp-mode-variables): Adapt outline-regexp to the new conventions for
commenting out code.
2004-02-12 01:50:46 +00:00
Miles Bader
4d449b11a0 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-84
Add lisp/emacs-lisp/macroexp.el
2004-02-10 01:52:31 +00:00
Andreas Schwab
c971696d04 (defstruct): Remove extra format string
argument.
(cl-struct-setf-expander): Likewise.
2004-02-08 22:41:39 +00:00
Andreas Schwab
d71eb4d4f2 (lm-verify): Remove useless use of
format.
2004-02-08 22:38:03 +00:00
Richard M. Stallman
ab43c85050 (byte-compile-compatibility): Doc fix.
(byte-compile-format-warn): New.
(byte-compile-callargs-warn): Use it.
(Format, message, error): Add byte-compile-format-like property.
(byte-compile-maybe-guarded): New.
(byte-compile-if, byte-compile-cond): Use it.
(byte-compile-lambda): Compile interactive forms, just to make
warnings about them.
2004-01-29 17:58:16 +00:00
Richard M. Stallman
750e563f99 (beginning-of-defun-raw, end-of-defun):
Iterate the hook function if arg is given.
(mark-defun, narrow-to-defun): Change order of finding the limits.
2004-01-29 17:56:42 +00:00
Stefan Monnier
e8a12926bb (easy-mmode-define-navigation): Use a more robust check of widening. 2004-01-27 22:54:45 +00:00
Richard M. Stallman
7a21fef9ec (cl-cannot-unload): New function.
(cl-unload-hook): Defvar this to run cl-cannot-unload.
2004-01-16 18:20:00 +00:00
Luc Teirlinck
3e7274ae13 *** empty log message *** 2004-01-16 01:48:11 +00:00
Luc Teirlinck
637692f434 Add fmakunbound' for declare'. 2004-01-16 01:13:41 +00:00
Luc Teirlinck
9a7268cf3a *** empty log message *** 2004-01-13 00:24:12 +00:00
Luc Teirlinck
7618fe8e02 (compile-defun): Doc fix. 2004-01-12 23:28:29 +00:00
Karl Berry
2e3b4a0b35 allow / and *, too 2004-01-05 22:50:58 +00:00
Simon Josefsson
bcbc6fd3d0 Fix comment to recommend
before-save-hook instead of write-file-functions.
2004-01-05 18:19:11 +00:00
Karl Berry
17b337762f allow % and # as well as ; in copyright notice 2004-01-04 23:00:06 +00:00
Richard M. Stallman
38068db2b0 (lm-section-end): require outline. 2004-01-03 21:14:11 +00:00
Eli Zaretskii
1550204223 * progmodes/idlwave.el (idlwave-make-tags):
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
2004-01-03 12:12:01 +00:00
Eli Zaretskii
ab5136eab7 emacs-lisp/tcover-unsafep.el, emacs-lisp/tcover-ses.el: Renamed
from testcover-unsafep.el and testcover-ses.el to avoid file-name
clashes on 8+3 DOS filesystems.
2003-12-30 08:26:00 +00:00
Eli Zaretskii
dffafab086 (easy-menu-define): Doc fix. 2003-12-29 12:05:15 +00:00
Jonathan Yavner
01a9e5933d Add edebug specs for macros 1value' and noreturn'. 2003-11-30 06:58:00 +00:00
Jonathan Yavner
bbaa142972 Ensure that forms marked with `1value' actually always return the same value. 2003-11-30 06:56:28 +00:00
Thien-Thi Nguyen
877f9b0513 (easy-mmode-define-navigation): Take additional
optional arg NARROWFUN.  For the generated functions: Add local var
`was-narrowed-p'.  Also, if NARROWFUN is specified, include frags that
arrange to check for and save narrowing state before the move and then
conditionally call NARROWFUN after the move.
2003-11-14 16:18:01 +00:00
Eli Zaretskii
cdddbfd273 (rx-or): Fix the case of "(rx (and ?a (or ?b ?c) ?d))". 2003-11-01 17:35:49 +00:00
Francesco Potortì
97c437db33 Alias for Francesco Potort� 2003-10-23 20:36:19 +00:00
Richard M. Stallman
1ae7cf5ee8 (edebug-display-freq-count): Doc fix. 2003-10-20 23:46:31 +00:00
Dave Love
6c119ac0b4 (easy-mmode-define-navigation): Avoid
incf in macro expansion.
2003-10-20 19:07:02 +00:00
John Paul Wallington
748fb1aabd (elint-check-defcustom-form): Don't use `evenp' so we don't implicitly
require cl library at runtime.
2003-10-20 17:16:16 +00:00
Richard M. Stallman
9e1b128cd0 (lm-with-file): When FILE is nil, run BODY in current buffer. 2003-09-30 12:47:04 +00:00
Richard M. Stallman
a94d391acd (lm-with-file): Don't visit the file,
just use insert-file-contents in temp buffer.

(lm-get-header-re): Added surrounding \\( and \\) around the header,
as in for lm-history-header 'Change Log\\|History'.
2003-09-22 15:23:53 +00:00
Richard M. Stallman
9dbd7d6674 (byte-compile-log-file): Clear out byte-compile-last-warned-form. 2003-09-22 15:16:10 +00:00
Richard M. Stallman
5fc58d8323 (edebug-var-status, edebug-restore-status): New functions.
(edebug-enter, edebug-outside-excursion): Use them.
2003-09-19 14:31:15 +00:00
Richard M. Stallman
2c0696b144 (byte-compile-warning-prefix):
Fix the condition for whether to print "In WHERE".
2003-09-19 14:29:42 +00:00
Stefan Monnier
2b652064c6 (tq-create): Fix mixed up unquote style. 2003-09-12 15:55:47 +00:00
Dave Love
a3d819fcaa (eldoc-print-current-symbol-info-function):
New.
(eldoc-print-current-symbol-info): Use it.
2003-09-06 17:32:31 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
60b2e60d2d (common-lisp-mode): New. 2003-08-20 18:53:12 +00:00
Dave Love
7a0e987434 (beginning-of-defun-function): Doc fix. 2003-08-20 18:48:43 +00:00
Dave Love
0cb9b63a7b Comment. 2003-08-20 18:46:55 +00:00
Richard M. Stallman
606f5e7543 (eval-last-sexp-print-value): New subroutine, broken out of eval-last-sexp-1.
(eval-last-sexp-1): Use eval-last-sexp-print-value.
2003-08-17 00:18:15 +00:00
Richard M. Stallman
91cbc31fa9 (noreturn): Report error if does return.
(testcover-reinstrument-clauses): Doc fix.
2003-08-06 01:10:37 +00:00
Richard M. Stallman
10b6c9320f Doc fixes, args renamed.
(warning-type-format): Renamed from warning-group-format.
2003-08-06 01:09:33 +00:00
Richard M. Stallman
9e31e67b6f (byte-compile-not-obsolete-var): New var.
(byte-compile-variable-ref): Handle byte-compile-not-obsolete-var.
(byte-compile-defvar): Bind byte-compile-not-obsolete-var
to prevent warnings about defvar for an obsolete variable.

(byte-compile-log-warning):
warning-group-format renamed to warning-type-format.
2003-08-06 01:08:21 +00:00
Jonathan Yavner
df961c06b1 Updated contact address. 2003-07-25 04:59:09 +00:00
Glenn Morris
8d11b45098 (define-derived-mode): Mention hook in doc string. Defvar the derived
hook.
2003-07-23 00:00:13 +00:00
Richard M. Stallman
fb16e93267 (emacs-lisp-mode): Use run-mode-hooks.
(lisp-mode): Likewise.
2003-07-21 09:58:06 +00:00
Stefan Monnier
db14504a96 (syntax-ppss): Catch the case where the buffer is narrowed. 2003-07-16 15:40:25 +00:00
Stefan Monnier
9c5b265345 (syntax-ppss-flush-cache): Rename from syntax-ppss-after-change-function.
(syntax-ppss-after-change-function): New alias.  Update uses.
2003-07-16 15:17:02 +00:00
John Paul Wallington
2356fa8a91 2003-07-11 John Paul Wallington <jpw@gnu.org>
* emacs-lisp/ring.el (ring-empty-p): Use `zerop'.
	(ring-p, ring-plus1, ring-minus1, ring-length, ring-index)
	(ring-empty-p, ring-size, ring-copy, ring-ref): Doc fixes.

2003-07-11  NAKAJIMA Mikio  <minakaji@namazu.org>  (tiny change)

	* emacs-lisp/ring.el (ring-elements): Doc fix.
2003-07-11 21:53:43 +00:00
Richard M. Stallman
12cf32ce47 (debug, debugger-env-macro): Use with-no-warnings while accessing and
binding unread-command-char.
2003-07-07 20:57:50 +00:00
Stefan Monnier
1360464e62 (cl-transform-lambda): Strip &cl-defs
thingies from constructors created by defstruct.
2003-07-05 00:23:04 +00:00
Stefan Monnier
08d21785c8 (byte-compile-defvar): Check and set the default value of the variable.
(byte-code-meter): Move declaration to top level.
2003-07-04 23:47:48 +00:00
Andreas Schwab
8fd9bef258 (easy-mmode-define-navigation): Avoid
variable as format argument for error.  Don't call symbol-name on
string.
2003-06-22 16:55:47 +00:00
Stefan Monnier
2f74c84b7d (debug): Fix call to message. 2003-06-16 18:54:23 +00:00
Stefan Monnier
084ec4ce18 (cl-macroexpand-all):
Don't burp if (cadr (caddr found)) encounters a non-list element.
2003-06-16 16:35:05 +00:00
Stefan Monnier
cc1084a841 (cl-parse-loop-clause): Use map-keymap.
(defsubst*): Don't put a `cl-whole argument if it's not used.
2003-06-16 16:31:29 +00:00
Stefan Monnier
b86170f9b7 (pushnew): Use keywordp. 2003-06-16 16:27:27 +00:00
Stefan Monnier
cba937fd5c (disassemble): Accept plain expressions. 2003-06-16 16:26:34 +00:00
Stefan Monnier
f47f530244 (copyright-update-year): New function extracted from copyright-update.
When `arg' is set, replace the year, not the `copyright' text.
Ignore `copyright-update = nil' if called interactively.
Use "," rather than ", " if that's what was used before.
Recognize mixes of 2 and 4 digit years.
Use replace-match.
(copyright-update): Add interactivep arg.  Use it instead of use last-command.
Use replace-match.  Don't assume (point-min) == 1.
2003-06-14 20:11:37 +00:00
Richard M. Stallman
9b45407516 (lm-keywords-finder-p): Use with-no-warnings. 2003-06-04 09:48:50 +00:00
Juanma Barranquero
d8bae9fc04 (last-sexp-toggle-display): Remove stale comment. 2003-06-03 23:14:25 +00:00
Richard M. Stallman
c4e2d7912b (eval-last-sexp-1): Add save-excursion. 2003-06-03 11:10:31 +00:00
Lute Kamstra
ccb78fa385 (lm-synopsis): Use relative filenames correctly. Show the synopsis to
the user when appropriate.  Do not kill buffers that were created
outside `lm-synopsis'.
2003-06-02 10:23:19 +00:00
Juanma Barranquero
5e046f6d57 Moved from lisp/. 2003-05-30 23:31:15 +00:00