1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-09 07:40:39 -08:00
Commit graph

737 commits

Author SHA1 Message Date
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