From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jos=E9_A=2E_Romero_L=2E?= Newsgroups: gmane.emacs.help Subject: Re: Trouble with M-x sunrise command on debian squeeze (solved) Date: Mon, 25 Oct 2010 12:04:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8adef2fc-93af-48a1-b42d-37c547780c77@m7g2000yqm.googlegroups.com> References: <877hhb8lbg.fsf@teufel.historicalMaterialism.info> <87zku76r3r.fsf@teufel.historicalMaterialism.info> <87vd4u78rr.fsf@teufel.historicalMaterialism.info> <26ddfd35-90ae-4312-8632-cbb05bbb23f8@k22g2000yqh.googlegroups.com> <87mxq57ltp.fsf@teufel.historicalMaterialism.info> <8762ws7dd2.fsf@teufel.historicalMaterialism.info> <9c66e04e-6b81-44c3-833a-8c2d2523faa4@j25g2000yqa.googlegroups.com> <87vd4re3z7.fsf@teufel.historicalMaterialism.info> <9a5ed208-2a3b-4147-a60b-e27d542b1230@j18g2000yqd.googlegroups.com> <87mxq2ed1h.fsf@teufel.historicalMaterialism.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291876733 5047 80.91.229.12 (9 Dec 2010 06:38:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 06:38:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 07:38:43 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQa8L-0003vu-Ot for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 07:38:42 +0100 Original-Received: from localhost ([127.0.0.1]:55723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQa8G-0003O6-Mc for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 01:37:36 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!m7g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 87.207.186.43 Original-X-Trace: posting.google.com 1288033475 24842 127.0.0.1 (25 Oct 2010 19:04:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 25 Oct 2010 19:04:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m7g2000yqm.googlegroups.com; posting-host=87.207.186.43; posting-account=mkEKGAoAAACAV2vhv5r9WHXWqsdL_niD User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100917 Firefox/3.6.10 (Swiftfox),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:182020 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76796 Archived-At: On 25 Pa=C5=BA, 13:18, brownh 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=C3=A9 A. Romero L. escherdragon at gmail "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed)