Eli Zaretskii [Sat, 11 Mar 2006 12:03:12 +0000 (12:03 +0000)]
(mac_draw_rectangle): Don't add 1 to width and height.
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground)
(x_draw_image_foreground): Don't subtract 1 from width and height
arguments to mac_draw_rectangle.
(x_draw_hollow_cursor): Add 1 to w->phys_cursor_width.
Bill Wohler [Sat, 11 Mar 2006 01:34:45 +0000 (01:34 +0000)]
(mh-replace-regexp-in-string): Pass the literal flag to
replace-in-string. This was badly needed by mh-quote-pick-expr in
order to properly quote subjects when using / s on XEmacs (closes SF
#1447598).
Nick Roberts [Fri, 10 Mar 2006 02:40:31 +0000 (02:40 +0000)]
(gdba): Don't call gdb-init-1 explicitly as
it gets called in gdb-prompt anyway.
(gdb-use-separate-io-buffer): Only restore window arrangement for
gdb-many-windows.
(gdb-enqueue-input): Make it harder to send GDB input when program
is running.
(gdb-buffer-list): New variable.
(gdb-remove-mouse-face): New function.
(gdb-starting): Use it when GDB input won't get sent.
Luc Teirlinck [Thu, 9 Mar 2006 03:43:23 +0000 (03:43 +0000)]
Declare preserve_y as a static global variable.
(window_scroll_pixel_based): No longer declare preserve_y; it is global now.
(syms_of_window): set preserve_y to -1.
Luc Teirlinck [Tue, 7 Mar 2006 23:28:33 +0000 (23:28 +0000)]
(Syntax of Regexps): More accurately describe
which characters are special in which situations.
(Regexp Special): Recommend _not_ to quote `]' or `-' when they
are not special. Describe in detail when `[' and `]' are special.
(Regexp Backslash): Plenty of regexps with unbalanced square
brackets are valid, so reword that statement.
David Ponce [Tue, 7 Mar 2006 06:41:45 +0000 (06:41 +0000)]
Update Commentary header.
(tree-widget-theme-name): Ignore parent themes.
(tree-widget-set-parent-theme): New function.
(tree-widget-set-theme): Use it.
(tree-widget-set-image-properties): Move definition. Does nothing
if image properties have already been set.
(tree-widget-image-properties): Move definition. Receive an image
name. Set the :pointer property.
(tree-widget-lookup-image): Doc fix. Search in parent themes.
Don't set the :pointer image property.
(tree-widget-convert-widget): New function. Handle :dynargs
compatibility here.
(tree-widget): Use it to :convert-widget. Add the :expander-p
predicate to control when the :expander function is entered.
Thanks to Ken Manheimer <ken.manheimer@gmail.com> for the idea.
(tree-widget-value-create): Handle :expander-p. widget-apply
:expander.
(tree-widget-expander-p): New function. Default value of the
:expander-p property.
Bill Wohler [Tue, 7 Mar 2006 00:34:25 +0000 (00:34 +0000)]
Move from SourceForge repository to Savannah. This is version 7.93,
which is a total rewrite from the previous edition 1.3 for MH-E
version 5.0.2, and corresponds to MH-E version 7.93.
(get_control_part_bounds): Fix type of return value.
(x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create)
(XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show
scroll bar if it is not tall enough to display scroll bar thumb.
[USE_CARBON_EVENTS] (mac_convert_event_ref)
(mac_handle_command_event, mac_handle_window_event)
(mac_handle_mouse_event): Check error code of GetEventParameter.
(convert_fn_keycode) [MAC_OSX]: Likewise.
(x_default_scroll_bar_color_parameter)
(x_set_scroll_bar_foreground, x_set_scroll_bar_background): Remove
unnecessary prototypes.
(x_set_scroll_bar_default_width): Use
MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH.
(mac_set_scroll_bar_width): New function.
(mac_frame_parm_handlers): Set it as handler for scroll-bar-width.
Satyaki Das [Mon, 6 Mar 2006 05:21:41 +0000 (05:21 +0000)]
(mh-index-update-single-msg): Fix a bug in the
handling of duplicate messages. The test in cond was too strong
and wasn't catching the case where origin-map was nil.
Stefan Monnier [Mon, 6 Mar 2006 03:17:00 +0000 (03:17 +0000)]
(url-http-find-free-connection): Don't kill the process
when killing the temp buffer.
(url-http-symbol-value-in-buffer): Massage to make it clear to the
byte-compiler that the function is defined.
Bill Wohler [Sat, 4 Mar 2006 21:23:21 +0000 (21:23 +0000)]
* mh-compat.el (mh-image-load-path-for-library): Move here from
mh-utils.el and wrap with mh-defun-compat since this function will be
soon added to image.el.
* mh-utils.el (mh-image-load-path-for-library): Move to mh-compat.el.
(mh-normalize-folder-name): Add return-nil-if-folder-empty argument
which is useful when calling mh-normalize-folder-name to process the
folder argument for the folders command.
(mh-sub-folders): Use new flag to mh-normalize-folder-name to make
this function more robust. It could too easily list the folders in /.
(mh-folder-list): Fix a couple of problems pointed out by Thomas
Baumann. Set folder to nil if empty. Don't append "/" if folder nil.
(t-mouse-drag-start, t-mouse-swap-alt-keys): Doc fix; escape
parentheses at beginning of line.
(t-mouse-tty, t-mouse-make-event): Doc fix; use imperative.
(t-mouse-mode): Remove period from end of error message.
Bill Wohler [Fri, 3 Mar 2006 20:50:50 +0000 (20:50 +0000)]
* mh-folder.el (mh-folder-mode): Rename mh-image-load-path to
mh-image-load-path-for-library.
* mh-letter.el (mh-letter-mode): Rename mh-image-load-path to
mh-image-load-path-for-library.
* mh-utils.el (mh-image-load-path): Rename to
mh-image-load-path-for-library. Add example to docstring. Rename local
variable mh-image-directory to image-directory. Move error checks to
default case in cond and simplify.