From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Francis Moreau" Newsgroups: gmane.emacs.help Subject: Re: What I'm missing when using M-x shell Date: Mon, 15 Sep 2008 10:42:58 +0200 Message-ID: <38b2ab8a0809150142q11557248m52a117afd170e833@mail.gmail.com> References: <38b2ab8a0809130127x480a8dg9c2bb302f72dfea6@mail.gmail.com> <20080915073219.GB8741@groll.co.za> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221468335 4731 80.91.229.12 (15 Sep 2008 08:45:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 08:45:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Jonathan Groll" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 10:46:27 2008 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.50) id 1Kf9iy-0006HI-3H for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 10:46:24 +0200 Original-Received: from localhost ([127.0.0.1]:36194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kf9hx-0000sy-EY for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 04:45:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kf9fg-0008JF-TA for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:43:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kf9fg-0008I7-6A for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:43:00 -0400 Original-Received: from [199.232.76.173] (port=40117 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kf9fg-0008Hx-2L for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:43:00 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.169]:40264) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kf9ff-0007Ox-IV for help-gnu-emacs@gnu.org; Mon, 15 Sep 2008 04:42:59 -0400 Original-Received: by ug-out-1314.google.com with SMTP id z36so958857uge.17 for ; Mon, 15 Sep 2008 01:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fmeO3MjMkIt2OmRAC1/Vqywi5bq0jg0JG0RszCM1Of8=; b=IrEtbpq26t4DGZcta4GvCvVb90hzYIyM9p7A6YzNMg1ETsaU8GzTQrmvPaFMgbiwyw zL5NvHFAL4K5EkoXXqkLv+nX28TtSFhWAEfL4DMSFhsVUdvrfLuEhITyjkSaeJl96URR ChRUdYUB55Po431P7lOd2n2bh27fkZ6Ig6pos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hc2DzZwwCJLwgMa2MGp5NsKLlgxKioU9xpavN3QXCXLFMZDLw8TuUdy50l7ubtET6C 21I/JHn46bkmQzrrkhitINjud/zaDhq09OTPbg4HfuaEle5mvZBzM5eZEp35tjAGaJmS 9/1gpnY8sUYZpKm8KWHbBu+cVuydHKJkppRCU= Original-Received: by 10.66.252.18 with SMTP id z18mr2906478ugh.46.1221468178374; Mon, 15 Sep 2008 01:42:58 -0700 (PDT) Original-Received: by 10.67.22.17 with HTTP; Mon, 15 Sep 2008 01:42:58 -0700 (PDT) In-Reply-To: <20080915073219.GB8741@groll.co.za> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:57607 Archived-At: Hello. On Mon, Sep 15, 2008 at 9:32 AM, Jonathan Groll wrote: > > On the subject of GNU screen and emacs: Bill Clementson wrote a good > entry on using emacsclient and screen - > http://bc.tech.coop/blog/071001.html Thanks ! That was interesting. I actually had a similar concern but come up with a different solution. I use desktop in my main projects directory and in my home directory. When starting emacs in one of those directories, I start an emacs server whose name is exported through a environment variable. This variable has a different value depending on the desktop I used. After that in my bashrc I do: export EDITOR="emacsclient -s $EMACS_SERVER_NAME" and that's it. Each time I start a term in emacs and start an application that uses EDITOR, it start an emacsclient in the ritght emacs desktop. But I agree this solution works only inside an emacs term unlike the solution you pointed out. But that's my first step in "do it all in emacs !" ;) And as the author said with emacs tty-muti-support, this is now useless. > > Regarding mutt with emacs, there is a page on the emacswiki you may > want to read: > http://www.emacswiki.org/cgi-bin/emacs-en/MuttInEmacs > > It may also possibly be necessary to adjust the colour scheme used in > .muttrc: > http://www.mail-archive.com/mutt-users@mutt.org/msg21810.html > > Personally, I have been using gnu-screen with an emacs server running > in one window and mutt in another window, based on what Bill > Clementson wrote. Thanks again but I'm planning to get rid of mutt and to use either gnus or mh-e. I need to test both of them first to get an opinion. -- Francis