unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bastien <bzg@gnu.org>
To: Alexandros Prekates <aprekates@posteo.net>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: How can org-store-link access other buffers ?
Date: Fri, 06 Dec 2024 23:41:53 +0100	[thread overview]
Message-ID: <87ikrwigcu.fsf@gnu.org> (raw)
In-Reply-To: <20241119112239.6c2139d2@enoush2o> (Alexandros Prekates's message of "Tue, 19 Nov 2024 09:22:39 +0000")

Hi Alexandros,

Alexandros Prekates <aprekates@posteo.net> 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



      reply	other threads:[~2024-12-06 22:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19  9:22 How can org-store-link access other buffers ? Alexandros Prekates
2024-12-06 22:41 ` Bastien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ikrwigcu.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=aprekates@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).