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.
Eli Zaretskii [Fri, 3 Mar 2006 11:38:43 +0000 (11:38 +0000)]
Restablished intermediate missing comment header to preserve outline structure.
(allout-beginning-of-current-entry): Wasn't skipping invisible text - fixed.
(allout-open-topic): Was failing when opening a topic at end-of-buffer - fixed.
(allout-minor-mode): Moved nearer to allout-mode function.
Bill Wohler [Fri, 3 Mar 2006 00:27:49 +0000 (00:27 +0000)]
* mh-folder.el (mh-tool-bar-init): Autoload.
(mh-folder-mode): Call mh-tool-bar-init conditionally in XEmacs. Set
scoped variables image-load-path and load-path with updated
mh-image-load-path before calling mh-tool-bar-folder-buttons-init.
* mh-letter.el (mh-tool-bar-init): Autoload.
(mh-letter-mode): Call mh-tool-bar-init conditionally in XEmacs. Set
scoped variables image-load-path and load-path with updated
mh-image-load-path before calling mh-tool-bar-letter-buttons-init.
* mh-show.el (mh-tool-bar-init): Autoload.
(mh-show-mode): Perform tool bar stuff conditionally in XEmacs and GNU
Emacs.
* mh-tool-bar.el (mh-tool-bar-define): Don't quote stuff in error
messages per conventions.
(mh-tool-bar-folder-buttons-init)
(mh-tool-bar-letter-buttons-init): Don't call mh-image-load-path.
(mh-tool-bar-define call): Format.
* mh-utils.el (mh-image-directory, mh-image-load-path-called-flag):
Delete.
(mh-image-load-path): Incorporate changes from Gnus team. Biggest
changes are that it no longer uses/sets mh-image-directory or
mh-image-load-path-called-flag, and returns the updated path rather
than change it.
(mh-logo-display): Change usage of mh-image-load-path.
Kim F. Storm [Thu, 2 Mar 2006 21:55:26 +0000 (21:55 +0000)]
Minimize the unpleasent visual impact of the requirement
that non-toolkit tool-bars must occupy an integral number of screen
lines, by distributing the rows evenly over the tool-bar screen area.
(Vtool_bar_border): New variable.
(syms_of_xdisp): DEFVAR_LISP it.
(display_tool_bar_line): Add HEIGHT arg for desired row height. Make
tool-bar row the desired height. Use default face for border below
tool-bar.
(tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of
actual tool-bar rows.
(redisplay_tool_bar): Calculate f->n_tool_bar_rows initially.
Adjust the height of the tool-bar rows to fill tool-bar screen area.
(redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area
is resized.
Luc Teirlinck [Wed, 1 Mar 2006 23:52:22 +0000 (23:52 +0000)]
(Fregexp_quote): Do not precede a literal `]' with two backslashes to
try to make clear that it has a literal meaning; it does not do that.
(It could close a character alternative containing a backslash.)
Carsten Dominik [Wed, 1 Mar 2006 07:08:45 +0000 (07:08 +0000)]
(Interaction): Added item about `org-mouse.el' by Piotr
Zielinski.
(Managing links, Managing links): Documented that also mouse-1 can
be used to activate a link.
(Headlines, FAQ): Added entry about hiding leading stars.
(Miscellaneous): Resorted the sections in this chapter to a more
logical sequence.
Carsten Dominik [Wed, 1 Mar 2006 07:07:01 +0000 (07:07 +0000)]
(org-export-as-html): Fixed bugs in HTML
formatting: No nested anchors.
(org-all-targets): Fixed bug with XEmacs compatibility.
(org-read-date): Add (require 'parse-time).
(org-set-tags): Fixed bug with extra inserted space.
(org-export-html-style): Define a style class for targets.
(org-agenda-keymap, org-mouse-map): Added a binding for
`follow-link'.
(org-hide-leading-stars): New option.
(org-hide): New face.
(org-set-font-lock-defaults): Allow to hide leading stars.
(org-get-legal-level, org-tr-level): New functions.
(org-odd-levels-only): New option.
(org-level-faces, org-paste-subtree, org-convert-to-odd-levels,
org-demote, org-promote): Deal with double-star levels.
(org-convert-to-odd-levels): New command.
Bill Wohler [Wed, 1 Mar 2006 05:33:18 +0000 (05:33 +0000)]
* mh-limit.el (mh-narrow-to-cc, mh-narrow-to-from)
(mh-narrow-to-subject, mh-narrow-to-to): Fix inability to narrow to
subjects with special characters by quoting regular expression
characters in pick expression derived from existing subjects and other
fields (closes SF #1432548).
* mh-utils.el (mh-pick-regexp-chars, mh-quote-pick-expr): New variable
and function for quoting pick regular expression characters (closes SF
#1432548).
Bill Wohler [Tue, 28 Feb 2006 23:54:53 +0000 (23:54 +0000)]
(mh-folder-list): Fix problem with passing in a folder and getting
nothing back. Fix problem with passing in empty string and getting the
entire filesystem (or infinite loop). Don't append slash to folder.
These fixes fix problems observed with the pick search. Thanks to
Thomas Baumann for the help (closes SF #1435381).