1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00
Commit Graph

82873 Commits

Author SHA1 Message Date
Sam Steingold
5ad4f91cb2 * vc.el (vc-dir-mode-map): Enable mouse bindings.
(vc-at-event): New macro: run the body at the even location.
(vc-dir-menu, vc-dir-toggle-mark): Use it.
(vc-dir-mark-file, vc-dir-unmark-file): Move only on non-mouse events.
* subr.d (mouse-event-p): Check if the even is mouse-related.
2008-05-02 14:37:39 +00:00
Miles Bader
bfab7c6ec7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1139
2008-05-02 12:43:30 +00:00
Miles Bader
3a23a51959 Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1137
2008-05-02 12:12:44 +00:00
Juanma Barranquero
38ac8b9192 *** empty log message *** 2008-05-02 09:54:25 +00:00
Juanma Barranquero
bed8ad4094 (gmm, gmm-verbose, gmm-lazy, gmm-customize-mode,
gmm-image-load-path-for-library): Fix typos in docstrings.
(gmm-message): Reflow docstring.
2008-05-02 09:48:29 +00:00
YAMAMOTO Mitsuharu
50eff40ff1 [HAVE_CARBON && HAVE_AVAILABILITYMACROS_H]:
Include AvailabilityMacros.h.
(USE_MAC_IMAGE_IO, LIBS_IMAGE) [HAVE_CARBON]: New defines.
(LIBS_CARBON) [HAVE_CARBON]: Use LIBS_IMAGE.
2008-05-02 09:40:19 +00:00
YAMAMOTO Mitsuharu
afc09abd4d (ARGB_TO_ULONG, ALPHA_FROM_ULONG): New macros.
(RED_FROM_ULONG): Mask off higher bits.
(mac_cg_color_space_rgb) [USE_MAC_IMAGE_IO]: New extern.
2008-05-02 09:39:31 +00:00
YAMAMOTO Mitsuharu
b03daa516d (mac_cg_color_space_rgb) [USE_CG_DRAWING]:
Make variable non-static.
(XDrawLine, XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap)
[USE_MAC_IMAGE_IO]: Add implementations for Image I/O support.
2008-05-02 09:39:23 +00:00
YAMAMOTO Mitsuharu
f5d13fd80a (Pixmap) [USE_MAC_IMAGE_IO]: New definition for Image I/O. 2008-05-02 09:39:12 +00:00
YAMAMOTO Mitsuharu
2ff0845e68 (PIX_MASK_DRAW, PIX_MASK_RETAIN) [USE_MAC_IMAGE_IO]:
New definitions for Image I/O support.
(XGetImage, XPutPixel, XGetPixel, XDestroyImage)
(mac_create_cg_image_from_image, x_create_x_image_and_pixmap)
[USE_MAC_IMAGE_IO]: Add implementations for Image I/O support.
(mac_data_provider_release_data, image_load_image_io)
[USE_MAC_IMAGE_IO]: New functions.
(CGImageCreateWithPNGDataProviderProcType) [MAC_OSX]: Remove typedef.
(MyCGImageCreateWithPNGDataProvider) [MAC_OSX]: Remove variable.
(init_image_func_pointer) [MAC_OSX]: Remove function.
(image_load_quartz2d) [MAC_OSX]: Check availability of
CGImageCreateWithPNGDataProvider at compile time.
Use lowercase `false' for boolean constant.
(png_load, jpeg_load, tiff_load, gif_load) [USE_MAC_IMAGE_IO]:
Use image_load_image_io.
(png_load) [!USE_MAC_IMAGE_IO && MAC_OSX]:
Don't check MyCGImageCreateWithPNGDataProvider.
(init_image) [MAC_OSX && TARGET_API_MAC_CARBON]:
Don't call init_image_func_pointer.
2008-05-02 09:39:01 +00:00
YAMAMOTO Mitsuharu
61540c1eb6 Regenerate. 2008-05-02 09:38:52 +00:00
YAMAMOTO Mitsuharu
fac4a32b7f Check availability of AvailabilityMacros.h
if HAVE_CARBON.
2008-05-02 09:38:39 +00:00
YAMAMOTO Mitsuharu
dbdbca0954 * configure: Regenerate. 2008-05-02 09:38:18 +00:00
Juanma Barranquero
0a29fbf3ee (Moving subtrees): Fix typo. 2008-05-02 09:37:50 +00:00
Juanma Barranquero
83bd460a6d *** empty log message *** 2008-05-02 09:33:08 +00:00
Juanma Barranquero
d4e772c4c2 (vc-call, vc-state): Fix typos in docstrings.
(vc-default-state-heuristic): Doc fix.
2008-05-02 09:19:29 +00:00
Juanma Barranquero
7ebafc09f9 (highlight-changes-mode): Removed references to hooks that no longer exist.
Because define-minor-mode is used the hook highlight-changes-mode-hook exists
and can do what both the old hooks used to do.  The documentation at the top
of the file was updated to demonstrate this.
(highlight-changes-mode): Remove commented out call to a hook function that
is no longer there.
(hilit-chg-set): Remove running of highlight-changes-enable-hook.
2008-05-02 08:51:17 +00:00
Miles Bader
6208735524 Add arch tagline 2008-05-02 08:38:57 +00:00
Juanma Barranquero
17f6a459d5 *** empty log message *** 2008-05-02 08:12:59 +00:00
Eric S. Raymond
6cdc3bc9f1 More preparation for removing dired. 2008-05-02 07:47:18 +00:00
Eric S. Raymond
caf37b1f19 Fix some comments to remove references to vc-dired. 2008-05-02 07:38:11 +00:00
Eric S. Raymond
a31b405e93 vc-toggle-read-only is no longer a good idea. 2008-05-02 07:20:33 +00:00
Eric S. Raymond
25e94278c3 The day wehen vc-toggle-ready-only was a good idea is long gone. 2008-05-02 07:12:59 +00:00
Eric S. Raymond
0a29940833 Name change in preparation for ripping out vc-dired. 2008-05-02 06:56:59 +00:00
Eric S. Raymond
3c73c30e89 Better error message on missing files. 2008-05-02 03:52:08 +00:00
Dan Nicolaescu
15ef1eaebb (vc-rcs-state): Fix typos. 2008-05-02 03:48:17 +00:00
Dan Nicolaescu
80296236a0 (vc-register): Change argument order so that the prefix
argument is assigned correctly.
(vc-next-action, vc-dir-register): Update for the above change.
2008-05-02 03:47:14 +00:00
Eric S. Raymond
a094fe434f More informative message when a fileset is in a mixed state. 2008-05-02 03:38:16 +00:00
Eric S. Raymond
105cac2d47 Don't commit right after deletion. 2008-05-02 03:30:10 +00:00
Eric S. Raymond
cd49dc20d3 Remove unneeded TODO item in comment. 2008-05-02 03:23:53 +00:00
Juri Linkov
a9b0825479 Add the argument DEFAULT of minibuffer input functions to Incompatible Lisp Changes. 2008-05-02 01:04:16 +00:00
Juri Linkov
63b4387f0d (Text from Minibuffer): Document a list of default values for `read-from-minibuffer'. 2008-05-02 01:03:38 +00:00
Juri Linkov
2e3148e277 (Fread_from_minibuffer, Fread_string, Fread_command)
(Fread_variable, Fread_buffer, Fcompleting_read): Document
the DEFAULT argument as a list of default values in docstrings.
2008-05-02 01:02:46 +00:00
Juri Linkov
93c0985f4c (compilation-auto-jump): Set window point to `pos' explicitly. 2008-05-01 23:56:52 +00:00
Juri Linkov
360289a661 (occur-read-primary-args): Set default to the car of
regexp-history and display it in the prompt, but don't add to the
list of minibuffer defaults.  Bind history-add-new-input to nil to
not add automatically `default'.  For empty input return `default'.
Otherwise, add `input' to regexp-history and return it.
(occur-1): Signal an error for the empty regexp.
2008-05-01 23:55:44 +00:00
Chong Yidong
dffd9d9ad6 (BASE_PURESIZE): Increase to 1210000. 2008-05-01 22:53:09 +00:00
Chong Yidong
923fb88c8f * puresize.h (BASE_PURESIZE): Increase to 1210000. 2008-05-01 22:53:02 +00:00
Eric S. Raymond
5a9de6d018 Remove some XXX comments no longer needed. 2008-05-01 19:28:56 +00:00
Eric S. Raymond
3702367bce Change 'needs-patch to 'needs-update. 2008-05-01 19:13:16 +00:00
Sam Steingold
a84615c77a (vc-delete-file): Check if the file has uncommitted changed. 2008-05-01 17:46:27 +00:00
Eric S. Raymond
1cb119fdbf Comment cleanup (no code change). 2008-05-01 16:40:14 +00:00
Eric S. Raymond
18a083fd78 Add items to TODO list. 2008-05-01 16:05:04 +00:00
Stefan Monnier
581c438cff Revert incorrect fix for claimed bootstrap breakage. 2008-05-01 15:18:52 +00:00
Martin Rudalics
047aaeb9fd (make_window): Initialize resize_proportionally.
(enlarge_window): Temporarily set resize_proportionally to make
sure that shrink_windows does scale the window proportionally.
(shrink_windows): When window has resize_proportionally set try
to shrink it proportionally by stealing from other windows.
(struct saved_window, Fset_window_configuration)
(compare_window_configurations): Handle resize_proportionally.
(WINDOW_TOTAL_SIZE): New macro.
(window_min_size, shrink_windows, size_window): Use it.
(check_min_window_sizes): Removed.  Invalid values of
window-min-height|width are handled by window_min_size_2 now.
(size_window, Fsplit_window, enlarge_window)
(adjust_window_trailing_edge, grow_mini_window): Don't call
check_min_window_sizes.
(window_min_size_2, window_min_size_1, window_min_size): New
argument safe_p for retrieving "safe" minimum sizes.
(Fdisplay_buffer, Fsplit_window, enlarge_window):
(adjust_window_trailing_edge, grow_mini_window): Adjust
arguments of window_min_size... functions.
(shrink_windows): Argument min_size removed.  New argument
safe_p allows shrinking windows to their safe minimum sizes.
Calculate minimum size and decide whether a window shall be
deleted for each window individually.
(size_window): When nodelete_p equals 2, tell shrink_windows to
delete windows only if their new minimum size is no more safe.
(shrink_window_lowest_first): Call window_min_size_1 to make
sure to preserve modeline of bottom-most window when resizing
the minibuffer.
(Fset_window_configuration, Fcurrent_window_configuration)
(compare_window_configurations): Do not handle
window-min-height|width any more.
(syms_of_window): Clarify window-min-height|width doc-strings.
2008-05-01 10:17:47 +00:00
Martin Rudalics
92f774f36e (struct window): Replace field too_small_ok by field
resize_proportionally.
2008-05-01 10:14:44 +00:00
Martin Rudalics
f8748f0fa0 (change_frame_size_1): Preserve small windows when shrinking
frames by calling set_window_height|width with third arg 2.
2008-05-01 10:12:50 +00:00
Nick Roberts
d5ec6bc04f (gdb-info-breakpoints-custom): Don't throw error if no file is found. 2008-05-01 08:43:56 +00:00
Nick Roberts
29e97c1ade *** empty log message *** 2008-05-01 08:39:23 +00:00
Daiki Ueno
6f8a419044 * epa-file-hook.el: New file split from epa-file.el.
* epa-file.el: Require 'epa-file-hook.
(epa-file-handler): Add autoload cookie.
* loadup.el: Load epa-file-hook.
* startup.el (command-line): Eval the body of auto-encryption-mode.
2008-05-01 07:17:08 +00:00
Dan Nicolaescu
7db924c06a (vc-hg-extra-fileinfo): New defstruct.
(vc-hg-status-printer): New function.
(vc-hg-after-dir-status): Deal with copied and renamed files.
(vc-hg-dir-status): Add flag to show copied files.
2008-05-01 06:35:09 +00:00