Lars Hansen [Sat, 5 Jun 2004 17:55:05 +0000 (17:55 +0000)]
(variable dired-omit-mode): Rename from dired-omit-files-p.
(function dired-omit-mode): Rename from dired-omit-toggle.
Call dired-omit-mode rather than set dired-omit-files-p.
(dired-mark-omitted): Describe command.
Lars Hansen [Sat, 5 Jun 2004 17:53:03 +0000 (17:53 +0000)]
(dired-omit-mode): Rename from dired-omit-files-p. Use define-minor-mode to define it.
(dired-omit-files-p): Add as alias for dired-omit-mode.
(dired-omit-toggle): Delete. Replaced by dired-omit-mode and dired-mark-omitted.
(dired-mark-omitted): Add. Bind to M-O.
(Minibuffer Completion): For INITIAL arg,
refer the user to the Initial Input node.
(Text from Minibuffer): Likewise.
(Initial Input): New node. Document this feature
and say it is mostly deprecated.
(tty_supports_face_attributes_p): Ensure attributes differ from default
This implements the property of `display-supports-face-attributes-p'
which says that the specified attributes must be distinguishable from
those of the default face.
Eli Zaretskii [Fri, 4 Jun 2004 16:05:56 +0000 (16:05 +0000)]
(battery-linux-proc-acpi): mA was hardcored, but some
systems appear to use mW, make the code handle this. Fix a
division-by-zero bug while at it, and handle kernels with
a slightly different layout in /proc/acpi.
Eli Zaretskii [Fri, 4 Jun 2004 15:56:53 +0000 (15:56 +0000)]
(x_supports_face_attributes_p): Make this function
conditional on HAVE_WINDOW_SYSTEM.
(Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: Don't
call x_supports_face_attributes_p if it was not compiled in.
Move `display-supports-face-attributes-p' entirely into C code
Previously only the tty-related portion of display-supports-face-attributes-p
was done in C. This just moves the graphical-display related bits into C
too, which allows us to implement them properly (the previous attempt to do a
halfway-proper job in lisp didn't work because of funny conditions during
emacs startup).
Karl Fogel [Fri, 4 Jun 2004 04:37:10 +0000 (04:37 +0000)]
2004-06-03 Karl Fogel <kfogel@red-bean.com>
* vc-svn.el (vc-svn-checkin): Use 'nconc' instead of 'list*',
because the latter is a CL-ism. This fixes the bug reported by
Shawn Boyette <mdxi@collapsar.net> in
http://lists.gnu.org/archive/html/emacs-devel/2004-05/msg00442.html.
David Kastrup [Thu, 3 Jun 2004 19:53:53 +0000 (19:53 +0000)]
(woman-mapcan): More concise code.
(woman-topic-all-completions, woman-topic-all-completions-1)
(woman-topic-all-completions-merge): Replace by a simpler and
much faster implementation based on O(n log n) sort/merge instead
of the old O(n^2) behavior.
(Fx_display_grayscale_p, Fw32_send_sys_command, Vw32_color_map):
Fix typo in docstring.
(Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip)
(Fw32_unregister_hot_key, Fw32_reconstruct_hot_key):
Make argument names match their use in docstring.
* ibuf-ext.el (ibuffer-jump-to-buffer): Add support for filter
groups: if the user asks for a hidden buffer, open the
corresponding filter group to expose it.
* ibuffer.el (ibuffer-mode-map): Add key binding `M-g' to
`ibuffer-jump-to-buffer'.
(ibuffer-jump-offer-only-visible-buffers): New user option.
Stefan Monnier [Wed, 2 Jun 2004 00:02:18 +0000 (00:02 +0000)]
(comint-replace-by-expanded-history-before-point):
Obey `start' as the docstring says.
(comint-send-input, comint-snapshot-last-prompt, comint-output-filter)
(comint-update-fence): Prevent font-lock from running unnecessarily.
(comint-dynamic-list-completions): Use with-current-buffer.
Nick Roberts [Sun, 30 May 2004 00:09:37 +0000 (00:09 +0000)]
(gdb-current-frame, gud-watch)
(gdb-locals-mode, gdb-frame-handler): Display current frame in the
modeline of the locals buffer.
(gdb-goto-breakpoint): Handle gdbmi.
(gdb-get-frame-number): Change for gdbmi.
Michael Albinus [Sat, 29 May 2004 22:43:24 +0000 (22:43 +0000)]
(ange-ftp-file-remote-p): New defun.
(top): Remove setting of `file-remote-p' property for
`ange-ftp-hook-function'. Add `ange-ftp' property to
`file-remote-p'.
Michael Albinus [Sat, 29 May 2004 22:42:06 +0000 (22:42 +0000)]
(file-remote-p): Apply file name handler for operation
`file-remote-p'. It isn' a property any longer.
(file-relative-name): `fh' and `fd' get the required value via
`find-file-name-handler' already.
Don't include cl. Don't bother with old Emacs versions.
(thumbs-subst-char-in-string): Deleted.
(thumbs-thumbname): Use subst-char-in-string.
(thumbs-resize-image): Use condition-case, not ignore-errors.
(thumbs-kill-buffer): Likewise.
(thumbs-mode): Make buffer read-only.
(thumbs-make-thumb): Unconditionally accept an existing file.
(thumbs-insert-thumb): Add thumb-image-file property to the image.
(thumbs-do-thumbs-insertion): Be smarter about where to put newlines.
(thumbs-show-thumbs-list): Error if images not supported.
(thumbs-save-current-image): Improve prompt string.
(thumbs-mode-map): Define u, R, x.
(thumbs-unmark): New command.
(thumbs-emboss-image): Minor cleanup.
(thumbs-forward-char, thumbs-backward-char): Skip chars with no image.
(thumbs-rename-images): New command.
(thumbs-show-image-num): Rewrite. Don't rename the buffer.
(thumbs-current-image): New function.
(thumbs-file-list, thumbs-file-alist): New functions.
(thumbs-find-image): Delete arg L.
Don't set up thumbs-fileL as buffer-local global var.
(thumbs-find-image-at-point): Use thumbs-current-image.
(thumbs-set-image-at-point-to-root-window): Likewise.
(thumbs-delete-images): Use thumbs-current-image, thumbs-file-alist.
Record and warn about errors. Update thumbs-markedL for deletions.
(thumbs-next-image, thumbs-previous-image): Use thumbs-file-alist.
(thumbs-redraw-buffer): Use thumbs-file-list.
(thumbs-mark): Use thumbs-current-image.
(thumbs-show-name): Use thumbs-current-image.
(thumbs-show-name): Do nothing if no image at point.
(thumbs-mouse-find-image): New command.
(thumbs-mode-map): Bind it to mouse-2.
(thumbs-mode): Make mode-class special.
(thumbs-view-image-mode): Likewise.