all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Constant reverting of dired buffer
@ 2004-02-18 23:26 Peter Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Lee @ 2004-02-18 23:26 UTC (permalink / raw)



I have the following in my .emacs related to dired-x.

(global-set-key (kbd "C-x C-j") 'dired-jump)
(global-set-key (kbd "C-x 4 C-j") 'dired-jump-other-window)

(add-hook 'dired-load-hook
          (lambda ()
            (load "dired-x")
            ;; Set dired-x global variables here.  For example:
            ;; (setq dired-guess-shell-gnutar "gtar")
            ;; (setq dired-x-hands-off-my-keys nil)
            ))
(add-hook 'dired-mode-hook
          (lambda ()
            ;; Set dired-x buffer-local variables here.  For example:
            ;; (setq dired-omit-files-p t)
            ))

If I uncomment the (setq dired-omit-files-p t) line (which is what I'd
like to do), when I go into dired it constantly reverts the buffer
which makes navigation painful, and an eye-sore with jit font locking.

To get around this, I decided to just manually omit files each time I
enter a dired buffer.  I hit M-o to omit, and it omits, then a few
seconds later it reverts to the full listing.

Am I missing something from my config?  Or is this a known issue with
the version included in cvs emacs?

Thanks.

Emacs  : GNU Emacs 21.3.50.1 (i386-msvc-nt5.1.2600)
 of 2004-02-16 on PONGMASTER
Package: dired-x

current state:
==============
(setq
 dired-bind-vm nil
 dired-vm-read-only-folders nil
 dired-bind-jump t
 dired-bind-info t
 dired-bind-man t
 dired-find-subdir nil
 dired-enable-local-variables t
 dired-local-variables-file ".dired"
 dired-guess-shell-gnutar nil
 dired-guess-shell-gzip-quiet t
 dired-guess-shell-znew-switches nil
 dired-guess-shell-alist-user nil
 dired-clean-up-buffers-too t
 dired-omit-files-p nil
 dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$"
 dired-omit-extensions '("CVS/" "~" ".o" ".bin" ".bak" ".obj" ".map" ".a" ".ln" ".blg" ".bbl" ".elc" ".lof" ".glo" ".idx" ".lot" ".dvi"
                         ".fmt" ".tfm" ".pdf" ".class" ".fas" ".lib" ".x86f" ".sparcf" ".lo" ".la" ".toc" ".log" ".aux" ".cp" ".fn"
                         ".ky" ".pg" ".tp" ".vr" ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs" ".idx" ".lof" ".lot" ".glo" ".blg" ".bbl"
                         ".cp" ".cps" ".fn" ".fns" ".ky" ".kys" ".pg" ".pgs" ".tp" ".tps" ".vr" ".vrs")
 )

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Constant reverting of dired buffer
@ 2004-02-19  2:14 Luc Teirlinck
  2004-02-19 16:23 ` Peter Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Luc Teirlinck @ 2004-02-19  2:14 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Peter Lee wrote:

    If I uncomment the (setq dired-omit-files-p t) line (which is what I'd
    like to do), when I go into dired it constantly reverts the buffer
    which makes navigation painful, and an eye-sore with jit font locking.

    To get around this, I decided to just manually omit files each time I
    enter a dired buffer.  I hit M-o to omit, and it omits, then a few
    seconds later it reverts to the full listing.

    Am I missing something from my config?  Or is this a known issue with
    the version included in cvs emacs?

If you update your CVS and do _not_ set
`global-auto-revert-non-file-buffers' non-nil (it is nil by default),
the problem should be gone now.  I committed a patch late in the evening
of Feb 16, probably not very long after you downloaded your CVS
version.  I have a patch that will fix the problem even if
`global-auto-revert-non-file-buffers' _is_ non-nil, but I am waiting for
an OK to commit that second patch, which seemed less urgent than the
first, because `global-auto-revert-non-file-buffers' is a brand new
option (since Feb 16) and is nil by default.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Constant reverting of dired buffer
  2004-02-19  2:14 Constant reverting of dired buffer Luc Teirlinck
@ 2004-02-19 16:23 ` Peter Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Lee @ 2004-02-19 16:23 UTC (permalink / raw)
  Cc: bug-gnu-emacs

>>>> Luc Teirlinck writes:

    Luc> If you update your CVS and do _not_ set
    Luc> `global-auto-revert-non-file-buffers' non-nil (it is nil by
    Luc> default), the problem should be gone now.  I committed a
    Luc> patch late in the evening of Feb 16, probably not very long
    Luc> after you downloaded your CVS version.  I have a patch that
    Luc> will fix the problem even if
    Luc> `global-auto-revert-non-file-buffers' _is_ non-nil, but I am
    Luc> waiting for an OK to commit that second patch, which seemed
    Luc> less urgent than the first, because
    Luc> `global-auto-revert-non-file-buffers' is a brand new option
    Luc> (since Feb 16) and is nil by default.

This works great!  Thanks for the quick response.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-19 16:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19  2:14 Constant reverting of dired buffer Luc Teirlinck
2004-02-19 16:23 ` Peter Lee
  -- strict thread matches above, loose matches on Subject: below --
2004-02-18 23:26 Peter Lee

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.