(note_mouse_movement): Use PtInRect.
(XTread_socket): Also ignore mouse motion just before a button
release event. Don't process button release event when mouse is
not grabbed.
Masatake YAMATO [Tue, 18 Oct 2005 04:21:51 +0000 (04:21 +0000)]
* woman.el (WoMan-xref-man-page): New button type derived
from `Man-abstract-xref-man-page'.
(woman-mode): Pass `WoMan-xref-man-page' to
`Man-highlight-references'.
* man.el (Man-abstract-xref-man-page): New button type.
(Man-xref-man-page): Make it derived from `Man-abstract-xref-man-page'.
(Man-highlight-references): Add new optiolnal argument `xref-man-type'.
Bill Wohler [Mon, 17 Oct 2005 22:21:06 +0000 (22:21 +0000)]
Moved all remaining images from lisp/toolbar to etc/images, moved
lisp/toolbar/tool-bar to lisp and "deleted" lisp/toolbar. The low
resolution images were placed in their own directory (low-color).
Replaced underscore (_) in filenames with dash (-) per convention
* make-dist: Create and populate etc/images/low-color.
* admin/FOR-RELEASE (DOCUMENTATION): Removed lisp/toolbar from list
since it's gone. Also marked mh-e as done.
* lisp/toolbar/lc-copy.*: Moved to etc/images/low-color/copy.*.
* lisp/toolbar/lc-cut.*: Moved to etc/images/low-color/cut.*.
* lisp/toolbar/lc-help.*: Moved to etc/images/low-color/help.*.
* lisp/toolbar/lc-home.*: Moved to etc/images/low-color/home.*.
* lisp/toolbar/lc-index.*: Moved to etc/images/low-color/index.*.
* lisp/toolbar/lc-new.*: Moved to etc/images/low-color/new.*.
* lisp/toolbar/lc-open.*: Moved to etc/images/low-color/open.*.
* lisp/toolbar/lc-paste.*: Moved to etc/images/low-color/paste.*.
* lisp/toolbar/lc-preferences.*: Moved to etc/images/low-color/preferences.*.
* lisp/toolbar/lc-print.*: Moved to etc/images/low-color/print.*.
* lisp/toolbar/lc-save.*: Moved to etc/images/low-color/save.*.
* lisp/toolbar/lc-saveas.*: Moved to etc/images/low-color/saveas.*.
* lisp/toolbar/lc-search.*: Moved to etc/images/low-color/search.*.
* lisp/toolbar/lc-spell.*: Moved to etc/images/low-color/spell.*.
* lisp/toolbar/lc-undo.*: Moved to etc/images/low-color/undo.*.
To conform with convention, the underscore (_) in the following image
names were replaced with dash (-) or (/) as appropriate.
* lisp/toolbar/back_arrow.*: Moved to etc/images/back-arrow.*.
* lisp/toolbar/fld_open.*: Moved to etc/images/fld-open.*.
* lisp/toolbar/fwd_arrow.*: Moved to etc/images/fwd-arrow.*.
* lisp/toolbar/jump_to.*: Moved to etc/images/jump-to.*.
* lisp/toolbar/left_arrow.*: Moved to etc/images/left-arrow.*.
* lisp/toolbar/right_arrow.*: Moved to etc/images/right-arrow.*.
* lisp/toolbar/up_arrow.*: Moved to etc/images/up-arrow.*.
* lisp/toolbar/lc-back_arrow.*.: Moved to etc/images/low-color/back-arrow.*.
* lisp/toolbar/lc-fwd_arrow.*.: Moved to etc/images/low-color/fwd-arrow.*.
* lisp/toolbar/lc-jump_to.*: Moved to etc/images/low-color/jump-to.*.
* lisp/toolbar/lc-left_arrow.*.: Moved to etc/images/low-color/left-arrow.*.
* lisp/toolbar/lc-right_arrow.*.: Moved to etc/images/low-color/right-arrow.*.
* lisp/toolbar/lc-up_arrow.*: Moved to etc/images/low-color/up-arrow.*.
* lisp/toolbar/mail_compose.*.: Moved to etc/images/mail/compose.*.
* lisp/toolbar/mail_send.*: Moved to etc/images/mail/send.*.
* lisp/info.el (info-tool-bar-map): Replaced underscores in image
names with dashes.
* lisp/makefile.w32-in (WINS): Removed toolbar.
* lisp/menu-bar.el: Replaced toolbar/tool-bar.el with tool-bar.el in
comment.
* lisp/tool-bar.el: Moved to lisp from lisp/toolbar. Now that
lisp/toolbar is empty, it should be deleted when folks run "cvs up
-P".
* etc/images/README: Incorporated the content of lisp/toolbar/README
now that all of the images are here.
Nick Roberts [Mon, 17 Oct 2005 21:10:48 +0000 (21:10 +0000)]
(speedbar-set-mode-line-format): Indent properly.
(speedbar-insert-button, speedbar-make-button):
Use add-text-properties.
(speedbar-update-localized-contents)
(speedbar-update-directory-contents)
(speedbar-update-special-contents): Use dolist.
(speedbar-buffer-easymenu-definition): Add a menu separator.
Nick Roberts [Mon, 17 Oct 2005 21:09:38 +0000 (21:09 +0000)]
(gdb-var-create-handler): Make watch
expressions display in speedbar for all buffers when debugging.
(gdb-speedbar-expand-node): Ensure node contraction is always
updated.
Bill Wohler [Mon, 17 Oct 2005 06:33:31 +0000 (06:33 +0000)]
(mh-display-completion-list-compat): New macro which calls
`display-completion-list' correctly in older environments. Versions of
Emacs prior to version 22 lacked a COMMON-SUBSTRING argument.
(mh-complete-word): Use it.
Juri Linkov [Mon, 17 Oct 2005 06:28:55 +0000 (06:28 +0000)]
(Getting Started, Search Index, Expert Info): Fix wording.
(Search Text): Replace `echo area' with `mode line'.
(Search Index): Both `i' and `,' find all index entries.
Replace example `C-f' with `C-l' (which exists in index of Info
manual) and delete spaces in its keyboard input sequence.
Delete unnecessary explanations about literal characters.
Michael Albinus [Mon, 17 Oct 2005 04:46:46 +0000 (04:46 +0000)]
* net/tramp.el (tramp-completion-mode): New defvar. Used in
`tramp-completion-mode' for checking if we are in completion mode.
(tramp-completion-handle-file-name-all-completions): Reorder code
in order to complete for file names only in case there are no
method/user/host completions. This is necessary for cooperation
with ido. Reported by Kim F. Storm <storm@cua.dk>.
Stefan Monnier [Sun, 16 Oct 2005 15:22:37 +0000 (15:22 +0000)]
Don't require CL at runtime.
(savehist-xemacs): Remove.
(savehist-coding-system): Use utf-8 if available, regardless of religion.
(savehist-no-conversion): Use (featurep 'xemacs).
(savehist-load): Check existence of start-itimer rather than XEmacs.
Use an idle timer.
(savehist-process-for-saving): Replace use of CL funs `subseq' and
`delete-if-not'.
Stefan Monnier [Sun, 16 Oct 2005 14:12:50 +0000 (14:12 +0000)]
(compilation-goto-locus): Display the
compilation buffer first and the source buffer second, in case they're
in overlapping frames. Don't raise the compilation frame if it was the
selected window upon entry. Pass the `other-window' arg to
pop-to-buffer.
* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.
* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
Satyaki Das [Sun, 16 Oct 2005 03:24:54 +0000 (03:24 +0000)]
* mh-init.el (mh-image-load-path-called-flag): New variable which
is used by mh-image-load-path so that it runs only once.
(mh-image-load-path): Modified so that it gets run only once. Also
flatten out heavily nested if statements to make it clearer.
* mh-e.el (mh-folder-mode): Call mh-image-load-path to allow Emacs
to find images used in the toolbar.
* mh-customize.el (:folder): Remove call to mh-image-load-path.
(MAC_WINDOW_NORMAL_GC): Remove macro.
(FRAME_NORMAL_GC): New macro.
(mac_draw_line, mac_clear_area, mac_clear_window)
(mac_fill_rectangle, mac_draw_string, mac_draw_string_16)
(mac_draw_image_string, mac_draw_image_string_16): Rename from
XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString,
XDrawString16, XDrawImageString, and XDrawImageString16, respectively.
All uses changed.
(mac_draw_line, mac_erase_rectangle, mac_clear_area)
(mac_clear_window, mac_draw_bitmap, mac_draw_rectangle)
(mac_invert_rectangle, mac_draw_string_common, mac_draw_string)
(mac_draw_string_16, mac_draw_image_string)
(mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask)
(mac_scroll_area): Drawing functions now take frame as destination.
All uses changed.
(mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT.
(x_draw_fringe_bitmap): Set clipping area in face->gc.
[TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): Allow nil
as argument.
[TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil
for encoding arguments as UTF-16 in native byte order, no BOM.
Apply 2005-10-09 change for term/x-win.el.
(x-get-selection, mac-select-convert-to-string): Convert from/to
UTF-16 clipboard data as in native byte order, no BOM.
Nick Roberts [Sat, 15 Oct 2005 22:58:11 +0000 (22:58 +0000)]
(gud-tool-bar-map): Rename the images
appropriately (gud/next, gud/nexti, gud/step, gud/stepi).
(gud-sentinel): Use speedbar-frame to check for speedbar.
Nick Roberts [Sat, 15 Oct 2005 22:56:30 +0000 (22:56 +0000)]
* images/gud/n.pbm, images/gud/n.xpm
* images/gud/ni.xpm, images/gud/ni.xpm
* images/gud/s.xpm, images/gud/s.xpm
* images/gud/si.xpm, images/gud/si.xpm: Rename to
next.*, nexti.*, step.*, and stepi.* , respectively, as the
file-name no longer clashes on 8+3 filesystems.
Stefan Monnier [Sat, 15 Oct 2005 12:04:34 +0000 (12:04 +0000)]
(cvs-edit-log-files): New var.
(cvs-mode-edit-log): New arg `file'.
(cvs-edit-log-minor-wrap): Don't set the ignore-marks property.
Instead force the use of the original file and nothing else.
(cvs-edit-log-filelist): Don't use the cvs-mode-* function unless
the cvs-minor-wrap-function is set.
(cvs-do-edit-log): Obey the vars set in cvs-edit-log-minor-wrap.
Bill Wohler [Sat, 15 Oct 2005 05:41:11 +0000 (05:41 +0000)]
* toolbar/gud-break.*: Moved to etc/images/gud/break.*.
* toolbar/gud-cont.*: Moved to etc/images/gud/cont.*.
* toolbar/gud-down.*: Moved to etc/images/gud/down.*.
* toolbar/gud-finish.*: Moved to etc/images/gud/finish.*.
* toolbar/gud-ni.*: Moved to etc/images/gud/ni.*.
* toolbar/gud-n.*: Moved to etc/images/gud/n.*.
* toolbar/gud-print.*: Moved to etc/images/gud/print.*.
* toolbar/gud-pstar.*: Moved to etc/images/gud/pstar.*.
* toolbar/gud-remove.*: Moved to etc/images/gud/remove.*.
* toolbar/gud-run.*: Moved to etc/images/gud/run.*.
* toolbar/gud-si.*: Moved to etc/images/gud/si.*.
* toolbar/gud-s.*: Moved to etc/images/gud/s.*.
* toolbar/gud-until.*: Moved to etc/images/gud/until.*.
* toolbar/gud-up.*: Moved to etc/images/gud/up.*.
* toolbar/gud-watch.*: Moved to etc/images/gud/watch.*.
* progmodes/gud.el (gud-tool-bar-map): Renamed the images
appropriately (for example, gud-break to gud/break).
Chong Yidong [Fri, 14 Oct 2005 19:56:38 +0000 (19:56 +0000)]
* longlines.el (longlinges-search-function)
(longlines-search-forward, longlines-search-backward): New
functions.
(longlines-mode): Set isearch-search-fun-function to
longlinges-search-function.
Kenichi Handa [Fri, 14 Oct 2005 07:55:05 +0000 (07:55 +0000)]
(search_buffer): Give up BM search on case-fold-search
if one of a target character has a case-equivalence of different
charset even if that target charcter is an ASCII.