Richard M. Stallman [Sun, 7 Jul 2002 10:50:49 +0000 (10:50 +0000)]
Treat a partially visible line like "cursor off screen".
(make_cursor_line_fully_visible): Don't try short scrolls.
Instead just return 0 when there is something to be done.
(try_scrolling): If make_cursor_line_fully_visible returns 0,
retry scrolling as if cursor were off the bottom.
(try_cursor_movement): If make_cursor_line_fully_visible returns 0,
return CURSOR_MOVEMENT_MUST_SCROLL.
(redisplay_window): If make_cursor_line_fully_visible returns 0,
go to try_to_scroll.
Richard M. Stallman [Sun, 7 Jul 2002 09:21:52 +0000 (09:21 +0000)]
(safe-local-eval-forms): New user option.
(hack-one-local-variable-eval-safep): Support it.
Also allow `safe-local-eval-function' property to be a function
or a list of functions.
(c-add-style): Delete `safe-local-eval-function' property.
(after-find-file): Make buffer read-only if file is
marked that way, even for root.
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.
Richard M. Stallman [Tue, 2 Jul 2002 18:58:29 +0000 (18:58 +0000)]
(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.
Richard M. Stallman [Tue, 2 Jul 2002 18:48:34 +0000 (18:48 +0000)]
(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.
Richard M. Stallman [Tue, 2 Jul 2002 18:23:26 +0000 (18:23 +0000)]
(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.
Richard M. Stallman [Mon, 1 Jul 2002 08:04:04 +0000 (08:04 +0000)]
(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.