Jason Rumney [Fri, 14 Mar 2008 15:53:46 +0000 (15:53 +0000)]
(MONITOR_DEFAULT_TO_NEAREST, struct MONITOR_INFO)
(MonitorFromPoint_Proc, GetMonitorInfo_Proc): New definitions.
(monitor_from_point_fn, get_monitor_info_fn): New globals.
(globals_of_w32fns): Initialize them.
(compute_tip_xy): Use them to position tooltips.
Stefan Monnier [Fri, 14 Mar 2008 14:37:22 +0000 (14:37 +0000)]
(Example Methods, Direct Functions, Indirect Functions)
(Common Variables): Give precedence to the netcat methods over the telnet
methods, and mention that they are more reliable.
Glenn Morris [Fri, 14 Mar 2008 07:24:41 +0000 (07:24 +0000)]
Reorder so that functions are defined before use.
(displayed-month, displayed-year): Move declarations where needed.
(solar-get-number): Move definition before use. Use unless.
(solar-equatorial-coordinates): Simplify.
(solar-sunrise-and-sunset): Use let rather than let*.
(solar-longitude, solar-equinoxes-solstices): Use cadr, nth
Glenn Morris [Fri, 14 Mar 2008 07:13:59 +0000 (07:13 +0000)]
(displayed-month, displayed-year)
(original-date): Move declarations where needed.
(islamic-calendar-day-number): Remove unused local variable `day'.
(calendar-goto-islamic-date): Doc fix.
(holiday-islamic): Use unless.
(list-islamic-diary-entries, mark-islamic-diary-entries): Move some
constant variables outside the loop. Use dolist.
(mark-islamic-calendar-date-pattern): Move definition before use.
Use unless.
(mark-islamic-diary-entries): Doc fix.
(insert-islamic-diary-entry, insert-monthly-islamic-diary-entry)
(insert-yearly-islamic-diary-entry): Use let rather than let*.
Glenn Morris [Fri, 14 Mar 2008 07:05:10 +0000 (07:05 +0000)]
(displayed-month, displayed-year): Move declarations where needed.
(calendar-holiday-list, calendar-list-holidays)
(holiday-filter-visible-calendar): Move definitions before use.
(list-holidays): Use cadr.
Relocate obsolete aliases after their replacements.
Glenn Morris [Fri, 14 Mar 2008 06:45:16 +0000 (06:45 +0000)]
(calendar-cursor-to-nearest-date): Use or, when. Move definition before use.
(calendar-cursor-to-visible-date): Move definition before use.
(calendar-scroll-left): Use unless and zerop. Combine lets into one,
and place inside the conditional.
(calendar-forward-day): Simplify.
(calendar-end-of-month): Use unless.
(calendar-goto-day-of-year): Doc fix.
Relocate obsolete aliases after their replacements.
Glenn Morris [Fri, 14 Mar 2008 03:08:33 +0000 (03:08 +0000)]
Re-order so that functions are defined before use.
(displayed-month, displayed-year): Move declarations where needed.
(chinese-calendar-time-zone, calendar-goto-chinese-date): Doc fix.
(chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch):
Add doc strings.
(chinese-year-cache): Recenter on 2010. Doc fix.
(chinese-year, number-chinese-months, calendar-absolute-from-chinese):
Doc fix. Simplify.
(chinese-year-cache-init): New function.
(compute-chinese-year, holiday-chinese-new-year)
(calendar-chinese-date-string, calendar-goto-chinese-date)
(make-chinese-month-assoc-list): Use cadr, nth.
(chinese-months): Remove un-needed let.
Dan Nicolaescu [Fri, 14 Mar 2008 01:52:59 +0000 (01:52 +0000)]
(vc-bzr-log-view-mode): "." can be part of a revno.
(vc-bzr-show-log-entry): Make regexp match more cases.
(vc-diff-switches-list): Remove autoload, not needed.
Juri Linkov [Fri, 14 Mar 2008 01:02:45 +0000 (01:02 +0000)]
(isearch-edit-string): Remove one call to
`isearch-push-state' not to push an inconsistent state,
but keep another correct call to `isearch-push-state'.
(isearch-ring-adjust): Call `isearch-push-state' only when
`search-ring-update' is non-nil since `isearch-edit-string'
already pushes its state.
(isearch-message): Improve matching the failed part by checking
if the original message starts with the last successful message.
Juri Linkov [Fri, 14 Mar 2008 01:01:36 +0000 (01:01 +0000)]
(dired-warn-writable): Rename to `dired-perm-write'.
(dired-perm-write): Renamed from `dired-warn-writable'.
Change parent face from `font-lock-warning-face' to
`font-lock-comment-delimiter-face'.
(dired-warn-writable-face): Rename to `dired-perm-write-face'.
(dired-perm-write-face): Renamed from `dired-warn-writable-face'.
(dired-font-lock-keywords): Replace `dired-warn-writable-face'
with `dired-perm-write-face'.
Carsten Dominik [Thu, 13 Mar 2008 09:00:37 +0000 (09:00 +0000)]
* textmodes/org-publish.el: (org-publish-expand-components):
Remove null projects from the list of components.
(org-publish-attachment): Bugfix: handle the mandatory argument
pub-dir. Removed unused retrieval of the :publishing-directory
property.
(org-publish-file): Bugfix: when using a relative directory as the
publishing directory, convert it to a directory filename.
(org-publish-project): New alias.
(org-publish-get-files): Protect against empty p.
(org-publish-file): Send an error when file is not part of any
project.
(org-publish-file): Offer to refresh the list of files in known
project when the current file is not part of any project.
(org-publish-before-export-hook)
(org-publish-after-export-hook): New hooks.
(org-publish-org-to): Use new hooks and kill buffers.
(org-publish-file): Remove the code for killing buffers.
(org-publish-initialize-files-alist): Use interactive.
(org-publish-file): If the publishing function creates a new
buffer, kill it after publishing.
(org-publish-timestamp-filename): Protect ":" in file name path
under windows.
Carsten Dominik [Thu, 13 Mar 2008 08:56:04 +0000 (08:56 +0000)]
* textmodes/org.el (org-ctrl-c-star): Implement a missing branch
in the decision tree.
(org-select-remember-template): Cleaned the code.
(org-prepare-dblock): Added the extra :content parameter.
(org-write-agenda): New output type ".ics" files.
(org-write-agenda): Call `org-icalendar-verify-function', both for
time stamps and for TODO entries.
(org-agenda-collect-markers, org-create-marker-find-array)
(org-check-agenda-marker-table): New functions.
(org-agenda-marker-table): New variable.
(org-export-as-html): Revert the change that killed the html
buffer. Side effects first need to be studied carefully.
(org-get-tags-at): Fix the structure of the condition-case
statement.
(org-ts-regexp0, org-repeat-re, org-display-custom-time)
(org-timestamp-change): Fix regulear expressions to swallow the
extra character for repeat-shift control.
(org-auto-repeat-maybe): Implement the new repeater mechanisms.
(org-get-legal-level): Aliased to `org-get-valid-level'.
(org-dblock-write:clocktable): Added a :link parameter, linking
headlines to their location in the Org agenda files.
(org-get-tags-at): Bugfix: prevent `org-back-to-heading' from
throwing an error when getting tags before headlines.
(org-timestamp-change, org-modify-ts-extra)
(org-ts-regexp1): Fix timestamp editing.
(org-agenda-custom-commands-local-options): New constant.
(org-agenda-custom-commands): Use
`org-agenda-custom-commands-local-options' to improve customize
type. "htmlize": Removed hack to fix face problem with htmlize,
it no longer seem necessary.
(org-follow-link-hook): New hook.
(org-agenda-custom-commands): Added "Component" as a tag for each
item in a command serie.
(org-open-at-point): Run `org-follow-link-hook'.
(org-agenda-schedule): Bugfix: don't display marker type when it
is `nil'.
(org-store-link): org-irc required.
(org-set-regexps-and-options): Parse the new logging options.
(org-extract-log-state-settings): New function.
(org-todo): Handle the new ways of recording state change stuff.
(org-local-logging): New function.
(org-columns-open-link): Fixed bug with opening link in column
view.
(org-local-logging): New function
(org-todo): Make sure that LOGGING properties are honoured.
(org-todo-keywords): Improve docstring.
(org-startup-options): Cleanup startup options.
(org-set-regexps-and-options): Process the "!" markers.
(org-todo): Respect the new logging stuff.
(org-log-note-how): New variable.
(org-add-log-maybe): New parameter HOW that defines how logging
should be done and also overrides PURPOSE. Add a docstring.
(org-add-log-note): Check if we really need to ask for a note.
(org-get-current-options): Digest the new keyword.
(org-agenda-reset-markers): Renamed from
`org-agenda-maybe-reset-markers'. FORCE argument removed.
(org-diary, org-agenda-quit, org-prepare-agenda): Call the renamed
function, without force argument.
(org-buffer-property-keys): Bind local variables s and p.
(org-make-tags-matcher): Allow "" to match an empty or
non-existent property value.
(org-export-as-html): Join unsorted lists when they directly
follow each other. Such lists may be created by headlines that
are converted to lists.
(org-nofm-to-completion): New function.
(org-export-as-html): Use :html-extension instead of
org-export-html-extension.
(org-store-link): Support for links from `rmail-summary-mode'.
(org-columns-new, org-complete, org-set-property): Set the
`include-columns' argument in the call to
`org-buffer-property-keys'.
(org-buffer-property-keys): New argument `include-columns', to
include properties expected by any of the COLUMS formats in the
current buffer.
(org-cleaned-string-for-export): Get rid of drawers first, so that
they will be removed also in the text before the first headline.
(org-clock-report): Show the clocktable when found.
(org-refile): Fix positioning bug when `org-reverse-note-order' is
nil.
(org-version): With prefix argument, insert `org-version' at
point.
(org-agenda-goto): Recenter the window after finding the target
location, to make sure the correct position will be displayed.
(org-agenda-get-deadlines): Don't scale priority with the warning
period.
(org-insert-heading): Don't break line in the middle of the line.
(org-agenda-get-deadlines): Allow `org-deadline-warning-days' to
be 0.
(org-update-checkbox-count): Revamped to deal with hierarchical
beckboxes. This was a patch from Miguel A. Figueroa-Villanueva.
(org-remove-timestamp-with-keyword): New function.
(org-schedule, org-deadline): Use
`org-remove-timestamp-with-keyword' to make sure all such time
stamps are removed.
(org-mode): Support for `align'.
(org-agenda-get-deadlines): Make sure priorities increase as the
due date approaches and is passed.
(org-remember-apply-template): Fixed problem with tags that
contain "_" or "@".
(org-make-link-regexps): Improve the regular expression for plain
links.
(org-agenda-get-closed): List each clocking entry.
(org-set-tags): Only tabify before tags if indent-tabs-mode is t.
(org-special-ctrl-k): New option.
(org-kill-line): New function.
(org-archive-all-done): Fixed incorrect number of stars in regexp.
(org-refile-get-location): New function.
(org-refile-goto-last-stored): New function.
(org-global-tags-completion-table): Add the value of org-tag-alist
in each buffer, to make sure that also unused tags will be
available for completion.
(org-columns-edit-value)
(org-columns-next-allowed-value): Only update if not in agenda.
(org-clocktable-steps): New function.
(org-dblock-write:clocktable): Call `org-clocktable-steps'.
(org-archive-subtree): Add the outline tree context as a property.
(org-closest-date): New optional argument `prefer'.
(org-goto-auto-isearch): New option.
(org-goto-map, org-get-location): Implement auto-isearch.
(org-goto-local-auto-isearch-map): New variable.
(org-goto-local-search-forward-headings)
(org-goto-local-auto-isearch): New functions
Glenn Morris [Thu, 13 Mar 2008 05:48:18 +0000 (05:48 +0000)]
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:47:55 +0000 (05:47 +0000)]
(calendar-holiday-list, diary-list-entries, calendar-iso-from-absolute):
Fix autoloads.
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:46:32 +0000 (05:46 +0000)]
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:45:28 +0000 (05:45 +0000)]
(diary-julian-date): Move to end.
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:44:04 +0000 (05:44 +0000)]
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:43:00 +0000 (05:43 +0000)]
(diary-list-entries): Fix autoload.
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:41:16 +0000 (05:41 +0000)]
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 05:40:02 +0000 (05:40 +0000)]
Move variable declarations where they are needed.
(diary-bahai-date): Move to end.
(generated-autoload-file): Don't set, instead use different values of
generate-autoload-cookie plus Makefile rules to allow for a mixture of
internal calendar autoloads and normal autoloads.
Glenn Morris [Thu, 13 Mar 2008 03:29:35 +0000 (03:29 +0000)]
(f90-font-lock-n): New function.
(f90-font-lock-1, f90-font-lock-2, f90-font-lock-3, f90-font-lock-4):
Use f90-font-lock-n.
(f90-mode-abbrev-table): Use newer form of define-abbrev, where
supported. No need to bind abbrevs-changed for system abbrevs.
(f90-indent-region, f90-indent-subprogram, f90-match-end): Use cadr.
Juri Linkov [Wed, 12 Mar 2008 21:55:02 +0000 (21:55 +0000)]
(describe-project): Remove defaliases for view-todo and
describe-project that are now unnecessary after the merge from
emacs--rel--22 that added define-obsolete-function-alias.
Juri Linkov [Wed, 12 Mar 2008 21:54:36 +0000 (21:54 +0000)]
(inhibit-startup-screen): Revert incomplete
2008-03-10 merge from emacs--rel--22 that partly reverted
2008-02-28 change that added initial message to *scratch* buffer
regardless of the value of `inhibit-startup-screen'.
Now keep this change in the trunk, but not in the 22 branch.
Stefan Monnier [Wed, 12 Mar 2008 20:51:26 +0000 (20:51 +0000)]
(mh-uncompface, mh-picon-file-contents): Use set-buffer-multibyte...
(mh-face-display-function, mh-x-image-display): ...rather than bind
default-enable-multibyte-characters.