From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ames Andreas (MPA/DF)" Newsgroups: gmane.emacs.help Subject: [Q] Several emacs instances / dired and "derived" buffers Date: Thu, 27 May 2004 12:22:09 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <788E231C269961418F38D3E360D1652526C9FA@tndefr-ws00021.tenovis.corp.lan> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1085781252 10960 80.91.224.253 (28 May 2004 21:54:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 May 2004 21:54:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 28 23:54:02 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTpIg-0001uL-00 for ; Fri, 28 May 2004 23:54:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTMbh-0004qa-9A for geh-help-gnu-emacs@m.gmane.org; Thu, 27 May 2004 11:15:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BTL5j-0007HP-2q for help-gnu-emacs@gnu.org; Thu, 27 May 2004 09:38:39 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BTJE1-0002lV-Td for help-gnu-emacs@gnu.org; Thu, 27 May 2004 07:39:37 -0400 Original-Received: from [192.85.16.108] (helo=relay.eds.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTI1c-0003uQ-FJ for help-gnu-emacs@gnu.org; Thu, 27 May 2004 06:22:12 -0400 Original-Received: from tndefr-ws00030.tenovis.corp.lan (gate.eds.de [192.85.16.1]) by relay.eds.de (Mail-Host) with ESMTP id A46C1324B8 for ; Thu, 27 May 2004 12:22:10 +0200 (MEST) Original-Received: from tndefr-ws00031.tenovis.corp.lan ([10.39.1.24]) by tndefr-ws00030.tenovis.corp.lan with Microsoft SMTPSVC(5.0.2195.6713); Thu, 27 May 2004 12:22:10 +0200 Original-Received: from tnderu-ws00001.tenovis.corp.lan ([10.39.32.27]) by tndefr-ws00031.tenovis.corp.lan with Microsoft SMTPSVC(5.0.2195.6713); Thu, 27 May 2004 12:22:10 +0200 Original-Received: from tndefr-ws00021.tenovis.corp.lan ([10.39.1.21]) by tnderu-ws00001.tenovis.corp.lan with Microsoft SMTPSVC(5.0.2195.6713); Thu, 27 May 2004 12:22:10 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6524.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Q] Several emacs instances / dired and "derived" buffers Thread-Index: AcRD3NvoR1OLbyMoQdGq+eHZiEttZg== Original-To: X-OriginalArrivalTime: 27 May 2004 10:22:10.0247 (UTC) FILETIME=[783AE570:01C443D4] 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:18843 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18843 Hi all, I've got two questions for which I'd welcome your experienced advice. 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.). 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? 2) I use separate filesystem directories for separate programming (and other) projects (surprise, surprise). When I begin working on one project, I usually dired its toplevel directory and then I open buffers below that one. When I switch to another project I oftenly want to close all buffers related to the first project. This is even a necessity when the project is in a directory that I have mounted from a mobile computer because I want/must to unmount when I stop working. Currently I just close all these buffers manually. I'm wondering if there isn't someone who has already written a command that closes all buffers which are visiting files below a given directory. TIA, andreas