From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: [Q] Several emacs instances / dired and "derived" buffers Date: Sat, 29 May 2004 14:11:55 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <86hdtzo2k4.fsf@rumba.de.uu.net> References: <788E231C269961418F38D3E360D1652526C9FA@tndefr-ws00021.tenovis.corp.lan> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085832757 7111 80.91.224.253 (29 May 2004 12:12:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 May 2004 12:12:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 29 14:12:28 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BU2hP-0004En-00 for ; Sat, 29 May 2004 14:12:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU2hU-0005hn-NE for geh-help-gnu-emacs@m.gmane.org; Sat, 29 May 2004 08:12:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BU2hO-0005hQ-FH for help-gnu-emacs@gnu.org; Sat, 29 May 2004 08:12:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BU2hN-0005gu-CC for help-gnu-emacs@gnu.org; Sat, 29 May 2004 08:12:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU2hN-0005gr-9A for help-gnu-emacs@gnu.org; Sat, 29 May 2004 08:12:25 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BU2h0-0003YM-BM for help-gnu-emacs@gnu.org; Sat, 29 May 2004 08:12:02 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BU2gz-0008BF-00 for ; Sat, 29 May 2004 14:12:01 +0200 Original-Received: from pd9e1e786.dip.t-dialin.net ([217.225.231.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 May 2004 14:12:01 +0200 Original-Received: from kai by pd9e1e786.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 May 2004 14:12:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 41 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e1e786.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:asPSwU67Cze45i1Mtm29ysZciBs= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18855 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18855 "Ames Andreas (MPA/DF)" writes: > 1) I use emacs not only for editing but also as calendar, mua etc (I > think this is not extraordinary around here). From time to time > emacs freezes and I'm suspecting gnus (I use procmail and I'm not > sure I have the locking right; furthermore I'm using nnimap with an > MS Exchange which seems sometimes to be unreachable). It is not > enough of a problem for me to try to find the error(s) but I'm > thinking of separating the non-editing tasks of my emacs into its > own emacs instance/process. That would also be an opportunity to > make my .emacs more lightweight and faster (because I could do > without starting calendar etc.). Please note that Gnus gets very angry if something else frobs its files. So it is best to tell procmail to deliver mail for the group nnml:foo.bar into the file ~/spool/foo.bar.in, and then to set up mail-sources like this: (setq mail-sources '((directory :path "~/spool" :suffix ".in"))) Please note that the file is ~/spool/foo.bar.in (with a dot between foo and bar) even if Gnus uses the directory ~/Mail/foo/bar (with a slash between foo and bar) for the group. The same setup also works for nnfolder and other backends, you do not have to change the mail-sources setting, just gnus-secondary-select-methods. > Does it make sense to have sevaral instances of emacs running? How > can I start emacs with a separate startup file (and not my default > .emacs)? How can I make sure that gnuclient and friends finds only > my emacs-for-editing instance? Are there other potential problems > I do not recognise yet? I define a function kai-gnus which does the Gnus-specific setup. Then the Gnus Emacs is started as "emacs -f kai-gnus". The other Emacs is started as "emacs -f server-start". Kai