From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Carlos Gomes" Newsgroups: gmane.emacs.help Subject: Changing the default directory in which emacs save the files Date: Wed, 16 Jul 2008 17:28:36 +0100 Message-ID: <74c0c290807160928r38aa9bd9y501756b021ee09c5@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29604_14356715.1216225717009" X-Trace: ger.gmane.org 1216244714 26895 80.91.229.12 (16 Jul 2008 21:45:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2008 21:45:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 16 23:46:02 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 1KJEoo-0001hr-6S for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jul 2008 23:45:50 +0200 Original-Received: from localhost ([127.0.0.1]:38731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJEnv-0006Dj-MH for geh-help-gnu-emacs@m.gmane.org; Wed, 16 Jul 2008 17:44:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJ9rv-0005GE-5T for help-gnu-emacs@gnu.org; Wed, 16 Jul 2008 12:28:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJ9rt-0005FL-Bz for help-gnu-emacs@gnu.org; Wed, 16 Jul 2008 12:28:42 -0400 Original-Received: from [199.232.76.173] (port=36292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJ9rt-0005FG-2s for help-gnu-emacs@gnu.org; Wed, 16 Jul 2008 12:28:41 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.190]:50327) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJ9rs-0004bp-J4 for help-gnu-emacs@gnu.org; Wed, 16 Jul 2008 12:28:41 -0400 Original-Received: by ti-out-0910.google.com with SMTP id u5so2738921tia.10 for ; Wed, 16 Jul 2008 09:28:38 -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:mime-version:content-type; bh=82lXui9rh8ZEElerB3mpHP0nmTXCthic+swxMevsVVs=; b=JPgY1XtuxRvN49ABu8MrgsiypY2xTewpmeSb+L/aHE7hKXyKkOEvm9WuUWKgVd+MrC GDqRg9ComBDYpeQG91lGs0v9ZwgRqi3abw+leQHNWSkUmyHibkQ5TNcVciDiOAQu4lDo 6PNbr9JyZbWJR9xPG/rkv6G88qMnAC2B1EkD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=r9H2rB+uTQZi6Z0WUsJwNM+HvCrz0BxCQYeSY7Or2H6ylgAxjwbtYwDT0qeo/WTnlC fE/4tBnffrs6vKUOKo1XXIKaAp2Hqb224O9fN6XOj5Ab/PZe1izPe8d63GdTw8E8SBFs PclMNnUUlE3OWeHE9cUfF/FF3sdcNX+Ot1uSA= Original-Received: by 10.142.186.9 with SMTP id j9mr133888wff.348.1216225717036; Wed, 16 Jul 2008 09:28:37 -0700 (PDT) Original-Received: by 10.143.188.8 with HTTP; Wed, 16 Jul 2008 09:28:36 -0700 (PDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 16 Jul 2008 17:43:38 -0400 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:55652 Archived-At: ------=_Part_29604_14356715.1216225717009 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear Sir or Madam, I am a big fan and a GNU Emacs user and although I have several books about it, I have not found the answer for one specific question in any of them. I have GNU Emacs installed in my computer on both windows and linux operative systems, and I have been looking for a way that allows me to change the directory in which emacs saves the files that I am working with. That is, is there a way to "tell" emacs to save a file in a directory other than, for instance, C:\Programs\emacs\bin (the default) in windows, by using the command C-x C-s (save-buffer)? Thank you very much for your time. I am looking forward to hearing from you. Sincerely, Carlos Gomes ------=_Part_29604_14356715.1216225717009 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

Dear Sir or Madam,

I am a big fan and a GNU Emacs user and although I have several books about it, I have not found the answer for one specific question in any of them. I have GNU Emacs installed in my computer on both windows and linux operative systems, and I have been looking for a way that allows me to change the directory in which emacs saves the files that I am working with. That is, is there a way to "tell" emacs to save a file in a directory other than, for instance, C:\Programs\emacs\bin (the default) in windows, by using the command C-x C-s (save-buffer)?

Thank you very much for your time.

I am looking forward to hearing from you.

Sincerely,

Carlos Gomes
------=_Part_29604_14356715.1216225717009--