From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AJ3yOE/eu2TmLgEASxT56A (envelope-from ) for ; Sat, 22 Jul 2023 15:49:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gFChOE/eu2QHbQAAauVa8A (envelope-from ) for ; Sat, 22 Jul 2023 15:49:03 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7CEAD4955D for ; Sat, 22 Jul 2023 15:49:03 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EQFtH6yv; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690033743; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gjJxSA8bABJid/SRljrqhyC7SRixYiW2QZVr+NCkIOI=; b=kJjNg/rFWS4ACjvki3Pd7AhkDnUFej6P2tvUDjGO5bMQmrQuOGXDCBIZUgVaDYBCAzdSjE u09lNZrQ3cQJ52HkkHODz8UR2USZKZxEmQseeJgNMYCnfGKIDOQNFn74Xy+EXYEapBctbz RhIw8IPiHxbYLth80W0Gm0FZVc+c3I0J7EMX6/2g8E6YHGm98PowJNXgVgXy2DYph42J9f x7wa9PMatbWUCal3F/QH9n2Og/+UQb82PO7Be+bw4JBO0f5oHpK0cKhhnmVDxpImOfkCNZ 7gBILupYWZidn04xSrz8oDobRDz7hkIdwR2Ptv39aCcKGhdXOZVJbYhqhUovUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690033743; a=rsa-sha256; cv=none; b=OhE9+Y+a58c9AP1wPCQX0NHuBI1x2khLQRsgxu0ZoDNlmIClLWh3rlbo4fiaDEIXDQku1J AJRYnmAMnrVtuJgAcJDUYPNKz3Jm39Pe23irRD7MYXiIc1qHzp+VHykCYa1EfgeszxidEE plnWp5BZxM9CY1gJ41769gWRnbRcVk8r3I0iQ8PS0eyngxIMtI5mwxVkhtri/2mIGeGS1D 3LgzyZTXmAIPgvKaD7N0zcu2Y1hVsairD8W5PzBQwwtKY9Yy7FyA1y/TOJ5LyulYqZJ5nd mckSKj9S+jlh24hA+qNAWlFujDkOZRP1DKnVj2LEF/INWFH1RA7BEwcN2xfGmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EQFtH6yv; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qNCxn-0006Du-4I; Sat, 22 Jul 2023 09:48:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNCxl-0006DX-4R for emacs-orgmode@gnu.org; Sat, 22 Jul 2023 09:48:01 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qNCxj-0003Lf-2Z for emacs-orgmode@gnu.org; Sat, 22 Jul 2023 09:48:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E05DC240027 for ; Sat, 22 Jul 2023 15:47:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1690033676; bh=f8kczP/+KbKsSAAvHAzY6nSzk1GqPbcj9fJ5JzSHy8g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=EQFtH6yvtqSN/pQ0OQlpQ2+EDS1BRNVyQE4J/naRIasctoyBN8BBMdmNDOyySTcW9 /y0nH2xX6k8R8eXwJNiDBf7QYwKW+c/HYhvv8hiPf/AXHWbAWOQuczzvUK/ntZKxZW Y89DKnk2D53FBEEOrO5VdBgER9GwpYTARFt0+cut4vOwgZCDH3puiRLt8XljF2sd8f hVrkHXd7mtgkPsAf0/YQ/YBA2onrCWR9wdAkkuyg+EArEk47+HdXtqiZ/xg7AjMSE3 lVaPyBE/D4VYVcF6ZiCUH59T7gNjS3Ov9Scw6W8NRY2LpoVrlopQICEFem//g3F0ll eXCnu6aoalCiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R7SRb3YVvz6tvr; Sat, 22 Jul 2023 15:47:55 +0200 (CEST) From: Ihor Radchenko To: Jens Schmidt Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)] In-Reply-To: <2fa5914d-2cbf-f41f-8be6-e79e77794140@vodafonemail.de> References: <2fa5914d-2cbf-f41f-8be6-e79e77794140@vodafonemail.de> Date: Sat, 22 Jul 2023 13:48:07 +0000 Message-ID: <87y1j8rrag.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.37 X-Spam-Score: -6.37 X-Migadu-Queue-Id: 7CEAD4955D X-Migadu-Scanner: mx1.migadu.com X-TUID: JOdNA3CVO9Fr Jens Schmidt writes: > The most obvious symptom is this: > > - Create an nnselect group and open an article from that. In the > article buffer, do M-x org-store-link RET, then paste the link with > C-c C-l in some Org mode buffer. The resulting link looks like > > gnus:#E18xcfu-0004HT-00@fencepost.gnu.org > > That is, it lacks the group name before the hash sign. Correct would > have been: > > gnus:nnml+archive:test01#E18xcfu-0004HT-00@fencepost.gnu.org > > Starting with Emacs 30, you even more obviously get an error: > > Debugger entered--Lisp error: (wrong-type-argument > number-or-marker-p nil) Thanks for reporting! ol-gnus is not very actively maintained, so there be dragons. > The root cause is that some of the Gnus functions used in > `org-gnus-store-link' must be called only in summary buffers, and not in > article buffers. These are: > > gnus-summary-article-number > nnselect-article-group > > Not sure about these, but it is probably also better to call these in > summary buffers only: > > nnvirtual-map-article > nnir-article-group > > The remedy for these issues is simple: When calling above functions just > temporarily and unconditionally switch to the summary buffer with > > (with-current-buffer gnus-summary-buffer ...) > > where buffer-local variable `gnus-summary-buffer' in an article buffer > points to the summary buffer where the articles comes from. (And for > a summary buffer the variable points to the summary buffer itself.) I am not familiar with Gnus, but looking at the code, may it be that a Gnus article is open when Gnus summary buffer is not? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at