When using ediff, dvc creates buffers for the revisions. These buffers
clutter the buffer namespace and make it difficult to switch
buffers. I use ido to switch buffers, and all these buffers appear in
the buffer listings.  A proposed fix would be to modify
dvc-revision-get-buffer to create buffers with "hidden" names (i.e:
starting with " *" and ending with "*") so that they do not clutter
the namespace.

Some more buffers get added (e.g "*Ediff Registry*") which could
benefit from a leading space, but those are probably out of the scope
of dvc.

Thanks!
Eyal


Emacs  : GNU Emacs 22.0.95.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11)
 of 2007-05-01 on palmer
Package: Dvc Unknown version

current state:
==============
(setq
 emacs-version "22.0.95.1"
 dvc-version "Unknown version"
 dvc-command-version "Bazaar (bzr) 0.16.0candidate2"
 baz-executable "baz"
 bzr-mail-notification-destination nil
 bzr-work-offline 'prompt
 tla-apply-patch-mapping nil
 tla-arch-branch 'baz
 tla-archive-list-mode-hook nil
 tla-bookmarks-cleanup-dont-prompt nil
 tla-bookmarks-file-name "bookmarks.el"
 tla-bookmarks-mode-hook nil
 tla-branch-list-mode-hook nil
 tla-button-revision-fn 'tla-revlog-any
 tla-category-list-mode-hook nil
 tla-changes-recursive t
 tla-commit-check-log-buffer-functions '(tla-commit-check-empty-headers
                                         tla-commit-check-empty-line
                                         tla-commit-check-missing-space)
 tla-commit-done-hook nil
 tla-commit-fix-missing-space t
 tla-commit-headers-allowed-to-be-empty "^\\(Keywords\\)$"
 tla-description-format '(patch-id "\n  " summary "\n  Located at: "
location "\n")
 tla-dont-hyperlink-changelog nil
 tla-executable "tla"
 tla-follow-symlinks 'tree
 tla-follow-symlinks-mode 'follow
 tla-format-line-function nil
 tla-generate-line-function nil
 tla-install-command-help-system t
 tla-inventory-display-backup t
 tla-inventory-display-junk t
 tla-inventory-display-precious t
 tla-inventory-display-source t
 tla-inventory-display-tree t
 tla-inventory-display-unrecognized t
 tla-inventory-file-mode-hook nil
 tla-inventory-mode-hook nil
 tla-log-edit-keywords '("bugfix" "docfix" "warnfix" "linting"
"newfeature" "merge" "update"
                         "rename" "delete" "newfile")
 tla-log-edit-mode-hook nil
 tla-log-library "~/.arch-log-library/"
 tla-log-library-greedy t
 tla-logs-mode-hook nil
 tla-mail-notification-destination nil
 tla-make-archive-hook nil
 tla-make-branch-hook nil
 tla-make-category-hook nil
 tla-make-log-function 'tla-default-make-log-function
 tla-make-version-hook nil
 tla-name-read-error-hook '(tla--name-read-insert-info-at-point-final)
 tla-name-read-final-hook '(tla--name-read-insert-info-at-point-final)
 tla-name-read-init-hook '(tla--name-read-insert-bookmark-init
                           tla--name-read-insert-partner-init
                           tla--name-read-insert-info-at-point-init)
 tla-non-recursive-inventory t
 tla-patch-sent-action 'keep-tarball
 tla-revision-list-mode-hook nil
 tla-revisions-shows-library t
 tla-revisions-shows-merged-by t
 tla-revisions-shows-merges nil
 tla-revlog-mode-hook nil
 tla-send-comments-format "Your patch %c--%b--%v--%r (%t)"
 tla-send-comments-width 25
 tla-show-ancestor nil
 tla-strict-commits nil
 tla-submit-patch-mapping '(((nil "xtla" nil nil nil)
("[EMAIL PROTECTED]" "xtla")))
 tla-switch-to-changes-buffer nil
 tla-tag-does-cacherev 'ask
 tla-tag-function 'tla-tag-uuid
 tla-three-way-merge t
 tla-update-recursive t
 tla-update-strategy 'merge
 tla-use-arrow-keys-for-navigation nil
 tla-use-skip-present-option nil
 tla-version-list-mode-hook nil
 tla-version-to-name-function nil
 features '(reporter dvc-bug dvc-about tramp-vc vc-rcs vc vc-svn
terminal ehelp electric
            dirtrack etags man assoc kmacro crm thingatpt ispell
mail-extr grep wid-browse
            tree-widget cus-edit wid-edit dabbrev jka-compr find-func
loadhist apropos
            dired-aux bzr-dvc imenu python-mode info-look info
ansi-color compile tla
            smerge-mode dvc-state dvc-config time-date diff sendmail
tla-gnus dvc-gnus
            dvc-cmenu dvc-version bzr dvc-revlist dvc-diff dvc-unified
dvc-tips bzr-core
            cg-core tla-core pp ewoc tla-autoconf tla-defs dvc-site
add-log diff-mode ediff
            ediff-util ediff-merg ediff-diff ediff-wind ediff-help
ediff-mult ediff-init
            xdarcs-core xhg-core xmtn-minimal dired tramp-smb
tramp-ftp tramp cl cl-19 shell
            format-spec trampver ffap cscope-ext cscope keymaps
tags-ext better-registers
            easy-mmode c-functions os mode-hooks settings pymacs
advice help-fns help-mode view
            button advice-preload paren position-stack key-bindings
cc-mode cc-fonts cc-menus
            cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
regexp-opt comint my-custom
            delsel pc-select ido cus-start cus-load psgml-init emacs-goodies-el
            emacs-goodies-custom emacs-goodies-loaddefs dvc-autoloads
dvc-core dvc-lisp
            dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs
dvc-defs xcscope ring easymenu
            tooltip ediff-hook vc-hooks lisp-float-type x-dnd tool-bar
mwheel dnd fontset image
            fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mldrag
            mouse jit-lock font-lock syntax facemenu font-core frame
ucs-tables georgian
            utf-8-lang misc-lang vietnamese tibetan thai lao korean
japanese hebrew greek
            romanian slovak czech european ethiopic kannada tamil
malayalam devanagari indian
            cyrillic chinese case-table jka-cmpr-hook help simple faces cus-face
            text-properties overlay md5 base64 format mule env custom
widget backquote
            make-network-process gtk x-toolkit x emacs)
 )

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to