From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31009 invoked from network); 3 Dec 2021 03:18:50 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 3 Dec 2021 03:18:50 -0000 Received: from localhost ([::1]:55430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msz5z-00010F-O2 for ml@inbox.vuxu.org; Thu, 02 Dec 2021 22:18:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msz5v-000106-8N for info-gnus-english@gnu.org; Thu, 02 Dec 2021 22:18:43 -0500 Received: from ciao.gmane.io ([116.202.254.214]:34056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msz5t-00009d-5N for info-gnus-english@gnu.org; Thu, 02 Dec 2021 22:18:43 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1msz5q-0006ip-9w for info-gnus-english@gnu.org; Fri, 03 Dec 2021 04:18:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: Eric Abrahamsen Subject: Re: question about org-link gnus message and gnus registry Date: Thu, 02 Dec 2021 19:18:33 -0800 Message-ID: <87bl1yz88m.fsf@ericabrahamsen.net> References: <87o860krsm.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:fTweaqtD+ICro2QCduW1AwweyVs= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" physiculus writes: > hello, > i'm just struggeling about the consistency of an org-link to a gnus message > after moving this message into another folder on same server or a > different one. > > scenario: > i create a org link with org and insert the link into an org file. > works. > > now i move the message inside gnus to another folder. > > open the link inside the org file is not valid anymore. > > i thought, that the registry is responsible for saving the position of > any message. therefore it saves the message-id and use this to locate > the message. > > and i thought, that org-link "knows" this message-id, though the link to > the message is valid without the position of the folder or better the > position of the message inside the folder. > like a database index. > but now i'm quite sure, that my thoughts were completely wrong?? > or is it possible to locate a message through org-link? To your original question! Yes, theoretically `org-gnus-follow-link' could try to locate the message the regular way, and if that doesn't work, could check `gnus-registry-enabled' and then try `gnus-registry-get-id-key' to get the new group. Someone would have to write that code, though! Eric