Commit graph

552 commits

Author SHA1 Message Date
Richard M. Stallman
0b69eec589 (what-cursor-position): Use describe-char. 2002-06-17 16:15:09 +00:00
Miles Bader
85fd1cfa83 (line-move-finish): Inhibit field motion when computing `line-end'. 2002-06-10 08:05:13 +00:00
Richard M. Stallman
cc76a58cf1 Don't require cl. 2002-06-04 23:31:58 +00:00
Richard M. Stallman
12829a07d6 (choose-completion-string-functions): Doc fix.
(choose-completion-string): Add doc string.
2002-06-02 00:01:59 +00:00
Kim F. Storm
bbbbb15b5c Reworked 2001-06-01 change.
(choose-completion-string1): Merged back into choose-completion-string.
(choose-completion-string): Run choose-completion-string-functions
after checking for proper minibuffer window.  Added mini-p arg to
the hook functions.  Insert choice if all hook functions return nil.
(choose-completion-string-functions): Doc update.
2002-06-01 21:56:40 +00:00
Kim F. Storm
ba36181bdf (choose-completion-string-functions): New special hook.
(choose-completion-string1): Renamed from choose-completion-string.
(choose-completion-string): Run choose-completion-string-functions
until success, and only call choose-completion-string1 if it fails.
2002-06-01 00:00:29 +00:00
Richard M. Stallman
9cd450a4f0 (open-network-stream, open-network-stream-nowait)
(open-network-stream-server, process-kill-without-query):
Moved to subr.el.

(byte-compiling-files-p): Function deleted.
2002-05-30 17:12:15 +00:00
Kim F. Storm
5f64b52b67 (open-network-stream-server): Pass on optional args
sentinel and filter to make-network-process (from Luke Gorrie).
2002-05-28 22:04:14 +00:00
Kim F. Storm
d00ffe213e (push-mark-command): Added optional NOMSG arg. 2002-05-27 12:13:56 +00:00
Markus Rost
a2d10c40a8 (yank-excluded-properties): Change :version attribute to a string. 2002-05-20 03:06:24 +00:00
Pavel Janík
307645975c Follow coding conventions. 2002-05-02 05:41:46 +00:00
Eli Zaretskii
acd39eb62f (clone-indirect-buffer-other-window): Fix a typo in `pop-up-window'. 2002-05-01 15:08:25 +00:00
Kim F. Storm
8209310978 (yank-excluded-properties): Added help-echo to list. 2002-04-29 21:13:51 +00:00
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