From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: How can org-store-link access other buffers ? Date: Fri, 06 Dec 2024 23:41:53 +0100 Organization: GNU Message-ID: <87ikrwigcu.fsf@gnu.org> References: <20241119112239.6c2139d2@enoush2o> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14410"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs To: Alexandros Prekates Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 06 23:44:35 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJh3r-0003X2-Gz for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Dec 2024 23:44:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJh3M-0003ni-EU; Fri, 06 Dec 2024 17:44:04 -0500 Original-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 1tJh3K-0003nZ-Of for help-gnu-emacs@gnu.org; Fri, 06 Dec 2024 17:44:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJh3K-0001BK-Gm; Fri, 06 Dec 2024 17:44:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=3DEj8sGBb+hq8s/LQwkhuUaQFiiyElJonCJq3csB6Oc=; b=OX1Hoa3UV0t78CTDg75e U3DK4IZr4GW0O8jkjI/WFdUPEvJIlDJdqqgIZVRiLOl9cTVTFzswxvNIJOJ5Pc1sKmKzEIreBF0Ad 7ZxsgssFp9bLWeZ0RofFz7/3hPQg1NtI7EVbUv4udRkVYC39wwlQ0gPOqX9Tr5wwbO2ycM6ahkqPn 1bw8xzUu+aM+fTtBlajTzn1KdW1eHjbQTERYkUR5ssu5GjFzT8Ky/UiTJA4icLYjTTXWJUVfE7Mtj K2uw2dc0c7Q9XzFFLx01RX6g5i8Twtipkgg/r70a73Eg95UL5ad320CY3v8uGMPlOx9CRKqq7RGmD iE/l3D1Gap8Ung==; In-Reply-To: <20241119112239.6c2139d2@enoush2o> (Alexandros Prekates's message of "Tue, 19 Nov 2024 09:22:39 +0000") X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148641 Archived-At: Hi Alexandros, Alexandros Prekates writes: > How can org-store-link access other buffers where org mode is not > active? Yes, it's exactly what org-store-link does. I bind it to a global key like this: (define-key global-map "\C-cl" 'org-store-link) then I call it from a dired buffer, a Gnus message buffer, etc. HTH, -- Bastien