Richard M. Stallman
043efc41eb
(count-lines): In selective-display case,
...
adjust value if end is not at bol.
1993-11-24 04:35:28 +00:00
Richard M. Stallman
db16f109c9
(repeat-complex-command): Undo Oct 2 change.
1993-11-23 11:03:16 +00:00
Richard M. Stallman
b387ef9a4f
(eval-expression): Don't bind minibuffer-history-sexp-flag.
...
(edit-and-eval-command): Likewise.
1993-11-19 17:43:24 +00:00
Roland McGrath
4578d35d50
(eval-expression): Fix typo: missing paren.
...
(read-expression-map): Use an indirection to minibuffer-local-map rather
than copying it.
1993-10-26 18:06:48 +00:00
Brian Fox
adca5fa6cc
(eval-expression, edit-and-eval-command): Let
...
minibuffer-history-sexp-flag be 't during the call to
read-from-minibuffer.
1993-10-25 06:07:23 +00:00
Richard M. Stallman
4e24c6b147
(blink-matching-open): Treat / syntax like \ syntax.
1993-10-21 21:25:05 +00:00
Brian Fox
eab22e273c
(edit-and-eval-command): Let `read-from-minibuffer' manipulate the
...
history list, don't manipulate it directly.
(repeat-complex-command): Same thing.
1993-10-05 01:19:12 +00:00
Brian Fox
7e37cd30c6
(kill-region): Use equal' instead of
eq' to compare markers `beg'
...
and `end'. They might be two different markers that point to the same
place.
1993-09-21 07:43:20 +00:00
Paul Eggert
47096a67ef
(current-kill): Replace (% (+ N (- L K)) L) with (mod (- N K) L),
...
which is simpler.
1993-08-10 04:14:17 +00:00
Richard M. Stallman
aa00b92d69
(shell-command, shell-command-on-region):
...
Fix bugs in previous change.
1993-08-08 07:47:33 +00:00
Richard M. Stallman
34b45e324e
(do-auto-fill): Don't keep breaking the line
...
if it doesn't help matters.
1993-08-07 08:19:18 +00:00
Richard M. Stallman
009ef4024d
(shell-command-history): New variable.
...
(shell-command, shell-command-on-region): Use it.
1993-07-31 06:10:44 +00:00
Roland McGrath
8570b0ca3c
(read-expression-history): New defvar.
...
(eval-expression): Use it has history var in interactive spec.
1993-07-26 18:32:07 +00:00
Richard M. Stallman
fcadf1c77d
(kill-ring-save): Delete spurious `message' call.
...
(set-mark): If POS is nil, call deactivate-mark.
1993-07-26 07:31:11 +00:00
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