From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 8061 invoked from network); 2 Apr 2020 13:06:12 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with UTF8ESMTPZ; 2 Apr 2020 13:06:12 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jJzXJ-0007QQ-N2; Thu, 02 Apr 2020 08:05:33 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jJzXF-0007Nh-FC for ding@lists.math.uh.edu; Thu, 02 Apr 2020 08:05:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jJzXD-0004yC-Tx for ding@lists.math.uh.edu; Thu, 02 Apr 2020 08:05:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xN4Pw4UG3dyCpom/+7Un41wGtoBioE3Eh2e8XO6xv4g=; b=g+i/AmFM1zYoa6uioFs1qcBl/9 1+JaCQu4iMgsC8RSXs1abPd5P0ssGeZmMtCphS13tHIf2BrCla9se/ZWl6r5ItqS9dj87CJvB1hOI NpTTY5PTtq4IfKlVuSlh7nhDmjUeaipVUwK7MQQcs6RinLjQCIc4sqQIQDXaCn470/Ag=; Received: from ciao.gmane.io ([159.69.161.202]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJzX5-0005x7-SS for ding@gnus.org; Thu, 02 Apr 2020 15:05:23 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jJzX4-0005IA-Oa for ding@gnus.org; Thu, 02 Apr 2020 15:05:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: hobbes@poukram.net Subject: Re: saving registry is fixed, but gnorb still can't gnorb-org-view Date: Thu, 02 Apr 2020 15:05:11 +0200 Message-ID: <87a73uca2g.fsf@sphax> References: <87d08rs5ei.fsf@sphax> <87y2rec48a.fsf@sphax> <87bloahlmo.fsf@ericabrahamsen.net> <87zhbug5l2.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:I+mPcEMSrs8igjsNu/sQy/V7Kcg= List-ID: Precedence: bulk Eric Abrahamsen writes: >> In your case, there's a link that has no message ID part. You could take >> a look at the Org tree in question and see which it is, and if you know >> how that link might have been created (or mangled). > > Ooh, I might be wrong -- I got bitten by Org's changing link-related > regular expressions, and fixed some code for the new regexps, and > apparently wasn't careful enough with the fix. I'm assuming in your > subtree there's a "plain" link to a Gnus message, ie one that isn't > wrapped in brackets. Would you eval the function below and see if it > fixes the problem? > > (defun gnorb-scan-links (bound &rest types) > (unless (= (point) bound) > (let ((alist (mapcar #'list (copy-sequence types)))) > (while (re-search-forward org-link-any-re bound t) > (pcase-let* ((`(,type ,link) (split-string > (or > (match-string-no-properties 2) > (match-string-no-properties 0)) > ":")) > (sym (intern-soft type))) > (when (and sym (memq sym types)) > (push link (alist-get sym alist))))) > alist))) So, after some more experimenting: it's indeed linked to the gnus links in the org tree. But all links have brackets, and all have a message id, and I can follow them. Evaluating the defun didn't help. If I remove the links, C-c v works like it should, so it's clearly linked to those links... Thanks, -- RĂ©mi