Stefan Monnier [Mon, 19 Aug 2002 21:23:08 +0000 (21:23 +0000)]
(help-split-fundoc): Replace the function name
from the docstring with the one that should be displayed.
(help-make-usage): Understand CL style arglists.
(describe-function-1): Adapt to the new behavior of help-split-fundoc.
(describe-variable): Use delete-region.
Move the node Relative Files before Directory Names. Show what
file-name-nondirectory returns when given a directory name.
Explain that abbreviate-file-name works on file names too.
Explain how to combine a directory name with a relative file name
with concat, and the pitfalls.
Kim F. Storm [Mon, 19 Aug 2002 14:58:29 +0000 (14:58 +0000)]
(Fclear_this_command_keys): Added optional arg
KEEP-RECORD to avoid clearing lossage when we just want to clear
the current key sequence (kmacro needs this).
Miles Bader [Mon, 19 Aug 2002 05:03:21 +0000 (05:03 +0000)]
[original idea from Luc Teirlinck <teirllm@mail.auburn.edu>]
(comint-inhibit-carriage-motion): New variable.
(comint-carriage-motion): Argument STRING removed. New arguments
START and END; interpret characters between START and END rather
than using special comint state.
(comint-output-filter): Call `comint-carriage-motion'.
(comint-output-filter-functions): Don't add `comint-carriage-motion'.
Carsten Dominik [Sat, 17 Aug 2002 09:22:01 +0000 (09:22 +0000)]
* reftex.el (reftex-mode): Create special syntax tables.
(reftex-syntax-table): Set a default in case this is being used
outside a LaTeX file.
(reftex-syntax-table-for-bib): Set a default in case this is being used
outside a LaTeX file.
(tar-subfile-mode): Use add-hook and remove-hook, and use
write-file-functions instead of local-write-file-hooks.
(tar-untar-buffer): Don't try to extract directories.
(menu-bar-next-tag-other-window, menu-bar-next-tag)
(menu-bar-right-scroll-bar, menu-bar-left-scroll-bar)
(menu-bar-no-scroll-bar, menu-bar-toggle-auto-compression)
(menu-bar-toggle-cua-mode, menu-bar-read-mail)
(menu-bar-help-extra-packages, help-with-tutorial-spec-language)
(menu-bar-text-mode-auto-fill): New commands, used
in menu bar menus instead of lambda expressions.
(server-process-filter): Simplify code.
(server-goto-line-column): New function.
(server-visit-files): Use server-goto-line-column.
Offer to revert only if file has changed.
Stefan Monnier [Thu, 15 Aug 2002 01:38:45 +0000 (01:38 +0000)]
(locate-library): Use locate-file(-completion).
(help-split-fundoc): Tighten the regexp and recognize a usage-info
where the function name is `fn'.
(help-function-arglist): Follow aliases and macros.
(describe-function-1): Use keymapp.
If the docstring contains a usage info, use it even if the function is
not a subroutine. Find usage info in aliases' docstring if necessary.
(describe-variable): Get the value before setting up the *Help* buffer.
Stefan Monnier [Thu, 15 Aug 2002 01:06:05 +0000 (01:06 +0000)]
(easy-mmode-define-global-mode): Use find-file-hook instead of find-file-hooks.
(define-minor-mode): Get rid of this silly `togglep'.
Add an explicit `toggle' argument (used for interactive calls).
Emit a warning when a nil argument turns the mode off.
Stefan Monnier [Thu, 15 Aug 2002 00:46:09 +0000 (00:46 +0000)]
(setup-ethiopic-environment-internal, exit-ethiopic-environment):
Use find-file-hook and write-file-functions instead of
find-file-hooks and write-file-hooks.
Stefan Monnier [Thu, 15 Aug 2002 00:34:04 +0000 (00:34 +0000)]
(split-window-save-restore-data): Use push and with-current-buffer.
(handle-select-window): Don't do anything if the window has
disappeared since the event was generated.
Stefan Monnier [Thu, 15 Aug 2002 00:12:30 +0000 (00:12 +0000)]
(imenu-always-use-completion-buffer-p): Make obsolete.
(imenu-use-popup-menu, imenu-eager-completion-buffer): New vars.
(imenu-space-replacement): Allow nil value.
(imenu--completion-buffer): Use new vars and simplify.
Fix handling of minibuffer-setup-hook.
Use minibuffer-completion-help instead of rolling our own.
(imenu-choose-buffer-index): Use the new var.
Kim F. Storm [Wed, 14 Aug 2002 10:35:31 +0000 (10:35 +0000)]
(Fstart_kbd_macro): Added NO-EXEC argument to inhibit
executing macro before appending to it (when used from Lisp).
(Fexecute_kbd_macro): Added LOOPFUNC argument to supply function
which is called prior to each iteration of macro (for kmacro.el).
(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
Kenichi Handa [Wed, 14 Aug 2002 00:58:39 +0000 (00:58 +0000)]
(QUTF8_STRING): New variable.
(symbol_to_x_atom): Pay attention to QUTF8_STRING.
(x_atom_to_symbol): Likewise.
(x_get_local_selection): New argument local_request. If it is
nonzero, call handler_fn with the second arg nil.
(x_handle_selection_request): Call x_get_local_selection with
local_request 0.
(lisp_data_to_selection_data): Don't encode the string here.
(Fx_get_selection_internal): Call x_get_local_selection with
local_request 1.
(syms_of_xselect): Intern and staticpro QUTF8_STRING.
Kenichi Handa [Wed, 14 Aug 2002 00:57:55 +0000 (00:57 +0000)]
(xselect-convert-to-string): If TYPE is non-nil,
encode the selection data string. Always return cons of type and
string.
(selection-converter-alist): Add (UTF8_STRING .
xselect-convert-to-string).
Only the include of sys/wait.h tests HAVE_SYS_WAIT_H.
[!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED)
(WSTOPSIG, WTERMSIG): Define each one independently if not defined already.
Andrew Choi [Mon, 12 Aug 2002 04:33:59 +0000 (04:33 +0000)]
2002-08-11 Andrew Choi <akochoi@shaw.ca>
* macterm.c (XTmouse_position): Check wp with is_emacs_window.
(Vmac_pass_command_to_system): New variable.
(Vmac_pass_control_to_system): New variable.
(do_mouse_moved): Check wp with is_emacs_window.
(XTread_socket): Check window_ptr with is_emacs_window. Call
FrontNonFloatingWindow instead of FrontWindow. Send keydown
events back to Mac Toolbox for processing, depending on values of
Vmac_pass_command_to_system and Vmac_pass_control_to_system.
(syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and
Vmac_pass_control_to_system.
Kenichi Handa [Sun, 11 Aug 2002 01:04:41 +0000 (01:04 +0000)]
(search-unencodable-char): New
function.
(select-safe-coding-system): Show unencodable characters.
(unencodable-char-position): Deleted, and implemented by C in
coding.c.