!rUhEinythPhVTdddsb:matrix.org

org-mode

614 Members
Digital and analog. | "Any sufficiently advanced hobby is indistinguishable from work." | https://orgmode.org94 Servers

Load older messages


SenderMessageTime
27 Sep 2023
@yantar92:matrix.orgyantar92 (Org contributor)I tried several. One of them worked13:51:12
@yantar92:matrix.orgyantar92 (Org contributor)My memory is vague13:51:19
@Ladislas:matrix.orgLadislasok :)13:51:19
@Ladislas:matrix.orgLadislaswell, doing it via setenv doesn't work, making a .profile file doesn't work :/14:10:46
@Ladislas:matrix.orgLadislasthe onyx-books tablet is set up in french system wide so idk14:14:52
@Ladislas:matrix.orgLadislaswell...it is possible to force in my org-journal or in my .emacs how i name the days and months (in french) the same way i did it for agenda mode with this : https://www.emacswiki.org/emacs/CalendarLocalization#h5o-13 ? 20:21:40
@Ladislas:matrix.orgLadislasit works in agenda 20:22:10
@blicero:matrix.orgblicero
In reply to @gergely:polonkai.eu
If YouTube is your game, i strongly recommend this video from the System Crafters
Thank you.
20:44:13
28 Sep 2023
@wisw:im.skytel.eewiswRedacted or Malformed Event00:48:03
@r.t.redreovic:envs.netRT Redréovič changed their profile picture.13:53:22
@owlpar:halogen.cityowlpar joined the room.23:25:10
29 Sep 2023
@owlpar:halogen.placeOwlpar joined the room.16:29:14
30 Sep 2023
@zmberber:matrix.orgzmberberdoes anyone know of a way to reveal bullet points or subheadings one by one, but all visible on the same slide after revealing, in org-tree-slide or another org mode presentation mode? 14:54:36
@zororg:matrix.orgzororg I was using org-present, lately I like org-re-reveal which uses revealjs to do presentation on browser 15:48:35
1 Oct 2023
@misterlogdog:matrix.orgmisterlogdog joined the room.00:00:13
@prma:tchncs.deprma joined the room.07:58:41
@howsiwei:matrix.orghsw joined the room.18:24:53
2 Oct 2023
@kyub:matrix.orgkyubHey. So I recently changed my config to using an init.org file (using tangling to generate the .el files). Since both early-init and init.el are being generated, I have common header block which is written to both files at the top. The corresponding code block for the early-init starts with #+BEGIN_SRC emacs-lisp :tangle ./early-init.el and the one for init.el starts with #+BEGIN_SRC emacs-lisp (:tangle is set to yes in general, meaning it gets written to init.el unless specified otherwise). Since this is a common header block which is almost the same for both files, it feels redundant to have it twice in the config. I wanted to make this dynamic as well - i.e., have just one template code block where a variable gets replaced with X if it's written to early-init.el but replaced with Y if it's written to init.el Does anyone have an idea how to build something like that? Thanks!08:50:34
@alphapapa:matrix.orgalphapapa
In reply to kyub
Hey. So I recently changed my config to using an init.org file (using tangling to generate the .el files). Since both early-init and init.el are being generated, I have common header block which is written to both files at the top. The corresponding code block for the early-init starts with #+BEGIN_SRC emacs-lisp :tangle ./early-init.el and the one for init.el starts with #+BEGIN_SRC emacs-lisp (:tangle is set to yes in general, meaning it gets written to init.el unless specified otherwise). Since this is a common header block which is almost the same for both files, it feels redundant to have it twice in the config. I wanted to make this dynamic as well - i.e., have just one template code block where a variable gets replaced with X if it's written to early-init.el but replaced with Y if it's written to init.el Does anyone have an idea how to build something like that? Thanks!

I don't understand why you'd be writing the same code to both files.

08:56:17
@kyub:matrix.orgkyubIt's just a commentary block :) so not really code08:56:42
@alphapapa:matrix.orgalphapapa

I see. Well, I guess there's some variable that knows the filename being tangled to. Maybe you could have it written to the file.

09:01:11
@kyub:matrix.orgkyubThanks for the pointer!09:01:39
@alphapapa:matrix.orgalphapapa

Maybe you could call some code in org-babel-post-tangle-hook too

09:01:52
@alphapapa:matrix.orgalphapapa

because that hook is run in the code file

09:02:04
@alphapapa:matrix.orgalphapapa

e.g. in org-babel-tangle it does:

(when org-babel-post-tangle-hook
  (mapc
   (lambda (file)
     (org-babel-with-temp-filebuffer file
       (run-hooks 'org-babel-post-tangle-hook)))
   path-collector))
09:02:48
@kyub:matrix.orgkyubI'll check it out. Thanks09:04:15
@alphapapa:matrix.orgalphapapa

You're welcome. If you find a solution, please share it, e.g. on r/emacs or r/orgmode, for some degree of posterity.

09:12:30
@alphapapa:matrix.orgalphapapa

or maybe even on Worg

09:12:37
@temp4096:matrix.orgtemp4096 joined the room.13:33:54
@rickbonavigo:matrix.orgrickbonavigo joined the room.15:09:27

There are no newer messages yet.


Back to Room ListRoom Version: 1