Commit graph

1546 commits

Author SHA1 Message Date
Juri Linkov
95e4aa8ef2 (edebug-eval-defun): Add `defface'. Fix docstring. 2004-06-10 04:18:04 +00:00
Juri Linkov
217297f8ec (eval-defun-1): Add `defface'. Fix docstring. 2004-06-10 04:16:05 +00:00
Richard M. Stallman
152472ba19 (prin1-char): Catch errors from `string'.
(eval-last-sexp-print-value): Print char equivalent regardless
of standard-output value.
2004-05-29 15:33:30 +00:00
Juri Linkov
d97c819899 (insert-pair-alist): New var.
(insert-pair): Make arguments optional.  Find character pair
from `insert-pair-alist' according to the last input event.
(insert-parentheses): Make arguments optional.
(raise-sexp, delete-pair): New funs.
2004-05-28 21:12:25 +00:00
Juri Linkov
889bfc7d44 * emacs-lisp/lisp-mode.el (indent-pp-sexp): New fun.
(emacs-lisp-mode-map, lisp-interaction-mode-map):
Bind C-M-q to `indent-pp-sexp'.
(eval-last-sexp-print-value): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:09:05 +00:00
Juri Linkov
575c3bca4c (pp-buffer): New fun created from the code in
`pp-to-string' modified to be able to format text with newlines.
(pp-to-string): Move the buffer-formatting part of the code to
`pp-buffer'.  Call `pp-buffer'.
2004-05-28 21:05:17 +00:00
Juri Linkov
50a27de260 * emacs-lisp/edebug.el (edebug-compute-previous-result)
(edebug-eval-expression): Print additionally the value returned by
`eval-expression-print-format'.
2004-05-28 21:03:53 +00:00
Sam Steingold
59de4ad0fc (lisp-find-tag-default): Strip the package prefix from the symbol name, if any.
Make it the `find-tag-default-function' for `lisp-mode'.
2004-05-25 20:51:06 +00:00
Richard M. Stallman
d3d6bc9b3b (mark-defun, narrow-to-defun): If moving back then fwd gets a defun
that ends before point, try again moving fwd then back.
2004-05-22 07:41:55 +00:00
Stefan Monnier
b88a41d006 (byte-compile-log): Use backquotes.
(byte-compile-log-1): Don't call (byte-goto-log-buffer).
Use with-current-buffer.
(byte-goto-log-buffer): Delete.
(byte-compile-log-file): Call compilation-forget-errors.
2004-05-19 18:53:13 +00:00
Sam Steingold
410019e59c (common-lisp-indent-function-1): Indent "without-" forms just
like "with-" and "do-".  Use regexp-opt.
2004-05-17 17:00:00 +00:00
Kim F. Storm
8cb7feb8b1 (timer-event-handler): Fix last change. 2004-05-16 21:43:57 +00:00
Kim F. Storm
6160f9334e (timer-activate): Add optional arg triggered-p.
Use it to set triggered-p element of timer.
(timer-event-handler): Set triggered-p element non-nil while running
the timer function.
2004-05-14 23:09:35 +00:00
Stefan Monnier
7a439904ec (prin1-char): Use eventp. 2004-05-11 03:17:59 +00:00
Juanma Barranquero
a766dfa104 (do, do*): Put usage info in a format usable by `describe-function'.
(gensym, gentemp, typep, ignore-errors): Make argument names match their
use in docstring.
2004-05-08 17:23:08 +00:00
Andreas Schwab
07051573a8 (checkdoc-minor-mode): Doc fix. 2004-05-08 16:38:33 +00:00
Juanma Barranquero
506b775323 (make-obsolete, make-obsolete-variable): Make argument names match their use in
docstring.
2004-05-07 00:58:54 +00:00
Juanma Barranquero
403532ee37 (reb-auto-update): Fix typo in docstring. 2004-05-07 00:53:56 +00:00
Juri Linkov
5891bf24d9 (beginning-of-defun, end-of-defun):
Push mark on the first call of successive command calls.
(insert-pair): New fun created from `insert-parentheses' with
`open' and `close' arguments added.  Enclose active regions
in paired characters.  Compare adjacent characters syntax with
inserted characters syntax before inserting a space.
(insert-parentheses): Call `insert-pair' with ?\( ?\).
2004-05-01 03:58:43 +00:00
Stefan Monnier
4479a2f89a (find-function-C-source-directory): New var.
(find-function-C-source): New fun.
(find-function-search-for-symbol): Use it.
2004-04-29 18:39:14 +00:00
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