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
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
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
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
44b254cc4f
(beginning-of-defun-raw, end-of-defun):
...
Correctly handle negative arguments when calling hook functions.
2004-04-14 18:20:23 +00:00
Richard M. Stallman
750e563f99
(beginning-of-defun-raw, end-of-defun):
...
Iterate the hook function if arg is given.
(mark-defun, narrow-to-defun): Change order of finding the limits.
2004-01-29 17:56:42 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Dave Love
7a0e987434
(beginning-of-defun-function): Doc fix.
2003-08-20 18:48:43 +00:00
Stefan Monnier
b5ed9def80
(beginning-of-defun-raw): Use shy-group.
2003-05-18 21:51:01 +00:00
Juanma Barranquero
1269ae51b1
(beginning-of-defun): Fix typo.
2002-10-17 16:50:28 +00:00
Kai Großjohann
be0d25b686
* emacs-lisp/lisp.el (mark-defun): Don't leave multiple marks
...
when repeated.
* textmodes/paragraphs.el (mark-paragraph): Ditto.
2002-02-17 15:08:31 +00:00
Kai Großjohann
cad113ae34
* lisp/simple.el (mark-word): Mark more if repeated.
...
* lisp/textmodes/paragraphs.el (mark-paragraph): Ditto.
(mark-end-of-sentence): Ditto.
2002-02-15 08:53:15 +00:00
Richard M. Stallman
1fa1cb1bf6
(lisp-complete-symbol): Repeating the command
...
after displaying a completion list scrolls the list.
2002-01-11 21:22:28 +00:00
Stefan Monnier
f07493e7d0
(mark-sexp): Mark more if repeated.
2001-11-19 22:06:10 +00:00
Gerd Moellmann
c7f18fbafd
(defun-prompt-regexp): Doc fix.
2000-10-24 11:22:48 +00:00
Gerd Moellmann
b41c9501e8
(down-list, backward-up-list, up-list): Doc fix.
2000-10-13 11:46:11 +00:00
Stefan Monnier
f77eca766a
(lisp-complete-symbol): Only jump 2 not 3 levels.
2000-10-01 00:57:13 +00:00
Stefan Monnier
11ae6c5d0d
(lisp-complete-symbol):
...
Distinguish the let-binding case from the funcall case.
(forward-sexp-function): New variable.
(forward-sexp): Use it.
2000-09-29 03:30:04 +00:00
Dave Love
e50c4203bf
(defun-prompt-regexp, parens-require-spaces): Doc fix.
...
(down-list, backward-up-list, up-list, kill-sexp)
(backward-kill-sexp, mark-sexp)): Make arg optional.
(lisp-complete-symbol): Add optional arg PREDICATE.
2000-08-20 18:12:07 +00:00
Gerd Moellmann
418d645c4d
(beginning-of-defun-raw): Add regexp
...
matching open parenthesis in column 0 to defun-prompt-regexp
only if open-paren-in-column-0-is-defun-start is set.
2000-03-24 20:42:41 +00:00
Richard M. Stallman
ab22ee5354
(beginning-of-defun-function): Variable renamed from beginning-of-defun.
...
(beginning-of-defun-raw): Use new variable name; doc fix.
(beginning-of-defun): Doc fix.
(end-of-defun-function): Variable renamed from end-of-defun.
(end-of-defun): Use new variable name; doc fix.
2000-01-21 02:44:44 +00:00
Dave Love
c6eeec6550
(beginning-of-defun): New variable.
...
(beginning-of-defun-raw): Use it.
(end-of-defun): New variable.
(end-of-defun): Use it.
(check-parens): New command.
2000-01-05 15:08:36 +00:00
Richard M. Stallman
e323ab22c3
(lisp-complete-symbol): Don't bind completion-fixup-function.
1998-10-13 23:56:32 +00:00
Richard M. Stallman
ba6b3a2a59
(defun-prompt-regexp): Fix customize type.
1997-09-09 02:57:48 +00:00
Richard M. Stallman
adce3b5f3d
(move-past-close-and-reindent):
...
Don't move closeparen back onto the end of a comment.
1997-09-07 01:12:07 +00:00
Richard M. Stallman
30e19aee85
Use defcustom.
1997-05-05 15:06:25 +00:00
Richard M. Stallman
030dccec3e
(lisp-complete-symbol): Sort the list.
1996-11-01 08:19:07 +00:00
Erik Naggum
e3ac26cbb8
(narrow-to-defun): Narrow to the same defun that `mark-defun' would make
...
the region.
(insert-parentheses): Let a negative argument enclose preceding sexps.
1996-10-08 23:13:39 +00:00
Richard M. Stallman
3f7e952d9a
(narrow-to-defun): New function.
1996-08-29 04:42:40 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
6696af6580
(insert-parentheses): Don't insert spaces at beginning and end of buffer.
1994-09-22 06:42:30 +00:00
Richard M. Stallman
52ae2b4256
(lisp-complete-symbol): Bind completion-fixup-function.
1994-07-11 21:26:44 +00:00
Richard M. Stallman
1af808dc42
(lisp-complete-symbol): Likewise.
1994-06-10 23:01:49 +00:00