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: Sat, 23 Oct 2010 06:56:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: 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> 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 1291879545 14794 80.91.229.12 (9 Dec 2010 07:25:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 07:25:45 +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 08:25:41 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 1PQasl-0005Bm-KT for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 08:25:39 +0100 Original-Received: from localhost ([127.0.0.1]:55537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQask-0006SX-EA for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:25:38 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!s4g2000yql.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 116 Original-NNTP-Posting-Host: 87.207.186.43 Original-X-Trace: posting.google.com 1287842191 27127 127.0.0.1 (23 Oct 2010 13:56:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 23 Oct 2010 13:56:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s4g2000yql.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:181964 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:76824 Archived-At: On 23 Pa=C5=BA, 03:13, brownh wrote: (...) > If you are implying that all menu bar commands can be run from the > keyboard, then I have no need for it. But Sunrise-Commander is new to > me and I don't know yet if that is true. Yes, that's exactly the case: Sunrise (as anything else in emacs, I guess) is completely keyboard-driven. In order to help memorizing a useful subset of the bindings, you may be interested in the buttons extension: http://www.emacswiki.org/emacs/Sunrise_Commander#toc2 to have a look at all the available bindings just press h inside any of the panes. (...) > > What there is is only the menus that additional extensions (like > > sunrise-x-modeline or sunrise-x-tabs) provide, but nothing else, I'm > > afraid. Or is that what you're asking about? I've just checked on (...) > Are you saying that while the Sunrise menuing is not implemented, it > can displayed by means of the make-frame line above? I'm also running (...) No, all I'm saying is that some of the extensions do display their menus when menu-bar-mode and Sunrise are both active, but they are not the "real deal", they contain only specialized functions from their specific extensions. (...) > I am runing the lisp stanzas in this order: a) require > sunrise-commander and sunrisex-tree, b) the make-frame line, c) the > add-hook lines. Is the order important? In any case, I get odd > results: Yes, the order is important: the "require" and the "add-hook" stanzas are intended to be run only once at the beginning of the session, you use the "make-frame" stanza whenever you want to open a new frame. > First, Sunrise commander opens only one pane in its frame, which is > a list view rather than tree view. Its buffers are: (...) That's weird, there should be two panes side by side. Can you please do "M-x toggle-debug-on-error" and send me the trace that appears (if any) when launching the new frame? Looks like the logic for bringing up the panes is having some kind of problem. > Second, I discovered that there are two sessions of emacs > running. Below the one I just described there is another emacs session > with the buffers: (...) That looks like two frames of the same emacs instance. What happens when you do C-x C-c in one of them? Does the other get closed too? (You are aware of the peculiar way the terms "frame" and "window" are used in emacs, aren't you?) (...) > Now, If I do M-x sunrise _twice_ for the top session, it displays > sunrise commander with two panes and the left one is the tree view That's right - the sunrise function works like a switch: it turns on and off the panes. > (but nothing else except the scratch buffer across bottom). If I try That's correct too: that is all there is - the bottom window is used in Sunrise for "quick viewing" the contents of files (you press o and the file appears underneath, if you select another file and press o again, the previous file is closed and the new one is shown, and so on), as a container for the command-line (after pressing C-c t in any of the panes) and it's also used by the buttons extension to display the command buttons. You may get rid of the bottom window with the popviewer extension: http://www.emacswiki.org/emacs/Sunrise_Commander#toc5 but be aware that it is not compatible with the buttons extension (it makes no sense to have both installed simultaneously). > this on the bottom emacs session, I get same result, but it just takes > one M-x sunrise. Just to be clear, it seems that the sunrise panes > occupy the two emacs frames. Yes, you're right again: there is only one instance of the panes and they can be displayed in only one frame at a time -- when you open them in one frame, they're automatically closed in the other. If you need to keep track of multiple directories in any of the panes you can use the tabs extension: http://www.emacswiki.org/emacs/Sunrise_Commander#toc7 > Third is a point that probably is irrelevant. I find that in Options, > if I hide the toolbar and then Save options, the change does not > stick. I can only hide the toolbar for the current session. Maybe you need to add "(tool-bar-mode -1)" to you .emacs file? > > Something very strange is going on. I hope my complicated description > is not giving you a headache. ;-) Emacs *is* something very strange :) No worries, the whole community is here to help (or try at least). Cheers, -- Jos=C3=A9 A. Romero L. escherdragon at gmail "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed)