Ihor Radchenko writes:
> Dear Fellow Orgers,
>
> Despite being not directly visible to users, Org mode testing suite is
> critical to maintain overall codebase stability. It helps to avoid
> unintentional breakages as we keep adding new features to Org.
[]
> - Generally, more and better tests
!
Thanks for you suggestion/fix!
Best,
Daniele
>From 897ae50cf055d459d741c90f8de94dd56a8eb3d9 Mon Sep 17 00:00:00 2001
From: Daniele Pizzolli
Date: Wed, 5 May 2021 17:00:28 +0200
Subject: [PATCH 1/1] Add disabled test for % in babel shell output
---
testing/lisp/test-ob-shell.el |
David Talmage writes:
> I'd like to insert the git hash of HEAD in the org-mode documents that I
> export. Is there an easy way? I'm exporting to LaTeX.
[]
Hello,
maybe you can start with a simple:
#+NAME: hash-from-lisp
#+BEGIN_SRC emacs-lisp
(shell-command-to-string "git rev-parse HEAD"
On Fri, Jun 03 2016, Ken Mankoff wrote:
> Hi Org and GRASS lists,
>
> I just wanted to let these two lists know that I've just posted a
> paper written in Org and using GRASS (text-mode) and Python for the
> analysis. My goal was to create not just an open access publication,
> but a fully reprodu
On Fri, Jun 03 2016, Brett Viren wrote:
> Thanks for your example.
>
> A few ideas:
>
> - When you begin developing your paper, or sometime before submission,
> make a break from your personal ~/.emacs.d/ environment and begin
> processing the .org in an explicitly configured Emacs session. S
On Wed, May 18 2016, Rasmus wrote:
> Hi Daniele,
>
>> So... here is the patch for worg about python and utf-8! I skipped
>> the part related to the tables, since I do not have a clean
>> workaround.
>
> Thanks for contributing to Worg!
>
> For Worg you just need to have your ssh key added. Then
On Wed, May 18 2016, Daniele Pizzolli wrote:
> On Wed, May 18 2016, Rasmus wrote:
>
>> Daniele Pizzolli writes:
>>
>>> It would be nice to add them to the documentation, but I have not yet
>>> figured out what is the appropriate way to send the patch!
>&
On Wed, May 18 2016, Rasmus wrote:
> Daniele Pizzolli writes:
>
>> It would be nice to add them to the documentation, but I have not yet
>> figured out what is the appropriate way to send the patch!
>
> /That/ information happens to be on Worg :)
>
>
Hello,
I found some problems and workarounds in the use of python (version
2) and org-mode. This applies to:
#+BEGIN_EXAMPLE
Org-mode version 8.3.4 (8.3.4-60-g19cf68-elpa @
/home/vagrant/.emacs.d/elpa/org-20160516/)
#+END_EXAMPLE
Some workaround are not complete, and suggestions are welcome!
On Wed, May 18 2016, Karl Voit wrote:
> Good morning William,
>
> * William Henney wrote:
>>
>> On Tue, May 17, 2016 at 9:54 AM, Karl Voit wrote:
>>
>>> * William Henney wrote:
>>> >
>>> > #+BEGIN_SRC python :python /Users/will/anaconda/envs/py27/bin/python
>>>
>>> Is this undocumented? http://
On Thu, Apr 07 2016, Nicolas Goaziou wrote:
> Daniele Pizzolli writes:
>
>> Do I am missing something else? Thanks again for your assistance.
>
> There seems to be an issue with cache. Call `M-x
> org-element-reset-cache' before calling `org-babel-execute-buffer'.
On Thu, Apr 07 2016, Nicolas Goaziou wrote:
> Hello,
>
> Daniele Pizzolli writes:
>
>> #+NAME: pid-result
>> #+RESULTS: pid
>> #+NAME: echo-pid
>> #+BEGIN_SRC shell :var DATA=pid-result :results value
>> printf '%s' "${DATA}" #+END_SRC
On Wed, Apr 06 2016, Nicolas Goaziou wrote:
> Daniele Pizzolli writes:
>
>> Thanks Nicolas for the reply. Ok, but `org-babel-execute-buffer'
>> produces an inconsistent document right now.
>
> This is because you ask it to. See below.
>
>> Mmm, the same r
On Wed, Apr 06 2016, Nicolas Goaziou wrote:
> Hello,
>
> Daniele Pizzolli writes:
>
>> is possible to update the “#+RESULTS: pid” when the block “#+NAME:
>> echo-pid” is evaluated in the following snippet?
>
> Without `org-babel-execute-buffer', I don't t
Hello,
is possible to update the “#+RESULTS: pid” when the block “#+NAME:
echo-pid” is evaluated in the following snippet?
This will lead to a consistent document generation with “M-x
org-babel-execute-buffer” or by hitting “C-c C-c” on “#+NAME:
echo-pid”. Using the cache does not make sense: th
On Mon, Jan 04 2016, Rasmus wrote:
> Hi Daniele,
>
> Daniele Pizzolli writes:
>
>> thanks for you comment. I try to explain my point of view better. Now
>> the export to letter silently discard the headings text in the exported
>> tex. This is quite bad, even if
On Sun, Jan 03 2016, Nicolas Goaziou wrote:
> Hello,
>
> Daniele Pizzolli writes:
>
>> Fix a typo.
>
> Applied. Thank you.
Hello Nicolas,
Thanks to you for this and for all your effort in improving org-mode!
> BTW, have you signed the FSF papers? I thought you
On Sat, Jan 02 2016, Rasmus wrote:
> Hi Daniele,
>
> First, thanks for your patch.
>
> Daniele Pizzolli writes:
>
>> I was really surprised that headlines, that are so common in org-mode
>> are discarded by default in ox-koma-letter.
>
> Why? They are not
happy to follow your suggestion or if somebody take this code
as a minimal implementation to start to work with.
Thanks in advance,
Daniele
>From 390d93afc95f6151e1bde43ef91b4e31f91ecd01 Mon Sep 17 00:00:00 2001
From: Daniele Pizzolli
Date: Sat, 2 Jan 2016 11:48:24 +0100
Subject: [PATCH] ox-k
happy to follow your suggestion or if somebody take this code
as a minimal implementation to start to work with.
Thanks in advance,
Daniele
>From 390d93afc95f6151e1bde43ef91b4e31f91ecd01 Mon Sep 17 00:00:00 2001
From: Daniele Pizzolli
Date: Sat, 2 Jan 2016 11:48:24 +0100
Subject: [PATCH] ox-k
Fix a typo.
Best,
Daniele
>From 09f2c70f4e95a9489279b3b3989a2244703bc9c9 Mon Sep 17 00:00:00 2001
From: Daniele Pizzolli
Date: Sat, 2 Jan 2016 11:25:15 +0100
Subject: [PATCH] Fix typo
---
contrib/lisp/ox-koma-letter.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --gi
On Thu, Sep 24 2015, John Kitchin wrote:
[]
Hello,
I am reversing the conversation to figure out the meaning:
> > In org-ref I provide a list-of-tables and list-of-figures link,
> > which has the latex
[]
>> Great John, thanks, I will see what I can add. Is this package part
>> of any libr
On Thu, Sep 17 2015, Samuel Wales wrote:
> On 7/23/15, Daniele Pizzolli wrote:
>> https://addons.mozilla.org/it/firefox/addon/org-mode-capture/
>>
>> The latest version convert html links to org-links (disclaimer: it is my
>> little contribution).
>
> this extensi
On Tue, Jul 28 2015, Peter Davis wrote:
> Daniele Pizzolli writes:
>
>> On Thu, Jul 23 2015, Peter Davis wrote:
[]
>>
>> https://addons.mozilla.org/it/firefox/addon/org-mode-capture/
>>
>
> Thank you, Daniele. I'm afraid I haven't been able to ge
On Thu, Jul 23 2015, Peter Davis wrote:
> Frequently when I'm doing a Web search and find pages I like, I want
> to save a link to the page, along with the title and perhaps a few
> notes. Something like org-mode's capture would be great, but I'd like
> to initiate it from a browser. I imaging hit
On Tue, Jun 30 2015, Nicolas Goaziou wrote:
> Hello,
>
> Reuben Thomas writes:
>
> Disclaimer: I don't know what are "LocalWords" and I could find
> a reference either in the Emacs or Elisp manual.
Hello,
In fact it is not so easy to find it! There are too many way to search
in emacs and there
Hello,
according to [[info:org#References]] (see Named references) is possible
to use a property in formulas. This generally works, but not when the
property is a time value as defined in
[[info:org#Durations%20and%20time%20values]].
Please have a look at the following ECM:
* test table with con
Nicolas Goaziou writes:
> Hello,
[]
> Indeed. This should be fixed in
> ad7b7efcdc2e0803cbf0257bb2588c8e8e1cac29.
>
> If fall-backs to a plain string.
>
> Thank you.
Thanks to you for taking care so quickly!
Best,
Daniele
John Kitchin writes:
> I am pretty sure this is a long-standing "feature".
>
> Try this:
> #+BEGIN_SRC emacs-lisp :results raw
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '((emacs-lisp . nil)
> (R . t)))
> #+END_SRC
>
> I have never been able to use a babel block that outputs a
Hello,
I remember that sh was renamed to shell some time ago.
But shell sometimes does not work, while sh does.
Is there a difference between the two (and when i should use one over
another?) or is it a bug?
The minimal example follows:
#+PROPERTY: header-args:shell :dir /vagrant@127.0.0.1:/v
Hello,
my attempt to use org-mode for both interactive presentation and final
report was unsuccessful due to a series of bugs and nuisances.
Fortunately I can use the result of tangle. Will report the issues
encountered to the list in the next few days.
Here is a minor one.
The following code,
Hello Ken,
Ken Mankoff writes:
> I'm working with my literate init file (emacs.org), and would like to
> have certain sections not tangle. I currently do this with ":tangle no"
> at the SRC block level. Is it possible to control tangling with tags at
> the header level?
Not with tag but with PRO
Hello,
I am going to give an interactive presentation of git using org-mode
and babel. But I am stuck with random hangs when executing the code
with =C-c C-c= and during export.
I am using Org-mode version 8.2.4 (8.2.4-dist @
/home/vagrant/.emacs.d/el-get/org-mode/lisp/)
The hangs does not alwa
Hello Charles,
"Charles C. Berry" writes:
> Further Daniele's response to '[bug] Removing the Babel results':
>
> http://article.gmane.org/gmane.emacs.orgmode/94604
>
> See below.
>
>> But why a `native' function? You know how to achieve this result and
>> can
>>
>> 1. add a customized functi
Hello Sebastien,
Sebastien Vauban writes:
> Hello,
>
> Removing the Babel results (through `C-c C-v k') is not done in
> a coherent way, as you can see in the following example:
Nice to hear that I am not the only one to complaint. :-)
I proposed a new function that preserve the placement of th
Hello Charles,
"Charles C. Berry" writes:
> On Sat, 31 Jan 2015, Daniele Pizzolli wrote:
>
>> Hello Charles,
>>
>> Thanks for fixing the leading whitespace issue.
>>
>> I found another, more impacting, inconsistency involving trailing
>> whi
Hello Charles,
"Charles C. Berry" writes:
> RFC: the patch to `org-babel-remove-inline-result-one-or-many' removes
> inline results, too.
>
> Do you see any bad consequences?
>
> On Fri, 30 Jan 2015, Daniele Pizzolli wrote:
>
>> Hello Charles,
>>
Hello Charles,
Thanks for fixing the leading whitespace issue.
I found another, more impacting, inconsistency involving trailing
whitespace during export in release_8.3beta-780-g37fc86:
The following line in org:
1 + 4 in R is src_R[:exports results]{1+4}.
Export in latex correctly as:
1 + 4
Hello Charles,
"Charles C. Berry" writes:
> On Fri, 30 Jan 2015, Daniele Pizzolli wrote:
>
>> Hello,
>>
>> I really like the new inline results. Thanks for this new cool feature.
>> I have only a few problems with it.
>>
>
> Thanks for
Hello,
I really like the new inline results. Thanks for this new cool feature.
I have only a few problems with it.
Is there a way to evaluate a buffer an then remove inline results or
better, to get the very same buffer after:
(org-babel-execute-buffer)
(org-babel-map-inline-src-blocks nil (org
Karl Voit writes:
> * Paul Rudin wrote:
>> Karl Voit writes:
>>
>
>>> * Paul Rudin wrote:
[]
>>> You'll lose some more. At least you are going to lose your labels
>>> AFAIR.
>>
>> Labels map to mailboxes if you access your gmail via imap IIRC, so you
>> don't really lose that information.
>
> AF
Hello,
Ken Mankoff writes:
> People here might be interested in a publication from [2014-12-19 Fri]
> available at http://dx.doi.org/10.1371/journal.pone.0115069
>
> Title: An Efficiency Comparison of Document Preparation Systems Used
> in Academic Research and Development
>
> Summary: Word users
Hello,
Vikas Rawal writes:
> I have an R source code blocks called with the ":results value”
> option. I evaluate the code with C-c. When I do that, in my R session
> buffer, I get to see several + + + until the final value is obtained,
> and then the final value is shown, and inserted in my Org
Hello Sebastien,
Sebastien Vauban writes:
>> Thanks for the clarification. I did not noticed that before. I guess
>> that there is no plan to get this working for the general case, so the
>> only viable option is using one big .org file.
>
> Or use the Library of Babel, if the code you wanna t
Hello Nicolas,
Nicolas Goaziou writes:
> Hello,
>
> Daniele Pizzolli writes:
>
>> The noweb reference in the included file is not present in tangle (and
>> sometimes also is not present within the results in the buffer).
>
> File inclusion, through INCLUDE keywo
Hello Thomas,
Thomas Koch writes:
> Hi,
>
> there's a discussion on emacs-devel[1] about replacing texinfo as the
> documentation format and org is mentioned. RMS correctly mentions that org-
> mode is not a format but a program.
>
> This was also my problem when I thought about using org-mode
Hello all,
The noweb reference in the included file is not present in tangle (and
sometimes also is not present within the results in the buffer).
I am using: Org-mode version 8.3beta release_8.3beta-625-g8985b3
Please see the attached ECM with my comments (look for BUG). Let me
know if you wan
On 2014-11-24 12:12, Daniele Pizzolli wrote:
On 2014-11-24 11:18, Andreas Leha wrote:
Hi Daniele,
I think your wishlist is somewhere further down the road. I usually
implement some of your points in the src_language. I see that it
would
be nice if org supported these use cases, but I would
On 2014-11-24 11:18, Andreas Leha wrote:
Hi Daniele,
I think your wishlist is somewhere further down the road. I usually
implement some of your points in the src_language. I see that it would
be nice if org supported these use cases, but I would see them as part
of the LOB or maybe in some pac
On 2014-11-17 00:23, Nicolas Goaziou wrote:
"Charles C. Berry" writes:
For now, I'd be willing to make patches that will allow removal of the
inline src block results that do *not* involve these header args:
[]
IMO, we're too much focused on the implementation details. We ought to
agree on
On 06/15/2014 12:34 AM, Aaron Ecay wrote:
Hi Daniele,
2014ko ekainak 14an, Daniele Pizzolli-ek idatzi zuen:
Hello @ll,
I noticed that multi line caption works as expected, but there is no
way to fill it (at least to my knowledge).
[]
I have the following function in my org-mode-hook
On 06/14/2014 08:04 PM, Nicolas Goaziou wrote:
Hello,
Daniele Pizzolli writes:
I noticed that multi line caption works as expected, but there is no
way to fill it (at least to my knowledge).
[]
This was requested before.
In a nutshell, this can be done, but there are some caveats (see
Hello @ll,
I noticed that multi line caption works as expected, but there is no
way to fill it (at least to my knowledge).
I added a test case that should speak by itself.
I do not know a lot of elisp, but if you have some pointer I could try
to implement it by myself.
Maybe this could be exte
Hello all,
my original problem was how to get "a_b" exported literal using the
latex exporter. I explored a bit the sub/superscript options and I
think that there are some buggy behaviors.
The following code:
* test
- subscript a_b
- subscript escaped a\_b
- superscript a^b
- superscript escap
On 10/03/2013 03:30 PM, Nicolas Goaziou wrote:
The following patch should protect some fragile commands in
a section-like structure. It is Beamer-only since general LaTeX back-end
doesn't seem to encounter these problems.
Does it fix the problem?
Hello Nicolas,
yes, the problem is fixed both
On 10/02/2013 05:55 PM, Nicolas Goaziou wrote:
Daniele Pizzolli writes:
Yes, I think is fair to drop the markup.
OK.
I would also think that this is safe default when nested markup is
bad.
Do you have an exhaustive list of such cases?
No, not really but I try to report them as soon I
On 10/02/2013 03:45 PM, Nicolas Goaziou wrote:
Hello,
Daniele Pizzolli writes:
In fact I use org-mode primarily to stay away from *tex
nuisances... and I think that I am not the only one. I know enough
latex to find a workaround myself (not enough to offer a general
reliable solution) but I
On 09/30/2013 07:05 PM, Marcin Borkowski wrote:
[]
- =string=[footnote]
Just curious: what's the problem with =string=[footnote]?
Hello Marcin,
This line do no really cause errors on latex but do no export the code
and/or the footnote and leaves the equals in the output. Here are
some case
On 09/30/2013 06:02 PM, Daniele Pizzolli wrote:
But org-mode allow this!
I think that if something is allowed in org-mode syntax but not by the
underlining tools used for export, the exporter should take care to find
a suitable workaround.
Hello all,
I see all your interesting points on the
On 09/29/2013 09:05 PM, Paul Rudin wrote:
Daniele Pizzolli writes:
[]
Yeah, I have that in my init.el, it's not a general problem with
alphabetic labels, it's only in some contexts that problem happens.
hitting alt-enter at the end of item a) works just fine for example - I
get th
On 09/29/2013 05:27 PM, Marcin Borkowski wrote:
Dnia 2013-09-29, o godz. 16:53:14
Nicolas Goaziou:
[]
It's a LaTeX Beamer problem: it doesn't like
\section{title \textit{[2013-09-29 Sun]}}
produced by Org, although regular LaTeX accepts it.
Do you know about a workaround for this?
Not
On 09/29/2013 08:40 PM, Paul Rudin wrote:
Example:
1. Some text that extends over more than one line, I'm not sure if the exact
length is relevant.
a) stuff; and then
b) this item will not be recognised as a list item, which can be a bit of a
pain, so if you're typing with auto-
On 09/29/2013 02:33 PM, Eric S Fraga wrote:
Hello,
Hello Eric,
I am clocking a number of tasks and need a summary. The functionality
provided by the org-clock table is ideal for my use case.
However, the total time summaries use numbers of days when the number of
hours exceeds 24. Although
Hello @all,
Dates in org-format in heading break the beamer export:
Minimal case:
#+OPTIONS: H:3
* title [2013-09-29 Sun]
** section
*** frame
text
Result for beamer export:
org-latex-compile: PDF file ./beamer-bug-date.pdf wasn't produced: [undefined
control sequence] Runaway argument
The
John Kitchin wrote:
Hi everyone,
I have an idea for putting links in a pdf that would open python code
blocks in an editor. To do that, I need to modify what happens when an
org-file is published to latex.
Hello John,
Few days ago, I did some research on the general problem:
- not python spec
On 09/21/2013 12:30 AM, Eric Schulte wrote:
Hi Daniele,
Thanks for catching this very large edge case which I completely
ignored. I've just pushed up a fix.
Hi Eric,
Thanks to you for fixing it. It never ceases to amaze me how many
clever thighs org-mode can do!
Regards,
Daniele Pizzolli
just found that the section “Writing
tests with minimal Emacs-lisp knowledge” at
http://orgmode.org/worg/org-tests/index.html#sec-3 is not yet complete
but I can have a look at the source code and follow your advises or
examples.
Thanks again,
Daniele Pizzolli
last line
we can end with:
#+RESULTS:
** some other section
That will cause problem in the next evaluation.
I will appreciate your suggestions to improve the patch myself. It
would be great also if anybody can implement it properly and get it merged.
Thanks in advance,
Daniele Pizzolli
di
68 matches
Mail list logo