(x_autoselect_window_p): Remove variable.
(last_window): New variable.
(XTreassert_line_highlight, x_change_line_highlight): Remove
declarations.
(mac_focus_changed, x_detect_focus_change): New functions and
declarations.
(XTextExtents16, front_emacs_window): Remove function.
(mac_focus_frame): New function.
(XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket)
(mac_check_for_quit_char): Use it instead of front_emacs_window.
(x_scroll_bar_report_motion): Obtain window from control owner.
(x_make_frame_invisible): Set window manager size hint.
(do_mouse_moved): Remove function.
(XTread_socket): Move its contents here. Generate select-window
event on mouse movement if needed. Use x_detect_focus_change on
activate/deactivate events. Don't deiconify frame or invalidate
window rectangle when dnd items are dropped. Don't
activate/deactivate root control.
(frame_highlight, frame_unhighlight): Activate/deactivate root
control here.
(syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p.
Include charset.h and coding.h.
[TARGET_API_MAC_CARBON] (Qutf_8): Remove extern.
[TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function.
[TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it.
(cp-make-coding-system): Set
`translation-table-for-input' property value to the symbol
ucs-mule-to-mule-unicode, not to that value.
(pt154): Escape guillemet by `\'.
(org-agenda-date-prompt): Renamed from
`org-agenda-date-today'.
(org-evaluate-time-range): Insert at point instead of directly
after time range.
(org-first-headline-recenter, org-subtree-end-visible-p)
(org-optimize-window-after-visibility-change): New functions
(org-agenda-post-command-hook): Don't allow point at end of line,
to make sure it always hits the text properties.
(org-agenda-next-date-line, org-agenda-previous-date-line): New
commands.
(org-set-regexps-and-options): Category may contain white space.
(org-agenda-get-deadlines, org-agenda-get-scheduled): Improved
marker positions.
(org-agenda-new-marker): Argument POS made optional.
(org-agenda-get-timestamps): Deadlines which are done are listed
in org-done-face now.
(org-agenda-get-todos, org-agenda-get-timestamps)
(org-agenda-get-deadlines, org-agenda-get-scheduled): set
`undone-face' and `done-face' properties.
(org-last-todo-state-is-todo): New variable.
(org-todo): Set `org-last-todo-state-is-todo'.
(org-agenda-todo): Change face according to
`org-last-todo-state-is-todo'. And change other lines refering to
the same entry.
(org-calendar-goto-agenda): New command.
(org-calendar-to-agenda-key): New option.
(org-startup-folded): New allowed value `content'.
(org-set-regexps-and-options): Accept new value `content' for
`org-startup-folded'.
(org-get-current-options): Handle new value `content' for
`org-startup-folded'.
(org-insert-todo-heading): New command.
(org-mode): Insert first line "*-* mode: org-mode -*-" when called
interactively in empty file and option
`org-insert-mode-line-in-empty-file' has been set.
(org-agenda-todo,org-agenda-priority): Modified to use
`org-agenda-change-all-lines'.
(org-warning-face): Changed color on dark background
(set-locale-environment): On Mac OS, use preferences AppleLocale and
AppleLanguages, and variable mac-system-locale for default locale. On
Mac OS Classic, use mac-system-coding-system for default coding
systems.
Don't set file-name-coding-system. Decode variables system-name,
emacs-build-system, user-login-name, and user-full-name by
mac-system-coding-system on Mac OS Classic.
(mac-system-coding-system): New variable.
(x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: Use ENCODE_SYSTEM
to encode title bar string.
(x_create_tip_frame): Apply 2005-03-18 change for xfns.c.
(Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: Use
CFStringGetSystemEncoding to get system default string encoding.
[!TARGET_API_MAC_CARBON]: Include MacLocales.h. Don't include
TextEncodingConverter.h.
(mac_system_script_code, Vmac_system_locale): New variables.
(syms_of_mac): Defvar them.
(mac_get_system_locale): New function.
* lisp/gnus/gnus-art.el (gnus-mime-inline-part): Use mm-string-to-multibyte.
* lisp/gnus/qp.el (quoted-printable-encode-region): Use mm-string-to-multibyte.
(sh-here-document-word): Make it a defcustom. Doc fix.
(sh-add): Bash uses $(( )) for arithmetic.
(sh-while-getopts) <sh>: Set OPTIND back to 1 at end.
(sh-maybe-here-document): Remove quotes and leading whitespace
from heredoc word when closing. Indent heredoc with tabs if word
starts with "-".
(DONTCOMPILE): Remove list.
(compile, compile-always): Don't use DONTCOMPILE.
(update-authors): Load the library in which batch-update-authors is defined.
(generic-mode-ini-file-find-file-hook):
Rename to ini-generic-mode-find-file-hook.
Keep generic-mode-ini-file-find-file-hook as an alias.
(ini-generic-mode-find-file-hook): Rename from
generic-mode-ini-file-find-file-hook. Fix docstring.
(ini-generic-mode): Docstring change.
(bat-generic-mode-run-as-comint): Silence the byte compiler.
(kTextEncodingMacRoman, kTextEncodingISOLatin1)
(kTextEncodingISOLatin2): Remove constants.
(mac-script-code-coding-systems): New constant.
(mac-handle-language-change): New function.
(special-event-map): Bind it to `language-change' event.
(mac-centraleurroman, mac-cyrillic): New coding systems.
(mac-font-encoder-list, ccl-encode-mac-centraleurroman-font)
(ccl-encode-mac-cyrillic-font): Rename mac-centraleurroman-encoder and
mac-cyrillic-encoder to encode-mac-centraleurroman and
encode-mac-cyrillic, respectively.
(mac_keyboard_text_encoding, current_mac_keyboard_text_encoding):
Remove variables.
(XTread_socket): Store language-change event if keyboard script change
is detected. Don't convert input to `mac_keyboard_text_encoding'.
(syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding.
(Qlanguage_change) [MAC_OS]: New variable.
(syms_of_keyboard) [MAC_OS]: Intern and staticpro it.
(kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT.
Dan Nicolaescu [Mon, 11 Apr 2005 20:47:25 +0000 (20:47 +0000)]
* term.el (term-ansi-current-bold, term-ansi-current-underline)
(term-ansi-current-reverse, term-ansi-current-invisible)
(term-ansi-face-already-done): Change to boolean.
(term-reset-terminal, term-handle-colors-array): Handle the above
vars accordingly.
(term-buffer-vertical-motion): Rename from buffer-vertical-motion.
(term-emulate-terminal): Use the new name.
* faces.el (secondary-selection): Use yellow1, not yellow.
(trailing-whitespace): Use red1, not red.