Ihor Radchenko writes:
> I think something like the following will do (untested):
>
> (defun org-attach-save-file-list-to-property ()
> "Save list of attachments to ORG_ATTACH_FILES property."
> (when-let* ((dir (org-attach-dir))
> (files (org-attach-file-list dir)))
> (org-se
Raoul Comninos writes:
> I have copied the code to my dot Emacs, but now when I try to add an
> attachment now, it generates this error:
>
> run-hook-with-args: Wrong number of arguments: (lambda nil "Save list of
> attachments to ORG_ATTACH_FILES property." (when-let* ((dir
> (org-attach-dir))
Ihor Radchenko writes:
> Raoul Comninos writes:
>
>> I have copied the code to my dot Emacs, but now when I try to add an
>> attachment now, it generates this error:
>>
>> run-hook-with-args: Wrong number of arguments: (lambda nil "Save list of
>> attachments to ORG_ATTACH_FILES property." (whe
I'm using the following snippet for saving the plot in python snippets
#+NAME: save-file
#+BEGIN_SRC python :results silent :var filename="filename" plt="plt" :exports
none
return f"\nfname = 'assets/' + filename + '.png'\nplt.savefig(fname)\nfname"
#+END_SRC
Using it like so
#+BEGIN_SRC python
I think this is possible through read last note text in logbook, then display it
in headline through text-property overlay.
That's what I did in this package
[[https://github.com/stardiviner/org-link-beautify]]
Should not be that hard to implement it.
Ihor Radchenko writes:
> Over the years
Ihor Radchenko writes:
> Instead of advice, you can also provide a simple patch implementing the
> described functionality in org-agenda-bulk-action. I do support adding
> this functionality to org.
I took a look this morning and came up with the attached patch.
Essentially if the custom functio
Hello,
In the last few days org-publish no loner works for me, giving a lisp
error: (void-function conkeror-minor-mode). The source of the problem is
the line '(add-hook 'js-mode-hook 'conkeror-minor-mode)' in my init
file. If I comment out the line, the error disappears.
I've tried reverting a c
Colin Baxter writes:
> Hello,
>
> In the last few days org-publish no loner works for me, giving a lisp
> error: (void-function conkeror-minor-mode). The source of the problem is
> the line '(add-hook 'js-mode-hook 'conkeror-minor-mode)' in my init
> file. If I comment out the line, the error d
Hi Tim,
Thanks for you quick reply.
> Tim Cross writes:
> Colin Baxter writes:
>> Hello,
>>
>> In the last few days org-publish no loner works for me, giving a
>> lisp error: (void-function conkeror-minor-mode). The source of
>> the problem is the line '(add-hook '
Colin Baxter writes:
> Hi Tim,
>
> Thanks for you quick reply.
>> Tim Cross writes:
>
> > Colin Baxter writes:
>
> >> Hello,
> >>
> >> In the last few days org-publish no loner works for me, giving a
> >> lisp error: (void-function conkeror-minor-mode). The source of
>
> Tim Cross writes:
> Colin Baxter writes:
>> Hi Tim,
>>
>> Thanks for you quick reply.
>>> Tim Cross writes:
>>
>> > Colin Baxter writes:
>>
>> >> Hello,
>> >>
>> >> In the last few days org-publish no loner works for me, giving
>> a
hi,
I'm trying to figure out how to write a block , header, PROPERTY or
whatever is necessary so the output of a command in babel source block
identifies it own position - the line (or block or something) in buffer
(or at least the file) in which it is written. ( Plus the checked out
gi
I can verify that the :post work-around suggested by Chuck and
implemented by Jeremie works as advertised.
FWIW, I would certainly prefer to see the implementation
org-babel-R-write-object-command changed so that the work-around
wouldn't be necessary.
Thank you to both Chuck and Jeremie for loo
Hi,
as mentioned in the subject I ran into this error after upgrading from
9.4 to 9.4.4.
With 9.4 org-version reports:
,
| Org mode version 9.4 (9.4-elpa @ /home/hanns/.emacs.d/elpa/org-9.4/)
`
With 9.4.4:
,
| Org mode version ( @ /home/hanns/.emacs.d/elpa/org-9.4.4/)
`
resul
I guess this is what you mean:
* heading L1_12
** heading L2_37
#+name: this-block
#+header: :var VAR1=(getenv "HOSTNAME")
#+header: :var VAR2=(message user-login-name)
#+header: :var VAR3=(buffer-file-name)
#+header: :var VAR4=(org-element-property :name (org-element-context))
#+header: :var VA
Dear Mr Kitchin,
you are a genius !!
A BIG THANK YOU!!!
Wow. I couldn't imagine someone might be able to do this so quickly
and perfectly. Wow.
thank you so much
HJ
PS: Now I'm off to figure out how to invoke emacs to tell it to open up
the window and show this file at
see
https://stackoverflow.com/questions/3139970/open-a-file-at-line-with-filenameline-syntax
there are also ways to make fancier org-links, but I think you will find
what you need in that link.
John
---
Professor John Kitchin
Doherty Hall A207F
Department of Chemi
Ihor Radchenko writes:
> Raoul Comninos writes:
>
>> I have copied the code to my dot Emacs, but now when I try to add an
>> attachment now, it generates this error:
>>
>> run-hook-with-args: Wrong number of arguments: (lambda nil "Save list of
>> attachments to ORG_ATTACH_FILES property." (whe
Christopher Miles writes:
> I think this is possible through read last note text in logbook, then display
> it
> in headline through text-property overlay.
>
> That's what I did in this package
> [[https://github.com/stardiviner/org-link-beautify]]
>
> Should not be that hard to implement it.
Kevin Foley writes:
> I took a look this morning and came up with the attached patch.
> Essentially if the custom function is a list then the first element is
> the bulk function and the second is the argument function.
>
> If that looks reasonable I can add some documentation and submit a
> prop
Raoul Comninos writes:
> It works now and its awesome! I cannot believe that they had this
> feature and removed it. I am a very happy man and I cannot thank you enough.
This feature creates a lot of junk text when attachment folder gets very
large. For example, I keep my travel photos as attach
Ihor Radchenko writes:
> Note that attachment in the previous email appears to be empty. Can you
> resend? I will take a look then.
My mistake, populated file is attached. Thanks.
Kevin
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index dedf7e5bb..1df99ec79 100644
--- a/lisp/org-agenda
Raoul Comninos writes:
> With your permission can I post your solution to stack-exchange,
> crediting you?
Sure. The public message URL is
https://orgmode.org/list/87sg70vsvy.fsf@localhost/
Best,
Ihor
I'm just getting into Emacs/Org-Mode. It's clearly an amazing system and
the linking via UUID is very useful. My question is: why is linking by UUID
(and, more generally, the creation of properties drawers) limited to
headlines, and not to sub-elements like list elements or paragraphs?
Doesn't all
Richard Lawrence writes:
> Hi everyone,
>
> Richard Lawrence writes:
>
>> I can now confirm that this is the problem. It looks like what is happening
>> here
>> is that the regex is meant to match a time range, but ends up matching
>> the date: thus a string like "12-31 13:00" gets mangled to "1
25 matches
Mail list logo