Glenn Morris [Wed, 21 Aug 2002 21:26:07 +0000 (21:26 +0000)]
eval-when-compile a few defvars to quieten the byte-compiler.
(f90-xemacs-flag): Wrap in eval-and-compile.
(f90-font-lock-keywords): Doc fix.
(f90-mode-abbrev-table): Use the 6th (system-flag) argument of
define-abbrev if available, but work without it as well.
(f90-mark-subprogram-overlay): Variable deleted.
(f90-mark-subprogram): No need to be silent about push-mark.
Get rid of the silly overlay bit.
(f90-abbrev-start): unread-command-event is obsolete in XEmacs too.
Kai Großjohann [Wed, 21 Aug 2002 15:04:29 +0000 (15:04 +0000)]
Version 2.0.13 released.
(tramp-handle-write-region): Don't check to see if remote end is
awake after sending data to remote host: we want to send "EOF" not
"echo are you awake"...
(tramp-maybe-open-connection): Swap args for tramp-time-diff.
(tramp-yn-prompt-regexp): New variable.
(tramp-action-yn): New function, using it.
(tramp-feature-write-region-fix): New internal variable. Not yet
used. Should be used in `tramp-handle-write-region'.
Kim F. Storm [Wed, 21 Aug 2002 12:05:09 +0000 (12:05 +0000)]
(mode-line-format): Moved global-mode-string last.
(mode-line-position): Moved %p first. Added padding to %l/%c to
eliminate jumpyness in modeline. Use (%l,%c) format if both
line-number-mode and column-number-mode are enabled.
(font-lock-change-mode): New function.
(font-lock-mode): Use font-lock-change-mode instead of
font-lock-unfontify-buffer.
(font-lock-maximum-size, font-lock-verbose): Add defvars.
Kim F. Storm [Mon, 19 Aug 2002 23:05:29 +0000 (23:05 +0000)]
Major rework based on discussions with RMS.
Most important change is that C-x C-k is now bound to a keymap
with keyboard macro related commands. The original binding on
C-x C-k is moved to C-x C-k e.
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.