Commit graph

719 commits

Author SHA1 Message Date
Richard M. Stallman
195ce31160 (shell-command-on-region): Err if no mark before reading the command string. 2002-02-01 04:20:02 +00:00
Richard M. Stallman
e9cd25fe9d (line-move): If we can't move enough lines, go to beginning or end of line. 2002-01-13 04:02:49 +00:00
Richard M. Stallman
2192bd73b1 Whitespace change. 2002-01-11 21:24:17 +00:00
Richard M. Stallman
af894fc98a (line-move-invisible): New subroutine.
(line-move-to-column): New subroutine--smarter about advancing over
invisible parts of a line, or lines, but only as long as hpos grows.
(line-move-finish): New subroutine: repeatedly processes desired
column, intangibility, and fields.
(line-move): Use those subroutines.
When moving lines downward, skip invisible text first rather than last.
2001-12-28 05:15:59 +00:00
Richard M. Stallman
d26b26dc59 (eval-expression-print-level, eval-expression-print-length): Doc fixes. 2001-12-18 23:39:21 +00:00
Dave Love
058d49996c (newline): Doc fix.
(eval-expression-print-level, eval-expression-print-length): Doc
fix.  Amend :type.
(next-line, previous-line): Make arg optional.
(newline): Doc fix.
2001-12-18 15:53:57 +00:00
Richard M. Stallman
2e0336939b (undo): Always set this-command to `undo',
so that the next undo after an error will not begin redoing.

(shell-command): Doc fix.
(shell-command-on-region): If there is output an an error,
add "...Shell command failed" to the output.
2001-12-13 07:43:28 +00:00
Richard M. Stallman
cc17378efe (line-move): Cope if next-single-property-change
or previous-single-property-change returns nil.
2001-12-10 20:38:47 +00:00
Richard M. Stallman
e02e6f7502 (minibuffer-history-sexp-flag): Doc fix. 2001-11-17 22:28:30 +00:00
Richard M. Stallman
61acfe7f5d (clone-indirect-buffer): Error if major mode symbol
has a no-clone-indirect property.
(clone-buffer): Check for obvious errors before reading clone name.
2001-11-13 02:09:59 +00:00
Stefan Monnier
e1e0435051 (reindent-then-newline-and-indent): Insert the newline
before indenting the first line.
(undo-get-state, undo-revert-to-state): New funs.
(shell-command): Don't kill the buffer even if empty.
(transpose-subr-start1, transpose-subr-start2, transpose-subr-end1)
(transpose-subr-end2): Remove.
(transpose-subr): Add `special' arg and simplify.
(transpose-subr-1): Rewrite.
(do-auto-fill): Use fill-indent-according-to-mode and fill-nobreak-p.
(rfc822-goto-eoh): Simplify.
2001-10-31 00:57:04 +00:00
Kim F. Storm
db6f8ff125 Don't let kill-ring-save show extent if transient-mark-mode and region
fully visible.
2001-10-19 23:25:34 +00:00
Miles Bader
4d251ae727 (what-line): Avoid problems with field properties. 2001-10-18 01:05:28 +00:00
Miles Bader
31252c009c (display-message-or-buffer): Pass the correct buffer to `display-buffer'. 2001-10-15 01:01:21 +00:00
Stefan Monnier
01f9ba177c (minibuffer-local*-map): Remove redundant bindings. 2001-10-12 19:25:04 +00:00
Gerd Moellmann
919f28126b (end-of-buffer): Fix code scrolling specially
for the buffer end.
2001-10-10 11:55:39 +00:00
Miles Bader
6d74d713e0 (previous-matching-history-element): Fix misplaced parentheses. 2001-10-05 15:16:24 +00:00
Miles Bader
efaac2e650 (previous-matching-history-element, next-history-element)
next-complete-history-element): Use `minibuffer-' functions instead of
calling `field-' functions directly.
(minibuffer-prompt-end, minibuffer-contents):
(minibuffer-contents-no-properties, delete-minibuffer-contents):
Functions removed (now subrs).
(minibuffer-prompt-width): Use `minibuffer-prompt-end'.
2001-10-05 12:28:31 +00:00
Gerd Moellmann
49c14a0533 Comment out change of 2001-09-13. 2001-09-14 11:08:20 +00:00
Gerd Moellmann
9b35015281 (minibuffer-prompt-modification)
(minibuffer-prompt-insertion): New functions.
(minibuffer-prompt-properties): Use `modification-hooks' and
`insert-in-front-hooks'.
2001-09-13 10:02:35 +00:00
Gerd Moellmann
003550c5e3 (undo): Remove positions from buffer-undo-list up to
the next undo boundary only.
2001-09-06 08:49:34 +00:00
Gerd Moellmann
b7e91b0cf8 (backward-word): Doc fix. 2001-09-04 08:37:35 +00:00
Gerd Moellmann
e8b1643c82 (eval-expression-print-level): Fix last change. 2001-08-30 15:32:56 +00:00
Gerd Moellmann
170adbff11 (eval-expression-print-level): Change the type
of the defcustom to allow nil.
2001-08-30 11:20:45 +00:00
Eli Zaretskii
32f2f98e58 (line-number-mode): Mention the variable line-number-display-limit-width
in the doc string.
2001-08-22 18:30:36 +00:00
Miles Bader
50af0a5b40 (line-move): Undo previous change. 2001-08-16 14:51:25 +00:00
Miles Bader
1369261b86 (line-move): Pass an ESCAPE-FROM-EDGE argument of t when calling
`constrain-to-field', to avoid problems with comint prompts.
2001-08-16 07:40:51 +00:00
Gerd Moellmann
661aa5c75c (delete-trailing-whitespace): Save match data
around looking-at.  From Markus Rost <rost@math.ohio-state.edu>.
2001-07-20 09:40:27 +00:00
Gerd Moellmann
36755dd923 (set-variable): Require 'cus-edit' instead of
`wid-edit', so that the Custom widgets get defined.
2001-07-16 11:52:56 +00:00
Richard M. Stallman
fd344fb75f (shell-command-on-region): Never kill the *Shell Command Output* buffer. 2001-06-13 15:26:29 +00:00
Miles Bader
9ab59a1aa7 (delete-horizontal-space, just-one-space): Use `constrain-to-field'
instead of `field-end'/`field-beginning', because it's more efficient
for large files.
2001-05-18 07:13:47 +00:00
Gerd Moellmann
c8d6d636a8 (completion-list-mode-finish): New function.
(toplevel): Add completion-list-mode-finish to
temp-buffer-show-hook.
2001-04-10 14:48:42 +00:00
Eli Zaretskii
e02160a302 (normal-erase-is-backspace-mode): Doc fix. 2001-04-06 13:36:54 +00:00
Eli Zaretskii
7f62656ba4 (normal-erase-is-backspace): Rename from
delete-key-deletes-forward.  Doc fix.
(normal-erase-is-backspace-mode): Rename from
delete-key-deletes-forward-mode.  Doc fix.  Run
normal-erase-is-backspace-hook.
2001-04-04 14:07:13 +00:00
Eli Zaretskii
8e843bc4c7 (transient-mark-mode): Mention ESC ESC ESC in the doc string as well. 2001-03-30 11:37:52 +00:00
Eli Zaretskii
1465c66bbe (transient-mark-mode): Mention C-g in the doc string. 2001-03-30 08:35:49 +00:00
Gerd Moellmann
96e8e60394 (choose-completion-string): When not leaving the
minibuffer, raise the minibuffer frame when minibuffer-auto-raise
is set.
2001-03-08 15:47:58 +00:00
Eli Zaretskii
815588675f (kill-region, kill-line, kill-ring-save): Doc fix. 2001-02-16 12:09:39 +00:00
Richard M. Stallman
103db06c7a (delete-key-deletes-forward-mode):
Change `let' to `let*' to fix gross bug in last change.
2001-02-10 16:34:42 +00:00
Eli Zaretskii
a6a1ee536e (eval-expression): Doc fix. 2001-02-10 06:45:56 +00:00
Eli Zaretskii
9889af089d (previous-matching-history-element, next-matching-history-element): Doc fix. 2001-02-06 19:39:07 +00:00
Eli Zaretskii
d3f2278494 (kill-line): Doc fix. 2001-02-06 06:54:56 +00:00
Gerd Moellmann
24886813f4 (next-line): Goto end-of-line before inserting a newline. 2001-02-05 10:16:47 +00:00
Gerd Moellmann
be4f1e412a (delete-key-deletes-forward-mode): Treat `kp-delete'
like `delete'.
2001-01-31 15:05:25 +00:00
Gerd Moellmann
3a76825133 (delete-trailing-whitespace): Don't delete formfeeds. 2001-01-29 20:36:26 +00:00
Eli Zaretskii
4c5f7215bf (transient-mark-mode): Doc fix. 2001-01-27 17:15:58 +00:00
Eli Zaretskii
c4e39bddb4 Fix last change. 2001-01-27 11:53:09 +00:00
Eli Zaretskii
cfa702446e (transient-mark-mode): Document the fact that many
commands act on the region when mark is active.
2001-01-27 11:45:54 +00:00
Gerd Moellmann
207d7545b7 (next-line): Don't let `newline' expand abbrevs.
Simplify slightly.
(open-line): Don't let `newline' expand abbrevs.
2001-01-26 09:23:17 +00:00
Gerd Moellmann
ec9f475427 (delete-key-deletes-forward-mode): Bind <backspace>
and <delete> via function-key-map.
2001-01-16 20:25:23 +00:00