Stefan Monnier
984edd2215
* lisp/simple.el (blink-matching-open): Use syntax-class.
...
* lisp/emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2010-09-20 23:45:09 +02:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Stefan Monnier
afa22f7ce7
* lisp/emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2010-08-17 22:18:40 +02:00
Stefan Monnier
0235128c15
Merge from emacs-23
2010-05-08 14:47:07 -04:00
Stefan Monnier
ccaa47655d
* emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
2010-04-27 13:57:32 -04:00
Stefan Monnier
62c5b459af
(lisp-completion-at-point): Try and handle errors.
2010-04-21 13:53:03 -04:00
Stefan Monnier
6e610c7261
(lisp-completion-at-point): Complete around point.
...
I.e. include text after point in the completion region.
Also, return nil when we're not after/in a symbol.
2010-04-20 12:37:31 -04:00
Glenn Morris
0ca1259846
* emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
2010-04-20 00:54:28 -07: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
Stefan Monnier
a185548b1c
* abbrev.el (abbrev-with-wrapper-hook): (re)move...
...
* simple.el (with-wrapper-hook): ...to here. Add argument `args'.
* minibuffer.el (completion-in-region-functions): New hook.
(completion-in-region): New function.
* emacs-lisp/lisp.el (lisp-complete-symbol):
* pcomplete.el (pcomplete-std-complete): Use it.
2009-11-19 03:12:51 +00:00
Stefan Monnier
a1bf889a14
(lisp-complete-symbol): Use minibuffer-complete.
2009-08-30 21:45:36 +00:00
Stefan Monnier
73ebf88f15
(field-complete): Use minibuffer-complete.
2009-08-30 15:13:35 +00:00
Glenn Morris
cb71155600
Remove leading * from defcustom docs.
2009-07-22 02:45:34 +00:00
Stefan Monnier
7bbab3e051
(end-of-defun-function): Make it more clear that
...
the function takes no argument.
2009-03-03 16:12:02 +00:00
Stefan Monnier
4114bc4975
(beginning-of-defun): Fix harmless paren typo.
2009-02-19 17:31:51 +00:00
Stefan Monnier
f2a8252af4
(end-of-defun): Consider the ".*\n" after the end of
...
the function as being part of the function.
2009-02-19 16:55:24 +00:00
Stefan Monnier
6d3e4d2287
(end-of-defun-function): Docstring fix.
2009-02-14 04:19:34 +00:00
Stefan Monnier
f9f34ece3d
(end-of-defun): Rewrite, to use the ARG argument to beginning-of-defun-raw.
2009-02-12 04:31:01 +00:00
Stefan Monnier
6bffddf43b
(end-of-defun): Don't skip to next line after
...
calling end-of-defun-function if it already moved to BOL.
2009-02-12 04:16:14 +00:00
Miles Bader
61eee794db
Add "^" to interactive spec of sexp movement commands
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1534
2009-02-04 05:48:16 +00:00
Chong Yidong
45545d6875
(end-of-defun): Protect against infloops (Bug#2106).
2009-01-31 16:19:46 +00:00
Glenn Morris
61a846fbec
Replace last-command-char with last-command-event.
2009-01-09 04:29:16 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Juanma Barranquero
0ec6a7e501
Fix typo in previous commit.
2008-11-26 10:46:21 +00:00
Alan Mackenzie
8fc2ac41e3
(forward-sexp, backward-sexp, mark-sexp)
...
(forward-list, backward-list, down-list, backward-up-list)
(up-list, kill-sexp, backward-kill-sexp, kill-backward-up-list)
(insert-pair, insert-parentheses): State that the
command assumes that point is not in a string or comment.
2008-11-26 10:30:53 +00:00
Chong Yidong
b6bb817d39
Revert last change.
2008-08-15 00:06:12 +00:00
Chong Yidong
d478606111
(lisp-complete-symbol): Supply match-size to display-completion-list.
2008-08-14 23:44:14 +00:00
Chong Yidong
6957495d27
(beginning-of-defun): Doc fix.
2008-08-11 21:38:17 +00:00
Glenn Morris
d6cba7ae45
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 03:21:21 +00:00
Juri Linkov
ec800cf0a2
(lisp-complete-symbol):
...
Use `minibuffer-message' to display message "No completions of %s"
when this command is called in the minibuffer.
2008-03-22 00:11:53 +00:00
Chong Yidong
becc67882c
(parens-require-spaces): Doc fix.
...
Reported by Drew Adams <drew.adams@oracle.com>.
2008-03-05 20:54:56 +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
8b72699e88
Add 2008 to copyright years.
2008-01-07 01:14:52 +00:00
Stefan Monnier
61e2160737
(end-of-defun): Restructure so that end-of-defun-function is called
...
consistently, even for negative arguments.
(end-of-defun-function): Default to forward-sexp.
2007-11-26 20:27:12 +00:00
Stefan Monnier
50bfa18a09
(beginning-of-defun-raw): Pass `arg' down to beginning-of-defun-function.
2007-11-22 22:12:22 +00:00
Glenn Morris
e0085d62fa
Switch license to GPLv3 or later.
2007-07-25 04:14:29 +00:00
Stefan Monnier
4878f1de7c
(lisp-complete-symbol): Make get-buffer-window find windows in other frames.
2007-03-28 00:54:08 +00:00
Glenn Morris
f0fa15c5e5
Add 2007 to copyright years.
2007-01-21 02:48:43 +00:00
Chong Yidong
4df5698c01
(beginning-of-defun-raw): Optimise (for speed) the case when
...
open-paren-in-column-0-is-defun-start is nil. Based on code by Martin
Rudalics.
2006-12-17 22:56:39 +00:00
Glenn Morris
d59c31376c
Update copyright years.
2006-12-07 05:06:17 +00:00
Alan Mackenzie
6cb5482231
2006-11-08 Alan Mackenzie <acm@muc.de>
...
* emacs-lisp/lisp.el (beginning-of-defun-raw): Code up the case
(eq open-paren-in-column-0-is-defun-start nil) by searching for
least nested open-paren.
2006-11-08 19:22:33 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Romain Francoise
5e6882903d
(lisp-complete-symbol): Don't print progress messages if in the
...
minibuffer.
2005-12-22 07:41:04 +00:00
Stefan Monnier
c1b5a260d6
(lisp-complete-symbol): Mostly undo the change by Kevin Rodgers.
...
Instead, just hide the completions buffer if we don't need to show it.
2005-12-22 01:48:20 +00:00
Stefan Monnier
398de7181d
(lisp-complete-symbol): Don't call delete-windows-on with an inexistent buffer.
2005-12-21 20:02:20 +00:00
Eli Zaretskii
6d93e4aa38
(lisp-complete-symbol): Regenerate the completion list, even after a partial
...
completion has been inserted in the current buffer. If there are more than 1
completion, redisplay the *Completions* buffer; if the completion is unique,
delete the *Completions* window.
2005-12-10 11:40:04 +00:00
Masatake YAMATO
f5fab556d4
* message.el (message-expand-group): Pass the common
...
prefix substring of completion to `display-completion-list'.
* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.
* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.
* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.
* tempo.el (tempo-display-completions): Ditto.
* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.
* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.
* eshell/em-hist.el (eshell-list-history): Ditto.
* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.
* progmodes/etags.el (complete-tag): Ditto.
* progmodes/make-mode.el (makefile-complete): Ditto.
* progmodes/meta-mode.el (meta-complete-symbol): Ditto.
* progmodes/octave-mod.el (octave-complete-symbol): Ditto.
* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.
* textmodes/bibtex.el (bibtex-complete-internal): Ditto.
* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.
* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
2005-10-16 09:31:48 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00