1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

122 Commits

Author SHA1 Message Date
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Stefan Monnier
a0ee6f2751 Obey lexical-binding in interactive evaluation commands.
* lisp/emacs-lisp/edebug.el (edebug-eval-defun, edebug-eval):
* lisp/emacs-lisp/lisp-mode.el (eval-last-sexp-1, eval-defun-1):
* lisp/ielm.el (ielm-eval-input):
* lisp/simple.el (eval-expression): Use new eval arg to obey lexical-binding.

* src/eval.c (Feval): Add `lexical' argument.  Adjust callers.
(Ffuncall, eval_sub): Avoid goto.
2010-12-15 12:46:59 -05:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Stefan Monnier
51ef56c47f * minibuffer.el (completion-at-point-functions): New var.
(completion-at-point): New command.
* indent.el (indent-for-tab-command): Handle the new `complete' behavior.
* progmodes/python.el (python-mode-map): Use completion-at-point.
(python-completion-at-point): Rename from python-partial-symbol and
adjust for use in completion-at-point-functions.
(python-mode): Setup completion-at-point for Python completion.
* emacs-lisp/lisp.el (lisp-completion-at-point): New function
extracted from lisp-complete-symbol.
(lisp-complete-symbol): Use it.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
setup completion-at-point for Elisp completion.
(emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point.
* ielm.el (ielm-map): Use completion-at-point.
(inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion.
* progmodes/sym-comp.el: Move to...
* obsolete/sym-comp.el: Move from progmodes.
2009-12-07 20:06:26 +00:00
Dan Nicolaescu
ca0a881a35 * puresize.h (BASE_PURESIZE): Increase to 1470000.
* lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.

* textmodes/ispell.el (ispell-skip-region-alist):
* international/mule-conf.el (eight-bit):
* international/fontset.el (font-encoding-alist):
* startup.el (pure-space-overflow-message):
* simple.el (overwrite-mode-textual, overwrite-mode-binary):
* paths.el (gnus-nntp-service, rmail-spool-directory)
(term-file-prefix):
* files.el (save-some-buffers-action-alist):
* cmuscheme.el (same-window-buffer-names):
* ielm.el (same-window-buffer-names):
* shell.el (same-window-buffer-names):
* mail/sendmail.el (same-window-buffer-names):
* progmodes/inf-lisp.el (same-window-buffer-names):
* bindings.el (mode-line-client)
(mode-line-column-line-number-mode-map):
* language/tibetan.el (tibetan-precomposition-rule-regexp)
(tibetan-precomposed-regexp): Purecopy string arguments.
2009-10-30 02:00:11 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Stefan Monnier
a535b26eb8 (ielm-eval-input): Fix thinko in last change. 2008-11-16 20:22:01 +00:00
Juanma Barranquero
61c11870cc * ielm.el (ielm-noisy, ielm-dynamic-return, ielm-mode-hook)
(ielm-dynamic-multiline-inputs): Remove * from defcustom docstrings.
  (ielm-prompt-read-only, ielm-font-lock-keywords): Fix docstring typos.
  (ielm-map): Define within defvar.  Add docstring.
  (ielm-tab, ielm-eval-input, ielm-get-old-input, ielm-return)
  (ielm-complete-filename): Use `when', `unless'.
  (ielm-is-whitespace-or-comment): Use `string-match-p'.
  (ielm-return, ielm-get-old-input): Use `looking-at-p'.
  (ielm-change-working-buffer): Check that the buffer is live.
  (inferior-emacs-lisp-mode): Define with `define-derived-mode'.
  Simplify.  Reflow docstring.
  (inferior-emacs-lisp-mode-hook, inferior-emacs-lisp-mode-map):
  New aliases, to satisfy `define-derived-mode' expectations.
2008-11-16 04:54:05 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00
Bastien Guerry
2ef180f7e3 * ielm.el (ielm-is-whitespace-or-comment): Docstring fix. 2008-02-16 16:17:37 +00:00
Bastien Guerry
6ad18d45df 2008-02-15 Lawrence Mitchell <wence@gmx.li> (tiny change)
* ielm.el (ielm-is-whitespace): Remove.
         (ielm-is-whitespace-or-comment): New function.
         (ielm-eval-input): Use it.
2008-02-15 16:32:39 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Dan Nicolaescu
6546555e7d * calc/calc.el (calc-emacs-type-lucid): Remove.
(calc-digit-map, calcDigit-start, calc-read-key)
(calc-clear-unread-commands):
* calc/calc-ext.el (calc-user-key-map): Replace uses of
calc-emacs-type-lucid with (featurep 'xemacs)

* emulation/tpu-mapper.el: Replace tpu-lucid-emacs19-p with
(featurep 'xemacs).
(tpu-lucid-emacs19-p): Remove.
(tpu-map-key): Make it a function instead of using fset.  Inline
tpu-emacs-map-key and tpu-lucid-map-key.  Use featurep 'xemacs.
(tpu-emacs-map-key, tpu-lucid-map-key): Remove.

* ielm.el: Use featurep 'xemacs.

* progmodes/cperl-mode.el (cperl-xemacs-p): Remove.
(condition-case, cperl-can-font-lock, cperl-singly-quote-face)
(cperl-define-key, cperl-mode-map, cperl-mode, cperl-init-faces)
(cperl-write-tags, cperl-tags-hier-init, cperl-perldoc): Replace
cperl-xemacs-p with (featurep 'xemacs).
(font-lock-cache-position): Pacify byte compiler.
2007-10-29 15:33:04 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
c90f275771 Update copyright years. 2006-12-05 07:06:08 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
291cfc0c5a (ielm-dynamic-return, inferior-emacs-lisp-mode): Fix spellings in docstrings. 2005-06-10 14:04:24 +00:00
Luc Teirlinck
9c5e65b24b (inferior-emacs-lisp-mode): Use delay-mode-hooks.. 2005-05-29 15:09:39 +00:00
Lute Kamstra
d395b3b565 (inferior-emacs-lisp-mode): Use run-mode-hooks. 2005-05-26 12:58:00 +00:00
Luc Teirlinck
85ab9f4e94 (inferior-emacs-lisp-mode): Set paragraph-separate buffer locally to
"\\'".  Replace obsolete `comint-use-prompt-regexp-instead-of-fields'
with `comint-use-prompt-regexp'.
2005-04-26 23:26:20 +00:00
Luc Teirlinck
1ab3c04fe6 (ielm-prompt-read-only): Doc fix. 2005-04-07 23:41:46 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
John Paul Wallington
e5927b52aa (ielm-tab, ielm-complete-symbol): Doc fix.
(inferior-emacs-lisp-mode): Use	`set-process-query-on-exit-flag'.
2004-08-25 18:40:22 +00:00
Luc Teirlinck
7655d37803 (ielm-prompt-read-only): Update docstring. 2004-05-01 20:18:27 +00:00
Luc Teirlinck
016b8f71ef (ielm-prompt-read-only, ielm-prompt): Update docstring.
(ielm-prompt-internal): New variable.
(ielm-font-lock-keywords): Remove irrelevant ielm-prompt keyword.
(ielm-send-input): Delete unused variable `buf'.
(ielm-eval-input): Use `ielm-prompt-internal'.
(inferior-emacs-lisp-mode): Use new variables
`comint-prompt-read-only' and `ielm-prompt-internal'.
Get rid of obsolete variable `directory-sep-char'.
(ielm): Use `zerop'.
2004-04-29 03:47:39 +00:00
Luc Teirlinck
9eca7c03d8 (ielm-prompt-read-only, ielm-prompt): Minor doc fix. 2004-04-26 03:13:43 +00:00
Luc Teirlinck
ee9cd72d5a (ielm-prompt-read-only, ielm-prompt): Expand docstring.
(ielm): Only go to the end of the buffer when starting a new process.
2004-04-26 02:43:42 +00:00
Juanma Barranquero
7636480366 (inferior-emacs-lisp-mode): Display working buffer on the mode line. Bind
`inhibit-read-only' to t before modifying properties of text in the buffer.
(ielm): Force point to the end of buffer, even when running ielm from inside
itself.
2004-04-25 17:18:00 +00:00
Luc Teirlinck
759f960aea (ielm-prompt-read-only): New user option.
(ielm-prompt): Expand docstring to describe new behavior.
(inferior-emacs-lisp-mode): Implement ielm-prompt-read-only and
mention it in the docstring.
2004-04-24 22:58:40 +00:00
Juanma Barranquero
0382cf8ffe (inferior-emacs-lisp-mode): Fix docstring. 2004-04-23 21:33:38 +00:00
Dave Love
10fea268ed (ielm-mode-hook): Add :options. 2003-09-06 17:34:11 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Andreas Schwab
27cfbf4b55 (inferior-emacs-lisp-mode): Bind comint-dynamic-complete-functions locally. 2003-01-12 20:11:44 +00:00
Stefan Monnier
66f067937b (inferior-emacs-lisp-mode): If hexl not found, use cat. point-min != 1. 2002-10-21 22:49:17 +00:00
Richard M. Stallman
5c584c3511 (inferior-emacs-lisp-mode): Treat the header as output,
if comint-use-prompt-regexp-instead-of-fields is nil.
2002-09-26 21:56:42 +00:00
Richard M. Stallman
1322516bc1 (*1): Fix previous change. 2002-09-23 16:02:14 +00:00
Juanma Barranquero
5967d9633f (ielm-eval-input): Call `error-message-string' instead of the non-existent
`ielm-format-error'.
2002-09-19 07:32:14 +00:00
Richard M. Stallman
5d9655bb64 (*1, *2, *3): New variables.
(ielm-eval-input): Make temporary buffers current on entry and
exit to the let bindings for *, ** and ***.
(inferior-emacs-lisp-mode): Mention *1, *2 and *3 in the docstring.
Do not overrule global bindings for *, ** and ***.
2002-09-18 16:01:43 +00:00
Miles Bader
20b130094d [original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
(inferior-emacs-lisp-mode): Give `comint-inhibit-carriage-motion' a
local value of t.
2002-08-19 05:03:55 +00:00
Richard M. Stallman
568bbe5ed1 (ielm-eval-input): Use error-message-string.
(ielm-format-error, ielm-format-errors): Functions deleted.
2002-06-15 14:19:02 +00:00
Juanma Barranquero
40cf8f25e6 (ielm-prompt): Allow customization; make it read-only. 2002-02-25 16:07:01 +00:00
Stefan Monnier
565f89ec06 (ielm-match-data): New var.
(inferior-emacs-lisp-mode): Make it buffer-local.
(ielm-eval-input): Use it to preserve match-data between inputs.
2002-02-25 07:26:15 +00:00
Jason Rumney
33a6517616 (inferior-emacs-lisp-mode): Use hexl for the dummy process. 2002-02-24 13:14:07 +00:00
Sam Steingold
690ec64977 use lisp-mode-shared-map instead of shared-lisp-mode-map 2000-10-10 17:27:38 +00:00
Miles Bader
3250010dd7 (ielm-indent-line): Detect a "prompt" line by seeing if comint-bol
doesn't actually go to the beginning of the line.
2000-08-07 14:56:02 +00:00
Richard M. Stallman
d38e7d5f4a (*, **, ***): Add defvars. 1998-04-29 05:20:31 +00:00
Richard M. Stallman
71d54f8869 (ielm-eval-input): More of previous change. 1998-04-28 02:10:42 +00:00
Richard M. Stallman
fed9da131c (ielm-eval-input): Use variables *, **, *** not :, ::, :::.
(inferior-emacs-lisp-mode): Corresponding changes.
1998-04-27 01:28:39 +00:00
Simon Marshall
883212ce69 Changed font-lock-reference-face to font-lock-constant-face. 1998-02-20 14:58:27 +00:00
Richard M. Stallman
0a13146e0d (ielm-header): Delete version and RCS header. 1997-06-23 02:07:09 +00:00
Richard M. Stallman
326e87d25c Comment change. 1997-06-22 19:52:10 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +00:00
Richard M. Stallman
94aba130a0 (ielm-input): New defvar. 1997-05-27 20:37:34 +00:00
Richard M. Stallman
4228277d98 Comment change. 1997-05-27 17:46:19 +00:00
Richard M. Stallman
95b20f3b9b (inferior-emacs-lisp-mode): Add a mode-class property. 1997-05-05 01:02:41 +00:00
Richard M. Stallman
9411439468 Use defgroup and defcustom. 1997-05-03 19:53:57 +00:00
Karl Heuer
34ce46c808 (inferior-emacs-lisp-mode): Set comint-completion-addsuffix. 1997-03-12 00:29:09 +00:00
Karl Heuer
950086e6eb (ielm-map): Don't bind M-q.
(inferior-emacs-lisp-mode): Set fill-paragraph-function instead.
1996-08-20 19:10:47 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
9d42eea392 (ielm-font-lock-keywords): New variable
(inferior-emacs-lisp-mode): Use it for font-lock support
1995-06-29 23:13:19 +00:00
Richard M. Stallman
9e983c7816 (ielm): Use pop-to-buffer.
(same-window-buffer-names): Add *ielm*.
1995-03-12 18:34:57 +00:00
Richard M. Stallman
e58df0dc54 (ielm-complete-symbol): Likewise. 1994-06-10 23:00:56 +00:00
Richard M. Stallman
e848854a11 (ielm-dynamic-multiline-inputs): New variable.
(ielm-return): Support it.

(ielm-print-working-buffer): New command
(ielm-change-working-buffer): New command
(ielm-display-working-buffer): New command
(ielm-map): Bindings for new commands; bindings from
shared-lisp-mode-map; Lemacs support.

(ielm-eval-input): Give bindings in scope during the eval
non-clashing names (ielm- prefix)

(ielm-get-old-input): New function
(inferior-emacs-lisp-mode): Bind it to comint-get-old-input
1994-05-02 17:13:42 +00:00
Richard M. Stallman
813f532d2f Initial revision 1994-05-02 05:16:59 +00:00