(read1): Redesign strategy for force_multibyte and
force_singlebyte. Now is_multibyte records whether read_buffer
is multibyte. Encountering any multibyte character makes it so.
Pavel Janík [Sat, 2 Feb 2002 15:56:45 +0000 (15:56 +0000)]
(flyspell-issue-message-flag): New user option.
(flyspell-mode-on, flyspell-notify-misspell)
(flyspell-small-region, flyspell-external-point-words)
(flyspell-large-region): Use it
(flyspell-before-incorrect-word-string)
(flyspell-after-incorrect-word-string): New user options.
(make-flyspell-overlay): Use them.
(flyspell-version): New function.
(flyspell-incorrect-face, flyspell-duplicate-face): Adapt face definitions
to use :weight.
(flyspell-insert-function): New user option.
(flyspell-auto-correct-word, flyspell-correct-word)
(flyspell-xemacs-correct): Use it.
(flyspell-define-abbrev): New function.
(flyspell-auto-correct-word, flyspell-correct-word)
(flyspell-xemacs-correct): Use it.
(make-flyspell-overlay): Use `evaporate' property.
(flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
(flyspell-emacs-popup): Use `session' instead of `accept'.
(flyspell-auto-correct-previous-pos): New variable.
(flyspell-auto-correct-previous-hook)
(flyspell-auto-correct-previous-word): New functions.
Eli Zaretskii [Sat, 2 Feb 2002 12:49:58 +0000 (12:49 +0000)]
(enable-command): If Emacs was invoked as "emacs -q",
don't alter the user's ~/.emacs.
(disable-command): If user-init-file is nil or does not exist,
default to "~/.emacs" (~/_emacs on DOS and, maybe, Windows). But
don't alter the init file if Emacs was invoked as "emacs -q"
(debugger-setup-buffer): When an eval-buffer frame was reading from a buffer,
insert indication of the buffer position.
(debugger-frame-number): Ignore ;;;-comment lines in backtrace.
(compile): New target.
(compile-always): Renamed from compile-files.
(compile-after-backup): Renamed from compile.
(bootstrap): Depend on compile-always, not compile-files.
Pavel Janík [Tue, 29 Jan 2002 14:19:21 +0000 (14:19 +0000)]
(menu-bar-options-save): Add `default-frame-alist' to saved variables.
(menu-bar-showhide-scroll-bar-menu): Use frame-parameters instead of the
variable `scroll-bar-mode'.
Kim F. Storm [Mon, 28 Jan 2002 22:55:59 +0000 (22:55 +0000)]
(x_erase_phys_cursor): Don't erase cursor if cursor row
is invisible. This can happen if cursor is on top line of a
window, and we switch to a buffer with a header line.
Add autoload cookies. Many doc fixes.
(time-add): New function.
(time-subtract): Renamed from subtract-time.
(subtract-time): New alias for time-subtract.
Pavel Janík [Sun, 27 Jan 2002 18:14:55 +0000 (18:14 +0000)]
(display-time-mail-directory): New option.
(display-time-mail-function): Update doc-string.
(display-time-mail-icon): Use XPM image when available.
(display-time-string-forms): Use more descriptive text as help-echo
property.
(display-time-mail-check-directory): New function.
(display-time-update): Use it.
(pc-selection-mode-hook)
(pc-select-saved-settings-alist, pc-select-map)
(pc-select-saved-global-map, pc-select-key-bindings-alist)
(pc-select-default-key-bindings, pc-select-extra-key-bindings)
(pc-select-meta-moves-sexps-key-bindings)
(pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
New variables.
(pc-select-define-keys, pc-select-restore-keys): New functions.
(pc-select-add-to-alist, pc-select-save-and-set-var)
(pc-select-save-and-set-mode, pc-select-restore-var)
(pc-select-restore-mode): New macros.
(pc-selection-mode): Completely rewrote the body of the function;
the main goal was to make pc-selection-mode "turn-off"-able, like
other minor modes. Use define-minore-mode instead of just a
defun. Store the key bindings into four alists:
pc-select-default-key-bindings, pc-select-extra-key-bindings,
pc-select-meta-moves-sexps-key-bindings, and
pc-select-tty-key-bindings; then have the pc-select-define-keys
function walk those alists instead of calling define-key
repeatedly. When the mode is turned on, set the
keybindings in global-map and remember the old keybindings; when
the mode is turned off, restore the previously-saved keybindings.
(pc-selection-mode defcustom): Reflect the fact that the mode is
now "turn-off"-able.
Stefan Monnier [Fri, 25 Jan 2002 22:42:13 +0000 (22:42 +0000)]
(Fnext_property_change, Fnext_single_property_change)
(Fprevious_property_change, Fprevious_single_property_change):
Stay within the narrowed-buffer boundaries.