all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Symbol's function definition is void: dired-omit-mode
@ 2006-08-09 11:42 John J. Lee
  2006-08-09 11:52 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: John J. Lee @ 2006-08-09 11:42 UTC (permalink / raw)


Switching to emacs 22 recently, I'm getting this when using C-x d to
visit a directory using dired-x.

Symbol's function definition is void: dired-omit-mode


The emacs 22 info pages seem quite clear that what I'm doing should
work -- in fact, I copied my dired-mode-hook code straight from the
info pages.  Here's the relevant chunk from my .emacs:


(add-hook 'dired-load-hook
      (function (lambda ()
            (load "dired-x")
            (setq dired-omit-files
                  (concat dired-omit-files "\\|^CVS$\\|^.cvsignore$"))
	    (setq dired-omit-files
                  (concat dired-omit-files "\\|\\.pyc$\\|\\.pyo$|\\.pyw$"))
            (setq dired-omit-files
                  (concat dired-omit-files "\\|\\.o$\\|\\.so\\|\\.a\\|\\.lo\\|\\.la$"))
            )))
(add-hook 'dired-mode-hook
	  (lambda ()
	    ;; Set dired-x buffer-local variables here.  For example:
	    (dired-omit-mode 1)
	    ))


Help!


John

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

* Re: Symbol's function definition is void: dired-omit-mode
  2006-08-09 11:42 Symbol's function definition is void: dired-omit-mode John J. Lee
@ 2006-08-09 11:52 ` Peter Dyballa
  2006-08-09 12:14   ` John J Lee
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2006-08-09 11:52 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 09.08.2006 um 13:42 schrieb John J. Lee:

> Symbol's function definition is void: dired-omit-mode

For me dired-omit-mode is a variable ...

--
Greetings

   Pete

Experience is what you get when you don't get what you want.

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

* Re: Symbol's function definition is void: dired-omit-mode
       [not found] <mailman.5021.1155123811.9609.help-gnu-emacs@gnu.org>
@ 2006-08-09 12:12 ` Romain Francoise
  0 siblings, 0 replies; 4+ messages in thread
From: Romain Francoise @ 2006-08-09 12:12 UTC (permalink / raw)


jjl@pobox.com (John J. Lee) writes:

> Switching to emacs 22 recently, I'm getting this when using C-x d to
> visit a directory using dired-x.

> Symbol's function definition is void: dired-omit-mode

> The emacs 22 info pages seem quite clear that what I'm doing should
> work -- in fact, I copied my dired-mode-hook code straight from the
> info pages. [...]

Your config snippet looks correct and works for me on GNU/Linux.

Are you sure that Emacs is properly installed?

-- 
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter

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

* Re: Symbol's function definition is void: dired-omit-mode
  2006-08-09 11:52 ` Peter Dyballa
@ 2006-08-09 12:14   ` John J Lee
  0 siblings, 0 replies; 4+ messages in thread
From: John J Lee @ 2006-08-09 12:14 UTC (permalink / raw)


On Wed, 9 Aug 2006, Peter Dyballa wrote:

> Am 09.08.2006 um 13:42 schrieb John J. Lee:
>
>> Symbol's function definition is void: dired-omit-mode
>
> For me dired-omit-mode is a variable ...

Are you using emacs 22?  (I am.)


John

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

end of thread, other threads:[~2006-08-09 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-09 11:42 Symbol's function definition is void: dired-omit-mode John J. Lee
2006-08-09 11:52 ` Peter Dyballa
2006-08-09 12:14   ` John J Lee
     [not found] <mailman.5021.1155123811.9609.help-gnu-emacs@gnu.org>
2006-08-09 12:12 ` Romain Francoise

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.