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
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
Richard M. Stallman
88c1aa792a
(kill-append): Doc fix.
1993-01-11 05:10:15 +00:00
Jim Blandy
7992688912
* simple.el (kill-region): Change interactive spec to signal an
...
error if the buffer is read-only, and remove the code to do a
copy-region-as-kill if the buffer is read-only.
* simple.el (set-mark-command): Clarify doc string.
* simple.el (prefix-arg-internal): Don't apply string-to-char to
get the first element of the key sequence - it might be a vector.
1993-01-07 02:50:39 +00:00
Jim Blandy
8a8fa7233d
* simple.el (comment-column): Doc fix.
...
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* simula.el (simula-electric-label): Same.
* comint.el (comint-dynamic-list-completions): Same.
* ebuff-menu.el (electric-buffer-list, Electric-buffer-menu-exit):
Same.
* ehelp.el (electric-help-command-loop): Same.
* electric.el (Electric-command-loop): Same.
* emerge.el (emerge-show-file-name): Same.
* fortran.el (fortran-abbrev-start, fortran-window-create-momentarily):
Same.
* gnus.el (gnus-Subject-next-article): Same.
* info.el (Info-summary): Same.
* isearch-mode.el (isearch-update, isearch-unread): Same.
* map-ynp.el (map-y-or-n-p): Same.
* mlsupport.el (push-back-character): Same.
* replace.el (perform-replace): Same.
* simple.el (prefix-arg-internal): Same.
* subr.el (read-quoted-char, momentary-string-display): Same.
* sun-mouse.el (mouse-second-hit): Same.
* terminal.el (te-escape-extended-command-unread): Same.
1992-11-15 23:57:39 +00:00
Jim Blandy
c2e8a01234
* simple.el (previous-line): Doc fix.
...
* simple.el (kill-line): Don't shift point before doing the
delete.
1992-11-07 06:13:23 +00:00
Richard M. Stallman
082c7686a3
(shell-command-on-region):
...
Use region-beginning and region-end, in interactive spec.
1992-10-27 08:48:02 +00:00
Richard M. Stallman
912c672856
(goal-column): Don't put the defvar inside the make-variable-buffer-local.
1992-10-23 08:54:08 +00:00
Richard M. Stallman
6e88ed495e
(comment-region): Do move to next line, in neg arg case.
1992-10-20 21:22:44 +00:00
Richard M. Stallman
58ff020d72
(insert-buffer): Before reading arg, barf if read-only.
1992-10-04 03:46:01 +00:00
Richard M. Stallman
62c48f87e9
(open-line): Shield undo from the hack to insert at pt-1.
1992-10-03 02:21:51 +00:00
Richard M. Stallman
01b8e020b7
(kill-word): Don't change point before calling kill-region.
...
(delete-indentation): Don't go beyond eob, comparing with fill-prefix.
1992-09-30 10:31:31 +00:00
Richard M. Stallman
3ee3a07613
entered into RCS
1992-09-15 08:15:41 +00:00
Richard M. Stallman
854c16c5e2
*** empty log message ***
1992-09-14 06:53:22 +00:00
Richard M. Stallman
616ed245e9
*** empty log message ***
1992-08-31 20:22:03 +00:00
Jim Blandy
bd3073920f
*** empty log message ***
1992-08-29 02:14:58 +00:00
Richard M. Stallman
ff1fbe3e75
*** empty log message ***
1992-08-21 07:18:16 +00:00
Richard M. Stallman
eb57c304a1
*** empty log message ***
1992-08-11 07:25:06 +00:00
Jim Blandy
29929437a3
*** empty log message ***
1992-08-04 02:36:45 +00:00
Richard M. Stallman
ccc5865771
*** empty log message ***
1992-07-29 02:15:26 +00:00
Richard M. Stallman
e91f80c43a
*** empty log message ***
1992-07-26 19:54:20 +00:00
Richard M. Stallman
eb6e989944
*** empty log message ***
1992-07-24 22:37:33 +00:00
Richard M. Stallman
770970cbad
*** empty log message ***
1992-07-24 08:17:31 +00:00
Richard M. Stallman
ba343182c2
*** empty log message ***
1992-07-24 06:09:27 +00:00
Richard M. Stallman
2c5e21c133
*** empty log message ***
1992-07-24 03:49:00 +00:00
Richard M. Stallman
ebb61177e3
*** empty log message ***
1992-07-24 03:42:21 +00:00
Eric S. Raymond
3a801d0c71
*** empty log message ***
1992-07-22 04:22:42 +00:00
Jim Blandy
109d300c73
*** empty log message ***
1992-07-13 18:39:10 +00:00
Jim Blandy
daa3760289
*** empty log message ***
1992-06-24 05:09:26 +00:00
Jim Blandy
70e14c01eb
*** empty log message ***
1992-06-12 22:23:00 +00:00
Eric S. Raymond
c88ab9ce4a
*** empty log message ***
1992-05-30 21:11:25 +00:00
Jim Blandy
46947372a3
*** empty log message ***
1992-04-19 08:53:55 +00:00
Jim Blandy
71e40adf62
*** empty log message ***
1992-03-16 15:23:26 +00:00
Jim Blandy
c637ae6fc1
*** empty log message ***
1992-01-27 22:52:05 +00:00
Jim Blandy
2076c87c10
Initial revision
1991-12-21 09:29:41 +00:00