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
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
Stefan Monnier
7a439904ec
(prin1-char): Use eventp.
2004-05-11 03:17:59 +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
d8a8cbe26c
(lisp-mode-variables): Set it.
2004-03-08 02:15:05 +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
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
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
fb16e93267
(emacs-lisp-mode): Use run-mode-hooks.
...
(lisp-mode): Likewise.
2003-07-21 09:58:06 +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
Richard M. Stallman
3b8d36f152
(last-sexp-toggle-display):
...
Undo previous change (don't check for eob). Widen at the beginning.
2003-05-28 11:27:52 +00:00
Stefan Monnier
c689a61d1c
(lisp-font-lock-syntactic-face-function): Don't infinite lop at bob.
...
(emacs-lisp-mode): Mark its main custom group to be `lisp'.
(prin1-char): New fun.
(eval-last-sexp-1): Use it. Use with-syntax-table as well.
(eval-defun-1): Don't replace `defvar' with `defconst'.
2003-05-27 14:17:17 +00:00
Richard M. Stallman
592060ab2f
(emacs-lisp-mode-syntax-table): Give @ prefix syntax.
2003-04-24 01:36:13 +00:00
Richard M. Stallman
1d24f61858
(last-sexp-toggle-display): At end of buffer, run the global binding
...
of the same key.
2003-04-14 10:09:35 +00:00
Richard M. Stallman
98996d899e
(last-sexp-toggle-display): At end of buffer, just call `newline'.
2003-04-09 01:32:45 +00:00
Richard M. Stallman
56708dce08
(last-sexp-toggle-display): Correct the starting point for
...
previous-single-property-change.
2003-04-06 20:17:01 +00:00
Matthew Swift
3e8737bf4c
(emacs-lisp-docstring-fill-column): New custom variable.
...
(lisp-fill-paragraph): Use it. Add ?, to `paragraph-separate' so
that first docstring lines ending with a comma are respected. Add
"`(" to same so that function and macro bodies beginning with a
backquote do not get disturbed. Revise the comments.
2003-03-02 16:18:36 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
John Paul Wallington
e2cd29bdb4
* font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'.
...
* emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for
`deftheme'. Fix docstring offsets for `define-ibuffer-filter' and
`define-ibuffer-sorter'.
(lisp-imenu-generic-expression): Add `deftheme' to types.
* custom.el (customize-mark-to-save, customize-mark-as-set)
(custom-remove-theme): Doc fixes.
2003-01-29 21:45:56 +00:00
Stefan Monnier
833815e8a7
(lisp-fill-paragraph): Use fill-comment-paragraph.
2002-11-03 03:46:56 +00:00
Stefan Monnier
2df6093916
(lisp-fill-paragraph): Use match-string and line-beginning-position.
...
Don't bother making paragraph-start a superset of paragraph-separate.
2002-11-02 01:38:03 +00:00
Juanma Barranquero
4696802bde
Fix typo.
2002-07-03 12:01:24 +00:00
Colin Walters
f767db5b14
Handle define-ibuffer-column, define-ibuffer-filter,
...
define-ibuffer-sorter, and define-ibuffer-op.
2002-01-13 05:40:59 +00:00
Richard M. Stallman
726e8778c8
(eval-defun-1): Cope with atoms as args.
2001-12-21 14:07:45 +00:00
Colin Walters
52c9b141f4
(toplevel): Define docstring offset for `defmacro*'.
2001-12-04 07:12:56 +00:00
Stefan Monnier
0a88ae7b2a
(read-if): Add lisp-indent-function prop.
2001-11-30 10:17:56 +00:00
Stefan Monnier
52cf5c37c1
(lisp-mode-variables): Set syntax-begin-function.
...
(lisp-interaction-mode-abbrev-table): Defvar to its correct value.
(lisp-interaction-mode): Don't set local-abbrev-table any more.
(lisp-mode-auto-fill): Use syntax-ppss and obey
comment-auto-fill-only-comments.
(lisp-fill-paragraph): Use syntax-ppss.
2001-11-25 21:47:40 +00:00
Richard M. Stallman
9fefa08b84
(lisp-indent-function): Add doc string.
2001-11-25 19:35:29 +00:00
Richard M. Stallman
310b122741
(lisp-interaction-mode): Set local-abbrev-table to lisp-mode-abbrev-table.
2001-11-20 23:54:28 +00:00
Richard M. Stallman
dda7c01036
(lisp-mode, emacs-lisp-mode): Don't use define-derived-mode.
2001-11-20 23:41:41 +00:00
Stefan Monnier
ed3c639167
(lisp-fill-paragraph): Don't move back to a line without a comment.
2001-11-20 15:10:42 +00:00
Pavel Janík
c9be79b040
Fix typo.
2001-11-15 15:56:23 +00:00
Stefan Monnier
63b74e641f
(lisp-imenu-generic-expression): Paren typo.
...
(lisp-mode-variables): Don't set paragraph-{start,separate}.
Don't disable adaptive-fill-mode.
(lisp-fill-paragraph): Use tab-width rather than 8.
Prevent filling the first line of docstrings.
2001-11-07 01:15:30 +00:00
Richard M. Stallman
2bb659660e
(eval-last-sexp-1): Return the value of the evaluated form.
2001-11-06 04:44:51 +00:00
Richard M. Stallman
48461f7cde
(last-sexp-toggle-display): Cope if previous-single-property-change or
...
next-single-char-property-change returns nil.
2001-11-05 02:35:44 +00:00
Richard M. Stallman
46f90d0ff3
(eval-defun): Doc fix.
2001-10-28 14:15:14 +00:00
Gerd Moellmann
d7f519edc1
(lisp-imenu-generic-expression): Use regexp-opt.
...
(doc-string-elt): Set symbol's prop. Copied from autoload.el.
(lisp-font-lock-syntactic-face-function): New function.
(lisp-mode-variables): Use it. Make arg optional.
(emacs-lisp-mode): Don't pass an arg to lisp-mode-variables.
(lisp-mode): Don't pass an arg to lisp-mode-variables.
Set comment-start-skip.
2001-10-05 09:31:27 +00:00
Gerd Moellmann
cb79ea6486
(last-sexp-setup-props): New function.
...
(last-sexp-toggle-display): Renamed from last-sexp-print.
(last-sexp-toggle-display, eval-last-sexp-1): Use
last-sexp-setup-props.
2001-07-27 15:26:53 +00:00
Gerd Moellmann
8f4f953c20
(eval-last-sexp-1): Don't search for
...
`...', compare with unabbreviated printed representation instead.
(last-sexp-print): Bind print-length and print-level to nil.
2001-07-26 13:41:32 +00:00
Gerd Moellmann
be4a68f92a
(eval-last-sexp-1): Look for a `...'
...
before assigning text properties. Make properties rear-nonsticky.
2001-07-26 13:34:32 +00:00
Gerd Moellmann
5f0962558d
(last-sexp-print): New function.
...
(eval-last-sexp-1): Give printed text a `keymap' property and bind
<mouse-2> and <RET> in that map to a function printing the
unabbreviated value.
2001-07-26 12:31:38 +00:00
Gerd Moellmann
6849e6d5ee
(eval-last-sexp-1): If standard-output
...
is a buffer, put a text property `printed-value' on the printed
representation, with the Lisp object printed as value.
2001-07-26 09:28:58 +00:00
Eli Zaretskii
343462edc9
(eval-print-last-sexp, eval-defun):
...
Mention the effect of eval-expression-print-length and
eval-expression-print-level. Suggested by Kevin Gallagher
<kevingal@onramp.net>.
2001-07-25 16:24:58 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Gerd Moellmann
a25e82a815
(lisp-mode-shared-map): Bind TAB
...
to lisp-indent-line.
2001-07-06 15:33:36 +00:00
Richard M. Stallman
0202508f43
(eval-last-sexp): Doc fix.
2001-06-23 19:36:23 +00:00
Eli Zaretskii
cada28bb17
(lisp-indent-offset): Add a doc string.
2001-06-05 08:50:20 +00:00
Gerd Moellmann
5408c14970
(lisp-mode): Make
...
font-lock-keywords-case-fold-search a buffer-local variable
with make-local-variable before setting it.
2001-05-15 11:52:10 +00:00