1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00
Commit Graph

26591 Commits

Author SHA1 Message Date
Luc Teirlinck
90e118abf2 (auto-revert-handler): Bind `buffer-read-only' locally around the call
to `revert-buffer'.
2004-09-03 22:28:10 +00:00
Juri Linkov
9e68f42d8e *** empty log message *** 2004-09-03 21:51:22 +00:00
Richard M. Stallman
4bc6a87206 *** empty log message *** 2004-09-03 21:34:11 +00:00
Juri Linkov
d85519bb21 (isearch-toggle-regexp): Set isearch-success' and isearch-adjusted' to `t'.
(isearch-toggle-case-fold): Set `isearch-success' to `t'.
(isearch-message-prefix): Add "pending" for isearch-adjusted.
(isearch-other-meta-char): Restore isearch-point unconditionally.
(isearch-query-replace): Add new arg `regexp-flag' and use it.
Set point to start of match if region is not active in transient
mark mode (to include the current match to region boundaries).
Push the search string to `query-replace-from-history-variable'.
Add prompt "Query replace regexp" for isearch-regexp.
Add region beginning/end as last arguments of `perform-replace.'
(isearch-query-replace-regexp): Replace code by the call to
`isearch-query-replace' with arg `t'.
2004-09-03 20:32:57 +00:00
Richard M. Stallman
b4fab893cc (normal-top-level): Undo previous TERM change. 2004-09-03 17:23:42 +00:00
Kim F. Storm
1e71278bd3 * emulation/cua-rect.el (cua--overlay-keymap): New keymap for
highlight overlays; allow using RET when cursor is over a button.
(cua--highlight-rectangle): Use it.
(cua--rectangle-set-corners): Don't move backwards at eol.
(cua--forward-line): Don't move into void after eob.
2004-09-03 12:33:54 +00:00
Kim F. Storm
c59ee3b4c2 *** empty log message *** 2004-09-03 12:19:45 +00:00
Kim F. Storm
e2ea72e9dd (cua--rectangle-set-corners): Ensure that
point is set (and displayed) inside rectangle.
(cua--rectangle-operation): Fix for highlight of empty lines.
(cua--highlight-rectangle): Fix highlight for tabs.
Position cursor at left/right edge of rectangle using new `cursor'
property on overlay strings.
(cua--indent-rectangle): Don't tabify.
(cua-rotate-rectangle): Ignore that point has moved.
2004-09-02 22:56:22 +00:00
Kim F. Storm
46540080ea *** empty log message *** 2004-09-02 22:55:59 +00:00
Steven Tamm
2ca75b4224 Add ASCII equivalents for some function keys.
(mode-line-frame-identification): Sync with x-win.el.
2004-09-02 16:59:18 +00:00
Juri Linkov
f02069102b New option `grep-highlight-matches'. 2004-09-02 16:40:38 +00:00
Juri Linkov
cc3064a5e9 (variable-at-point): Try `find-tag-default' when other methods failed. 2004-09-02 16:37:22 +00:00
Juri Linkov
542e904c45 (function-called-at-point): Try `find-tag-default' when other methods failed. 2004-09-02 16:37:01 +00:00
Juri Linkov
fc11ddc8d7 (Info-fontify-node): Don't compute other-tag if Info-hide-note-references=hide. 2004-09-02 16:36:18 +00:00
Juri Linkov
277df08871 (grep-highlight-matches): New defcustom.
(grep-regexp-alist): Add rule to highlight grep matches.
(grep-process-setup): Set env-vars GREP_OPTIONS and GREP_COLOR.
2004-09-02 16:35:42 +00:00
Juri Linkov
9dc3a46a44 (compilation-error-properties): Allow to funcall col and end-col.
(compilation-mode-font-lock-keywords): Check col and end-col by `integerp'.
(compilation-goto-locus): If end-mk is non-nil in transient mark
mode don't activate the mark (and don't display message in
push-mark), but highlight overlay between mk and end-mk.
2004-09-02 16:35:17 +00:00
Juri Linkov
c3829a8e2f *** empty log message *** 2004-09-02 09:46:47 +00:00
Juri Linkov
e4aa3c9497 (compilation-buffer-name): Compare major
mode with second element of compilation-arguments instead of third
to reflect latest changes in compilation-arguments structure.
(recompile): Use global variable `compilation-directory' to get
recent compilation directory only when `recompile' is invoked NOT
in the compilation buffer.  Otherwise, use `default-directory' of
the compilation buffer.
2004-09-02 09:45:31 +00:00
Juri Linkov
017c959d5d (beginning-of-defun, end-of-defun):
Do not push mark if inhibit-mark-movement is non-nil.
2004-09-02 09:43:38 +00:00
Juri Linkov
74a18969ef (ispell-html-skip-alists): Fix backslashes in docstring. 2004-09-02 09:42:13 +00:00
Juri Linkov
6a18e4e72c * isearch.el (isearch-wrap-function)
(isearch-push-state-function): New defvars.
(isearch-pop-fun-state): New defsubst.
(isearch-top-state): Call function saved in `isearch-pop-fun-state'.
(isearch-push-state): Set the result of calling
`isearch-push-state-function' to the `isearch-pop-fun-state' field.
(isearch-cancel): Call function saved in `isearch-pop-fun-state' to
restore the mode-specific starting point of terminated search.
(isearch-abort): Call `isearch-cancel' instead of its duplicated code.
(isearch-repeat): Call `isearch-wrap-function' if defined.
(isearch-message-prefix): Don't add prefix "over" to the message
for wrapped search if `isearch-wrap-function' is defined.
(isearch-search): Call function saved in `isearch-pop-fun-state' to
restore the mode-specific starting point of failed search.
2004-09-01 20:35:12 +00:00
Juri Linkov
1a699acfc2 Remove ancient Change Log section.
(isearch-string, isearch-message-string, isearch-point)
(isearch-success, isearch-forward-flag, isearch-other-end)
(isearch-word, isearch-invalid-regexp, isearch-wrapped)
(isearch-barrier, isearch-within-brackets)
(isearch-case-fold-search): Add suffix `-state' to state-related
defsubsts to avoid name clashes with other function names.
2004-09-01 19:42:58 +00:00
Juri Linkov
0b02cda944 (Info-search-whitespace-regexp): Fix backslashes.
(Info-search): Add new optional arguments for the sake of isearch.
Replace whitespace in Info-search-whitespace-regexp literally.
Add backward search.  Don't call `Info-select-node' if regexp is
found in the same Info node.  Don't add node to Info-history for
wrapped isearch.
(Info-search-backward, Info-isearch-search, Info-isearch-wrap)
(Info-isearch-push-state, Info-isearch-pop-state): New funs.
(Info-mode): Set local variables `isearch-search-fun-function',
`isearch-wrap-function', `isearch-push-state-function',
`search-whitespace-regexp'.
2004-09-01 19:29:28 +00:00
Juri Linkov
2beb6aa0e0 (compilation-goto-locus): Use next-error' face instead of region'.
Set 4-th argument of `move-overlay' to `current-buffer' to move overlay
to different source buffers.  Use new variable `next-error-highlight'.
2004-09-01 18:44:35 +00:00
Juri Linkov
ee9c5954f0 * simple.el (next-error): New defgroup and defface.
(next-error-highlight, next-error-highlight-no-select):
New defcustoms.
(next-error-no-select): Let-bind next-error-highlight to the value
of next-error-highlight-no-select before calling `next-error'.
2004-09-01 18:41:06 +00:00
Juri Linkov
03e75c7e0a * simple.el (next-error-find-buffer): Move the rule
"if current buffer is a next-error capable buffer" after the
rule "if next-error-last-buffer is set to a live buffer".
Simplify to test all rules in one `or'.
(next-error): Doc fix.
2004-09-01 17:05:59 +00:00
Juri Linkov
310abb0b81 (next-error, previous-error, first-error)
(next-error-no-select, previous-error-no-select):
Make arguments optional.
2004-09-01 16:19:04 +00:00
Luc Teirlinck
7d01236c22 *** empty log message *** 2004-09-01 00:09:17 +00:00
Luc Teirlinck
2b1c8da040 (apply-macro-to-region-lines): Make it operate on all lines that begin
in the region, rather than on all complete lines in the region.
2004-08-31 23:38:53 +00:00
Jan Djärv
7a01b04085 * x-dnd.el (x-dnd-protocol-alist): Document update.
(x-dnd-known-types): Defcustom it.
(x-dnd-handle-motif): Print message-atom in error message.
2004-08-31 11:24:10 +00:00
John Paul Wallington
f04232c3c2 (tex-validate-buffer): Use distinct strings rather than
programatically constructing message.
2004-08-30 19:05:10 +00:00
Richard M. Stallman
4f4ce5976e (prin1-char): Don't turn S-a into A.
Don't return a string that would read as the wrong character code.
2004-08-30 16:05:47 +00:00
Kim F. Storm
85d392cbe0 (cua-auto-expand-rectangles): Remove
automatic rectangle padding feature; replace by non-destructive
virtual rectangle edges feature.
(cua-virtual-rectangle-edges): New defcustom.
(cua-auto-tabify-rectangles): New defcustom.
(cua-paste): If paste into a marked rectangle, insert rectangle at
current column, even if virtual; also paste exactly as many lines
as has been marked (ignore additional lines or add empty lines),
but paste whole source if only one line is marked.
(cua--update-indications): No longer use overwrite-cursor to
indicate rectangle padding
2004-08-29 20:57:42 +00:00
Kim F. Storm
7279710840 (cua--rectangle-padding): Remove.
(cua--rectangle-virtual-edges): New defun.
(cua--rectangle-get-corners): Remove optional PAD arg.
(cua--rectangle-set-corners): Never do padding.
(cua--forward-line): Remove optional PAD arg.  Simplify.
(cua-resize-rectangle-right, cua-resize-rectangle-left)
(cua-resize-rectangle-down, cua-resize-rectangle-up):
(cua-resize-rectangle-bot, cua-resize-rectangle-top)
(cua-resize-rectangle-page-up, cua-resize-rectangle-page-down)
(cua--rectangle-move): Never do padding.  Simplify.
(cua--tabify-start): New defun.
(cua--rectangle-operation): Add tabify arg.  All callers changed.
(cua--pad-rectangle): Remove.
(cua--delete-rectangle): Handle delete with virtual edges.
(cua--extract-rectangle): Add spaces if rectangle has virtual edges.
(cua--insert-rectangle): Handle insert at virtual column.
Perform auto-tabify if necessary.
(cua--activate-rectangle): Remove optional FORCE arg.
Never do padding.  Simplify.
(cua--highlight-rectangle): Enhance for virtual edges.
(cua-toggle-rectangle-padding): Remove command.
(cua-toggle-rectangle-virtual-edges): New command.
(cua-sequence-rectangle): Add optional TABIFY arg.  Callers changed.
(cua--rectangle-post-command): Don't force rectangle padding.
(cua--init-rectangles): Bind M-p to cua-toggle-rectangle-virtual-edges.
2004-08-29 20:57:19 +00:00
Kim F. Storm
2661eae951 *** empty log message *** 2004-08-29 20:55:46 +00:00
Luc Teirlinck
a71eb4358f *** empty log message *** 2004-08-28 16:23:49 +00:00
Luc Teirlinck
bc57b73586 (edit-tab-stops-buffer): Doc fix. 2004-08-28 16:13:32 +00:00
Richard M. Stallman
ea2e9f8dc9 Whitespace change. 2004-08-28 15:32:06 +00:00
Richard M. Stallman
8a9cad92b1 (grep-default-command): Use find-tag-default.
(grep-tag-default): Function deleted.
2004-08-28 15:31:20 +00:00
Richard M. Stallman
fb1558445c (find-tag-default): Moved to subr.el. 2004-08-28 15:30:31 +00:00
Richard M. Stallman
a0d84262dc (find-tag-default): Moved from etags.el. 2004-08-28 15:30:10 +00:00
Richard M. Stallman
87fdf320e9 (prin1-char): Put `shift' modifier into the basic character,
if it has an uppercase form.
2004-08-28 14:00:38 +00:00
Kenichi Handa
11d2e01ba3 (utf-8-post-read-conversion): If the
buffer is unibyte, temporarily set it multibyte.
2004-08-27 00:25:59 +00:00
Masatake YAMATO
0e48150a65 (time-to-seconds): Add autoload cookies. 2004-08-26 18:20:52 +00:00
John Paul Wallington
003274a057 (tex-validate-buffer): Distinguish between 0, 1, and many mismatches.
(tex-start-shell): Use `set-process-query-on-exit-flag'.
2004-08-25 19:05:24 +00:00
John Paul Wallington
2eb43e13c1 *** empty log message *** 2004-08-25 18:46:04 +00:00
John Paul Wallington
e5927b52aa (ielm-tab, ielm-complete-symbol): Doc fix.
(inferior-emacs-lisp-mode): Use	`set-process-query-on-exit-flag'.
2004-08-25 18:40:22 +00:00
Bill Wohler
eccf961345 Upgraded to MH-E version 7.82.
See etc/MH-E-NEWS and lisp/mh-e/ChangeLog for details.
2004-08-25 05:55:39 +00:00
Stefan Monnier
55a88c8a60 *** empty log message *** 2004-08-24 22:14:46 +00:00
Stefan Monnier
f9d1f3be2f (vc-svn-diff): Treat options from vc-svn-diff-switches and
vc-diff-switches differently.
2004-08-23 18:23:52 +00:00