Stefan Monnier [Thu, 4 Jul 2002 20:37:14 +0000 (20:37 +0000)]
Use add-hook and find-file-hook.
(ange-ftp-parse-netrc): Use run-hooks and find-file-hook.
(ange-ftp-ls-parser): Make it into a function.
Ignore trailing @ in symlink targets.
(ange-ftp-file-entry-p): Ignore FTP errors.
(ange-ftp-insert-directory): Use ange-ftp-expand-symlink
to correctly expand "/flint:/bla -> ./etc" to /flint:/etc.
Miles Bader [Thu, 4 Jul 2002 06:44:45 +0000 (06:44 +0000)]
(comint-displayed-dynamic-completions): New variable.
(comint-dynamic-list-completions): Be more careful about choosing
when to scroll an existing completions window.
(hack-one-local-variable-constantp): New function.
(hack-one-local-variable-eval-safep): New function.
Check for `eval:' calling fn with `safe-local-eval-function' property.
(hack-one-local-variable): Use hack-one-local-variable-eval-safep.
(c-add-style, c-set-style): Add safe-local-eval-function property.
(byte-compile-warning-types):
Rename cl-func to cl-functions. Enable it by default.
(byte-compile-file-form-eval-boundary):
Turn off cl-functions warnings if the file loads cl.
(byte-compile-initial-macro-environment): For eval-and-compile,
use byte-compile-eval-before-compile to eval.
(byte-compile-eval-before-compile): New function to turn off
cl-functions when appropriate, for eval-and-compile.
(byte-compile-warnings): Add cl-func option.
(byte-compile-cl-warn): New function.
(byte-compile-form): Use it, to warn about calling cl functions.
(fancy-splash-screens): Switch to a chosen frame.
(fancy-splash-frame): Choose the right frame to use.
(use-fancy-splash-screens-p): Check dimensions of the right frame
in order to decide.
Andrew Choi [Mon, 1 Jul 2002 20:02:33 +0000 (20:02 +0000)]
In mac:
2002-07-01 Andrew Choi <akochoi@shaw.ca>
* Emacs.app/Contents/Resources/Emacs.icns: New file.
* Emacs.app/Contents/Info.plist: Add CFBundleDocumentTypes and
CFBundleIconFile entries.
In src:
2002-07-01 Andrew Choi <akochoi@shaw.ca>
* macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef
and FSRefMakePath to convert FSSpec returned with Apple Event to
Posix pathname.
(mac_initialize) [TARGET_API_MAC_CARBON]: Call
init_required_apple_events and disable the `Quit' menu item
provided automatically by the Carbon Toolbox.
(timer_last_idleness_start_time): New variable.
(timer_start_idle): Set that.
(read_key_sequence): Use that to reset timer_idleness_start_time
to previous value.
Andreas Schwab [Sat, 29 Jun 2002 19:01:46 +0000 (19:01 +0000)]
Use directory-free-space-program instead of
obsolete variable dired-free-space-program. On Darwin, don't set
directory-free-space-program, shell-file-name and
process-connection-type; set directory-free-space-args to not
include `-P' and use utf-8 for file name coding system.
Jan Djärv [Fri, 28 Jun 2002 19:42:48 +0000 (19:42 +0000)]
(x_focus_changed): New function.
(x_detect_focus_change): New function.
(XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut
EnterNotify and LeaveNotify to track X focus changes.
Stefan Monnier [Thu, 27 Jun 2002 21:46:45 +0000 (21:46 +0000)]
(mouse-wheel-change-button): Deactivate before changing.
(mouse-wheel-up-button, mouse-wheel-down-button): Obsolete.
(mouse-wheel-up-event, mouse-wheel-down-event): New vars.
(mouse-wheel-follow-mouse): Change default to t.
(mwheel-event-button): Return the basic event symbol.
(mwheel-scroll): Work with non-mouse events.
(mouse-wheel-mode): Use the new vars.
(mwheel-install): Obey `uninstall'.
Kim F. Storm [Thu, 27 Jun 2002 20:42:35 +0000 (20:42 +0000)]
(mode_line_string_list, mode_line_string_face)
(mode_line_string_face_prop): New variables.
(store_mode_line_string): New function.
(display_mode_element): Use store_mode_line_string to
add mode-line string elements to mode_line_string_list
when mode_line_string_list is non-nil.
(Fformat_mode_line): Now returns propertized string by
default. New arg NO-PROPS to ignore properties.
(decode_mode_spec): Only add two dashes for %- in propertized
mode-line string.
(syms_of_xdisp): Init and staticpro mode_line_string_list.