1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-17 03:10:58 -08:00
Commit graph

1483 commits

Author SHA1 Message Date
Richard M. Stallman
ac29eb79ce (completion-list-mode): Renamed from completion-mode.
(completion-list-mode-map): Likewise.
1993-07-22 05:47:10 +00:00
Richard M. Stallman
1394df4374 (completion-setup-function): Insert the mouse help message
only if non-nil `window-system'.
1993-07-15 05:47:31 +00:00
Richard M. Stallman
e8a700bfcd (completion-mode): New major mode.
(completion-setup-function): New function.
Add it to completion-setup-hook.
1993-07-13 21:34:05 +00:00
Roland McGrath
e4e593ae57 (kill-ring-save): Call deactivate-mark regardless of transient-mark-mode. 1993-07-08 22:42:14 +00:00
Roland McGrath
19d353745f (deactivate-mark): New function.
(kill-ring-save, pop-mark, keyboard-quit): Call it.
1993-07-08 22:37:42 +00:00
Roland McGrath
62d1c1fcb2 Put error-conditions and error-message properties on 'mark-inactive.
(mark): Signal 'mark-inactive instead of using error with a message.
1993-07-08 21:46:22 +00:00
Richard M. Stallman
12bcd3b6da (kill-region): Cope with change hooks that change props. 1993-07-03 19:12:35 +00:00
Jim Blandy
a3d1480b7d * simple.el: Add bindings to function-key-map so that the keypad
keys act like ordinary self-insertion keys, unless explicitly bound.
1993-07-01 20:34:13 +00:00
Richard M. Stallman
0bf0c097bd (mark-even-if-inactive): New variable.
(mark): Test it.
1993-06-30 20:58:28 +00:00
Jim Blandy
1f3696d7df * simple.el (hscroll-point-visible): Work as documented in the
docstring for hscroll-step.
1993-06-11 09:45:20 +00:00
Richard M. Stallman
23efee2ce4 (append-to-buffer): Interactively, supply all 3 args.
Allow nonexistent buffers.
1993-06-10 23:06:50 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
c7c8b31e4f (mark): Doc fix. 1993-06-05 02:48:22 +00:00
Richard M. Stallman
230c6b3644 (kill-ring-save): Doc fix. 1993-06-04 02:39:51 +00:00
Richard M. Stallman
b553cffa92 (undo): Pass proper arg to delete-auto-save-file-if-necessary. 1993-06-01 20:31:47 +00:00
Richard M. Stallman
9f112a3d4c (kill-new): Pass t as 2nd arg to interprogram-cut-function. 1993-05-24 21:19:08 +00:00
Richard M. Stallman
c3e46f0c63 (shell-command): Don't activate mark even momentarily. 1993-05-24 18:46:13 +00:00
Richard M. Stallman
278b0a585a (pending-undo-list): Var declared. 1993-05-22 04:21:25 +00:00
Richard M. Stallman
b411b5fa8d (transient-mark-mode): Doc fix. 1993-05-21 17:26:48 +00:00
Richard M. Stallman
66050f1032 (keyboard-quit): Run deactivate-mark-hook.
(kill-ring-save): If quit happens while cursor is bounced,
1993-05-17 21:52:21 +00:00
Richard M. Stallman
8cdc660f67 (push-mark): Always activate the mark if not in Transient Mark mode. 1993-05-16 23:09:57 +00:00
Richard M. Stallman
fd0f40564f (yank, yank-pop): Don't activate the mark.
(mark-whole-buffer, mark-word): Activate the mark.
(push-mark): Optional arg ACTIVATE.
(set-mark-command): Use that.
1993-05-16 15:39:39 +00:00
Richard M. Stallman
9a1277dd3b (push-mark): Don't activate the mark.
(set-mark-command): Explicitly do so here.
When popping, don't mind if mark is inactive.
(pop-mark): Deactivate mark.  Don't mind if it's inactive.
(yank-pop): Don't mind if mark is inactive.
(keyboard-quit): Deactivate the mark.
(kill-ring-save): When bouncing cursor,
bounce the mark too, so highlighted area does not change.
1993-05-15 20:55:02 +00:00
Richard M. Stallman
e23c2c217e (transient-mark-mode): New command. 1993-05-15 18:47:18 +00:00
Richard M. Stallman
c1172a195d (previous-matching-history-element): If minibuf is empty,
use the last regexp specified a the default.
(next-matching-history-element): Likewise.
1993-05-06 18:54:32 +00:00
Richard M. Stallman
3731572535 (blink-matching-paren-distance): Change default to 12,000. 1993-05-05 18:12:04 +00:00
Richard M. Stallman
dff7d67f26 (up-arrow, down-arrow, left-arrow, right-arrow): Deleted.
(kill-line, next-line-add-newlines): Doc fix.
(kill-whole-line): Doc fix.
(kill-forward-chars, kill-forward-chars): Reinsert as before.

Change defalias to define-function.
1993-04-29 13:57:52 +00:00
Eric S. Raymond
0d5bbbf750 (hscroll-step): New variable.
(hscroll-point-visible): New function.
(left-arrow, right-arrow): These use hscroll-point-visible for better auto-
scrolling behavior.
1993-04-27 22:01:32 +00:00
Eric S. Raymond
3ab1f5b5ef (down-arrow): New function. Uses next-line-add-newlines to suppress
addition of new lines at end of buffer.
(up-arrow): Alias of previous-line, added for consistency.
These changes complete terminal-type-independent support for arrow keys.
1993-04-25 06:14:13 +00:00
Eric S. Raymond
38ebcf290b All fsets changed to defaliases.
(kill-forward-chars, kill-backward-chars): Deleted.  These were
internal subroutines used by delete-char and delete-backward-char
before those functions were moved into the C kernel.  Now nothing uses
them.
(kill-line): Added kill-whole-line variable.  Defaults to nil; a
non-nil value causes a kill-line at the beginning of a line to kill
the newline as well as the line.  I find it very convenient.  Emulates
Unipress' &kill-lines-magic variable.
(next-line): Added next-line-add-newlines variable.  If nil, next-line will not
insert newlines when invoked at the end of a buffer.  This obviates three LCD
packages.
(left-arrow, right-arrow): New functions.  These do backward-char and
forward-char first. If line truncation is on, they then scroll left or
right as necessary to make sure point is visible.
1993-04-23 06:50:37 +00:00
Roland McGrath
9d0f559a4d (indent-for-comment): Use skip-syntax-backward in place of
skip-chars-backward.
Correctly set INDENT to the return value of comment-indent-function.
1993-03-31 23:42:37 +00:00
Richard M. Stallman
dde92ca689 (count-lines): Use save-match-data. 1993-03-29 19:09:05 +00:00
Eric S. Raymond
d7c6407132 *** empty log message *** 1993-03-29 04:58:31 +00:00
Eric S. Raymond
d9ecc911ff Added or corrected Commentary headers 1993-03-22 16:53:22 +00:00
Richard M. Stallman
a61099dd2f (line-number-mode): New function and variable. 1993-03-21 08:22:37 +00:00
Jim Blandy
ec9a76e3d1 * simple.el (comment-indent-function): New variable, intended to
replace comment-indent-hook.
	(comment-indent-hook): Make this default to nil now.
	(indent-for-comment): If comment-indent-hook is non-nil, call it
	for backward compatibility; otherwise, call
	comment-indent-function.
	* bytecomp.el: Declare comment-indent-hook an obsolete variable.
1993-03-21 07:04:44 +00:00
Jim Blandy
b6a22db058 src/ * simple.el (quoted-insert): In overwrite mode, don't read digits
as an octal character code.  In binary overwrite mode, overwrite
	the characters instead of inserting them.
	(overwrite-mode-textual, overwrite-mode-binary): New symbols, for
	use in the mode line.
	(overwrite-mode): Doc fix.  Use force-mode-line-update.
	(binary-overwrite-mode): New function.
    	* loaddefs.el (minor-mode-alist): Make the mode line element for
	overwrite-mode be the symbol `overwrite-mode'.
1993-03-16 18:18:47 +00:00
Jim Blandy
0964e5628e * simple.el (kill-ring-save): Doc fix. 1993-03-11 07:07:17 +00:00
Richard M. Stallman
af39530ef0 (set-mark): Activate the mark.
(mark): Handle region-active.  New optional arg FORCE.
(exchange-point-and-mark, push_mark): Pass FORCE.
(set-mark-command): Likewise.
1993-03-09 05:40:33 +00:00
Richard M. Stallman
d70202c082 (prefix-arg-internal): Use listify-key-sequence. 1993-03-06 05:56:36 +00:00
Jim Blandy
1537a263af * simple.el (kill-region): If the buffer is read-only, call
`barf-if-buffer-read-only' instead of just `ding', to get the
	appropriate error condition and message.

	* simple.el (insert-buffer): Make sure this returns nil.

	* simple.el (quoted-insert): Use insert-char, instead of writing
	out the loop.
1993-03-02 07:33:17 +00:00
Roland McGrath
d81362b0c3 Restore nuked information in minibuffer history bindings.
Use intelligent method of disabling completion-oriented bindings.
1993-02-05 17:41:42 +00:00
Richard M. Stallman
34238338f9 Once again, go back to ordinary next-history-element
for M-n in minibuf, even for completion.
1993-02-05 02:06:38 +00:00
Jim Blandy
2aa7a8bfe5 * simple.el (kill-region): If the buffer is read-only, do beep,
but also put the region in the kill ring.  Doc fix.
1993-02-01 22:31:17 +00:00
Roland McGrath
b5e6f936b9 (next-complete-history-element): Restore point after replacing the
buffer text with the appropriate history element.
1993-01-28 20:22:03 +00:00
Richard M. Stallman
658eed663c Don't use the completion-oriented history commands. 1993-01-28 06:16:04 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Roland McGrath
c7e6987699 (next-complete-history-element): Use only buffer contents before point
to match history elements.
1993-01-25 16:59:48 +00:00
Roland McGrath
d0678801de ({next,previous}-complete-history-element): New functions.
Bind them to M-n/M-p and next/prior in minibuffer completion maps.
1993-01-25 00:45:01 +00:00
Jim Blandy
d5ab20330a * simple.el (set-goal-column): Make this command disabled by default. 1993-01-14 14:50:16 +00:00