Stefan Monnier [Fri, 2 May 2008 17:22:04 +0000 (17:22 +0000)]
(minibuffer-with-setup-hook): Allow `fun' expressions rather than only value.
Stefan Monnier [Fri, 2 May 2008 17:20:07 +0000 (17:20 +0000)]
(dired-read-dir-and-switches):
Set minibuffer-completing-file-name and call substitute-in-file-name.
Stefan Monnier [Fri, 2 May 2008 17:02:52 +0000 (17:02 +0000)]
(completion-hilit-commonality): Revert last change:
the leftover code was actually useful.
Chong Yidong [Fri, 2 May 2008 15:58:16 +0000 (15:58 +0000)]
Correct a comment.
Sam Steingold [Fri, 2 May 2008 14:37:39 +0000 (14:37 +0000)]
* 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.
Miles Bader [Fri, 2 May 2008 12:43:30 +0000 (12:43 +0000)]
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1139
Miles Bader [Fri, 2 May 2008 12:12:44 +0000 (12:12 +0000)]
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1137
Juanma Barranquero [Fri, 2 May 2008 09:54:25 +0000 (09:54 +0000)]
*** empty log message ***
Juanma Barranquero [Fri, 2 May 2008 09:48:29 +0000 (09:48 +0000)]
(gmm, gmm-verbose, gmm-lazy, gmm-customize-mode,
gmm-image-load-path-for-library): Fix typos in docstrings.
(gmm-message): Reflow docstring.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:40:19 +0000 (09:40 +0000)]
[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.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:39:31 +0000 (09:39 +0000)]
(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.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:39:23 +0000 (09:39 +0000)]
(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.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:39:12 +0000 (09:39 +0000)]
(Pixmap) [USE_MAC_IMAGE_IO]: New definition for Image I/O.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:39:01 +0000 (09:39 +0000)]
(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.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:38:52 +0000 (09:38 +0000)]
Regenerate.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:38:39 +0000 (09:38 +0000)]
Check availability of AvailabilityMacros.h
if HAVE_CARBON.
YAMAMOTO Mitsuharu [Fri, 2 May 2008 09:38:18 +0000 (09:38 +0000)]
* configure: Regenerate.
Juanma Barranquero [Fri, 2 May 2008 09:37:50 +0000 (09:37 +0000)]
(Moving subtrees): Fix typo.
Juanma Barranquero [Fri, 2 May 2008 09:33:08 +0000 (09:33 +0000)]
*** empty log message ***
Juanma Barranquero [Fri, 2 May 2008 09:19:29 +0000 (09:19 +0000)]
(vc-call, vc-state): Fix typos in docstrings.
(vc-default-state-heuristic): Doc fix.
Juanma Barranquero [Fri, 2 May 2008 08:51:17 +0000 (08:51 +0000)]
(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.
Miles Bader [Fri, 2 May 2008 08:38:57 +0000 (08:38 +0000)]
Add arch tagline
Juanma Barranquero [Fri, 2 May 2008 08:12:59 +0000 (08:12 +0000)]
*** empty log message ***
Eric S. Raymond [Fri, 2 May 2008 07:47:18 +0000 (07:47 +0000)]
More preparation for removing dired.
Eric S. Raymond [Fri, 2 May 2008 07:38:11 +0000 (07:38 +0000)]
Fix some comments to remove references to vc-dired.
Eric S. Raymond [Fri, 2 May 2008 07:20:33 +0000 (07:20 +0000)]
vc-toggle-read-only is no longer a good idea.
Eric S. Raymond [Fri, 2 May 2008 07:12:59 +0000 (07:12 +0000)]
The day wehen vc-toggle-ready-only was a good idea is long gone.
Eric S. Raymond [Fri, 2 May 2008 06:56:59 +0000 (06:56 +0000)]
Name change in preparation for ripping out vc-dired.
Eric S. Raymond [Fri, 2 May 2008 03:52:08 +0000 (03:52 +0000)]
Better error message on missing files.
Dan Nicolaescu [Fri, 2 May 2008 03:48:17 +0000 (03:48 +0000)]
(vc-rcs-state): Fix typos.
Dan Nicolaescu [Fri, 2 May 2008 03:47:14 +0000 (03:47 +0000)]
(vc-register): Change argument order so that the prefix
argument is assigned correctly.
(vc-next-action, vc-dir-register): Update for the above change.
Eric S. Raymond [Fri, 2 May 2008 03:38:16 +0000 (03:38 +0000)]
More informative message when a fileset is in a mixed state.
Eric S. Raymond [Fri, 2 May 2008 03:30:10 +0000 (03:30 +0000)]
Don't commit right after deletion.
Eric S. Raymond [Fri, 2 May 2008 03:23:53 +0000 (03:23 +0000)]
Remove unneeded TODO item in comment.
Juri Linkov [Fri, 2 May 2008 01:04:16 +0000 (01:04 +0000)]
Add the argument DEFAULT of minibuffer input functions to Incompatible Lisp Changes.
Juri Linkov [Fri, 2 May 2008 01:03:38 +0000 (01:03 +0000)]
(Text from Minibuffer): Document a list of default values for `read-from-minibuffer'.
Juri Linkov [Fri, 2 May 2008 01:02:46 +0000 (01:02 +0000)]
(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.
Juri Linkov [Thu, 1 May 2008 23:56:52 +0000 (23:56 +0000)]
(compilation-auto-jump): Set window point to `pos' explicitly.
Juri Linkov [Thu, 1 May 2008 23:55:44 +0000 (23:55 +0000)]
(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.
Chong Yidong [Thu, 1 May 2008 22:53:09 +0000 (22:53 +0000)]
(BASE_PURESIZE): Increase to
1210000.
Chong Yidong [Thu, 1 May 2008 22:53:02 +0000 (22:53 +0000)]
* puresize.h (BASE_PURESIZE): Increase to
1210000.
Eric S. Raymond [Thu, 1 May 2008 19:28:56 +0000 (19:28 +0000)]
Remove some XXX comments no longer needed.
Eric S. Raymond [Thu, 1 May 2008 19:13:16 +0000 (19:13 +0000)]
Change 'needs-patch to 'needs-update.
Sam Steingold [Thu, 1 May 2008 17:46:27 +0000 (17:46 +0000)]
(vc-delete-file): Check if the file has uncommitted changed.
Eric S. Raymond [Thu, 1 May 2008 16:40:14 +0000 (16:40 +0000)]
Comment cleanup (no code change).
Eric S. Raymond [Thu, 1 May 2008 16:05:04 +0000 (16:05 +0000)]
Add items to TODO list.
Stefan Monnier [Thu, 1 May 2008 15:18:52 +0000 (15:18 +0000)]
Revert incorrect fix for claimed bootstrap breakage.
Martin Rudalics [Thu, 1 May 2008 10:17:47 +0000 (10:17 +0000)]
(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.
Martin Rudalics [Thu, 1 May 2008 10:14:44 +0000 (10:14 +0000)]
(struct window): Replace field too_small_ok by field
resize_proportionally.
Martin Rudalics [Thu, 1 May 2008 10:12:50 +0000 (10:12 +0000)]
(change_frame_size_1): Preserve small windows when shrinking
frames by calling set_window_height|width with third arg 2.
Nick Roberts [Thu, 1 May 2008 08:43:56 +0000 (08:43 +0000)]
(gdb-info-breakpoints-custom): Don't throw error if no file is found.
Nick Roberts [Thu, 1 May 2008 08:39:23 +0000 (08:39 +0000)]
*** empty log message ***
Daiki Ueno [Thu, 1 May 2008 07:17:08 +0000 (07:17 +0000)]
* 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.
Dan Nicolaescu [Thu, 1 May 2008 06:35:09 +0000 (06:35 +0000)]
(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.
Dan Nicolaescu [Thu, 1 May 2008 06:33:24 +0000 (06:33 +0000)]
(vc-dir-mode-map): Don't bind "r".
John Paul Wallington [Thu, 1 May 2008 01:25:24 +0000 (01:25 +0000)]
*** empty log message ***
John Paul Wallington [Thu, 1 May 2008 01:19:26 +0000 (01:19 +0000)]
(define-ibuffer-sorter): Define the sorter to reverse sorting order if
last sorting mode was the sorter's.
John Paul Wallington [Thu, 1 May 2008 01:17:35 +0000 (01:17 +0000)]
(ibuffer-last-sorting-mode): New variable.
(ibuffer-do-sort-by-recency): Reverse sorting order if last sorting
mode was recency.
Jason Rumney [Thu, 1 May 2008 00:53:35 +0000 (00:53 +0000)]
(w32-charset-info-alist): Map vietnamese to windows-1258.
John Paul Wallington [Thu, 1 May 2008 00:08:38 +0000 (00:08 +0000)]
(define-ibuffer-filter filename): When the major mode is `vc-dir-mode'
use the buffer's default directory as filename.
John Paul Wallington [Wed, 30 Apr 2008 23:55:05 +0000 (23:55 +0000)]
(define-ibuffer-column filename): When the major mode is `vc-dir-mode'
show the buffer's default directory.
Sam Steingold [Wed, 30 Apr 2008 19:03:54 +0000 (19:03 +0000)]
(vc-dir-mode-map): Bind "r" to vc-dir-delete-file, like in PCL-CVS.
Sam Steingold [Wed, 30 Apr 2008 16:58:15 +0000 (16:58 +0000)]
(vc-dir-mode-map): Bind "d" to vc-dir-delete-file.
(vc-dir-delete-file): Add.
(vc-delete-file): Do not barf when the file has been already deleted.
Dan Nicolaescu [Wed, 30 Apr 2008 16:10:58 +0000 (16:10 +0000)]
*** empty log message ***
Dan Nicolaescu [Wed, 30 Apr 2008 16:10:05 +0000 (16:10 +0000)]
(lisp-mode-map): Add menu.
Stefan Monnier [Wed, 30 Apr 2008 08:48:02 +0000 (08:48 +0000)]
* progmodes/octave-mod.el (octave-help): New function.
* progmodes/octave-hlp.el: Delete.
* info-look.el (octave-mode): Add operator index.
Stefan Monnier [Wed, 30 Apr 2008 08:13:09 +0000 (08:13 +0000)]
(vc-checkout): Typo.
Stefan Monnier [Wed, 30 Apr 2008 08:12:20 +0000 (08:12 +0000)]
(compilation-error-regexp-alist-alist) <gnu>:
Rule out trailing spaces in file and directory names as well.
Stefan Monnier [Wed, 30 Apr 2008 07:16:08 +0000 (07:16 +0000)]
(file_name_completion): Fix up the encoding/decoding issue
some more. Copy some of the code from Ftry_completions.
Remove special case code that dates back to initial revision when the
slash was only added when necessary and that can't trigger nowadays.
Dan Nicolaescu [Wed, 30 Apr 2008 05:50:02 +0000 (05:50 +0000)]
Reorder, place things related to version control together.
Dan Nicolaescu [Wed, 30 Apr 2008 05:48:32 +0000 (05:48 +0000)]
(menu-bar-tools-menu): Reorder, place Games last.
Add "..." in the appropriate places.
Dan Nicolaescu [Wed, 30 Apr 2008 05:44:17 +0000 (05:44 +0000)]
(epa-key-list-mode-map): Add more menu entries.
Add ... in the appropriate places.
Dan Nicolaescu [Wed, 30 Apr 2008 05:41:52 +0000 (05:41 +0000)]
(dired-mode-map): Add :help.
Dan Nicolaescu [Wed, 30 Apr 2008 05:40:25 +0000 (05:40 +0000)]
(vc-deduce-fileset): Add new parameter.
(vc-dir-marked-only-files): New function.
(vc-next-action): Don't ignore directories, look at the files
inside them.
(vc-dir-mode): Document how the mark/unmark commands work.
Stefan Monnier [Wed, 30 Apr 2008 04:48:27 +0000 (04:48 +0000)]
(completion-pcm-try-completion): Typo.
Stefan Monnier [Wed, 30 Apr 2008 03:41:39 +0000 (03:41 +0000)]
(completion--do-completion): Move point even if the completion makes no change.
(completion-pcm-try-completion): Fix computation of new point.
Stefan Monnier [Wed, 30 Apr 2008 03:40:37 +0000 (03:40 +0000)]
Require 'cl.
Kenichi Handa [Wed, 30 Apr 2008 02:39:04 +0000 (02:39 +0000)]
*** empty log message ***
Nick Roberts [Wed, 30 Apr 2008 02:27:52 +0000 (02:27 +0000)]
(gdb-frame-handler-1): Make overlay arrow
hollow if not in innermost frame.
Nick Roberts [Wed, 30 Apr 2008 02:24:56 +0000 (02:24 +0000)]
*** empty log message ***
Stefan Monnier [Tue, 29 Apr 2008 15:32:56 +0000 (15:32 +0000)]
Make `checkout-model' apply to filesets.
* vc-hooks.el (vc-checkout-model): Rewrite.
(vc-before-save, vc-after-save): Adjust callers accordingly.
* vc.el (vc-editable-p, vc-next-action, vc-checkout, vc-update)
(vc-transfer-file): Adjust callers accordingly.
* vc-rcs.el (vc-rcs-checkout-model): Adjust arg.
(vc-rcs-state, vc-rcs-state-heuristic, vc-rcs-receive-file)
(vc-rcs-checkout, vc-rcs-fetch-master-state): Use vc-rcs-checkout-model
instead of vc-checkout-model.
* vc-mcvs.el (vc-mcvs-revert):
Use vc-mcvs-checkout-model i.s.o vc-checkout-model.
* vc-cvs.el (vc-cvs-checkout-model): Adjust arg.
(vc-cvs-revert): Use vc-cvs-checkout-model i.s.o vc-checkout-model.
* vc-svn.el (vc-svn-checkout-model):
* vc-hg.el (vc-hg-checkout-model):
* vc-git.el (vc-git-checkout-model):
* vc-bzr.el (vc-bzr-checkout-model): Adjust arg.
Stefan Monnier [Tue, 29 Apr 2008 14:48:57 +0000 (14:48 +0000)]
(dired-read-dir-and-switches): Replace last change with
a new approach that mixes read-file-name and read-directory-name.
Stefan Monnier [Tue, 29 Apr 2008 14:47:45 +0000 (14:47 +0000)]
(read-buffer-to-switch): Avoid making assumptions about `other-buffer'.
Sam Steingold [Tue, 29 Apr 2008 13:42:15 +0000 (13:42 +0000)]
(vc-dir-mode-hook): Add normal hook.
(vc-dir-mode): Run it.
Nick Roberts [Tue, 29 Apr 2008 11:03:40 +0000 (11:03 +0000)]
(gud-speedbar-buttons): Raise frame in gdb-speedbar-timer-fn.
Nick Roberts [Tue, 29 Apr 2008 11:02:22 +0000 (11:02 +0000)]
(gdb-display-buffer): Don't pop up GUD buffer.
Always split windows.
(gdb-speedbar-timer-fn): Only raise frame after user input.
(gdb-same-frame): Reverse initial value.
(gdb-display-gdb-buffer): Check for GUD buffer in other frames.
Nick Roberts [Tue, 29 Apr 2008 11:00:31 +0000 (11:00 +0000)]
*** empty log message ***
Agustín Martín [Tue, 29 Apr 2008 10:55:35 +0000 (10:55 +0000)]
(flyspell-mode-on): Remove redundant (flyspell-mode-hook) run.
(flyspell-mode): Fix docstring in definition.
Stefan Monnier [Tue, 29 Apr 2008 07:11:36 +0000 (07:11 +0000)]
(uniquify-rationalize-a-list): Beware of side-effects.
Glenn Morris [Tue, 29 Apr 2008 07:10:55 +0000 (07:10 +0000)]
Daiki Ueno <ueno at unixuser.org>
(epa-key-list-mode-map): Add menu.
(epa-delete-keys, epa-import-keys): Fix typo.
Glenn Morris [Tue, 29 Apr 2008 07:05:39 +0000 (07:05 +0000)]
(top-level): Does not need cl when compiling.
Add arch-tag and footer.
Glenn Morris [Tue, 29 Apr 2008 07:01:01 +0000 (07:01 +0000)]
Another new file, another license notice to update.
Glenn Morris [Tue, 29 Apr 2008 06:59:58 +0000 (06:59 +0000)]
Fix typo in previous.
Stefan Monnier [Tue, 29 Apr 2008 06:09:32 +0000 (06:09 +0000)]
New file.
Stefan Monnier [Tue, 29 Apr 2008 06:00:21 +0000 (06:00 +0000)]
(completion-hilit-commonality): Remove leftover code.
(completion-pcm--pattern->regex): Let `group' be a list of symbols.
(completion-pcm--hilit-commonality): New function.
(completion-pcm-all-completions): Use it.
Stefan Monnier [Tue, 29 Apr 2008 05:36:55 +0000 (05:36 +0000)]
* minibuffer.el (completion-common-substring): Mark obsolete.
(completions-first-difference, completions-common-part): Move from simple.el.
(completion-hilit-commonality): New fun.
(display-completion-list, completion-emacs21-all-completions)
(completion-emacs22-all-completions): Use it.
* simple.el (completions-first-difference, completions-common-part):
Move to minibuffer.el.
(choose-completion-string): Use field functions and minibufferp.
(completion-setup-function): Don't set completions faces.
Glenn Morris [Tue, 29 Apr 2008 03:42:15 +0000 (03:42 +0000)]
Fix comment typo.
Glenn Morris [Tue, 29 Apr 2008 03:40:45 +0000 (03:40 +0000)]
(Sexp Diary Entries): Clarify diary-float.
Glenn Morris [Tue, 29 Apr 2008 03:40:00 +0000 (03:40 +0000)]
(check-declare-errmsg): Fix counting in the `full' case.
Glenn Morris [Tue, 29 Apr 2008 03:38:22 +0000 (03:38 +0000)]
(calendar-iso-from-absolute): Fix declaration.