all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.