From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shiyao Ma Newsgroups: gmane.emacs.help Subject: auto-save mode doesn't behave as desired with the command write-file Date: Fri, 11 Mar 2016 16:10:30 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1457683857 27435 80.91.229.3 (11 Mar 2016 08:10:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2016 08:10:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 11 09:10:51 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aeI9r-00081V-GR for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Mar 2016 09:10:51 +0100 Original-Received: from localhost ([::1]:53321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeI9q-0001vJ-Mj for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Mar 2016 03:10:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeI9a-0001v9-CU for help-gnu-emacs@gnu.org; Fri, 11 Mar 2016 03:10:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeI9X-0001pB-Fx for help-gnu-emacs@gnu.org; Fri, 11 Mar 2016 03:10:34 -0500 Original-Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]:33840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeI9X-0001oy-9h for help-gnu-emacs@gnu.org; Fri, 11 Mar 2016 03:10:31 -0500 Original-Received: by mail-ig0-x236.google.com with SMTP id av4so5383158igc.1 for ; Fri, 11 Mar 2016 00:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=8NB0CXj3z1UdI6ueq+Aj40o56QedIV/4BSAuhwNg8nk=; b=2GkN/z3caN1LULro2hinZcsm4hGzXVgOJTJwF02Z6EsuCL6wlVpbkMtOTFnWspBuAU Epwrs9ZClLnl81IroYJHv4oM7cIR0d0M9ZtanhF4TBvvphee+diqsi735RLdxjP1bRCG 4FG84AfWiVN4KWK3E+5O4IBouF9qfajZiVNix/BGYvM0zmxSu25TRBoIdeg10Y0USGtH gzKgYww7GbbsiPBkm+YUkdXFnNaD1S+9kAm4iplysswnCYVN7D9n2soPO0cztGfNuBtA gfjc0eiNHvbBImmrfa9SQD+Jh0AaG+qU684epmTaipUb0iAwu1iFKtGbYDcGEOtlV4+i H+mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=8NB0CXj3z1UdI6ueq+Aj40o56QedIV/4BSAuhwNg8nk=; b=gvS5/pCmFUsyE/Es4vzVAX+uDx9L/SNyz9PNdNfbq/e1FXofk8q9AycX1Gnd+nohug C7dBQ+rVNgrwGXa9t68BsCkNqGvwvqxPRnjFlXBp2hi7ybPIV6B6bv4szebB7fFKoMh9 GXTxaT7FiT7S4pk+IqofNTmFWOrkGc3uA/CEjrYPVzw0BkM0mrCpJpzeKUqbwKMnZcdr Q3pSFCbgW6CpoaoofGJKqLjTvjVW/aWXxlwUw1eKEAEyTqZH465UaTE5NrnIMlDd0+9K KPW2eK7DHfETzwtYcgEnsRLgX4NUIXnplwVG7oYePv7Y6MNw2evVl4xCVzyKdOLcEyij Oaxg== X-Gm-Message-State: AD7BkJKCSq22A0bYZCIZewZDtLvh2g6i+Lf1gsQr6wZkbDTA3Xlwgc+uqqcRgmVNpsQAK/QVAVLV8UNxAyoRLg== X-Received: by 10.50.62.146 with SMTP id y18mr1385557igr.74.1457683830428; Fri, 11 Mar 2016 00:10:30 -0800 (PST) Original-Received: by 10.107.53.218 with HTTP; Fri, 11 Mar 2016 00:10:30 -0800 (PST) X-Originating-IP: [143.89.244.107] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c05::236 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109535 Archived-At: Hi, In orde to auto save to the origin file without messing up with the #myfile#, I set: (setq auto-save-visited-file-name t) This works as expected until I did a C-x C-w. After write-file, there will be a #myfile# created. So there goes my question, how to disable generating the #..# file ? Regards. --=20 =E5=90=BE=E8=BC=A9=E3=81=AF=E7=8C=AB=E3=81=A7=E3=81=82=E3=82=8B=E3=80=82=E3= =83=9B=E3=83=BC=E3=83=A0=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AFhttps:= //introo.me =E3=80=82