Re: Asking whether to "save file /var/folders/xxxxxxxxx/orgicssxPjY1" everytime I kill Emacs

2023-02-23 Thread Alexei Gilev
I reinstalled org and this solved both (related) problems.
Thank you and apologies for not having sent the proper debugged error.

A.

El jue, 23 feb 2023 a las 11:42, Ihor Radchenko ()
escribió:

> Alexei Gilev  writes:
>
> > Basically that: from yesterday, every time I kill Emacs, i get this
> message.
> > I never got this message before and I am not sure whether I should be
> > saving or not.
>
> This is related to another error you are experiencing.
> Fixed, on main.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=351279ffa
>
> --
> 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>
>


Asking whether to "save file /var/folders/xxxxxxxxx/orgicssxPjY1" everytime I kill Emacs

2023-02-22 Thread Alexei Gilev
Basically that: from yesterday, every time I kill Emacs, i get this message.
I never got this message before and I am not sure whether I should be
saving or not.

Anybody experiencing this issue?

Best,
A.


Re: How to export org-agenda to ICS to show in iCal

2023-02-22 Thread Alexei Gilev
Thanks for your time.

When I try, however, to use functions like
org-icalendar-combine-agenda-files or org-icalendar-export-to-ics, I get
this error:

Debugger entered--Lisp error: (error "Lisp nesting exceeds
> ‘max-lisp-eval-depth’")


When I use the function: org-agenda-write to agenda.ics, it throws the
error "condition-case: Unable to resolve link:".

I would rather be able to use the org-icalendar-combine-agenda-files, so I
export all agenda file tasks to an ICS ICalendar file.

Any help welcome, thanks!

Best,

A.

El dom, 19 feb 2023 a las 13:31, Ihor Radchenko ()
escribió:

> Max Nikulin  writes:
>
> >> In agenda buffer, M-x write-file  file-name.ics 
> >
> > Shouldn't it be `org-agenda-write', not `write-file'?
>
> Yes, indeed.
>
>


Strange behaviour: Repeating tasks jumping in time

2023-02-17 Thread Alexei Gilev
Dear all,

Has anybody experienced this strange and annoying behaviour?
For repeating tasks, every once in a while I miss them.
Then I check them in my org file plus I visit git-status to find they have
been shifted. Sometimes even years (usually months).

I haven't been able to track the source of this behaviour.

If anybody has any idea, I would appreciate it.

Thanks!

*** TODO TASK x
SCHEDULED: <2023-08-26 Sat +1m>.  <--- it used to say Feb 26, but has
jumped to August.
:PROPERTIES:
:STYLE:habit
:LAST_REPEAT: [2023-01-26 Thu 09:16]
:END:


How to export org-agenda to ICS to show in iCal

2023-02-14 Thread Alexei Gilev
Hi,

For months I have been wanting to be able to export my scheduled tasks to
ICS to be able to see it it iCal, which is very visually pleasing and
easier for me to grasp my agenda. Plus, I can see it in the context of my
work tasks, which i don't have in orgmode.

I tried this:

(add-to-list 'org-agenda-custom-commands
  '("o" "Agenda to ICS"
 ;((agenda "" nil)
  ((alltodo ""
 nil
 ("/Users/agilev/Dropbox/emacs.ics")


...unsuccessfully.

It shows the list in Emacs, but there is no ICS exported. I wonder what i
am doing wrong.

Maybe somebody knows a way to do it differently not using the agenda? Maybe
a function that I can cron to export my scheduled tasks or a hook for every
time i changed my agenda files?

Thanks so much in advance1
A.G.


Failed to connect to MPV

2022-12-11 Thread Alexei Gilev
Hi,

I'm trying to use org-media-note and mpv together.
However, I keep getting this error message.

When I eval (mpv-play "file.mp3"), the audio plays (I can't stop it though
or see where the MPV window is on Emacs or my computer...).

But when I try to use the org-media-note hydra to open the same file I get
this "Failed to connect to MPV". It's very desperating!

Thanks for any help provided.
A.


How to prevent emacs from asking “file is read only on disk make buffer read only, too?”

2022-12-08 Thread Alexei Gilev
Basically that :) This comes up in helm-ag searches a lot. Very annoying!
Thank you!
A.


Pasting an image with org-download in org-capture buffer

2022-12-08 Thread Alexei Gilev


Hi,

I'm pretty sure somebody must have come with a solution for this basic task.

I want to paste a screenshot while in org-capture buffer.

However, org-download takes saves the screenshot image in a (already
existing otherwise created) folder with the same name as the buffer the
org-capture will save the text into.

However, org-capture buffers are indirect buffers, so the buffer-file-name
is nil, so it fails.

How is it possible to tell Emacs to get this info from the org-capture
buffer rule itself? How to get this path and save the images while in the
org-capture indirect buffer?

The other solution is just to capture, and then open it and paste the
image, but that defeats the purpose of the org-capture buffer itself.

Thanks so much in advance,

A.