emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-roam: how to have links un-opened
@ 2023-02-21 10:57 Fraga, Eric
  2023-02-21 11:34 ` Ruijie Yu via General discussions about Org-mode.
  0 siblings, 1 reply; 5+ messages in thread
From: Fraga, Eric @ 2023-02-21 10:57 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hello all,

I'm using org-roam for notes and it's working very nicely.  There is
just one thing I would like to adjust.  The org-roam buffer has all
backlink entries "open" and I would like the default view to be with the
individual links listed but not opened.  I assume I can set something in
the org-roam-mode-hook but I am not sure what to set.  I also assume
that this might be magit related (as it uses the same framework).

Any suggestions?

Thank you,
eric

-- 
: Eric S Fraga, with org release_9.6-204-g2f7052 in Emacs 30.0.50

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

* Re: org-roam: how to have links un-opened
  2023-02-21 10:57 org-roam: how to have links un-opened Fraga, Eric
@ 2023-02-21 11:34 ` Ruijie Yu via General discussions about Org-mode.
  2023-02-22 11:31   ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Ruijie Yu via General discussions about Org-mode. @ 2023-02-21 11:34 UTC (permalink / raw)
  To: Fraga, Eric; +Cc: emacs-orgmode


"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> Hello all,
>
> I'm using org-roam for notes and it's working very nicely.  There is
> just one thing I would like to adjust.  The org-roam buffer has all
> backlink entries "open" and I would like the default view to be with the
> individual links listed but not opened.  I assume I can set something in
> the org-roam-mode-hook but I am not sure what to set.  I also assume
> that this might be magit related (as it uses the same framework).
>
> Any suggestions?
>
> Thank you,
> eric

Not sure if you realized, but org-roam [1] is a separate project from
org.  Maybe you would have better luck posting in their bugtracker
instead?

[1] https://github.com/org-roam/org-roam

--
Best,


RY


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

* Re: org-roam: how to have links un-opened
  2023-02-21 11:34 ` Ruijie Yu via General discussions about Org-mode.
@ 2023-02-22 11:31   ` Ihor Radchenko
  2023-02-22 11:39     ` Fraga, Eric
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2023-02-22 11:31 UTC (permalink / raw)
  To: Ruijie Yu; +Cc: Fraga, Eric, emacs-orgmode

Ruijie Yu via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:

> Not sure if you realized, but org-roam [1] is a separate project from
> org.  Maybe you would have better luck posting in their bugtracker
> instead?

Org mailing list is not restricted to vanilla Org.
Asking about org-roam is perfectly on-topic.

Of course, asking about Org roam on Org forums may have a better change
to get a more specific answer.

> ...  The org-roam buffer has all
> backlink entries "open" and I would like the default view to be with the
> individual links listed but not opened.  I assume I can set something in
> the org-roam-mode-hook but I am not sure what to set.  I also assume
> that this might be magit related (as it uses the same framework).

org-roam buffer is in org-roam-mode major mode, which is derived from
magit-section-mode. So, you should be able to use magit-section-show-*
commands in org-roam-mode-hook.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: org-roam: how to have links un-opened
  2023-02-22 11:31   ` Ihor Radchenko
@ 2023-02-22 11:39     ` Fraga, Eric
  2023-02-22 11:47       ` Fraga, Eric
  0 siblings, 1 reply; 5+ messages in thread
From: Fraga, Eric @ 2023-02-22 11:39 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode@gnu.org

On Wednesday, 22 Feb 2023 at 11:31, Ihor Radchenko wrote:
> org-roam buffer is in org-roam-mode major mode, which is derived from
> magit-section-mode. So, you should be able to use magit-section-show-*
> commands in org-roam-mode-hook.

Thank you.  I will explore the magit show commands.

-- 
: Eric S Fraga, with org release_9.6-204-g2f7052 in Emacs 30.0.50

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

* Re: org-roam: how to have links un-opened
  2023-02-22 11:39     ` Fraga, Eric
@ 2023-02-22 11:47       ` Fraga, Eric
  0 siblings, 0 replies; 5+ messages in thread
From: Fraga, Eric @ 2023-02-22 11:47 UTC (permalink / raw)
  To: Org Mode List

And, for the record, this does the job for me:

#+begin_src emacs-lisp
  (add-hook 'org-roam-mode-hook #'magit-section-show-level-2)
#+end_src 

Thanks again,
eric

-- 
: Eric S Fraga, with org release_9.6-204-g2f7052 in Emacs 30.0.50

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

end of thread, other threads:[~2023-02-22 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 10:57 org-roam: how to have links un-opened Fraga, Eric
2023-02-21 11:34 ` Ruijie Yu via General discussions about Org-mode.
2023-02-22 11:31   ` Ihor Radchenko
2023-02-22 11:39     ` Fraga, Eric
2023-02-22 11:47       ` Fraga, Eric

Code repositories for project(s) associated with this public inbox

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

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