From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#34911: 26.1; doc about lock file names Date: Tue, 19 Mar 2019 13:15:00 -0700 (PDT) Message-ID: References: <<>> <<<83bm27uzbr.fsf@gnu.org>>> <> <<83r2b2u3j4.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="75661"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34911@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 19 21:16:53 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 1h6LAK-000JcP-KI for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Mar 2019 21:16:52 +0100 Original-Received: from localhost ([127.0.0.1]:35067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6LAJ-0007JS-H7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Mar 2019 16:16:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6L9w-0007Fv-PR for bug-gnu-emacs@gnu.org; Tue, 19 Mar 2019 16:16:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6L9g-00055M-6T for bug-gnu-emacs@gnu.org; Tue, 19 Mar 2019 16:16:28 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6L9W-0004vg-BD for bug-gnu-emacs@gnu.org; Tue, 19 Mar 2019 16:16:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6L9W-00026c-20 for bug-gnu-emacs@gnu.org; Tue, 19 Mar 2019 16:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Mar 2019 20:16: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.15530265117999 (code B ref 34911); Tue, 19 Mar 2019 20:16:02 +0000 Original-Received: (at 34911) by debbugs.gnu.org; 19 Mar 2019 20:15:11 +0000 Original-Received: from localhost ([127.0.0.1]:50912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6L8h-00024w-Av for submit@debbugs.gnu.org; Tue, 19 Mar 2019 16:15:11 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:47300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6L8f-00024e-IP for 34911@debbugs.gnu.org; Tue, 19 Mar 2019 16:15:10 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x2JKDmoi149898; Tue, 19 Mar 2019 20:15:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=LfKZnhgoZKlapEwYhaUXyeRM0/N/WfkASGM9hzVqnuk=; b=g395L8yZt9xfxN8eP+omVvpaENtw8/PWa5eSlx8V8OfSUQlunNsWr73SrOcJUuchPY+n 8INrLTCF9vZQ7kRcYcBMUHYq8YGVt/SwREmXZIhmPXYtWvunrn6naMW6t7PZTiv0sFUI ce10HPkw1YU4d0tmXxg690N+lzRWBBe+FYO1s4RHL8eUk2yTkmRL301jpLSuarPsdRDu ZeYcCeS0hrQn5VQyX0uPe2CrW0UdoQvCcB0VnpVhAHHUugx7q2bOhy+8ljr1f6iSyN6E oJzYfeRBKXv9QhDjEEJfTiXI/SMybs6oXqFx8+zAPdvncJku6bmeECAHUudGkASfQx4f fA== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2r8rjuq2p0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Mar 2019 20:15:03 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2JKF1Yq012618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 19 Mar 2019 20:15:02 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x2JKF1ju028447; Tue, 19 Mar 2019 20:15:01 GMT In-Reply-To: <<83r2b2u3j4.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4822.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9200 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903190142 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:156516 Archived-At: > > 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. >=20 > Then maybe we need to change the default value, but that's a separate > issue. AFAIU, the bug report was about documentation. Yes, improving the default value is welcome (and needed). But currently it is unchanged. As a result there is a doc bug because what the doc says about the default value is incorrect. If you fix the default value to be what the doc says then the doc will not need to change. Else it does need to change. BTW, I think (but am not 100% sure) that `^' and `$' are the wrong things to use here. Instead, `\`' and `\'' should be used. > > Also, please add a doc string for `dired-omit-regexp', > > referring to `dired-omit-files' (where this missing doc > > will hopefully be added) and `dired-omit-extensions', as > > is done for `dired-mark-omitted', for example. >=20 > Another separate issue, unrelated to file locks, AFAIU. Do you need a separate bug report for that? > > Does this clarify what I meant by "the default value only > > approximately matches auto-save files (and lock files?)"? >=20 > Yes, but I don't necessarily see that as a problem. Why not?