From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.bugs Subject: bug#13564: 24.2.91; Reg-exp in directory-files stops working (badly affects org-mode) Date: Thu, 3 Oct 2019 21:50:32 +0200 Message-ID: References: <87pq0qae6h.fsf@gmail.com> <878sq1g2q5.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a97a39059406e6d9" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="168185"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 13564@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 03 21:59:47 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iG7GL-000heL-Nf for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2019 21:59:45 +0200 Original-Received: from localhost ([::1]:39844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG7GK-0005tk-K6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2019 15:59:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54025) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG77v-0008Ir-KJ for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 15:51:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG77u-0006zR-AM for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 15:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG77u-0006zI-78 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 15:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iG77u-0003Oq-4g for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 15:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vitalie Spinu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2019 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13564-submit@debbugs.gnu.org id=B13564.157013225213048 (code B ref 13564); Thu, 03 Oct 2019 19:51:02 +0000 Original-Received: (at 13564) by debbugs.gnu.org; 3 Oct 2019 19:50:52 +0000 Original-Received: from localhost ([127.0.0.1]:41313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG77j-0003ON-Km for submit@debbugs.gnu.org; Thu, 03 Oct 2019 15:50:51 -0400 Original-Received: from mail-qk1-f176.google.com ([209.85.222.176]:46643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG77h-0003O8-RB for 13564@debbugs.gnu.org; Thu, 03 Oct 2019 15:50:50 -0400 Original-Received: by mail-qk1-f176.google.com with SMTP id 201so3574239qkd.13 for <13564@debbugs.gnu.org>; Thu, 03 Oct 2019 12:50:49 -0700 (PDT) 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=zHpATB0xDpwTWpqXvLJZe3BuKmVjArM4rS4BX3H7Xgg=; b=R0T8KpfmYvJoVnkiTpPuuUoBp34eAWi2VywEFc7LzhdnLWhUxCUouONJPsLO38xaOI 4fiDCDxPIYm+L2rR9Mv++KursqSj3jaEAT3/JO8ouRJ+/FyAfHnrZPd9FFUepz205Hvb Pi9cJmq26P8+f32xD8WWhCBDv2iPpt/8zbUTN1MdUOYMKg1Grwntlex2F8WUqv2btWIo mRmhSxp8Ut7epYiXlOdzUiM/PWgw9hJp33HwcsRDz+27pT9rMKdijz3xXsdxp8qcX0z/ 5A5yn4AwUtAur3a0nAKLgle57X/Xt3wLnbErLvXMLs6aSzgc/CrJwn4SGrGsCmcnYBrK 5xQw== 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=zHpATB0xDpwTWpqXvLJZe3BuKmVjArM4rS4BX3H7Xgg=; b=o+qDZ0bPuqa8BX5aCqALCjOep5k6xQuX7yiDaAQS7Cn3StNRvSkJHbC8lCDAZxpg3W OuEpq7ZaQirbZ2j3Ovs9WF/DWJEEVlPyUeQwpC7YALOKD4XZgccUsL48MQApXVWd1LCL dAEiye87vh9IBzP+LcilRFR8FOpFsBCcmBHmxUumBkobgcuTbqQ/v9TbJ8TmHGQXJqm2 cfEuQbyPimXMmu9YVcl4bLd5zVeAVUVvNAqE+j79GNLLXeiyPWh3h32S+B7FhfB2L+FF Bjn0pHH0BN/sj8MepitDYEsJsO2/L5pXdCGzrlUOzR8mZ+oTINdybEdyjmLDPVy11pue QYHg== X-Gm-Message-State: APjAAAULCJkyEZ0vzit0yLvS7+ABRAZ7pj1RLCbB5xxMgOV+wjx9XCv4 T5q5/YDIU727914Dzv7dH3RgbRi9toFDHx1PCkg= X-Google-Smtp-Source: APXvYqyMxximwt5xm47GYWLJJeXr6GC1F0FGJU6Y6dIRlV6tKMCLgn+SZ2AtAQK81AAKRrXWBhQ9/635Ic3vXlylc1g= X-Received: by 2002:a05:620a:1252:: with SMTP id a18mr6361531qkl.88.1570132244133; Thu, 03 Oct 2019 12:50:44 -0700 (PDT) In-Reply-To: <878sq1g2q5.fsf@gnus.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: 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:168284 Archived-At: --000000000000a97a39059406e6d9 Content-Type: text/plain; charset="UTF-8" Hi Lars, No, I haven't noticed this since. This one can be closed AFAIC. Thanks, Vitalie On Thu, 3 Oct 2019 at 19:26, Lars Ingebrigtsen wrote: > Vitalie Spinu writes: > > > I have just experienced this for the second time this week. > > > > I have plenty of org files in my "~/pim" directory. After a couple of > > days of uptime org agenda stops recognizing my files. I have tracked it > > down to directory-files: > > > > (directory-files "~/pim/" nil ".*\\.org\\'") > > > > returns only a small fraction of all available files. If I start emacs > > anew it works as expected. > > > > What is going on with directory-files? Are there flags that can change > > its regexp matching? > > (I'm going through old Emacs bug reports that unfortunately got no > response at the time.) > > There shouldn't be anything that can make that function stop working in > this way. > > Have you seen this behaviour in more modern versions of Emacs? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --000000000000a97a39059406e6d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Lars,=C2=A0

No, I haven't notice= d this since. This one can be closed AFAIC.

Thanks= ,

=C2=A0 Vitalie

On Thu, 3 Oct 2019 at 19:26,= Lars Ingebrigtsen <larsi@gnus.org= > wrote:
Vita= lie Spinu <spinu= vit@gmail.com> writes:

> I have just experienced this for the second time this week.
>
> I have plenty of org files in my "~/pim" directory. After a = couple of
> days of uptime org agenda stops recognizing my files. I have tracked i= t
> down to directory-files:
>
>=C2=A0 =C2=A0 (directory-files "~/pim/" nil ".*\\.org\\&= #39;")
>
> returns only a small fraction of all available files. If I start emacs=
> anew it works as expected.=C2=A0
>
> What is going on with directory-files? Are there flags that can change=
> its regexp matching?

(I'm going through old Emacs bug reports that unfortunately got no
response at the time.)

There shouldn't be anything that can make that function stop working in=
this way.

Have you seen this behaviour in more modern versions of Emacs?

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--000000000000a97a39059406e6d9--