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: how to not change the working directory when opening a file Date: Tue, 15 Jan 2008 16:25:29 +0100 Message-ID: <38b2ab8a0801150725r8220cc7rbd8b4550006bb3e9@mail.gmail.com> References: <87ve5vh5xy.fsf@ambire.localdomain> <38b2ab8a0801150129k2b9c8561md95a1c385f608044@mail.gmail.com> <87lk6razu9.fsf@thievol.homelinux.org> 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 1200410788 15512 80.91.229.12 (15 Jan 2008 15:26:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2008 15:26:28 +0000 (UTC) Cc: gnu-emacs-help@gnu.org, Thien-Thi Nguyen To: "Thierry Volpiatto" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 15 16:26:50 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 1JEngU-0005IJ-GS for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jan 2008 16:26:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEng5-0002Bj-7C for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jan 2008 10:26:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEnfX-00022A-4v for help-gnu-emacs@gnu.org; Tue, 15 Jan 2008 10:25:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEnfV-00020M-Kj for help-gnu-emacs@gnu.org; Tue, 15 Jan 2008 10:25:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEnfV-00020B-9d for help-gnu-emacs@gnu.org; Tue, 15 Jan 2008 10:25:37 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEnfV-0001Ly-27 for help-gnu-emacs@gnu.org; Tue, 15 Jan 2008 10:25:37 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JEnfU-0002oX-P4 for gnu-emacs-help@gnu.org; Tue, 15 Jan 2008 10:25:36 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JEnfR-0001LD-Jo for gnu-emacs-help@gnu.org; Tue, 15 Jan 2008 10:25:36 -0500 Original-Received: from py-out-1112.google.com ([64.233.166.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEnfR-0001Kp-AY for gnu-emacs-help@gnu.org; Tue, 15 Jan 2008 10:25:33 -0500 Original-Received: by py-out-1112.google.com with SMTP id u52so2827185pyb.1 for ; Tue, 15 Jan 2008 07:25:32 -0800 (PST) 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=XUvA21RYUttpAx/CBen6TcpsyGF2Jwax2IIk44pJ6Nw=; b=qV9CT5rxoqGwPLFBdWxqeyWq+5PymKUc9WyY3odtTSAWSo9zNoAkGaewtyi9L3bL/kBvFoMV0FIX81qA2faEU4GGH9WFa5V7GocLTBHEnwXwQFMnXQ47Y6l8UYZ35Z8JTHo+7NvH1JYahYhvK782ssXqqSql+eb2rnWHwRBY5Gk= 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=BxyHtrdZTgW8ziHTI+mFov9snhWLfo68dhBg0xyo1wDbQpJNXoBB3eGLWDaJN9NStXx+6nQwlzk9mzFpHAcj8E+u0jmVavnd1iLIHieA+B2iaOKNrKohoIRS/j/iyQRgiCo2sIIe4c8f7jZE9VUrDaRR9g3Q0PftW2Sb2yQahOs= Original-Received: by 10.140.133.11 with SMTP id g11mr4656467rvd.235.1200410729943; Tue, 15 Jan 2008 07:25:29 -0800 (PST) Original-Received: by 10.141.171.17 with HTTP; Tue, 15 Jan 2008 07:25:29 -0800 (PST) In-Reply-To: <87lk6razu9.fsf@thievol.homelinux.org> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:50732 Archived-At: On Jan 15, 2008 4:11 PM, Thierry Volpiatto wrote: > How do you use mutt ? In my ~/.muttrc, I put: set editor = "emacs -nw %s -f post-mode" > if you set your env variable EDITOR to emacsclient > (or a script launching emacsclient) you can edit your mail in an > existing session of emacs (or open emacs if it's not already launched) > and use all the features of emacs when editing mails. > Well, I just want emacs to not change the default directory when editing an email. It's really simple and IMHO the right thing to do when opening an outgoing email. BTW, vi does that. -- Francis