unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How can org-store-link access other buffers ?
@ 2024-11-19  9:22 Alexandros Prekates
  2024-12-06 22:41 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandros Prekates @ 2024-11-19  9:22 UTC (permalink / raw)
  To: help-gnu-emacs

How can org-store-link access other buffers where org mode is not
active?

Alexandros



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How can org-store-link access other buffers ?
  2024-11-19  9:22 How can org-store-link access other buffers ? Alexandros Prekates
@ 2024-12-06 22:41 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2024-12-06 22:41 UTC (permalink / raw)
  To: Alexandros Prekates; +Cc: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-06 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19  9:22 How can org-store-link access other buffers ? Alexandros Prekates
2024-12-06 22:41 ` Bastien

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).