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 10:43:52 -0400 Message-ID: <871s0ucxnb.fsf@gmail.com> References: > <83bm27uzbr.fsf@gnu.org>> <874l5ziqci.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="27693"; 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 16:44:12 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 1hSN2q-000776-A7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 16:44:12 +0200 Original-Received: from localhost ([127.0.0.1]:49625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSN2p-0007Ml-36 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2019 10:44:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSN2h-0007Mf-LP for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 10:44:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSN2g-0002mY-PJ for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 10:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50004) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSN2g-0002mQ-MH for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 10:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSN2g-00008h-Iz for bug-gnu-emacs@gnu.org; Sun, 19 May 2019 10:44:02 -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 14:44:02 +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.1558277041521 (code B ref 34911); Sun, 19 May 2019 14:44:02 +0000 Original-Received: (at 34911) by debbugs.gnu.org; 19 May 2019 14:44:01 +0000 Original-Received: from localhost ([127.0.0.1]:35315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSN2f-00008L-27 for submit@debbugs.gnu.org; Sun, 19 May 2019 10:44:01 -0400 Original-Received: from mail-io1-f44.google.com ([209.85.166.44]:44450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSN2d-000086-BA for 34911@debbugs.gnu.org; Sun, 19 May 2019 10:43:59 -0400 Original-Received: by mail-io1-f44.google.com with SMTP id f22so9033299iol.11 for <34911@debbugs.gnu.org>; Sun, 19 May 2019 07:43:59 -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=D/x4N/aUtV043Uhy+g1BvI5cOQXwOAs88uHuQUOZuAU=; b=nJkBJeFUyulU5/S9oChq0hbb6SohRiFdiFC/Ccc9IAoSBHibVSz1z0u0K3tWrU9fSs 1xS4i2f56EsZ970NIKSUBOohYH9Ge02+C2IFgp+zPauMMfwgFz0pC5kxUtEHYqclECu/ 9kReELEInUj1EEXlI0LKR5R1rUij9/+3JiUQ/UMMRDWFNF71JrsD0Jg7bBt8QvMNFhTE 6YdcbBf5eBDrGVl6N6rrnZbVKj0PLZcqHkHdUhbJFGQ0IxkV83QzI+VZwKqXAjFmYOn7 QTlSoivmRKJbS1RHcO8qFXPQBcHJg5a3reAoRWXjQf9pGjAL6qMKyP7juiogGVa71pjd WUCA== 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=D/x4N/aUtV043Uhy+g1BvI5cOQXwOAs88uHuQUOZuAU=; b=FDNgbYSV05EufDxzFe/XMY5L6BMs4uGX/HN32/+y89XTWz7psQRtzjceqI2Rj2nom2 rcEjzNelHYhIt6TVtwpyOJIShJIcxWLA7YprRu2ekixAv9SvZ4Pa74+gSeAu4c1cXKrb NXl8/bRq4i+OqvQqucsRhDbmOk9ynL0LRahcFSm/qDljrJ3jJhKXXw4n2Usv+nFCzXeO xXZgqNt+rM7V47rAymyDBtsCa3c7J9Aw+4mPkrdBEMkYW53WJnZug7BJAvuwfQV9MQgH cA/PZT3JT6pzIGFwM3X7N4G3v42fanMRNKDV4/9zWPWgAY5gCTNOO+Ee740QGMClq/A1 7Kfw== X-Gm-Message-State: APjAAAV8oJyzgi8YyHHKVKTzOVJEzfiLRHbmipnKawKC5BFBpOZsuCx2 jAj+JZZyrNVTJRmvCZWQnOaoj5xx X-Google-Smtp-Source: APXvYqwiTUvZRzINPowuXtjXYT4uKN+soetmD0xJvAxnPjC6qA/J3zud0CYvw6YOJrV+1qM9LMgeMA== X-Received: by 2002:a6b:e510:: with SMTP id y16mr11974098ioc.259.1558277033568; Sun, 19 May 2019 07:43:53 -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 c65sm3158553itd.11.2019.05.19.07.43.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 May 2019 07:43:53 -0700 (PDT) In-Reply-To: <874l5ziqci.fsf@gmail.com> (Noam Postavsky's message of "Sun, 12 May 2019 12:34:37 -0400") 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:159545 Archived-At: Noam Postavsky writes: > Drew Adams writes: >> >> The default value is "^\\.?#\\|^\\.$\\|^\\.\\.$". >> >> \\.?# matches only the first char of an auto-save file >> name, and the first two chars of a lock file name. It >> does not match the full name, requiring it to end with >> `#'. That means that (1) it cannot be used as is for, >> say, font-locking such a (complete) name, and (2) as >> it is now, it can falsely identify files that are not >> auto-save or lock files. > > It's a regexp, so of course you can name files which aren't auto-save or > lock files in such a way that they match it. After looking at it some more, I realize you were probably suggesting that the regexp should have something like "^.#\\|^#.*#$" instead of "^\\.?#"