1. 19 Dec, 2011 1 commit
    • Chong Yidong's avatar
      Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files. · a6198c90
      Chong Yidong authored
      * lisp/vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
      Don't signal an error in a predicate function; return non-nil.
      (vc-dir-mark-file): Move the error here.
      (vc-dir-mark-unmark): If acting on the region, keep going if one
      of the entries cannot be marked/unmarked.
      (vc-dir-mark-all-files): If current entry is a directory, mark
      only child files, as documented.
      a6198c90
  2. 20 Nov, 2011 1 commit
  3. 02 Nov, 2011 1 commit
  4. 18 Sep, 2011 1 commit
    • Juri Linkov's avatar
      Capitalize non-function content words in menu item strings. · 7cc6e154
      Juri Linkov authored
      * lisp/buff-menu.el (Buffer-menu-mode-map):
      * lisp/dired.el (dired-mode-map):
      * lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
      (lisp-interaction-mode-map):
      * lisp/emacs-lisp/package.el (package-menu-mode-map):
      * lisp/epa.el (epa-key-list-mode-map):
      * lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu)
      (menu-bar-options-menu):
      * lisp/outline.el (outline-mode-menu-bar-map):
      * lisp/vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
      * lisp/vc/vc-dir.el (vc-dir-menu-map):
      * lisp/vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
      Capitalize non-function content words in menu item strings.
      
      * lisp/dired.el (dired-mode-map): Add menu item for
      `image-dired-dired-toggle-marked-thumbs'.
      7cc6e154
  5. 22 May, 2011 1 commit
  6. 15 Mar, 2011 1 commit
    • Stefan Monnier's avatar
      Fix misuse of quote in `case'. · 0adf5618
      Stefan Monnier authored
      * lisp/progmodes/ruby-mode.el (ruby-backward-sexp):
      * lisp/progmodes/ebrowse.el (ebrowse-draw-file-member-info):
      * lisp/play/gamegrid.el (gamegrid-make-face):
      * lisp/play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
      (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
      * lisp/notifications.el (notifications-notify):
      * lisp/net/xesam.el (xesam-search-engines):
      * lisp/net/quickurl.el (quickurl-list-insert):
      * lisp/vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
      * lisp/gnus/auth-source.el (auth-source-netrc-create):
      * lisp/gnus/message.el (message-yank-original): Fix use of `case'.
      * lisp/org/org-src.el (org-src-switch-to-buffer):
      * lisp/org/org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
      * lisp/org/org-mouse.el (org-mouse-agenda-type):
      * lisp/org/org-freemind.el (org-freemind-node-to-org):
      * lisp/org/ob-sql.el (org-babel-execute:sql):
      * lisp/org/ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
      * lisp/org/ob-ref.el (org-babel-ref-resolve): Fix use of case.
      0adf5618
  7. 05 Mar, 2011 1 commit
    • Antoine Levitt's avatar
      Replace many instances of read-file-name with read-directory-name. · 7e27ce9c
      Antoine Levitt authored
      * lisp/files.el (delete-directory, copy-directory, list-directory): Use
      read-directory-name.
      
      * lisp/find-file.el (ff-find-the-other-file):
      * lisp/net/ange-ftp.el (ange-ftp-make-directory):
      * lisp/printing.el (pr-interactive-dir):
      * lisp/progmodes/ada-prj.el (ada-prj-load-directory):
      * lisp/progmodes/ebnf2ps.el (ebnf-print-directory)
      (ebnf-spool-directory, ebnf-eps-directory)
      (ebnf-syntax-directory):
      * lisp/shell.el (shell):
      * lisp/speedbar.el (speedbar-create-directory):
      * lisp/vc/emerge.el (emerge-merge-directories):
      * lisp/vc/vc-dir.el (vc-dir):
      * lisp/vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
      
      * lisp/gnus.el (gnus-interactive): Use read-directory-name.
      
      * lisp/gnus-uu.el (gnus-uu-decode-uu-and-save)
      (gnus-uu-decode-unshar-and-save, gnus-uu-decode-save)
      (gnus-uu-decode-binhex, gnus-uu-decode-yenc)
      (gnus-uu-decode-save-view, gnus-uu-decode-postscript-and-save):
      Likewise.
      
      * lisp/mh-funcs.el (mh-store-msg, mh-store-buffer):
      * lisp/mh-mime.el (mh-mime-save-parts): Use read-directory-name.
      
      * lisp/dired.el: Clarify comment.
      7e27ce9c
  8. 03 Mar, 2011 1 commit
  9. 10 Feb, 2011 1 commit
  10. 26 Jan, 2011 1 commit
  11. 25 Jan, 2011 1 commit
  12. 15 Jan, 2011 1 commit
  13. 09 Jan, 2011 1 commit
    • Chong Yidong's avatar
      Tweaks to tool-bar for default, VC-dir, Compile, and Info. · 900503ae
      Chong Yidong authored
      * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
      from Search and add a label to Undo.
      
      * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
      inappropriate buttons and adding :vert-only tags.
      
      * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
      removal of Help tool-bar button.  Remove Undo button for space.
      
      * info.el (info-tool-bar-map): Add :vert-only tags.
      900503ae
  14. 05 Dec, 2010 1 commit
  15. 29 Aug, 2010 1 commit
  16. 11 Jun, 2010 2 commits
    • Juri Linkov's avatar
      * lisp/finder.el (finder-known-keywords): Add keyword "vc" · 9766adfb
      Juri Linkov authored
      for version control.
      
      * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
      * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
      * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
      * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
      9766adfb
    • Juri Linkov's avatar
      Move version control related files to the "vc" subdirectory. · 56b2854f
      Juri Linkov authored
      * 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.
      56b2854f
  17. 03 Jun, 2010 1 commit
  18. 02 Jun, 2010 1 commit
  19. 01 Jun, 2010 1 commit
  20. 19 May, 2010 1 commit
  21. 20 Apr, 2010 1 commit
    • Jan Djärv's avatar
      Gtk tool bars can be text, icons with text or just icons. · f904c0f9
      Jan Djärv authored
      * 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.
      f904c0f9
  22. 12 Apr, 2010 1 commit
  23. 24 Mar, 2010 1 commit
  24. 12 Mar, 2010 1 commit
    • Dan Nicolaescu's avatar
      Add .dir-locals.el support for file-less buffers. · 8117868f
      Dan Nicolaescu authored
      * 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.
      8117868f
  25. 17 Jan, 2010 1 commit
  26. 13 Jan, 2010 1 commit
  27. 07 Jan, 2010 1 commit
    • Juanma Barranquero's avatar
      Fix bug#3224. · 1dfae2a2
      Juanma Barranquero authored
      * 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.
      1dfae2a2
  28. 05 Dec, 2009 1 commit
  29. 04 Oct, 2009 1 commit
  30. 29 Sep, 2009 1 commit
    • Stefan Monnier's avatar
      * vc-hooks.el (vc-dir-buffers): New var. · dcbbecd4
      Stefan Monnier authored
      (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.
      dcbbecd4
  31. 25 Sep, 2009 1 commit
    • Juanma Barranquero's avatar
      * menu-bar.el (list-buffers-directory): Add docstring. · 11ee8d90
      Juanma Barranquero authored
        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.
      11ee8d90
  32. 27 Aug, 2009 1 commit
  33. 26 Aug, 2009 1 commit
  34. 24 Jul, 2009 1 commit
  35. 10 Apr, 2009 1 commit
  36. 20 Mar, 2009 1 commit
  37. 25 Feb, 2009 1 commit
  38. 11 Feb, 2009 1 commit
  39. 10 Feb, 2009 1 commit