> Max Nikulin writes:
> On 03/07/2023 00:44, Colin Baxter wrote:
>>> Ihor Radchenko writes:
>> > Just for context, the new version `org-element-cache-map' uses
>> a > new macro `org-element-with-enabled-cache' that temporarily >
>> enabled cache for the duration of `or
Google’s Noto font might have the best coverage and is open source.
Tom
> On Jul 2, 2023, at 7:48 PM, Stefan Nobis wrote:
>
> Ihor Radchenko writes:
>
>> Though ideally all the necessary fonts should be provided by
>> TeXLive. I am not sure why they are not yet there in 2023.
>
> First pro
On 03/07/2023 14:03, Colin Baxter wrote:
2. If I remove all the org files from my emacs-30.50.0 and thereby force
emacs to use only org-mode from git then I see the error.
Have you tried to recompile Org from git or to load it uncompiled?
Concerning mixed-version loading. M-x org-version when
Stefan Nobis writes:
> The other problem: Not everyone does a full installation of TeX Live.
> So even if good fonts are available, they are not always installed on
> every system (but this part could be mitigated by documentation and/or
> error messages and hints).
Fair point.
I guess that a vi
Liu Hui writes:
> This patch adds graphics output support for ob-python via matplotlib.
> Specifically, it allows to use header argument `:results file
> graphics' as follows:
>
> #+begin_src python :file "test.png" :results graphics file
> import matplotlib.pyplot as plt
> plt.plot([1,2,3,4,5])
Sébastien Miquel writes:
> On second thought, I don't think moving the LaTeX fragment logic away
> from `org-src--contents-for-write-back` makes sense. This part of the
> function does the opposite of `org-do-remove-indentation`, and the
> latter has a boolean argument `skip-fl`, so it makes sens
Ihor Radchenko 于2023年7月3日周一 17:28写道:
> This might be a useful feature, but it will break the existing
> conventions, if used as in the patch. Currently, the above combination
> of :file and :results is treated as the following:
>
> ‘graphics’
> When used along with ‘file’ type, the result is
Liu Hui writes:
> I have updated the patch and ‘:file’ header argument can be omitted
> now, e.g.
>
> #+begin_src python :results graphics file
> import matplotlib.pyplot as plt
> plt.plot([1,2,3,4,5])
> plt.savefig('test.png')
> return 'test.png'
> #+end_src
This already works, even without the
* lisp/ol.el (org-insert-link): Keep the link in `org-stored-links' if
the command was interrupted by the user during the reading of a
description from the minibuffer.
---
Currently the link is lost if the user chooses the link but cancells
the comand while writing the description.
lisp/ol.el | 9
On July 1, 2023 11:40:07 AM GMT+01:00, Ihor Radchenko
wrote:
>Thanks for the patch!
>May you please squash it into one
>
Don't you mind if I also add the final hook to `org-meta-return'? I
didn't do it right away because it requires a little bit of refactoring:
everything after the initial ho
Hello,
the exact same error occurs for me:
https://emacs.stackexchange.com/questions/72243/macos-org-babel-python-with-session-output-give-python-el-eval
I use python 3.9 so guessing switching the version won't help.
#+begin_src python :session :results output
print("yes")
#+End_src
#+Results
* lisp/org.el (org-metaleft-final-hook, org-metaright-final-hook,
org-metaup-final-hook, org-metadown-final-hook): Define final hooks
for S-cursor commands.
(org-metaleft, org-metaright, org-metaup, org-metadown): Add final
hooks to M-commands and document them in the docstring.
* lisp/org.el (org
> Max Nikulin writes:
> On 03/07/2023 14:03, Colin Baxter wrote:
>> 2. If I remove all the org files from my emacs-30.50.0 and
>> thereby force emacs to use only org-mode from git then I see the
>> error.
> Have you tried to recompile Org from git or to load it uncompiled
Robert Synofzik writes:
> the exact same error occurs for me:
> https://emacs.stackexchange.com/questions/72243/macos-org-babel-python-with-session-output-give-python-el-eval
>
> I use python 3.9 so guessing switching the version won't help.
May you share your Org version as well?
If it is not t
Colin Baxter writes:
> 1. emacs -q
> 2. eval in scratch buffer
>(add-to-list 'load-path (expand-file-name "~/path/to/git/org-mode/lisp"))
> 3. M-x org-agenda
> 4. Enter m
> 5. "Cache must be active" now appears in echo area
>
> Am I seeing a new git/org-mode feature or a bug?
A can reprodu
Evgenii Klimov writes:
> ...
Thanks for the update.
Few comments.
First, please add Changelog entry for etc/ORG-NEWS.
> +(defvar org-metaleft-final-hook nil
> + "Hook for functions attaching themselves to `M-left'.
> +See `org-ctrl-c-ctrl-c-hook' for more information.")
Note that unlike the
Evgenii Klimov writes:
> * lisp/ol.el (org-insert-link): Keep the link in `org-stored-links' if
> the command was interrupted by the user during the reading of a
> description from the minibuffer.
> ---
> Currently the link is lost if the user chooses the link but cancells
> the comand while writ
Ihor Radchenko writes:
What happens is: in the org buffer, the line is not empty, because it
has the org indentation (which was possibly just added by
org-indent-line), but in the edit buffer, the line is empty, because
the common org indentation was removed. In that case, we want to add
back t
Hi,
I think support for screenplay formatting would be a useful feature to add.
Like to how comments or quotes are done, it could be in between the tags:
#+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by
Fountain would make the most sense.
For example, a section could
Sébastien Miquel writes:
>> May you please provide an example when it is necessary?
>> `org-indent-line' will run `org-babel-do-key-sequence-in-edit-buffer', so
>> it should still use `org-src--contents-for-write-back' and will not
>> modify the org buffer text directly.
>
> You're at the end of
Fionn Stephens writes:
> I think support for screenplay formatting would be a useful feature to add.
> Like to how comments or quotes are done, it could be in between the tags:
> #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by
> Fountain would make the most sense.
>
Ihor Radchenko 于2023年7月3日周一 19:41写道:
> This already works, even without the patch.
Yes. It means the patch doesn't break current usage.
> > In this case, `graphics' can be removed too.
>
> May you elaborate?
>
> #+begin_src python :results file
> implies that the result of execution is file _co
Ihor Radchenko writes:
For the second scenario, no special treatment of current line is needed.
For the first scenario, why do we need to do it all the way in
`org-src--contents-for-write-back'? Why not directly in
`org-indent-line'?
Ah, yes, that is much better.
--
Sébastien MiquelFrom 9d31a
[ Adding Org ML back to CC. Please use Reply All or wide reply to keep
other mailing list members in the loop. ]
> The industry standard is to use Final Draft
> (https://en.wikipedia.org/wiki/Final_Draft_(software)), but I personally use
> Emacs Fountain Mode (https://www.emacswiki.org/emacs/F
On 2023-07-03, 13:00 +, Fionn Stephens wrote:
> Hi,
>
> I think support for screenplay formatting would be a useful feature to add.
> Like to how comments or quotes are done, it could be in between the tags:
> #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by
>
> Ihor Radchenko writes:
> Colin Baxter writes:
>> 1. emacs -q 2. eval in scratch buffer (add-to-list
>> 'load-path (expand-file-name "~/path/to/git/org-mode/lisp"))
>> 3. M-x org-agenda 4. Enter m 5. "Cache must be active" now
>> appears in echo area
>>
>> Am
Ihor Radchenko writes:
> Fionn Stephens writes:
>
>> I think support for screenplay formatting would be a useful feature to add.
>> Like to how comments or quotes are done, it could be in between the tags:
>> #+BEGIN_SCREENPLAY and #+END_SCREENPLAY. I think using the markdown used by
>> Fo
I just found a python package that can convert fountain markdown to LaTeX:
https://pypi.org/project/fountain/.
And this is a LaTeX package that can create screenplays:
https://ctan.org/pkg/screenplay?lang=en.
The Fountain Mode in emacs can use different backends, but I use Afterwriting:
http
Ihor Radchenko writes:
> It has been over one month since the last email in this thread.
> May I know if you had a chance to work on your patch any further?
Hello,
I have made some progress, and I should have some time soon to finalize
and submit version 2.
Thanks!
--
Kierin Bell
GPG Key: FCF
Thanks a million. I didn't know you could do that.
And apologies all for the bad email formatting, I'll try to change it to plain
text.
Fionn
--- Original Message ---
On Monday, July 3rd, 2023 at 2:53 PM, Bruno Cardoso
wrote:
> On 2023-07-03, 13:00 +, Fionn Stephens fionnst
On 02/07/2023 13:03, Samuel Wales wrote:
there is not supposed to be any connection between org refile or org
goto with the code in org insert link.
completion works to select ol paths for org refile and also for org
refile when it is doing goto. i just want the same for links.
I am giving up
On 03/07/2023 19:48, Ihor Radchenko wrote:
Evgenii Klimov writes:
* lisp/ol.el (org-insert-link): Keep the link in `org-stored-links' if
the command was interrupted by the user during the reading of a
description from the minibuffer.
---
Currently the link is lost if the user chooses the link b
Max Nikulin writes:
> Sometimes I am using it as a feature to remove a link stored by mistake
> or due to ...
This argument sounds like https://xkcd.com/1172/ to me.
It is unexpected and undocumented that not inserting the link, but
stopping in the middle removes it from the store list.
--
Ih
On 03/07/2023 22:11, Ihor Radchenko wrote:
Max Nikulin writes:
Sometimes I am using it as a feature to remove a link stored by mistake
or due to ...
This argument sounds like https://xkcd.com/1172/ to me.
I had it in mind when I was writing my message. I had even tried to find
another comm
Max Nikulin writes:
>> This argument sounds like https://xkcd.com/1172/ to me.
>
> I had it in mind when I was writing my message. I had even tried to find
> another command that allows to remove stored links.
If necessary, removing stored links without inserting can be made as an
effect of neg
> Il giorno 2 lug 2023, alle ore 12:56, Ihor Radchenko ha
> scritto:
>
> Hello,
>
> It has been over one month since the last message in this thread.
> Are you still interested to work on this feature? Do you need any help?
Hi,
I was busy with work and had less time to focus on this, sorry!
Ihor Radchenko writes:
> Evgenii Klimov writes:
>> ...
>
> This makes sense, but the patch may break removing stored link in
> certain scenarios.
Thanks for response, I'll look into this issue and try to avoid this
breakage.
Christian Moe writes:
> To my mind, Org should not support every kind of markup/markdown format
> there is, but to the extent Fountain is the best format for screenplays,
> and Org is good for organizing bits of screenplays, I think maybe using
> Org-babel src blocks is the way to go?
I mostly a
Fionn Stephens writes:
> And this is a LaTeX package that can create screenplays:
> https://ctan.org/pkg/screenplay?lang=en.
>
> The Fountain Mode in emacs can use different backends, but I use
> Afterwriting: https://afterwriting.com/.
These two appear to produce full document, not fragment
Fionn Stephens writes:
> Thanks a million. I didn't know you could do that.
Good that src blocks are good enough for your usage.
Closed.
> And apologies all for the bad email formatting, I'll try to change it to
> plain text.
I think your emails do have plain text parts as well, so they shoul
Ihor Radchenko writes:
> Max Nikulin writes:
[...]
>> I had it in mind when I was writing my message. I had even tried to find
>> another command that allows to remove stored links.
>
> If necessary, removing stored links without inserting can be made as an
> effect of negative prefix argumen
Andrea Lazzarini writes:
> I was busy with work and had less time to focus on this, sorry!
No problem. Just wanted to make sure that this thread did not fall
through the cracks.
> Well, sorry for the noob question but how do you suggest I fork the org.el
> file to start tinkering with it?
> I
Evgenii Klimov writes:
>> If necessary, removing stored links without inserting can be made as an
>> effect of negative prefix argument in `org-insert-link' or in
>> `org-insert-all-links'.
>
> I tried `org-insert-link' with the negative prefix argument, but the
> link was inserted though.
>
> An
On Sat, 01 Jul 2023 05:52:42 +0200 Robert Synofzik wrote ---
> Hello,
> the exact same error occurs for me:
> https://emacs.stackexchange.com/questions/72243/macos-org-babel-python-with-session-output-give-python-el-eval
>
> do you possibly have any idea on how to fix this?
Just
Ihor Radchenko writes:
[...]
>> +individual commands for more information.
>> +
>> +This function runs the hook `org-shiftmetaleft-hook' as a first
>> +step, `org-shiftmetaleft-final-hook' as the penultimate step, and
>> +returns at first non-nil value."
>
> Upon looking closer, I realized that
defait cp[;etopm immediately makes 2 windows [orig+links] + expanded
completion imnibuffer. not useful for me.
On 7/3/23, Max Nikulin wrote:
> On 02/07/2023 13:03, Samuel Wales wrote:
>> there is not supposed to be any connection between org refile or org
>> goto with the code in org insert link
my reading was:
s> another window would not work for me but using completion as i do
with e.g. refile goto would
m> try again
s> creates another window. ergo not work for me.
in fact, it is worse than that for me. with my fonts, the links
window shows nothing useful on screen. it is boilerpl
Ihor Radchenko writes:
> Evgenii Klimov writes:
>
[...]
>> -(when (funcall (if (equal complete-file '(64)) 'not 'identity)
>> - (not org-link-keep-stored-after-insertion))
>> - (setq org-stored-links (delq (assoc link org-stored-links)
>> - o
scratch the expanded thing.
it ends up showing orig smaller less useful, links uselessly
boilerplate, completions -- 3 windows! and a terse minibuffer i
wouldn't be able to use. -q. i cannot use such a ui.
in contrast, what i expected is orig, and then expanded minibuffer
with, instead of doi:
please feel free to give up if that doesn't get it across. i can't
continue a bac and forth for unrelated reasons.
On 7/3/23, Samuel Wales wrote:
> scratch the expanded thing.
>
> it ends up showing orig smaller less useful, links uselessly
> boilerplate, completions -- 3 windows! and a terse m
maybe most folk are ok with 3 windows + minibuffer. this is not useful to me.
On 7/3/23, Samuel Wales wrote:
> please feel free to give up if that doesn't get it across. i can't
> continue a bac and forth for unrelated reasons.
>
> On 7/3/23, Samuel Wales wrote:
>> scratch the expanded thing.
the copletions window dos notc ontain the link dscription or a
default. there is no tdeafult listed in minibuffer or any tlink
description. so it is 1 orig buffer, which is saller and therefoere
lss useful, 1 links buffer, which is useless beause does not show what
i need, 1 copletions buffer whi
again i normally work with 1 window so i can have enough text.
sometimes i have a minuibffer. the end.
On 7/3/23, Samuel Wales wrote:
> the copletions window dos notc ontain the link dscription or a
> default. there is no tdeafult listed in minibuffer or any tlink
> description. so it is 1 ori
On 04/07/2023 07:28, Samuel Wales wrote:
again i normally work with 1 window so i can have enough text.
sometimes i have a minuibffer. the end.
8<
File Edit Options Buffers Tools Minibuf Help
* title
:PROPERTIES:
:ID: e69336ca-ca50-4535-9bad-63a31e030f31
-UU-:F1 test.or
On 7/3/23, Max Nikulin wrote:
> On 04/07/2023 07:28, Samuel Wales wrote:
>> again i normally work with 1 window so i can have enough text.
>> sometimes i have a minuibffer. the end.
>
> 8<
> File Edit Options Buffers Tools Minibuf Help
>
> * title
> :PROPERTIES:
> :ID: e69336ca-ca
55 matches
Mail list logo