Re: ICalendar export

2023-10-04 Thread Henrik Frisk
Den sön 17 sep. 2023 kl 11:49 skrev Ihor Radchenko : > Jack Kamm writes: > > >> Does the attached patch fix the problem for you? > > > > I can reproduce the bug by calling `org-icalendar-export-current-agenda' > > in my agenda buffer. It seems to mainly happen when subsequent agenda > > entries

ICalendar export

2023-09-12 Thread Henrik Frisk
hi, I've had an iCal export setup working fine for several years. I have an org-agenda-custom-commands defined with: (org-agenda-start-day "2022-09-01") (org-agenda-span 120) ;; number of days (org-agenda-include-diary nil)) Recently (not sure when) the ics output came out malformed and a

Re: ob-lilypond fontification

2023-08-27 Thread Henrik Frisk
Den sön 27 aug. 2023 kl 09:49 skrev Ihor Radchenko : > Henrik Frisk writes: > > >> Hmm. Did you customize `org-src-fontify-natively'? > >> > > > > This is what I have: > > > > (setq org-confirm-babel-evaluate nil > > org-src-fo

Re: ob-lilypond fontification

2023-08-27 Thread Henrik Frisk
Den lör 26 aug. 2023 kl 18:23 skrev Ihor Radchenko : > Henrik Frisk writes: > > >> Is lilypond library is loaded when you open Org file? > >> What happens if you run C-c ' on an src-block? > >> > > > > That works fine, code is syntax highlighted

Re: ob-lilypond fontification

2023-08-26 Thread Henrik Frisk
Den lör 26 aug. 2023 kl 14:27 skrev Ihor Radchenko : > Henrik Frisk writes: > > > So I changed to the main branch of > > > > git://git.savannah.gnu.org/emacs/org-mode.git > > > > and the new features you added to ob-lilypond is working (much > >

Re: ob-lilypond fontification

2023-08-26 Thread Henrik Frisk
Den ons 23 aug. 2023 kl 08:04 skrev Henrik Frisk : > > > On Tue, Aug 22, 2023, 6:17 PM Ihor Radchenko wrote: > >> Henrik Frisk writes: >> >> > So I grabbed the file ob-lilypond from another inactive install of Emacs >> > 29.1 and linked to it in my

Re: ob-lilypond fontification

2023-08-23 Thread Henrik Frisk
On Tue, Aug 22, 2023, 6:17 PM Ihor Radchenko wrote: > Henrik Frisk writes: > > > So I grabbed the file ob-lilypond from another inactive install of Emacs > > 29.1 and linked to it in my init file. Everythin appears to work fine > > except I dont get syntax highlightning

ob-lilypond fontification

2023-08-22 Thread Henrik Frisk
Hi, Embarressed but happy that I realised I dont have to keep updating the twelve year old version of ob-lilypond that I have been using I ran into a problem. First of all, ob-lilypond is not part of the precompiled version of emacs that I just switched to :

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-08-15 Thread Henrik Frisk
On Tue, Aug 15, 2023, 12:41 PM Ihor Radchenko wrote: > Henrik Frisk writes: > > > Sorry for being late in this discussion. As a user of ob-lilypond I'm > very > > happy about these changes. On my last install, as well as my current I > have > > had to change the

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-08-15 Thread Henrik Frisk
Den fre 11 aug. 2023 kl 09:04 skrev Ihor Radchenko : > Jonathan Gregory writes: > > >> Jonathan, do you think that your original patch is still what > >> you want to get merged? > > > > Yes, the one I sent on 20 Jul 2023. I haven't had any issues with > > it so far. > > Ok. Would you mind adding

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Henrik Frisk
Den tis 25 juli 2023 kl 19:26 skrev Jonathan Gregory : > Hi Henrik, > > On 25 Jul 2023, Henrik Frisk wrote: > > > Den tis 25 juli 2023 kl 18:16 skrev Henrik Frisk > > : > > > My bad, putting :file ionian.cropped.png only results in > > ionian.cropped

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Henrik Frisk
Den tis 25 juli 2023 kl 18:16 skrev Henrik Frisk : > Hi, > > I have been struggling with the same issues to but have completely missed > this thread. I haven't tried the patch of ob-lilypond but testing the file > https://git.sr.ht/~bzg/worg/tree/6f69d212f41bc372426dc9b4df286638fe

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-07-25 Thread Henrik Frisk
Hi, I have been struggling with the same issues to but have completely missed this thread. I haven't tried the patch of ob-lilypond but testing the file https://git.sr.ht/~bzg/worg/tree/6f69d212f41bc372426dc9b4df286638fe8f2a92/item/org-contrib/babel/examples/lilypond.org I'm getting cropped

Re: org-fontify-emphasized-text

2023-07-17 Thread Henrik Frisk
On Mon, Jul 17, 2023, 1:23 PM Ihor Radchenko wrote: > Henrik Frisk writes: > > > For the first time I tried to enable the fontification of emphasized text > > but quickly decided I didn't want it. But I can't seem to get rid of it. > > For example, any part of

org-fontify-emphasized-text

2023-07-17 Thread Henrik Frisk
Hi, For the first time I tried to enable the fontification of emphasized text but quickly decided I didn't want it. But I can't seem to get rid of it. For example, any part of a filename that is after an underscore is still printed as subtext (expected if fontification is on). Is there anything

Re: Slightly OT

2023-04-03 Thread Henrik Frisk
> >> Check your org-ctrl-c-ctrl-c-hook >> >> >> >> I don't have it defined, but maybe you mean to do something else? >> Calling >> > org-set-tags gives the same result as dos C-c C-q. >> >> Then, `org-after-tags-change-hook'. >> >> More generally, you can M-x toggle-debug-on-error to see more

Re: Slightly OT

2023-03-30 Thread Henrik Frisk
Den tis 28 mars 2023 kl 12:16 skrev Ihor Radchenko : > Henrik Frisk writes: > > > I've been having trouble with the deprecated function > > consult-completing-read-multiple being undefined. This happens when I try > > C-c C-c in org-mode to add a tag to a header. I

Slightly OT

2023-03-28 Thread Henrik Frisk
IHi, I've been having trouble with the deprecated function consult-completing-read-multiple being undefined. This happens when I try C-c C-c in org-mode to add a tag to a header. I know I fixed this issue on my old computer, but not how. Any ideas? Thanks /Henrik

Re: org-agenda on Mac M1

2023-03-17 Thread Henrik Frisk
Den tors 16 mars 2023 kl 16:46 skrev Henrik Frisk : > > > Den tors 16 mars 2023 kl 14:58 skrev Ruijie Yu : > >> Henrik Frisk writes: >> >> > When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs, >> > though I can get it back if I hit

Re: org-agenda on Mac M1

2023-03-16 Thread Henrik Frisk
Den tors 16 mars 2023 kl 14:58 skrev Ruijie Yu : > Henrik Frisk writes: > > > When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs, > > though I can get it back if I hit C-g. [...] > > > > I have no experience in debugging, but I tried to run debu

org-agenda on Mac M1

2023-03-16 Thread Henrik Frisk
Hi, I have rrecently had to move from Linux to MacOS and setting up on an M1 computer I have run inte to ann issue I can't figure out. When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs, though I can get it back if I hit C-g. Without my init file it works. I have gone through

Re: Adding #+name to result block in babel

2022-11-29 Thread Henrik Frisk
Den tis 29 nov. 2022 kl 06:20 skrev Bill Burdick : > Hi Henrik, > > On Tue, Nov 29, 2022 at 2:11 AM Henrik Frisk wrote: > >> Hi, >> >> Maybe I'm missing something obvious but is it possible to have a name be >> added to the result block such as running: >

Adding #+name to result block in babel

2022-11-28 Thread Henrik Frisk
Hi, Maybe I'm missing something obvious but is it possible to have a name be added to the result block such as running: #+begin_src shell echo "Hello" #+end_src results in #+RESULTS: #+name: my_result : Hello Thank you!

Re: citar--library-file-action

2022-10-29 Thread Henrik Frisk
Den tis 25 okt. 2022 kl 22:42 skrev Bruce D'Arcus : > For citar support/bugs, you should report on the github issue tracker. > > But my guess: you need to install citar-embark, as a while ago, we > moved the embark-related functionality into a separate package. If > it's been a few months since

citar--library-file-action

2022-10-25 Thread Henrik Frisk
Hi, After updating a bunch of packages I'm getting this error message when I try to open an associated file via a reference: [cite:@key] Before it was working fine via emark either by clicking on the reference or by running embark-act on it. Now I get this instead: citar--library-file-action:

Re: org-cature-ref

2022-07-26 Thread Henrik Frisk
Den tis 19 juli 2022 kl 15:39 skrev Ihor Radchenko : > > There is nothing fancy there. Just > > "%{fetch-bibtex}* TODO %?%(org-capture-ref-get-bibtex-field :title)" > ":PROPERTIES:" > ":ID: %(org-capture-ref-get-bibtex-field :key)" > ":CREATED: %U" > ":END:" > "#+begin_src bibtex" >

Re: org-cature-ref

2022-07-18 Thread Henrik Frisk
Den mån 18 juli 2022 kl 01:56 skrev Ihor Radchenko : > Henrik Frisk writes: > > >> Could you please provide a bit more details on what you did, what you > >> expected to get, and what you got? > >> > >> Yes, of course! > > > > I saw in an

Re: org-cature-ref

2022-07-17 Thread Henrik Frisk
Den lör 16 juli 2022 kl 11:16 skrev Ihor Radchenko : > Henrik Frisk writes: > > >>> Is so, you probably need > >>> > >>> org-protocol://capture?template... > >>> instead of > >>> org-protocol://capture-html?template... > &

Re: org-cature-ref

2022-07-12 Thread Henrik Frisk
Den tis 12 juli 2022 17:51Henrik Frisk skrev: > > > Den tors 7 juli 2022 kl 12:48 skrev Ihor Radchenko : > >> Henrik Frisk writes: >> >> > Ihor Radchenko recently mentioned org-capture-ref and I decided to try >> to >> > use it, but I'm havin

org-cature-ref

2022-07-06 Thread Henrik Frisk
Hi, Ihor Radchenko recently mentioned org-capture-ref and I decided to try to use it, but I'm having trouble getting it to work. I have org-protocl working for me so I'm suspecting that it is the syntax of the bookmarklet I'm using that is at fault. I merely changed the capture template key from

Re: About babel and header arguments

2022-04-11 Thread Henrik Frisk
> > #+begin_src scheme :var y=10 :results value > > (+ 10 y) > > #+end_src > > > > #+RESULTS: > > : 10 > > I'm surprised by this one - shouldn't we expect the result 20 ? > Hi Neil, yes, that was a typo, I pasted in the wrong result. Sorry for the confusion! /h

Re: About babel and header arguments

2022-04-10 Thread Henrik Frisk
> Hm. You are expecting (12 10)? > > Yes, sorry for not being clear. > > > #+begin_src scheme :var y=10 :results output > > ((lambda (x) (display x)) '(12 y)) > > #+end_src > > The quote extends to the whole (parenthesized) expression, i.e. > the y is quoted too, in there, so it's the symbol

About babel and header arguments

2022-04-10 Thread Henrik Frisk
Hi, I'm not a skilled (scheme) programmer so maybe there is something obvious I'm missing here. In the first example the header argument y is interpreted as I would expect it, but in the second it isn't: #+begin_src scheme :var y=10 :results value (+ 10 y) #+end_src #+RESULTS: : 10 but not

Re: org-cite and org-ref-cite

2022-02-27 Thread Henrik Frisk
Den lör 26 feb. 2022 kl 16:11 skrev John Kitchin : > I would not recommend org-ref-cite ( > https://github.com/jkitchin/org-ref-cite). It was an early approach to > trying to integrate org-ref with oc-cite. As far as I know, it worked fine > for that, and was pretty complete for citations, but I

Re: org-cite and org-ref-cite

2022-02-26 Thread Henrik Frisk
Den fre 25 feb. 2022 kl 13:56 skrev Eric S Fraga : > On Friday, 25 Feb 2022 at 08:50, Henrik Frisk wrote: > > The only thing I can't seem to sort out is to change the style of the > > citation. Regardless where I do it I get the error "Wrong type > > argument: org-cit

org-cite and org-ref-cite

2022-02-25 Thread Henrik Frisk
Hi, I have now finally got around to changing my setup to org-cte. It works really well! The only thing I can't seem to sort out is to change the style of the citation. Regardless where I do it I get the error "Wrong type argument: org-cite-processor," Another question: if I would like to

Re: Tables and org babel

2021-11-08 Thread Henrik Frisk
Den mån 8 nov. 2021 kl 12:54 skrev Greg Minshall : > sorry, in fact, =-Q= doesn't matter: > > failing: > - Org mode version 9.5 (9.5-g531577 @ > /home/minshall/.emacs.d/straight/build/org/) > > succeeding: > - Org mode version 9.5 (9.5-gced2b3 @ > /home/minshall/.emacs.d/straight/build/org/) > >

Tables and org babel

2021-11-07 Thread Henrik Frisk
Hi, I'm having troubles getting more than one cell from an org table as a variable in org-babel. Trying this example from the orgmode manual ( https://orgmode.org/manual/Environment-of-a-Code-Block.html): #+NAME: example-table | 1 | a | | 2 | b | | 3 | c | | 4 | d | #+BEGIN_SRC emacs-lisp :var

Re: Build agenda asynchronously

2021-08-17 Thread Henrik Frisk
Den ons 18 aug. 2021 kl 02:17 skrev Tim Cross : > > Milan Zamazal writes: > > Actually, that one has been on my todo list to cehck out for a while. > Might be time to bump the priority a bit! > > I just started using it and it works really well so far!

Re: Build agenda asynchronously

2021-08-17 Thread Henrik Frisk
Den tis 17 aug. 2021 kl 08:54 skrev Dr. Arne Babenhauserheide < arne_...@web.de>: > > Tim Cross writes: > > > Emacs' support for asynchronous operations is at best primitive. There > > is built-in support for calling processes asynchonously and > > there is some other development work to set the

Re: a repeater doesn't increment

2021-07-22 Thread Henrik Frisk
Hi! Den tors 22 juli 2021 03:49Jude DaShiell skrev: > Does enough material exist on werg tutorials that document how to get a > repeater operational? That or maybe I don't understand repeaters. Had > the repeater I tried to use worked correctly it would have advanced the > original date by 4

Re: org-attach a directory?

2021-06-15 Thread Henrik Frisk
Den fre 11 juni 2021 18:37John Kitchin skrev: > I discovered another way to do this that is already built in with > `org-attach-dired-to-subtree` that would help sometimes. > > You split your window, open dired in one of them, mark some files, and > then run that command in the dired window. > >

Re: org-attach a directory?

2021-06-08 Thread Henrik Frisk
Den tis 8 juni 2021 kl 17:56 skrev John Kitchin : > Is it possible to attach a directory to an org heading? > > > Yes, you do arg-attach-set-directory. After that you need to sync it to make the files in the directory visible: org-attach-sync It's quite neat, I use it all the time. /Henrik

Symolic link messes up org-attach?

2021-02-22 Thread Henrik Frisk
Hi, I have migrated from a OSX based system to a linux/debian system. I have all my main org files in a directory ~/org and in OSX this was a symbolic link to ~/a-hard-disk/org (it may have been an alias, ot sure). In Ubuntu, however, I have lots of trouble with org-attach: I attach a file using

Re: [O] ox-pandoc fails to load

2019-08-03 Thread Henrik Frisk
Sorry about the noise. It turned out to be something other than org that was the fault. /Henrik Den lör 3 aug. 2019 kl 11:49 skrev Henrik Frisk : > Hi, > > I've been trying to get the ox-pandoc ( > https://github.com/kawabata/ox-pandoc) exporter to work. I have installed >

[O] ox-pandoc fails to load

2019-08-03 Thread Henrik Frisk
Hi, I've been trying to get the ox-pandoc ( https://github.com/kawabata/ox-pandoc) exporter to work. I have installed it from MELPA but when I try to load it, manually or as is recommended on the above page: (with-eval-after-load 'ox (require 'ox-pandoc)) I get a "Cannot use unknown "org"

Re: [O] ob-lilypond and 'Symbol’s function definition is void: org-babel-get-header'

2018-09-02 Thread Henrik Frisk
Den tis 21 aug. 2018 23:39Nicolas Goaziou skrev: > Hello, > > Henrik Frisk writes: > > > I have been trying out ob-lilypond and it works really well, except for > the > > arrange mode. Any attempt to run ly-tangle results in 'Symbol’s function > > definit

[O] Newbie question

2018-08-01 Thread Henrik Frisk
Hi, I'm new with Scheme and new with org babel so excuse me if I am missing something obvious. I have this bit of (simplified) Scheme code to generate a list of lists: #+name: chromatic #+begin_src scheme :noweb yes (map (lambda (x) (cond ((< x 4) (list 0 1)) ((equal? x 4)

[O] ob-lilypond and 'Symbol’s function definition is void: org-babel-get-header'

2018-07-29 Thread Henrik Frisk
Hi, I have been trying out ob-lilypond and it works really well, except for the arrange mode. Any attempt to run ly-tangle results in 'Symbol’s function definition is void: org-babel-get-header' and so does an attempt to export a file, such as the example file, in basic mode to html for instance.