1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

1158 Commits

Author SHA1 Message Date
Juri Linkov
a98a2fe87a (minibuffer-default-add-shell-commands): New function.
Use declare-function for mailcap-file-default-commands from "mailcap".
(shell-command): Set local minibuffer-default-add-function to
minibuffer-default-add-shell-commands in minibuffer-with-setup-hook
before calling read-shell-command.  Set 4th arg default-value of
read-shell-command to relative buffer-file-name in file buffers.
2008-04-22 19:50:11 +00:00
Stefan Monnier
d23734dc17 (choose-completion-string): Use minibuffer-completion-table. 2008-04-21 20:48:10 +00:00
Stefan Monnier
e2947429e7 * minibuffer.el (completion-all-completion-with-base-size): New var.
(completion--some): New function.
(completion-table-with-context, completion--file-name-table):
Return the base-size if requested.
(completion-table-in-turn): Generalize to multiple arguments.
(complete-in-turn): Compatibility alias.
(completion-styles-alist): New var.
(completion-styles): New customization.
(minibuffer-try-completion, minibuffer-all-completions):
New functions.
(minibuffer--do-completion, minibuffer-complete-and-exit)
(minibuffer-try-word-completion): Use them.
(display-completion-list, minibuffer-completion-help): Use them.
Handle all-completions's new base-size info to set completion-base-size.
* info.el (Info-read-node-name-1): Use completion-table-with-context,
completion-table-with-terminator and complete-with-action.
Remove the now obsolete completion-base-size-function property.
* simple.el (completion-list-mode-map): Move init into declaration.
(completion-list-mode): Use define-derived-mode.
(completion-setup-function): Use any completion-base-size that may
have been set before.  Remove handling of completion-base-size-function.
* loadup.el: Move abbrev.el up earlier.
2008-04-13 22:12:02 +00:00
Stefan Monnier
21622c6d10 * minibuffer.el (complete-with-action, lazy-completion-table):
Move from subr.el.
(apply-partially, completion-table-dynamic)
(completion-table-with-context, completion-table-with-terminator)
(completion-table-in-turn): New funs.
(completion--make-envvar-table, completion--embedded-envvar-table): New funs.
(read-file-name-internal): Use them.
(completion-setup-hook): Move from simple.el.
* subr.el (complete-with-action, lazy-completion-table):
* simple.el (completion-setup-hook): Move to minibuffer.el.
2008-04-11 22:28:02 +00:00
Glenn Morris
627bb5dcb5 (toggle-truncate-lines): Doc fix. 2008-04-10 07:46:40 +00:00
Stefan Monnier
7c37335792 (set-fill-column): Prompt rather than error by default. 2008-04-04 16:16:23 +00:00
Chong Yidong
ac1491a77f (handle-shift-selection): New arg. 2008-04-03 16:37:39 +00:00
Stefan Monnier
d34c311ab4 (beginning-of-buffer, end-of-buffer, goto-line, undo)
(copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
(keyboard-escape-quit): Check region-active-p i.s.o transient-mark-mode.
2008-04-03 02:16:17 +00:00
Chong Yidong
109cfe4e37 (deactivate-mark): When the mark is temporarily
active, restore the original value of transient-mark-mode.
(set-mark-command): First deactivate the mark if was temporarily
active.
(exchange-point-and-mark): Reactivate the mark if it was
temporarily active.
(handle-shift-selection): New fun.
(transient-mark-mode): Move var documentation here from buffer.c.
(next-line, previous-line, backward-word, move-end-of-line)
(move-beginning-of-line, forward-to-indentation)
(backward-to-indentation, back-to-indentation)
(beginning-of-buffer, end-of-buffer): Add ^ interactive spec.
2008-04-02 20:16:10 +00:00
Juri Linkov
7f914bbedf (minibuffer-default-add-function): New variable with
the default to minibuffer-default-add-completions.
(minibuffer-default-add-done): New variable.  Make it buffer-local.
(minibuffer-default-add-completions): New function.
(goto-history-element): Set minibuffer-default-add-done to t and
call a function in minibuffer-default-add-function when the
specified absolute history position is greater than the length of
the minibuffer-default list and minibuffer-default-add-done is nil.
Change "^End of history; no next item$" to "^End of defaults;
no next item$".
2008-03-29 22:56:17 +00:00
Stefan Monnier
2977fc373a (activate-mark): New function.
(set-mark-command): Use it with region-active-p to clean up the code.
(exchange-point-and-mark): Invert the meaning of C-u when
transient-mark-mode is active.
2008-03-26 03:40:40 +00:00
Chong Yidong
715043a5cb (transient-mark-mode): Turn on by default. 2008-03-23 22:52:20 +00:00
Stefan Monnier
29b465e1e3 (read-shell-command): Other typo. 2008-03-20 21:30:29 +00:00
Stefan Monnier
7c6d20657f (read-shell-command): Typo. 2008-03-20 19:52:30 +00:00
Stefan Monnier
e5c4079cc4 (minibuffer-local-shell-command-map): New var.
(minibuffer-complete-shell-command, read-shell-command): New funs.
(shell-command, shell-command-on-region): Use them.
2008-03-20 19:48:07 +00:00
Juri Linkov
f564644bb2 (goto-line): Leave mark at previous position. Doc fix. 2008-03-16 17:45:11 +00:00
Dan Nicolaescu
f31b125795 * faces.el (xw-defined-colors):
* simple.el (widget-convert, shell-mode): Declare as functions
instead of autoloading.

* abbrev.el:
* button.el:
* cus-face.el:
* ediff-hook.el:
* emacs-lisp/backquote.el:
* emacs-lisp/timer.el:
* facemenu.el:
* faces.el:
* menu-bar.el:
* simple.el:
* subr.el:
* textmodes/fill.el:
* textmodes/paragraphs.el: Remove autoloads, redundant when the
files are preloaded.
2008-03-14 17:42:18 +00:00
Chong Yidong
17923ef297 (set-mark-command): Doc fix. 2008-03-11 02:00:08 +00:00
Glenn Morris
43d16385af (transient-mark-mode): Don't turn on by default. 2008-03-03 02:16:29 +00:00
Stefan Monnier
6d25a31264 (set-mark-command): Deactivate mark on second C-SPC C-SPC
when using transient-mark-mode.
2008-02-26 19:41:53 +00:00
Dan Nicolaescu
a2b84f35b3 * simple.el (transient-mark-mode): Add an :init-value.
* startup.el (command-line): Use custom-reevaluate-setting for
transient-mark-mode.

* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
with Qt.
2008-02-17 16:57:44 +00:00
Stefan Monnier
64663f061c (clone-indirect-buffer-hook): New hook.
(clone-indirect-buffer): Run it.
2008-02-12 02:25:10 +00:00
Glenn Morris
3a77346c8e Kevin Ryde <user42 at zip.com.au>
(completion-list-mode): Show full completion-list-mode-map in the docstring.
2008-02-11 04:03:25 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +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
Miles Bader
a0c92ed92d Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
2007-12-29 02:39:17 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Richard M. Stallman
afa39f21c8 (region-active-p): Doc fix. 2007-12-25 23:00:51 +00:00
Richard M. Stallman
02d5251960 (region-active-p): New function. 2007-12-25 22:43:44 +00:00
Richard M. Stallman
cb3a9d33b3 (use-region-p): Renamed from `region-active-p'. 2007-12-25 22:12:56 +00:00
Richard M. Stallman
4496b02bed (yank-pop-change-selection): New option.
(current-kill): Obey it.
2007-12-25 20:19:13 +00:00
Richard M. Stallman
98b2fff491 (select-active-regions): New option.
(set-mark): Obey it.
2007-12-25 20:02:45 +00:00
Richard M. Stallman
d03b9b3108 (region-active-p): New function.
(use-empty-active-region): New variable.
2007-12-23 21:46:25 +00:00
Eli Zaretskii
987ec16d97 (set-variable-value-history): Add reference to history-length in
the doc string.
2007-12-22 17:15:48 +00:00
Eli Zaretskii
e5f0c02f8e (minibuffer-history, shell-command-history): Add references to history-length
in the doc strings.
2007-12-22 17:12:30 +00:00
Miles Bader
0bd5084171 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
2007-12-06 09:51:45 +00:00
Deepak Goel
f6e7ec0248 Fix possibly buggy calls to `message'. 2007-12-06 00:17:56 +00:00
Juanma Barranquero
3784ec80ce (normal-erase-is-backspace): Fix typos in docstring. 2007-11-15 16:42:43 +00:00
Miles Bader
f23d76bdef Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-283
2007-11-11 00:56:44 +00:00
Stefan Monnier
5015055ea5 (interprogram-cut-function, interprogram-paste-function):
Don't make them frame-local any more.
2007-11-09 20:55:29 +00:00
Glenn Morris
e2f953832a Ulrich Mueller <ulm at gentoo.org> (tiny change)
(bad-packages-alist): Anchor semantic regexp.
2007-11-03 03:08:46 +00:00
Glenn Morris
7796ee61d1 Ulrich Mueller <ulm at gentoo.org> (tiny change)
(bad-packages-alist): Anchor semantic regexp.
2007-11-03 03:08:29 +00:00
Glenn Morris
05db920d6f (bad-packages-alist): Revert previous change. 2007-11-02 07:57:19 +00:00
Glenn Morris
c1cf6983a5 (bad-packages-alist): Revert previous change. 2007-11-02 07:56:02 +00:00
Glenn Morris
50c4463335 (bad-packages-alist): Add an entry for standalone vc-svn. 2007-11-01 08:09:33 +00:00
Glenn Morris
9930c3c188 (bad-packages-alist): Add an entry for standalone vc-svn. 2007-11-01 08:09:02 +00:00
Miles Bader
18cd1f1a08 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 902-908)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 131-137)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 261-262)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
2007-10-27 09:12:07 +00:00
Stefan Monnier
eb3d6c677b (reindent-then-newline-and-indent): Use a `move after
insert' kind of marker in the save-excursion.
2007-10-24 01:51:03 +00:00
Juri Linkov
b38fc7f11a (goto-history-element): Allow minibuffer-default to be
a list of default values accessible by typing M-n in the minibuffer.
2007-10-22 00:17:55 +00:00