Stefan Monnier [Sun, 7 Jul 2002 21:09:14 +0000 (21:09 +0000)]
(Ftry_completion, Fall_completions, Ftest_completion):
Add support for hash-tables.
(Ftry_completion): Return t even if the string appears multiple times.
Stefan Monnier [Sun, 7 Jul 2002 20:57:25 +0000 (20:57 +0000)]
(Fnconc): Use XCDR.
(Fprovide): Use CONSP and XCDR.
(HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX)
(HASH_TABLE_SIZE): Delete: moved to lisp.h.
(Fmake_hash_table): Accept `:size nil'.
(Fmakehash): Delete: moved to subr.el.
(syms_of_fns): Don't defsubr makehash.
Stefan Monnier [Sun, 7 Jul 2002 20:25:23 +0000 (20:25 +0000)]
(debug-on-entry): Fix the wrapper used for
aliases to also work for interactive functions.
Use the same wrapper for subroutines.
(cancel-debug-on-entry): Get rid of the now-useless wrapper.
(debug-on-entry-1): Correctly skip docstrings and interactive forms.
Explain that $FOO stands for itself if FOO is not defined.
New feature in auto-save-file-name-transforms.
Add vc-cvs-global-switches.
Add directory-free-space-program and directory-free-space-args.
Update mouse button info.
Don't give the names of Emacs commands that the characters run.
Clarify what SPC and DEL do.
Clarify the description of the minibuffer.
Wording change for completion.
Explain Mouse-2 better.
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.
(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.
(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.