1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

53375 Commits

Author SHA1 Message Date
Miles Bader
dd6ab82fb5 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-35
Fix damage caused by trunk merge in emacs--unicode--0--patch-15

Some files in the emacs--cvs-trunk--0 branch had their arch id-tag changed
from tagline to explicit [because they were used as template files, and their
syntax didn't accommodate stripping comments, so the the generated files
caused id-tag conflicts when an in-tree build was done].

Unfortunately arch doesn't handle id-tag changes well, so this resulted in
the files appearing to be deleted, and then added again.  When that changeset
was merged into the unicode branch, it resulted in unicode-specific changes
being dropped, and the trunk version being added.

To fix this, I restored these files to their pre-merge versions (from
emacs--unicode--0--patch-14), and then manually reapplied all changes from:

  (1) the unicode branch from the bogus merge point to the current version
      (emacs--unicode--0--patch-15 - emacs--unicode--0--patch-34)

  (2) the trunk from the bogus merge point to the latest version which was
      merged into the unicode branch
      (emacs--cvs-trunk--0--patch-218 - emacs--cvs-trunk--0--patch-522)

and fixed any conflicts (mostly due to doubly-applied patch hunks that patch
couldn't detect).
2004-09-05 01:53:47 +00:00
Miles Bader
6f7dde8273 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-34
Merge from emacs--cvs-trunk--0

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-514
 - miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-522
   Update from CVS
2004-09-04 09:14:28 +00:00
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
dc29ba9b82 Update M-% in isearch. 2004-09-03 20:53:43 +00:00
Juri Linkov
cc2f7834aa (Incremental Search): Update wording for M-%. 2004-09-03 20:51:06 +00:00
Richard M. Stallman
70567d1c18 Fix line breaks to follow Emacs conventions. 2004-09-03 20:43:38 +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
Luc Teirlinck
28c5323581 (Killing): Correct description of kill commands in read-only buffer. 2004-09-03 02:36:57 +00:00
Jason Rumney
1f06d36755 (_widget_value): Added lname and lkey.
(digest_single_submenu): Set lname and lkey in widget_value
instead of name and key.
(update_submenu_strings): New function.
(set_frame_menubar): Remove call to inhibit_garbage_collection,
call update_submenu_strings.

(globals_of_w32menu): Check for Unicode API.
(digest_single_submenu, w32_menu_show): Encode menu strings as
UTF-8 if Unicode API is available.
(utf8to16): New function.
(add_menu_item): Use it when calling Unicode API.
2004-09-02 23:26:16 +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
Kim F. Storm
cc2734ee76 (set_cursor_from_row): Look for non-nil `cursor' property
in overlay or text-property strings; set cursor on corresponding
glyph rather than at end of the string.
2004-09-02 22:34:07 +00:00
Steven Tamm
9277ba618e * term/mac-win.el: Add ASCII equivalents for some function keys.
(mode-line-frame-identification): Sync with x-win.el.
* macfns.c (x_real_positions): Save the current window port and
set a new one before obtaining the global coordinate.  Use
FRAME_MAC_WINDOW.
(x_set_name, x_set_title): Encode title to UTF8.  Use
SetWindowTitleWithCFString.
(Fx_server_version): Get correct OS version.
* macmenu.c (add_menu_item): Remove unused variable `i'.  Don't
let separator items destroy refence constants of other menu items.
* macterm.c (x_update_end): Move SetPortWindowPort to inside
BLOCK_INPUT.
(x_set_offset): Use FRAME_MAC_WINDOW.
* xdisp.c (note_mouse_highlight): Set the mouse pointer shape to
nontext_cursor if it is on a scroll bar.
* s/darwin.h (LIBS_CARBON): New define to specify libraries for
Carbon support.
(LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++.  Use
LIBS_CARBON.
2004-09-02 17:03:16 +00:00
Steven Tamm
640a07706b (LIBS_CARBON): New define to specify libraries for
Carbon support.
(LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++.  Use
LIBS_CARBON.
2004-09-02 17:02:11 +00:00
Steven Tamm
b15de4146b (note_mouse_highlight): Set the mouse pointer shape to
nontext_cursor if it is on a scroll bar.
2004-09-02 17:01:20 +00:00
Steven Tamm
404e4b841e (x_update_end): Move SetPortWindowPort to inside
BLOCK_INPUT.
(x_set_offset): Use FRAME_MAC_WINDOW.
2004-09-02 17:00:55 +00:00
Steven Tamm
a8e080143b (add_menu_item): Remove unused variable `i'. Don't
let separator items destroy refence constants of other menu items.
2004-09-02 17:00:36 +00:00
Steven Tamm
b3459c95eb (x_real_positions): Save the current window port and
set a new one before obtaining the global coordinate.  Use
FRAME_MAC_WINDOW.
(x_set_name, x_set_title): Encode title to UTF8.  Use
SetWindowTitleWithCFString.
(Fx_server_version): Get correct OS version.
2004-09-02 17:00:12 +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
Jan Djärv
b10daec709 * xfns.c (x_set_name_internal): New function. Check if we shall call
xfree before ENCODE_UTF_8.
(x_set_name, x_set_title): Call x_set_name_internal.
2004-09-02 16:15:48 +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
d4bc156f10 (Other Repeating Search): Mention that Occur mode
supports the next-error functionality.
2004-09-02 09:37:09 +00:00
Juri Linkov
15658fd8e8 (Compilation Mode): Add a paragraph about rules
for finding the compilation buffer for `next-error'.
2004-09-02 09:36:35 +00:00
Juri Linkov
a14cb25585 (Regexp Replace): Add missing backslash to \footnote. 2004-09-02 09:30:26 +00:00
Juri Linkov
0dfddff5b5 Regexp isearch can search through multiple nodes. Add Info-search-backward. 2004-09-02 09:21:20 +00:00
Jason Rumney
32d61209ce *** empty log message *** 2004-09-01 21:21:18 +00:00
Jason Rumney
4f47337f1f (x_to_w32_font): Update to use new coding struct. 2004-09-01 21:20:10 +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
8b3094c7c6 Add next-error-highlight' and next-error-highlight-no-select'. 2004-09-01 18:48:19 +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