Richard M. Stallman
f54b0d85a8
(next-buffer, prev-buffer): New commands.
...
Bind C-x left and C-x right to them.
2002-04-27 23:16:18 +00:00
Richard M. Stallman
1f98092039
(line-move-finish): Find beg and end of line
...
before calling line-move-to-column. Do consider intangible
when finding the end. Take more care in analyzing the results
of intangibility after line-move-to-column.
2002-04-22 22:35:46 +00:00
Richard M. Stallman
cfb4f12394
(yank-excluded-properties): New user option.
...
(yank-pop, yank): Use insert-for-yank.
2002-04-19 00:05:22 +00:00
Kim F. Storm
1841f9e393
(pop-to-mark-command): Do not set this-command.
...
(set-mark-command): Always jump to mark when called with arg.
2002-04-18 22:16:50 +00:00
Kim F. Storm
868c2f498c
(pop-to-mark-command, push-mark-command): New commands.
...
(set-mark-command): Use them.
Enhanced functionality when command is repeated:
- If first command set the mark (no prefix arg), repeat temporarily
enables transient-mark-mode.
- If first command jumped to mark off ring (with argument),
repeat (with or without arg) jump to next mark off ring.
- Use C-u C-u prefix to set mark after jump.
(exchange-point-and-mark): Temporarily enable transient-mark-mode
if prefix arg.
2002-04-14 17:27:55 +00:00
Stefan Monnier
41d22ee0a0
(line-move): Use memq rather than or.
...
(transpose-sexps): Don't presume as much of forward-sexp's behavior.
(do-auto-fill): Use fill-move-to-break-point.
(syntax-code-table): Remove.
2002-04-11 23:44:06 +00:00
Pavel Janík
cf6f437fc9
(play-sound): Move to subr.el.
2002-04-07 10:11:24 +00:00
Pavel Janík
de6debfb1c
(play-sound): New function (uses play-sound-internal).
2002-04-05 05:50:11 +00:00
Richard M. Stallman
3e505153da
(kill-new): Doc fix.
2002-03-31 16:28:07 +00:00
Richard M. Stallman
2d88b5562c
(play-sound-file): Moved from subr.el, made unconditional.
2002-03-29 23:16:11 +00:00
Richard M. Stallman
a615252beb
(line-move-to-column): Don't call move-to-column if COL=0.
2002-03-28 18:27:23 +00:00
Pavel Janík
b75b82abf6
Fix typo.
2002-03-26 06:29:01 +00:00
Kim F. Storm
41ad623325
Test for network process support with featurep.
2002-03-21 12:37:23 +00:00
Kim F. Storm
557ba8b2d6
(open-network-stream-nowait): Use featurep.
...
(open-network-stream-server): Ditto.
2002-03-21 12:23:22 +00:00
Kim F. Storm
ed7069afda
Update copyright.
...
(clone-process): Use make-network-process to clone network
processes. Get command list via (process-contact ... t).
Use set-process-query-on-exit-flag and process-query-on-exit-flag
instead of process-kill-without-query.
(open-network-stream): Replaces C-version from process.c.
(open-network-stream-nowait, open-network-stream-server): New
functions.
(process-kill-without-query): Replaces C-version from process.c.
2002-03-17 20:28:53 +00:00
Eli Zaretskii
3088377355
(shell-command-on-region): Call push-mark with
...
non-nil second arg, to suppress the "Mark set" message.
2002-03-09 09:06:04 +00:00
Kim F. Storm
9a98fa641d
(shell-command-on-region): Report non-zero exit
...
status in mode line instead of buffer.
2002-02-27 23:03:34 +00:00
Richard M. Stallman
94ddbe6d9e
(shell-command-on-region): Display the exit status when a command fails.
2002-02-20 22:33:01 +00:00
Kai Großjohann
cad113ae34
* lisp/simple.el (mark-word): Mark more if repeated.
...
* lisp/textmodes/paragraphs.el (mark-paragraph): Ditto.
(mark-end-of-sentence): Ditto.
2002-02-15 08:53:15 +00:00
Richard M. Stallman
dc7d755295
(undo-get-state, undo-revert-to-state): Fns deleted.
...
(transpose-subr-1): Use atomic-change-group.
2002-02-06 15:08:45 +00:00
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
Dave Love
e1d6e383c7
(next-line-add-newlines): Add :version.
2001-01-16 12:13:43 +00:00
Dave Love
03167a34ec
(backward-delete-char-untabify-method): Add :version.
2001-01-16 10:51:35 +00:00
Gerd Moellmann
a2aef08028
(set-variable): Force a thorough redisplay for the
...
case that the variable has an effect on the display, like
`tab-width' has.
2001-01-10 15:10:01 +00:00
Gerd Moellmann
2ece9174d1
(delete-key-deletes-forward-mode): Bind backspace
...
and delete in isearch-mode-map.
2000-12-28 15:16:15 +00:00
Gerd Moellmann
d25cc9a9b8
(delete-key-deletes-forward-mode): Simplify. Also
...
backspace key combinations, depending on
delete-key-deletes-forward.
2000-12-22 13:18:19 +00:00
Gerd Moellmann
f060b8348d
(delete-key-deletes-forward): Doc fix.
2000-12-22 12:50:39 +00:00
Andrew Innes
741e56a0e6
(delete-key-deletes-forward-mode): Fix typo in
...
docstring.
2000-12-19 13:03:33 +00:00
Dave Love
15d0c9b1d5
(mail-user-agent): Doc fix.
...
(input-mode-8-bit): Removed.
2000-12-18 17:09:42 +00:00
Miles Bader
7981d89f17
(delete-trailing-whitespace): Remove extraneous let.
2000-12-15 16:25:51 +00:00
Eli Zaretskii
13a9eed7d9
(delete-key-deletes-forward-mode): Treat ms-dos and
...
windows-nt as windowed environments, even under -nw.
2000-12-14 16:51:52 +00:00
Gerd Moellmann
1d4b11bf96
(delete-key-deletes-forward): New user-option.
...
(delete-key-deletes-forward-mode): New function.
2000-12-14 13:36:59 +00:00
Miles Bader
5ff4ba3ddf
(delete-horizontal-space): Add BACKWARD-ONLY parameter.
...
Respect field end too.
(just-one-space): Respect fields as `delete-horizontal-space'.
(newline-and-indent, reindent-then-newline-and-indent): Use
`delete-horizontal-space'.
2000-12-12 01:20:55 +00:00
Gerd Moellmann
ab7e20d586
(kill-new): Don't try to setcar kill-ring if it is
...
nil.
2000-12-11 15:33:34 +00:00
Miles Bader
5c9b3fac0e
(delete-trailing-whitespace): Don't delete newlines too.
2000-12-03 02:29:36 +00:00
Gerd Moellmann
95791033b8
(next-line-add-newlines): Change default to nil.
2000-12-02 10:14:48 +00:00
Miles Bader
b90d06b07e
(minibuffer-contents, minibuffer-contents-no-properties)
...
(delete-minibuffer-contents): New functions.
2000-12-01 03:31:49 +00:00
Miles Bader
fa6d1ca870
(delete-horizontal-space): Handle fields more generally.
2000-11-28 13:07:12 +00:00
Gerd Moellmann
dfe8ece372
(delete-horizontal-space): Handle minibuffer prompt.
2000-11-28 11:54:12 +00:00
Eli Zaretskii
0b3f96d4d8
(shell-command): Mention the effect of the prefix
...
argument in the doc string.
2000-11-25 08:48:13 +00:00
Sam Steingold
eaae8106d7
* simple.el (delete-trailing-whitespace): New interactive function.
...
* progmodes/ada-mode.el (ada-mode): Use it instead of
`ada-remove-trailing-spaces'
(ada-remove-trailing-spaces): Removed.
* textmodes/two-column.el (2C-merge): Recommend it in the doc.
* textmodes/picture.el (picture-mode-exit): Call it instead of
`picture-clean'.
(picture-clean): Removed.
2000-11-22 20:59:39 +00:00
Stefan Monnier
58dd38f196
(comment-line-break-function): Use the new name
...
indent-new-comment-line -> comment-indent-new-line.
(clone-indirect-buffer): Don't ignore NORECORD.
(next-completion): Properly handle the case where items are adjacent.
2000-11-22 19:47:30 +00:00
Miles Bader
6e7d0ff7bc
(minibuffer-avoid-prompt): New function.
2000-11-21 15:58:33 +00:00
Gerd Moellmann
9985d3915e
(byte-compiling-files-p): New function.
2000-11-09 23:01:40 +00:00
Gerd Moellmann
939ac10c1e
(shell-command, display-message-or-buffer)
...
(shell-command-on-region): Mention resize-mini-windows in the doc
string.
(display-message-or-buffer): Take the value of resize-mini-windows
into account.
2000-11-08 17:35:57 +00:00
Miles Bader
3c1b77ca33
(undo): Correctly distinguish between numeric and non-numeric prefix
...
args in non-transient-mark-mode, as per the doc string. When in
transient-mark-mode, treat all prefix-args as numeric.
2000-10-26 07:44:46 +00:00
Miles Bader
e276a14ac5
(previous-matching-history-element):
...
Position point on match.
Handle N == 0 correctly.
Miscellaneous cleanup.
2000-10-26 04:35:48 +00:00
Stefan Monnier
a1a8827285
(syntax-flag-table, string-to-syntax): Remove.
2000-10-15 22:09:04 +00:00
Eli Zaretskii
8be7408c88
(kill-line): Doc fix.
2000-10-08 06:10:40 +00:00
Miles Bader
2a3f00bf5f
Doc fix.
2000-10-08 01:37:42 +00:00
Dave Love
20ecc11096
(backward-word): Doc fix.
2000-10-06 18:13:28 +00:00