Stefan Monnier [Mon, 12 Jun 2000 04:53:34 +0000 (04:53 +0000)]
(cvs-parse-process): Don't blindly refresh all cookies.
(cvs-cleanup-removed): New function.
(cvs-cleanup-functions): New var.
(cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
some flexibility in specifying additional entries to auto-cleanup.
(cvs-quickdir): New function.
(cvs-mode-insert): Use cvs-fileinfo-from-entries.
(cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
(cvs-mode-find-file): Check that we are on a filename or dirname
when invoked through a mouse-click.
(cvs-full-path): Remove.
(cvs-dired-action): Re-introduced.
(cvs-dired-noselect): Use it.
(vc-post-command-functions): use this new hook if available.
Stefan Monnier [Mon, 12 Jun 2000 04:37:50 +0000 (04:37 +0000)]
(cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
(cvs-status-map): Don't inherit from cvs-mode-map anymore.
(cvs-filename-map, cvs-dirname-map): Remove.
(cvs-default-action): Remove.
(cvs-add-face): Use `keymap' rather than `local-map' property, and only
if the arg is really a keymap.
(cvs-fileinfo-pp): Don't use any special map for file and dir names.
Don't hardcode the mapping from state (aka type) to face, but check
the var cvs-fi-<type>-face instead.
(cvs-fileinfo-from-entries): New function.
Stefan Monnier [Sun, 11 Jun 2000 22:35:19 +0000 (22:35 +0000)]
(cvs-default-ignore-marks, cvs-diff-ignore-marks):
Docstring fix.
(cvs-find-file-and-jump): Change default to be safer.
(cvs-mode-diff-map): Define it as a function as well.
(cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
Bind mouse-2 in this global map rather than with text-properties.
Stefan Monnier [Sun, 11 Jun 2000 05:00:35 +0000 (05:00 +0000)]
(make-autoload): Use `cond'.
Handle easy-mmode-define-global-mode.
For complex macros like define-minor-mode that can generate
several autoload entries, try to autoload entries in the
macroexpanded code.
Stefan Monnier [Sun, 11 Jun 2000 04:55:57 +0000 (04:55 +0000)]
(define-minor-mode): If KEYMAP is a symbol, just use it.
Use byte-compile-current-file and load-file-name to infer the
proper :require to pass to defcustom.
Wrap the hook var into `progn' so as not to autoload it.
Add a :autoload-end cookie.
Be more careful about the evaluation of KEYMAP.
(easy-mmode-define-global-mode): Add a :autoload-end cookie.
(define-derived-mode): Move define-abbrev-table outside of defvar.
Stefan Monnier [Sun, 11 Jun 2000 03:54:29 +0000 (03:54 +0000)]
(EMACSOPT): Remove --no-init-file (implied by -batch).
(autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
(backup-compiled-files): Ignore errors during `tar'.
(bootstrap): Make autoloads before elc files.
Kenichi Handa [Sat, 10 Jun 2000 08:04:33 +0000 (08:04 +0000)]
(MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env.
(regex_compile): Fix the code for handling the case of single byte
char and multibyte char being mixed in a range within [...].
Kenichi Handa [Sat, 10 Jun 2000 00:12:46 +0000 (00:12 +0000)]
(update_charset_table): Update the table
bytes_by_char_head.
(init_charset_once): Initialize elements of bytes_by_char_head to
1 except for leading codes for private charases.
Gerd Moellmann [Thu, 8 Jun 2000 20:56:24 +0000 (20:56 +0000)]
(XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which
will be translated to a switch-frame event in when reading the
event queue. This is necessary because Emacs otherwise won't
perform a switch-frame to a new frame until some other event, for
example a keystroke event, forces it to do so. This has various
effects, one visible being that the cursor of a frame created with
C-x 5 2 or switched to with a window manager key binding like
A-TAB stays hollow because selected_window isn't on the newly
focused frame until the switch-frame is performed.
Dave Love [Thu, 8 Jun 2000 15:54:26 +0000 (15:54 +0000)]
(select-safe-coding-system): If
DEFAULT-CODING-SYSTEM is not specified, also check the most
preferred coding-system if buffer-file-coding-system is
`undecided'. From handa.
Update whitespace.el - comment out the :version string, since it
seems to have trouble with XEmacs 20.4 (user reported bug). Xemacs
doesn't create group if this is present.
Gerd Moellmann [Wed, 7 Jun 2000 15:38:19 +0000 (15:38 +0000)]
Insert a version number comment (5.2.2). Can
select page size with/without giving an error if PostScript
printer doesn't have this kind of page size. Zebra Stripe
continues or restarts on next page. Indentation fix.
(BeginSheet): If necessary, rescale n-up to fit on the sheet of
paper.
(BeginDoc, doColumnZebra, HeaderText): Code fix.
(SetPageSize): New proc.
Gerd Moellmann [Wed, 7 Jun 2000 15:34:55 +0000 (15:34 +0000)]
XEmacs compatibility. Doc fix. Can select page size
with/without giving an error if PostScript printer doesn't have this
kind of page size. Zebra Stripe continues or restarts on next page.
Manual/automatic paper feeding. Switch or not the header.
(ps-print-version): New version number (5.2.2).
(ps-windows-system): Include emx as a Windows system.
(ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
(ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
(ps-background-text): Code fix.
(ps-error-handler-message, ps-user-defined-prologue)
(ps-print-prologue-header, ps-printer-name)
(ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
(ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
(ps-use-face-background): Customization fix.
(ps-n-up-database): Data fix.
(ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
(ps-switch-header): New vars.
(ps-xemacs-color-name, ps-face-foreground-name)
(ps-face-background-name, ps-boolean-constant): New funs.
Gerd Moellmann [Wed, 7 Jun 2000 15:33:22 +0000 (15:33 +0000)]
Fixed recentf-edit-list and recentf-open-more-files
commands. Require `wid-edit' at run-time.
Added some "Commentary".
(recentf-open-more-files, recentf-edit-list): Minor changes to
move the point at the top of the file list. This behaviour is
consistent with the menu one when the list contains a lot of
files.
(recentf-cleanup): Now displays the number of items removed from
the list.
(recentf-relative-filter) New menu filter to show filenames
relative to `default-directory'.
Gerd Moellmann [Wed, 7 Jun 2000 12:30:22 +0000 (12:30 +0000)]
(displayed_window_lines): New function.
(Fmove_to_window_line): Use displayed_window_lines to determine
the number of lines to move, instead of using the window's height.
Karl Fogel [Tue, 6 Jun 2000 22:41:24 +0000 (22:41 +0000)]
Applied this patch from Eli Zaretskii. Pretty much taking on faith
that it works, because I can't build the 20.6 raw tree...
2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
* bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
Call display-color-p and display-mouse-p instead of looking at
window-system.