summaryrefslogtreecommitdiff
path: root/lisp/vc-dir.el
Commit message (Collapse)AuthorAgeFilesLines
* Move version control related files to the "vc" subdirectory.Juri Linkov2010-06-111-1256/+0
| | | | | | | | | | | | * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el, * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el, * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el, * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el, * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el, * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el, * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el, * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el: Move files to the "vc" subdirectory.
* Add bindings for vc-log-incoming and vc-log-outgoing.Dan Nicolaescu2010-06-031-2/+11
| | | | | | | * lisp/vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming and vc-log-outgoing. * lisp/vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming and vc-log-outgoing.
* * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).Dan Nicolaescu2010-06-011-5/+15
|
* * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)Glenn Morris2010-05-181-1/+2
|
* Gtk tool bars can be text, icons with text or just icons.Jan Djärv2010-04-201-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xsettings.c: Qmonospace_font_name, Qtool_bar_style and current_tool_bar_style are new. (store_config_changed_event): Rename from store_font_changed_event. (XSETTINGS_TOOL_BAR_STYLE): New define. (SEEN_FONT, SEEN_TB_STYLE): New enum values. (struct xsettings): Add font and tb_style, set xft stuff inside #ifdef HAVE_XFT. (something_changedCB): store_font_changed_event is now store_config_changed_event (parse_settings): Rename from parse_xft_settings. Read non-xft xsettings outside #ifdef HAVE_XFT. (read_settings): Renamed from read_xft_settings. (apply_xft_settings): Take current settings as parameter. Do not call read_(xft)_settings. (read_and_apply_settings): New function. (xft_settings_event): Do non-xft stuff out of HAVE_XFT. Call read_and_apply_settings if there are settings to be read. (init_xsettings): Renamed from init_xfd_settings. Call read_and_apply_settings unconditionally. (xsettings_initialize): Call init_xsettings. (Ftool_bar_get_system_style): New function. (syms_of_xsettings): Define Qmonospace_font_name and Qtool_bar_style. Initialize current_tool_bar_style to nil. defsubr Stool_bar_get_system_style. Fprovide on dynamic-setting. * xsettings.h (Ftool_bar_get_system_style): Declare. * xdisp.c: Vtool_bar_style, tool_bar_max_label_size, Qtext, Qboth, Qboth_horiz are new. (syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR Vtool_bar_style, tool_bar_max_label_size. * lisp.h: Extern declare Qtext, Qboth, Qboth_horiz. * keyboard.c: QClabel is new. (parse_tool_bar_item): Take out QClabel from tool bar items. Try to construct a label if ther is no QClabel. (syms_of_keyboard): Intern :label as QClabel. * dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new. (Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE): New. * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to dynamic-setting.el. * gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item. (xg_make_tool_item, xg_show_toolbar_item): New function. (update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL. Call xg_make_tool_item to make a tool bar item. Call xg_show_toolbar_item. Use wtoolbar instead of x->toolbar_widget. * xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin into account for toolbars. * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items. * tool-bar.el (tool-bar-setup): Add :label on some tool bar items. * loadup.el: Load dynamic-setting.el if feature dynamic-setting is present. * info.el (info-tool-bar-map): Add labels. * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size. * cus-edit.el (custom-commands): Add labels for tool bar. (custom-buffer-create-internal, Custom-mode): Adjust for labels in custom-commands. * dynamic-setting.el: Renamed from font-setting.el.
* (vc-dir-kill-line): New command.Stefan Monnier2010-04-121-0/+8
| | | | (vc-dir-mode-map): Bind it to C-k.
* * vc-dir.el (vc-dir-headers): Abbreviate the working dir.Stefan Monnier2010-03-241-1/+2
|
* Add .dir-locals.el support for file-less buffers.Dan Nicolaescu2010-03-121-0/+1
| | | | | | | | | | | | | | * files.el (hack-local-variables): Split out code to apply local variable settings ... (hack-local-variables-apply): ... here. New function. (hack-dir-local-variables): Use the default directory for when the buffer does not have an associated file. (hack-dir-local-variables-non-file-buffer): New function. * diff-mode.el (diff-mode): * vc-annotate.el (vc-annotate-mode): * vc-dir.el (vc-dir-mode): * log-edit.el (log-edit-mode): * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
* (vc-dir-resynch-file): Update the vc-dir header whenDan Nicolaescu2010-01-171-1/+4
| | | | resyncing a directory.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Fix bug#3224.Juanma Barranquero2010-01-071-2/+4
| | | | | | | * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename to `create-file-buffer' as it expects, not just a buffer name. (vc-dir-mode): Include the buffer name in `list-buffers-directory', to help uniquify.
* (vc-dir): Use the correct markup for showing keymapsDan Nicolaescu2009-12-051-1/+1
| | | | in docstrings.
* Fix typos in comments.Juanma Barranquero2009-10-041-1/+1
|
* * vc-hooks.el (vc-dir-buffers): New var.Stefan Monnier2009-09-291-33/+33
| | | | | | | | | | | | | (vc-state-refresh): New function. (vc-state): Use it. (vc-after-save): Always ask the backend to recompute the new state. Always call vc-dir if necessary, using vc-dir-buffers. * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file): Use vc-dir-buffers. (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook. (vc-dir-prepare-status-buffer, vc-dir-update) (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode): Don't call expand-file-name on default-directory.
* * menu-bar.el (list-buffers-directory): Add docstring.Juanma Barranquero2009-09-251-2/+1
| | | | | | | | | | | | Make automatically buffer-local. * dired.el (dired-mode): * files.el (cd-absolute): * pcvs.el (cvs-temp-buffer): * pcvs-util.el (cvs-get-buffer-create): * shell.el (shell-mode): * vc-dir.el (vc-dir-mode): Don't make `list-buffers-directory' buffer local.
* * vc-dir.el (vc-dir-update): Remove debug helper.Dan Nicolaescu2009-08-271-1/+0
|
* (vc-dir-node-directory, vc-dir-update): Get the parentDan Nicolaescu2009-08-261-6/+12
| | | | directory correctly in case the item is a directory itself.
* * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sureDan Nicolaescu2009-07-241-3/+4
| | | | | | | | the buffer we try to sync is current when calling vc-resynch-buffer. * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does not show up to date files.
* * vc-dir.el (vc-dir): Dox fix.Richard M. Stallman2009-04-101-2/+15
|
* (vc-dir-deduce-fileset): Make the error message more explicit.Dan Nicolaescu2009-03-201-1/+1
|
* (vc-dir-update): Make sure ./ is always first in the listing.Dan Nicolaescu2009-02-251-5/+7
|
* * vc-dir.el (vc-dir-filename-mouse-map): Rename from vc-dir-mouse-map.Dan Nicolaescu2009-02-111-2/+5
| | | | | | | (vc-default-dir-printer): Add a comment about updating this function. * vc-git.el (vc-git-dir-printer): Use vc-dir-filename-mouse-map for the file name.
* (vc-dir-find-file-other-window): Allow mouse events.Nick Roberts2009-02-101-3/+11
| | | | | (vc-dir-mouse-map): New keymap. (vc-default-dir-printer): Use it locally.
* (vc-dir-mode): Fix docstring.Dan Nicolaescu2009-01-311-8/+10
|
* (vc-dir-mouse-map):Dan Nicolaescu2009-01-311-12/+3
| | | | | | (vc-default-dir-printer): (vc-dir-find-file-other-window): Undo previous change, it breaks the behavior of mouse-2.
* (vc-dir-mouse-map): New keymap.Nick Roberts2009-01-311-3/+12
| | | | | (vc-default-dir-printer): Use it locally. (vc-dir-find-file-other-window): Allow mouse events.
* * vc-dir.el (vc-dir-menu-map, vc-dir-at-event, vc-dir-resynch-file):Juanma Barranquero2009-01-291-4/+4
| | | | Fix typos in docstrings.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (vc-dir-at-event): Rename from vc-at-event. ChangeDan Nicolaescu2008-12-181-4/+4
| | | | all callers.
* (vc-at-event): Handle (tool-bar) events. Fix bug#1585.Sam Steingold2008-12-181-5/+6
|
* (vc-dir-headers): Undo previous change.Dan Nicolaescu2008-11-041-2/+5
|
* * vc-cvs.el (vc-cvs-dir-extra-headers): Add tag name to header.Nick Roberts2008-11-041-3/+2
| | | | * vc-dir.el (vc-dir-headers): Order headers as in PCL-CVS.
* * vc.el: Rename VC methods that were missed when vc-status wasDan Nicolaescu2008-10-271-8/+8
| | | | | | | | | | | | | | | | | | | renamed to vc-dir. * vc-svn.el (vc-svn-dir-extra-headers): Rename from vc-svn-status-extra-headers. * vc-hg.el (vc-hg-dir-printer): Rename from vc-hg-status-printer. (vc-hg-dir-extra-header): Rename from vc-hg-status-extra-headers. * vc-git.el (vc-git-dir-printer): Rename from vc-dir-status-printer. (vc-git-dir-extra-headers): Rename from vc-git-status-extra-headers. * vc-dir.el (vc-dir-mode): Use vc-dir-printer instead of vc-dir-status-printer. (vc-dir-headers): Use `dir-extra-headers' instead of `status-extra-headers' (vc-dir-printer): Rename from vc-dir-status-printer. (vc-default-dir-extra-headers): Rename from vc-default-status-extra-headers. * vc-cvs.el (vc-cvs-dir-extra-headers): Rename from vc-cvs-status-extra-headers.
* (vc-dir-mode-map): Add follow-link behavior.Chong Yidong2008-10-251-0/+1
|
* (vc-dir-mode): Don't create the ewoc header here.Dan Nicolaescu2008-10-031-4/+3
| | | | (vc-dir-refresh): Set it here instead. (Bug#1067)
* (vc-dir-marked-only-files-and-states):Dan Nicolaescu2008-08-251-2/+2
| | | | (vc-dir-child-files-and-states): Reverse the list before returning it.
* (vc-dir-prepare-status-buffer): Make sure we use aDan Nicolaescu2008-08-231-1/+1
| | | | directory name.
* (vc-dir-mode): Fix typo.Dan Nicolaescu2008-08-061-1/+1
|
* restore 2008-07-30T14:50:08Z!dann@ics.uci.eduSam Steingold2008-08-011-5/+19
|
* (vc-dir): Call file-truename on the dir argument.Sam Steingold2008-07-301-22/+13
|
* (vc-dir-menu-map, vc-at-event): Fix docstring.Dan Nicolaescu2008-07-301-5/+19
| | | | (vc-dir-mode): Improve docstring.
* (vc-dir-search, vc-dir-isearch)Dan Nicolaescu2008-07-241-2/+22
| | | | | (vc-dir-isearch-regexp): New functions. (vc-dir-mode-map, vc-dir-menu-map): Bind them.
* (vc-dir-search): New function.Dan Nicolaescu2008-07-241-0/+13
| | | | (vc-dir-mode-map, vc-dir-menu-map): Bind it.
* Fixed mismatched parenthesis in vc-dir.el.Bastien Guerry2008-07-221-1/+1
| | | | | | | | | See Sven Joachim message <87fxq2cotk.fsf@gmx.de> on [emacs-devel]. 2008-07-22 Sven Joachim <svenjoac@gmx.de> (tiny change) * vc-dir.el (vc-dir-recompute-file-state): Fix mismatched paenthesis.
* (vc-dir-recompute-file-state): Add workaround for CVS.Dan Nicolaescu2008-07-221-0/+5
|
* (vc-dir-refresh): Only update files.Dan Nicolaescu2008-07-071-2/+4
|
* * vc-dir.el (vc-dir-find-child-files): New function.Dan Nicolaescu2008-07-051-29/+57
| | | | | | | | (vc-dir-resync-directory-files): New function. (vc-dir-recompute-file-state): New function, broken out of ... (vc-dir-resynch-file): ... here. Also deal with directories. * vc-dispatcher.el (vc-resynch-buffers-in-directory): New function. (vc-resynch-buffer): Use it.
* (vc-dir-query-replace-regexp): New function.Dan Nicolaescu2008-07-041-2/+29
| | | | | (vc-dir-tool-bar-map, vc-dir-menu-map): Bind it. (vc-dir-mode-map): Likewise
* (vc-dir-mode): Set list-buffers-function.Dan Nicolaescu2008-07-011-0/+2
|
* (vc-dir): Make backend argument optional and useAndreas Schwab2008-06-291-5/+8
| | | | | | vc-responsible-backend when nil. Interactively pass nil for backend instead of using the backend of what happens to be default-directory at the time of the call.