From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#34911: 26.1; doc about lock file names Date: Sun, 19 May 2019 13:22:10 -0400 Message-ID: <87pnoebbr1.fsf@gmail.com> References: > <83bm27uzbr.fsf@gnu.org>> <874l5ziqci.fsf@gmail.com> <871s0ucxnb.fsf@gmail.com> <509ba95a-d515-40e8-a76f-3f614faeef47@default> <87y332bhsi.fsf@gmail.com> <4a06302a-e494-45bc-bdb2-06d2fe68974b@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="222185"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 34911@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 19 19:23:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSPWo-000vYs-56 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 19:23:18 +0200 Original-Received: from localhost ([127.0.0.1]:51280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSPWm-0000BE-Ej for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 13:23:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSPWY-0000Aq-IZ for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 13:23:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSPWX-0003qI-R4 for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 13:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSPWX-0003qB-NV for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 13:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSPWX-0000kU-IG for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 13:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 May 2019 17:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34911 X-GNU-PR-Package: emacs Original-Received: via spool by 34911-submit@debbugs.gnu.org id=B34911.15582865392804 (code B ref 34911); Sun, 19 May 2019 17:23:01 +0000 Original-Received: (at 34911) by debbugs.gnu.org; 19 May 2019 17:22:19 +0000 Original-Received: from localhost ([127.0.0.1]:35467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSPVr-0000jA-3D for submit@debbugs.gnu.org; Sun, 19 May 2019 13:22:19 -0400 Original-Received: from mail-io1-f44.google.com ([209.85.166.44]:39248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSPVp-0000iv-VY for 34911@debbugs.gnu.org; Sun, 19 May 2019 13:22:18 -0400 Original-Received: by mail-io1-f44.google.com with SMTP id m7so9233052ioa.6 for <34911@debbugs.gnu.org>; Sun, 19 May 2019 10:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YRNL5OBDE27s/Z81Gb2CCQ+HZt0j2fCOPQeQuKjpH6M=; b=TqsG/Sl/q9mqTgecGJ307BJACmYnircqn4ngQrPayBmQkBh518qtDhU2NWdxSVhYEJ LomTipVBojURmUNtHEuykxM/7oz70ijYCIhX/vv83DdNihTxy3oSZ1MMbc/9lv366mUk jQXS25ggCqjQHR/RE872FVkOnBna6ga7onaFRaUGaQg674IWpgaB74xTcpNXxMBQ91te Mevqc0Zk+e0T+wqkSnmRfi8ESJh7nhuUxplEnnwgzHihqiOfSkFciSNh2PlDjPFAw7z8 u6G64zlm3012TLR/2grS8Q5lYcNnC5dpkYSH2MLpAjD60nhmrgPirtsEEJZfO2hKIk8m sapg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=YRNL5OBDE27s/Z81Gb2CCQ+HZt0j2fCOPQeQuKjpH6M=; b=lmzG/XPtfjtMzVFnWKlq/vF6h1Hb4nXpfLK6ckH6s7EcTMmo1bOu7UbdbsZVDv0EFj vlU2ErT2ggKyftXR2JpFotjK20W7DAvDY2RuJJIQSWQFhAoNiYoc/PMFsQNGg/YdTg3e TqWU0i6LlrbACuCtqE9IMnuPlC7RFQDTFO7/zS5fYRmhUturH9fFgghLyooiwMon2cOg nsW6zg9HG5RNhiVpPLdSPKcf0D7azTzwJ0WHCTqIzNiCzq65c2xSEYDsY8y7nxTv8OsU vZ9LtfAitO6cNSwPPC0eObk3dG3j9F0k1VK10eULZkl/uea+cy502vxhMyWqhzuK/zk+ ym9A== X-Gm-Message-State: APjAAAVJNxZBKzhjxCRgOFEMtAnKBnPGAYMVqnKTQd1lBO8Wi7N3ZR3O FtL8ANcCC3I5Z/b0BSVJdK3wBYAW X-Google-Smtp-Source: APXvYqxekP/0l8uzSXpIUih/zFIT0R6DdwbYYQHmDxdR0L/8Yjf2mSrKiar+dr+TjRkqj74Qh+whQg== X-Received: by 2002:a05:6602:2286:: with SMTP id d6mr39757615iod.257.1558286532159; Sun, 19 May 2019 10:22:12 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id p11sm3129624itc.2.2019.05.19.10.22.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 May 2019 10:22:11 -0700 (PDT) In-Reply-To: <4a06302a-e494-45bc-bdb2-06d2fe68974b@default> (Drew Adams's message of "Sun, 19 May 2019 16:29:37 +0000 (UTC)") 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: 209.51.188.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:159553 Archived-At: Drew Adams writes: >> "^\\.#\\|^#.*#$" instead of "^\\.?#" > > I don't think so. More like this, I think: > > "^\\.?#[^#]#$\\|^\\.$\\|^\\.\\.$" or preferably this: This will fail to match lock file names (because they don't end in "#"). > But maybe .* is better than [^#]; dunno. Specifically, [^#] will fail for filenames that include "#". (let ((buffer-file-name "/foo/my-#tag-list")) (make-auto-save-file-name)) ;=> "/foo/#my-#tag-list#"