help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with M-x sunrise command on debian squeeze (solved)


From: José A . Romero L .
Subject: Re: Trouble with M-x sunrise command on debian squeeze (solved)
Date: Wed, 08 Dec 2010 15:33:23 -0000
User-agent: G2/1.0

On 25 Paź, 13:18, brownh <bro...@historicalMaterialism.info> wrote:
(...)
> to work consistently. For example, after issuing my M-x sunrise twice,
> and things look as they should, when I open folders on the tree, the
> right list view window is unaffected and continues to show the files
> and directories of my home directory as a list view. Despite my
> multiple M-x sunrise command, the buffer list looks normal.
(...)

That is the way the tree view works -- it neither is an explorer nor
pretends to be one. Of course this doesn't mean it's not possible to
do what you want: just modify a bit the snippet your already have:

    (add-hook 'sr-start-hook
              '(lambda ()
                 (let ((selected sr-selected-window))
                   (sr-select-window 'left)
                   (unless (eq major-mode 'sr-tree-mode)
                     (sr-tree-view)
                     (unless sr-synchronized (sr-sync)))
                   (sr-select-window selected))))

but the philosophy behind Sunrise is actually quite different, so if
what you're after is an explorer-style FM, be aware that Sunrise may
disappoint you after some time. What I mean by the philosophy behind
Sunrise is best described here:

    http://www.softpanorama.org/OFM/index.shtml

Cheers,
--
José A. Romero L.
escherdragon at gmail
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]