Commit graph

105 commits

Author SHA1 Message Date
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
Juanma Barranquero
8ad8cfa5c8 (check-parens): Fix spellings. 2005-06-21 13:44:23 +00:00
Lute Kamstra
7bc108869d (check-parens): Fix docstring. 2005-05-18 08:29:38 +00:00
Luc Teirlinck
a64dc1a44c (defun-prompt-regexp, parens-require-spaces, buffer-end, end-of-defun)
(insert-parentheses): Doc fixes.
2005-04-08 23:10:24 +00:00
Richard M. Stallman
03deb635e5 (buffer-end): Doc fix. 2005-02-06 10:40:20 +00:00
Richard M. Stallman
dd60a465fb (backward-kill-sexp, kill-sexp): Doc fixes. 2005-01-17 23:48:10 +00:00
Richard M. Stallman
afb62fddcf (mark-sexp, mark-defun): New arg ALLOW-EXTEND
enables the feature to extend the existing region.
2004-12-29 01:32:06 +00:00
Kim F. Storm
90c08845df (beginning-of-defun, end-of-defun): Don't
use inhibit-mark-movement.
2004-12-14 12:18:11 +00:00
Juri Linkov
967e1a52ad * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun):
Do not push mark when mark is active in transient-mark-mode.
* emacs-lisp/lisp.el (mark-sexp, mark-defun):
Extend the region when mark is active in transient-mark-mode,
regardless of the last command.  Doc fix.
* emacs-lisp/lisp.el (mark-sexp): Reverse the condition for
preserving direction, to mark forward instead of backward when mark
is equal to point (e.g. when C-SPC C-M-SPC is typed in t-m-m).
2004-12-13 03:09:59 +00:00
Stefan Monnier
3610d3c962 (mark-sexp): Preserve direction when repeating. 2004-10-12 16:05:55 +00:00
Eli Zaretskii
de6d64b22a (kill-backward-up-list): New function. 2004-09-04 12:56:54 +00:00
Juri Linkov
017c959d5d (beginning-of-defun, end-of-defun):
Do not push mark if inhibit-mark-movement is non-nil.
2004-09-02 09:43:38 +00:00