From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#25470: 26.0.50; Lock files not removed when auto-save-visited-file-name is t Date: Wed, 18 Jan 2017 18:29:06 +0000 Message-ID: References: <8360lc8dha.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ce90030100705466298f1 X-Trace: blaine.gmane.org 1484765335 6618 195.159.176.226 (18 Jan 2017 18:48:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2017 18:48:55 +0000 (UTC) Cc: 25470@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 18 19:48:51 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTvHh-0000JR-Op for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jan 2017 19:48:38 +0100 Original-Received: from localhost ([::1]:43633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTvHm-0001Uk-Mt for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Jan 2017 13:48:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTuzm-0005Cb-Hw for bug-gnu-emacs@gnu.org; Wed, 18 Jan 2017 13:30:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTuzj-0006Pj-Eb for bug-gnu-emacs@gnu.org; Wed, 18 Jan 2017 13:30:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cTuzj-0006Pc-As for bug-gnu-emacs@gnu.org; Wed, 18 Jan 2017 13:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cTuzi-0000ia-Vj for bug-gnu-emacs@gnu.org; Wed, 18 Jan 2017 13:30:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Jan 2017 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25470 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25470-submit@debbugs.gnu.org id=B25470.14847641662691 (code B ref 25470); Wed, 18 Jan 2017 18:30:02 +0000 Original-Received: (at 25470) by debbugs.gnu.org; 18 Jan 2017 18:29:26 +0000 Original-Received: from localhost ([127.0.0.1]:34963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTuz7-0000hK-2Z for submit@debbugs.gnu.org; Wed, 18 Jan 2017 13:29:26 -0500 Original-Received: from mail-oi0-f50.google.com ([209.85.218.50]:32813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTuz5-0000h7-82 for 25470@debbugs.gnu.org; Wed, 18 Jan 2017 13:29:23 -0500 Original-Received: by mail-oi0-f50.google.com with SMTP id w204so11720755oiw.0 for <25470@debbugs.gnu.org>; Wed, 18 Jan 2017 10:29:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BCFE1PrMnpc8kj626Q+p8Uq1r0zLqOE8zgE3InLnazA=; b=r4SSubnHYXOW4lr9A4Lr+zLxH5po9IhFbtP6MaDlkZLTIHF35BG/lWPW90GQEIIsnL RYUy8KoQKiCASZEcuJ/CQgjsOcaYqUHTpivm9m4XzAIhY+lJAlTy5F6mycpAiFoHeh7W v9hCvxnVhK1xWjzDSMN/B5BNZFhZFLbxzLJBDSi6AfyJ09zg40TuomK78Dpyp6Mk17tE IBbFVzR7fhVIvofR1c8TwSQ8a3wFsA0WveZGnwzo9rPdjDZeOFFNFPmJ1qb6A3woQHeE bNkJmlmWV6mt1S0CAI48jUvdDLs2AdL8YF8hO4GaDG5FFZSWM8fvhQbUFjv8fwE/8yqo s9MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BCFE1PrMnpc8kj626Q+p8Uq1r0zLqOE8zgE3InLnazA=; b=GS3HEM4P09tObQ/Jii/O6XozMzCLAvfBCgPVCIuBLJhNpq5eTPs7+p05LxxevwltjS A/WcKi+JZ2JdrfIw2rRtsFjbCocUrdZle6QlP88nlE4mnG2AxPYWHoXOm7zJN6hKxuTA 44+BOid1eJs9MTNkETkSiYAdCf80nFpQPHprtCpM4ZtnPGAQbOx8NdVAEUvMiHqb9CLV ON9Ggqr9KD5VRykPHjJgNN7U22TWXpEFcgtYfagNp5kdFiYVMQHA2GlzF0E+lGiUgA+I pn2t4bn1AuntKgyTMHwTdQS1Z3sa81Ez6fwUQ6ZU6DlcJpc0jm+gUzRCRJDmUjbTztzu OTxA== X-Gm-Message-State: AIkVDXKa3N89I/Ilr6NWW//7Khg5r6VpnTUUouJX+/qYn4lhC9fNl8nnTYWQy6ISKR0/kc/OCAXBLE/9OI0FJw== X-Received: by 10.202.235.215 with SMTP id j206mr2452499oih.74.1484764157577; Wed, 18 Jan 2017 10:29:17 -0800 (PST) In-Reply-To: <8360lc8dha.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128211 Archived-At: --001a113ce90030100705466298f1 Content-Type: text/plain; charset=UTF-8 Eli Zaretskii schrieb am Mi., 18. Jan. 2017 um 18:50 Uhr: > > From: Philipp Stephani > > Date: Tue, 17 Jan 2017 20:43:33 +0100 > > > > > > Customize auto-save-visited-file to t, then edit a buffer and wait until > > it's auto-saved. Even after auto-saving the lock file (.#) is still > > present. It should be removed after a successful auto-save. > > Does the patch below give good results? > > I haven't tested it extensively, but it appears to work as desired. Thanks! --001a113ce90030100705466298f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Eli Za= retskii <eliz@gnu.org> schrieb am= Mi., 18. Jan. 2017 um 18:50=C2=A0Uhr:
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Tue, 17 Jan 2017 20:43:33 +0100
>
>
> Customize auto-save-visited-file to t, then edit a buffer and wait unt= il
> it's auto-saved.=C2=A0 Even after auto-saving the lock file (.#) i= s still
> present.=C2=A0 It should be removed after a successful auto-save.

Does the patch below give good results?


I haven't test= ed it extensively, but it appears to work as desired. Thanks!=C2=A0
--001a113ce90030100705466298f1--