Jan Djärv [Sun, 16 Jan 2005 09:17:02 +0000 (09:17 +0000)]
* keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW)
(READABLE_EVENTS_FILTER_EVENTS)
(READABLE_EVENTS_IGNORE_SQUEEZABLES): New flags for readable_events.
get_filtered_input_pending, readable_filtered_events): Removed.
(tracking_off): Call readable_events and get_input_pending with
flag READABLE_EVENTS_DO_TIMERS_NOW.
(readable_events): Move code from old readable_filtered_events here,
but check new READABLE_EVENTS_* in argument flags instead of previous
two boolean arguments do_timers_now and filter_events.
If we are doing mouse tracking and the mouse moved, return only if
READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags.
(swallow_events): Call get_input_pending with flag
READABLE_EVENTS_DO_TIMERS_NOW.
(get_input_pending): Move code from old get_filtered_input_pending
here. Replace boolean arguments do_timers_now, filter_events with
flags, and pass flags to readable_events. Document new
READABLE_EVENTS_* flags.
(detect_input_pending_ignore_squeezables): New function.
(detect_input_pending_run_timers): Call get_input_pending with flag
READABLE_EVENTS_DO_TIMERS_NOW.
(Finput_pending_p): Call get_input_pending with flags
READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS.
* dispnew.c (update_window, update_frame_1): Replace calls to
detect_input_pending with detect_input_pending_ignore_squeezables
so that redisplay is not paused if the event queue contains only
mouse movements.
In the latest update to reftex from upstream, some changes in Emacs CVS
(mostly maintenance stuff -- typos, whitespace, etc) were apparently lost.
This changeset re-applies them.
Steven Tamm [Sun, 16 Jan 2005 00:31:53 +0000 (00:31 +0000)]
* macterm.c (Vmac_use_core_graphics): defined
(syms_of_macterm): Added mac-use-core-graphics
(mac_draw_string_common): Use core graphics text rendering if
mac-use-core-graphics is enabled.
Eli Zaretskii [Sat, 15 Jan 2005 14:27:41 +0000 (14:27 +0000)]
Updated to work with movemail from GNU Mailutils
(rmail-pop-password, rmail-pop-password-required): Moved to
rmail-obsolete group.
(rmail-set-pop-password): Renamed to rmail-set-remote-password.
All callers updated.
(rmail-get-pop-password): Renamed to rmail-get-remote-password.
Take an argument specifying whether it is POP or IMAP mailbox we
are using. All callers updated.
(rmail-pop-password-error): Renamed to rmail-remote-password-error.
Added mailutils-specific error message.
(rmail-movemail-search-path)
(rmail-movemail-variant-in-use): New variables.
(rmail-remote-password, rmail-remote-password-required): New
customization variables.
(rmail-probe,rmail-autodetect, rmail-movemail-variant-p): New functions
(rmail-parse-url): New function.
(rmail-get-new-mail, rmail-insert-inbox-text): Updated for use
with GNU mailutils movemail.
Eli Zaretskii [Sat, 15 Jan 2005 13:06:55 +0000 (13:06 +0000)]
(type-break-file-name): Doc update as per the above.
(type-break-mode, type-break-file-time, type-break-file-keystroke-count)
(type-break-choose-file): Don't store data in or load data from the file
if none specified.
* org.el (org-show-following-heading): New option.
(org-show-hierarchy-above): Use `org-show-following-heading'.
* org.el (orgtbl-optimized): New option
(orgtbl-mode): New command, a minor mode.
(orgtbl-mode-map): New variable.
(turn-on-orgtbl, orgtbl-mode, orgtbl-make-binding)
(orgtbl-error, orgtbl-self-insert-command)
(orgtbl-delete-backward-char, orgtbl-delete-char): New functions.
* org.el (org-mode): `org-table-may-need-update' is now a local
variable in each org-mode buffer.
* org.el (org-set-regexps-and-options): Renamed from
`org-set-regexps'. Added checking for STARTUP keyword.
(org-get-current-options): Added STARTUP options.
(org-table-insert-row): Mode mode intelligent about when
realignment is needed.
(org-self-insert-command, org-delete-backward-char,
org-delete-char): New commands.
(org-enable-table-editor): new default value `optimized'.
(org-table-blank-field): Support blanking regions if active.
* reftex-cite.el (reftex-bib-sort-year): Catch the case if the
year is not given.
* reftex-ref.el (reftex-replace-prefix-escapes): Added new escapes
%m and %M, fixed bug with %F by adding save-match-data.
(reftex-reference): Removed ?. from list of spaces.
(reftex-label-info): Added automatic label prefix recognition
* reftex-index.el (reftex-index-next-phrase): Added slave
parameter to call of `reftex-index-this-phrase'
(reftex-index-this-phrase): New optional argument
(reftex-index-region-phrases): Added slave parameter to call of
`reftex-index-this-phrase'
(reftex-display-index): New argument redo
(reftex-index-rescan): Added 'redo to arguments of
`reftex-display-index'
(reftex-index-Rescan, reftex-index-revert)
(reftex-index-switch-index-tag): Added 'redo to arguments of
`reftex-display-index'
(reftex-index-make-phrase-regexp): Fixed bug with case-sensitive
indexing. Fixed bug with matching is there is a quote before or
after the word.
* reftex-cite.el (reftex-all-used-citation-keys): Fix bug when
collecting citation keys in lines with comments.
(reftex-citation): Prefix argument no longer rescans the document,
but forces prompting for optional arguments of cite macros.
(reftex-do-citation): Prompting for optional arguments
implemented.
* reftex-vars.el (reftex-cite-format-builtin): Added optional
arguments to most cite commands.
(reftex-cite-cleanup-optional-args): New option
(reftex-cite-prompt-optional-args): New option.
(reftex-trust-label-prefix): New option
* reftex-toc.el (reftex-toc-find-section): Added push-mark before
changing the position in the buffer.
* reftex.el (reftex-prefix-to-typekey-alist): New variable
(reftex-compile-variables): Compute reftex-prefix-to-typekey-alist
Nick Roberts [Wed, 12 Jan 2005 06:13:08 +0000 (06:13 +0000)]
(xterm-mouse-translate, xterm-mouse-event): Enable
mouse clicks on mode-line, header-line and margin.
(event-type): Give mouse event symbols an 'event-kind property
with value 'mouse-click.
Juri Linkov [Wed, 12 Jan 2005 00:33:00 +0000 (00:33 +0000)]
* facemenu.el (list-colors-print): New function created from code
in list-colors-display. Print #RRGGBB at the window right edge.
(list-colors-display): When temp-buffer-show-function is not
defined, call list-colors-print from temp-buffer-show-hook
to get the right value of window-width in list-colors-print
after the buffer is displayed.
Juri Linkov [Tue, 11 Jan 2005 23:53:35 +0000 (23:53 +0000)]
(list-colors-display): Add new arg buffer-name.
Use it. Fix docstring. Replace code for identifying duplicate
colors by the name with call to `list-colors-duplicates' which
identifies duplicate colors by the value unless the color
is one of special Windows colors. Set truncate-lines to t.
Print sorted duplicate color names on each line. Indent to 22
\(the longest color name in rgb.txt) instead of 20. Optimize.
(list-colors-duplicates): New function.
(facemenu-color-name-equal): Delete function.
Juri Linkov [Tue, 11 Jan 2005 23:05:16 +0000 (23:05 +0000)]
(query-replace-lazy-highlight): Add lazy-highlight group.
(query-replace-highlight, query-replace-lazy-highlight)
(query-replace): Move definitions to the beginning of the file.
Juri Linkov [Tue, 11 Jan 2005 23:03:01 +0000 (23:03 +0000)]
(search-highlight, isearch, isearch-lazy-highlight):
Bring together isearch highlight related options.
(lazy-highlight): Replace group `replace' by `matching'.
(lazy-highlight-cleanup, lazy-highlight-initial-delay)
(lazy-highlight-interval, lazy-highlight-max-at-a-time)
(lazy-highlight): Add aliases to old names isearch-lazy-highlight-...
and declare them obsolete.
(lazy-highlight-face): Rename from isearch-lazy-highlight-face.
(isearch-faces): Remove defgroup.
(isearch-overlay, isearch-highlight, isearch-dehighlight):
Move isearch highlighting code closer to lazy highlighting code.