From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: removal of org-maybe-keyword-time-regexp Date: Thu, 12 Mar 2020 12:03:55 -0700 Message-ID: <87wo7p2y5g.fsf@ericabrahamsen.net> References: <871rpyerjw.fsf@free.fr> <87k13qoaxx.fsf@nicolasgoaziou.fr> <87pndi4m2h.fsf@ericabrahamsen.net> <87fteeo7nf.fsf@nicolasgoaziou.fr> <87eety4i0l.fsf@ericabrahamsen.net> <878sk6nfts.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:37052) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCT7l-0008Cl-EB for emacs-orgmode@gnu.org; Thu, 12 Mar 2020 15:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCT7k-0003VM-FB for emacs-orgmode@gnu.org; Thu, 12 Mar 2020 15:04:05 -0400 Received: from ciao.gmane.io ([159.69.161.202]:33112) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCT7k-0003V0-9N for emacs-orgmode@gnu.org; Thu, 12 Mar 2020 15:04:04 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jCT7g-0008RT-Uo for emacs-orgmode@gnu.org; Thu, 12 Mar 2020 20:04:00 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> I would have liked to know what the "something else" was! Or even "Org >> link regexps have been rewritten", something like that. > > I added an obsolescence warning about it in "org-compat.el". It will > still break upstream, since there is no replacement for the variable. I suppose I should have been watching the compiler more closely... >> Looks like commit "Move link-related core functions out of \"org.el\"". >> Nearly a year ago -- I wasn't paying attention! But defining link >> regexps as aliases of other link regexps meant that the regexps matched, >> but the match groups were off: that led to silent failure, and took >> quite a while to debug. I guess I would have preferred a loud failure. > > Most variables were only renamed. It's possible that a few of them > changed match groups, but that was probably not intentional (I cannot > remember). The only intended change was `org-link-bracket-re', which is > documented in ORG-NEWS. It was `org-bracket-link-analytic-regexp', which was made an alias for `org-link-bracket-re', but the groups were different. I just moved straight to using `org-link-any-re'. Anyway, it wasn't a huge problem, and I'm happy to keep up with Org changes, but in this case the silent failure was a bit tricky. Eric