some odd properties
wrt. hyphenation:
https://tex.stackexchange.com/questions/97310/slash-allows-for-hyphenation-of-only-the-word-on-its-left-how-to-fix-it-for-th.
So maybe latex power users would rather write something more complicated
using the @@latex:\slash\hspace{0pt}@@ syntax.
Thanks,
--
Aaron
.
Thanks (also for your previous patch for handling in graphics blocks),
--
Aaron Ecay
* lisp/ob-core.el (org-babel-generate-file-param): New function.
(org-babel-get-src-block-info): Use it.
---
lisp/ob-core.el | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
This patch allows the autogeneration of result file names from source
block names.
:output-dir apply to the :file case as well?
--
Aaron Ecay
absolute as well
as relative directory names. Referring to a “subdirectory” was a
mistake on my part; the docs in the new patch should be clearer.
The updated patch (now with docs and tests) is attached to this email.
Thanks again,
--
Aaron Ecay
From 4b428820432752117c60b79da0a79fd4e50e4ba1 Mon
. Is
there any interest in seeing it through? As an occasional contributor,
I would certainly find it pleasanter and less time-consuming to write
docs in org rather than texinfo.
Thanks,
--
Aaron Ecay
, I'd then be happy to apply the resulting
patch.
Done, as you and Bastien suggested.
Thanks,
--
Aaron Ecay
commit made org-babel-graphical-output-file stricter).
Also, I'd think you should be using user-error instead of error to
generate the messages.
Good catch (especially since I recently pushed a patch changing some
errors to user-errors *blush*). Fixed.
Thanks,
--
Aaron Ecay
Hi Alan (et al.),
I meant to reply to the list as well, thanks for forwarding. And I'm
glad the filter works for you.
Aaron
/a5686d87786b1d6514ec85959a2188f703346a06
--
Aaron Ecay
(superficially; I’m not sure if it’s the correct fundamental
approach).
From 7faf58afa659cf63042464dbd15ad62239416832 Mon Sep 17 00:00:00 2001
From: Aaron Ecay aarone...@gmail.com
Date: Wed, 21 May 2014 01:58:18 -0400
Subject: [PATCH] ox-org: fix export of source blocks with header args
---
lisp
come up with: the benefits might turn out to be worth the potential
drawbacks.
--
Aaron Ecay
Hi Rainer,
You might want to look at how ESS handles a similar situation, via the
variables ess-etc-directory and ess-lisp-directory in the ess-site.el
file.
--
Aaron Ecay
Hi John,
You can use C-c C-x P (with a capital 'p') to enter both the property name
and value in a free text prompt (no completion). In your case, you'd enter
TO: followed by your desired value.
Aaron
(which almost
certainly gets a larger audience than worg)
What do you think?
--
Aaron Ecay
”)
--
Aaron Ecay
text 4
The problem with this example which Nicolas alludes to arises if B is
tagged noexport. Then text3 will also be not exported, even though it
seems like it should be.
--
Aaron Ecay
* contrib/lisp/org-mtags.el: Delete file.
* lisp/org.el (org-structure-template-alist): Remove foo-style tags.
(org-complete-expand-structure-template): Don't handle foo-style tags.
---
contrib/lisp/org-mtags.el | 255 --
lisp/org.el | 43
the LocalWords lines for
you.
Hope this is useful,
--
Aaron Ecay
Hi Nicolas,
2014ko ekainak 14an, Nicolas Goaziou-ek idatzi zuen:
Hello,
Aaron Ecay aarone...@gmail.com writes:
I’m confused. In the text, you say “promoted to the root level of the
tree”, which I expect to mean promotion to a top-level headline. In the
example, though, H4 is promoted
Hi Sebastien,
2014ko ekainak 18an, Sebastien Vauban-ek idatzi zuen:
Hi Aaron,
Aaron Ecay wrote:
[...]
babel needs to fetch 30 properties per source block. Indeed, this is
marked “deprecated” in the source, in favor of a system where there is
only one header arg. This has been marked
min)
- (format %s - read.table(\%s\,
+ (format %s - read.table(textConnection('%s'),
This will fail if ‘file’ contains an apostrophe character. I guess you
need to escape apostrophes in ‘file’.
HTH,
--
Aaron Ecay
to use some combination of “:exports none” or a headline
tagged :noexport: to avoid these src blocks showing up in the exported
output.
HTH,
--
Aaron Ecay
Hi Daniele,
Hello Aaron,
Nice, since I do not use short caption, this could be really a
viable solution.
How I am supposed to set it up?
I added it as:
(add-hook 'org-mode-hook (lambda () (awe-org-setup-fill-hook)))
When pressing M-q it does nothing on #+caption: lines.
If I enable
,
--
Aaron Ecay
.
Cheers,
--
Aaron Ecay
Hi Nicolas,
2014ko ekainak 21an, Nicolas Goaziou-ek idatzi zuen:
Hello,
Aaron Ecay aarone...@gmail.com writes:
The first is that editing non-trivial latex code embedded in an elisp
string quickly becomes tedious, whereas it’s much pleasanter in org
using org-edit-special, syntax
2014ko ekainak 14an, Aaron Ecay-ek idatzi zuen:
* contrib/lisp/org-mtags.el: Delete file.
* lisp/org.el (org-structure-template-alist): Remove foo-style tags.
(org-complete-expand-structure-template): Don't handle foo-style tags.
---
contrib/lisp/org-mtags.el | 255
2014ko ekainak 21an, Aaron Ecay-ek idatzi zuen:
[...]
Eventually, if you insist on writing your full preamble within the
document, you can start to write it in a LaTeX-mode buffer, copy it in
your Org document and add #+LATEX_HEADER: in front of each line.
This last step is done easily
,
--
Aaron Ecay
the strings to defconsts.
Putting a newline before each `%S' will outdent the first line of
:var value when it is echoed in the session log so it will be easier to
view.
+1 to both of the above suggestions but otherwise the patch looks good
and I think it should be applied.
--
Aaron Ecay
export tests live in the file testing/lisp/test-ob-exp.el, so that’s the
spot to look for examples.
Have you heard back from the FSF about your copyright assignment?
Thanks for the patches,
--
Aaron Ecay
:results value
`
--
Aaron Ecay
,
--
Aaron Ecay
Hello,
In the latest checkout of master, I am seeing an infloop in
org-element-inlinetask-parser. This originates when that function
calls back into org-element-at-point to look for a property drawer,
which moves the point back before the beginning of the inlinetask and
then attempts to re-enter
Duh, forgot to include the list in this reply.
On Sun, Jul 13, 2014 at 10:50 PM, Aaron Ecay aarone...@gmail.com wrote:
Hi York,
It’s not a totally trivial problem from the LaTeX side. This stack
exchange answer outlines what could be a solution:
http://tex.stackexchange.com/a/54240. Inside
to
still use the more convenient C-c C-c binding.
--
Aaron Ecay
-valued properties.
It does, at least to a first approximation. Look at the functions
described in:
(info (org) Using the property API)
I’m not sure how well this feature is integrated with agenda
search/filtering, though – maybe you should give it a try.
--
Aaron Ecay
.
(But maybe you have something in mind...)
--
Aaron Ecay
rota.
--
Aaron Ecay
general.
--
Aaron Ecay
Hi Bastien,
2014ko uztailak 27an, Bastien-ek idatzi zuen:
Hi Aaron,
Aaron Ecay aarone...@gmail.com writes:
There’s a warning in the Org manual about using filladapt with org, but
I’ve never noticed any problems.
Interesting -- was it always like this? Or is it due to the recent
for the patch. It is committed (with light modifications).
--
Aaron Ecay
of :post should be a babel call (in the same format as e.g. a
#+call line), not an elisp form. If babel sees something that looks
like elisp, it will attempt to ‘eval’ it when parsing the src block,
before *this* is bound (which happens only upon execution, after
parsing).
--
Aaron Ecay
block, we need to resolve each of its :vars, which includes
dblock-name, so we try to resolve the same block again...
Converting the second and third src blocks to example blocks (leaving in
place the #+names) gives what you seem to be aiming for.
--
Aaron Ecay
.
This introduces the change that the output no longer appears in the
session buffer, but I think that’s actually an improvement: we were not
previously echoing the commands to the buffer, such that the output
would show up “out of the blue” without any indication of how it got
there.
--
Aaron Ecay
that the execution of a whole document (subtree,
etc.) will be halted by the first error, rather than continuing what may
be a long series of commands that will not give valid output. What do
you think?
Thanks,
--
Aaron Ecay
). This would be more general (since you can also
e.g. delete the contents of the cell after marking it), and also not
require more keystrokes (as long as you can find a binding of 3 keys or
less for the mark-cell command).
--
Aaron Ecay
this unexpected result?
#+BEGIN_SRC emacs-lisp
(org-version nil t)
#+END_SRC
Thanks,
--
Aaron Ecay
be easy, based on the code sample/hint that Chuck gave).
What do you think of the approach broadly?
From ea99c10d148f71e5384144728a5714ecc5ae47ca Mon Sep 17 00:00:00 2001
From: Aaron Ecay aarone...@gmail.com
Date: Sat, 16 Aug 2014 00:49:05 -0400
Subject: [PATCH] ob-R: overhaul handling of :output
(value results in a session; either type of result outside of a
session). I’d like to get this patch working first, and then focus on
the others. It may be that we want to move to using the evaluate
package in all cases, in which case this suggestion would be workable.
--
Aaron Ecay
org could work
with them, ideally from people who have direct experience with them.
Otherwise, it would be disappointing if the fear that an unidentifiable
somebody somewhere might not be able to install R packages derailed the
improvement of babel’s R support.
Thanks,
--
Aaron Ecay
regress. Adding a headline before the third code
block fixes the issue.
--
Aaron Ecay
accidentally,
since the code that checks this option is still there.) Here is a patch
to re-introduce it.
This option was lost in commit 7a956c38, and indeed its removal looks
like an accident. I pushed your patch.
Thanks for your vigilance,
--
Aaron Ecay
escaping to special
characters like backslashes as you would if they were processed by org.
Hope this is useful,
--
Aaron Ecay
in the future. But that’s a bigger project...)
Sorry for the confusion,
Aaron
From 8e327b373effb3690cfc0d8fec85b51704d1fb92 Mon Sep 17 00:00:00 2001
From: Aaron Ecay aarone...@gmail.com
Date: Thu, 21 Aug 2014 18:09:04 -0400
Subject: [PATCH] ox-beamer.el: Match latex backend in generation of \author
2014ko abuztuak 22an, Nicolas Goaziou-ek idatzi zuen:
torys.ander...@gmail.com (Tory S. Anderson) writes:
I realize you were responding to Aaron on this, but for my own
education, how does on apply?
Please push your patch on master branch is more explicit.
Pushed.
Thanks,
--
Aaron
* lisp/ox-latex.el (org-latex-src-block): Support :float no with
caption for minted.
(org-latex-listings): Edit docstring to describe this usecase.
This takes advantage of the caption package’s \captionof command,
which allows to insert a caption (with autogenerated number and
\ref-able label)
* lisp/org-table.el (org-table-convert-region-max-lines): New
defcustom.
(org-table-convert-region): Use it.
This is useful primarily for babel results. If a large table-like
object is returned by a code block, this function will become bogged
down in trying to read it, and hang emacs
2014ko abuztuak 19an, Achim Gratz-ek idatzi zuen:
Aaron Ecay writes:
R is capable of installing packages to a user-specified directory,
without requiring root or any other special privileges. So IT cannot
literally prevent R users from installing their own packages;
They can, all
the
contents of the variable inside a regex character class (delimited by
[]).
See the patch I just sent
http://mid.gmane.org/871ts7r4ho@gmail.com for a different
approach.
--
Aaron Ecay
such a change.
FWIW, I also think the present behavior is too magical, and am in favor
of the proposed change.
--
Aaron Ecay
of gross hacks, so I’d much
prefer the evaluate-based approach if it can be made palatable.
From afa24835f2a170c59a044dcf3bcf0ee765e8b568 Mon Sep 17 00:00:00 2001
From: Aaron Ecay aarone...@gmail.com
Date: Sat, 16 Aug 2014 00:49:05 -0400
Subject: [PATCH] ob-R: overhaul handling of :output results
Hi Nicolas,
2014ko abuztuak 23an, Nicolas Goaziou-ek idatzi zuen:
Hello,
Aaron Ecay aarone...@gmail.com writes:
* lisp/ox-latex.el (org-latex-src-block): Support :float no with
caption for minted.
(org-latex-listings): Edit docstring to describe this usecase.
There is already :float
Hi Nicolas,
2014ko abuztuak 23an, Nicolas Goaziou-ek idatzi zuen:
Aaron Ecay aarone...@gmail.com writes:
It’s not adding any new functionality to the exporter,
Well, it is, since captionof command doesn't exist in Org default
packages.
I guess this was unclear. What I meant
* lisp/org.el (org-buffer-property-keys): Only match real property
drawers.
This patch adds an org-element based check. Otherwise the following
triggers a bogus prompt to fix a malformed drawer on
typing M-: (org-buffer-property-keys)
* foo
(add-to-list 'org-capture-templates
-faces.el:719:(org-copy-face 'org-time-grid 'org-agenda-current-time
./lisp/org-faces.el:791:(org-copy-face 'mode-line 'org-mode-line-clock
./lisp/org-faces.el:793:(org-copy-face 'mode-line 'org-mode-line-clock-overrun
Thanks,
--
Aaron Ecay
Hi Nicolas,
2014ko abuztuak 24an, Nicolas Goaziou-ek idatzi zuen:
Hello,
Aaron Ecay aarone...@gmail.com writes:
Why is the compatibility=false option needed? I can’t figure this
out.
This is in my local copy of the minted manual, in 7 Known issues. It
may be outdated, though.
Hmm
customizations (or lack
thereof) at all.
It’s taking a little bit for me to digest the discussion in that thread,
but I hope that if you can live with your local modifications a bit
longer you will be pleased with the end result.
--
Aaron Ecay
to get a few
tests written this weekend, and study the remote vs. local files
business.
--
Aaron Ecay
Hi Seb,
2014ko abuztuak 29an, Sebastien Vauban-ek idatzi zuen:
[...]
Does it have something to do with `ess-eval-visibly' not being respected
(whose default is `t')?
Indeed, babel’s R support let-binds this variable to nil when evaluating
value-type results in a session.
--
Aaron Ecay
,
if any. As a consequence, the code for this function will be different
anyway. IOW, I wouldn't bother too much.
I see. Thanks for the explanation.
--
Aaron Ecay
tell if this
would fix your problem or not, but if it’s exclusive to the faces I
listed in my previous email the answer is probably “yes.”
--
Aaron Ecay
Hi Chuck,
Attached is a new version of the patch, including a few more tests. I
have one question:
2014ko abuztuak 28an, Aaron Ecay-ek idatzi zuen:
but the patch here uses on.exit(file.create(...)) to ensure that that
file is created. One hiccup (not sure if it exists in master,too
“by-backend” in the mailing list archives for other
relevant examples.
Hope this is helpful,
--
Aaron Ecay
):
#+property: session *foo*
or (at the subtree level):
:PROPERTIES:
:session: *foo*
:END:
This will likely be easier than trying to do surgery on the header-args
property.
--
Aaron Ecay
.
Certainly I agree that the suggested replacement is less capable. Sorry
I can’t help more. Maybe Eric or Achim (who introduced the deprecation)
will comment.
--
Aaron Ecay
Hi Achim,
2014ko irailak 8an, Achim Gratz-ek idatzi zuen:
Aaron Ecay writes:
Eric Schulte has said http://mid.gmane.org/87wqce0w9n@gmail.com
that the deprecation of this feature is “premature”. I didn’t realize
at the time that the deprecation was also included in the manual rather
assignment described at
http://orgmode.org/worg/org-contribute.html#sec-2 before you run
out of lifetime eligibility for TINYCHANGEs (which is ultimately
controlled by the emacs core developers and/or FSF’s lawyers, but
it’s widely taken to be 15 lines or fewer).
--
Aaron Ecay
Hi Achim,
2014ko irailak 9an, Achim Gratz-ek idatzi zuen:
Aaron Ecay writes:
Can you say more about the corner cases?
It's been quite some time since I looked at this, but inline calls were
quirky for instance since their point of call is ill-defined.
Surely the point of call is just
’ is present, and use C-M-x
to reevaluate the defun.)
Thanks,
--
Aaron Ecay
Hi Nicolas,
2014ko abuztuak 28an, Nicolas Goaziou-ek idatzi zuen:
Hello,
Aaron Ecay aarone...@gmail.com writes:
The other application I can think of is to allow captioned images and
tables not to float. The LaTeX world is full of tutorials on how to
un-float floating images and tables
. The
alternative is adding the (macro . org-export-macro-warn) entry
manually to all the relevant backends, and relying on future backend
authors to do the same.
3. Should this even be implemented as part of the backend’s
translate-alist, or at a lower level?
Thanks,
--
Aaron Ecay
From
formats, but I
think the greater structure of this proposal makes things easier for
babel authors. (Another way of thinking of the proposal is that it
treats description lists like two-column tables.)
What do people think?
Thanks,
--
Aaron Ecay
From a7e01675f2c89fb648e528c3efe535ed0b2389f1 Mon Sep 17
simplification of
the code might also be possible.
Let me know if you’re interested; I may be able to dig the old
half-patch out of a disused git branch somewhere. It may have bitrotted
some, but it may also be useful.
--
Aaron Ecay
. The docstrings
seem to spell out the criteria for using one function vs. the other
well, so there’s little danger of confusion. Adding \phantomsection to
‘org-latex--wrap-label’ would also make them diverge further in their
internal workings.
Thanks,
--
Aaron Ecay
-all, which will
activate the undefined checking only if non-nil, and pass this flag
in the exporter’s second (and last) call to org-macro-replace-all
3. in ‘org-export-as’, manually walk the parse tree after expanding
macros, and make sure no 'macro type objects are left
WDYT?
--
Aaron
the babel feature.
WDYT?
--
Aaron Ecay
., this content will fail to be syntax-highlighted, and
the mark-up syntax will be exported in verbatim by the exporter.
You will need to change the variable org-emphasis-regexp-components; see
the documentation thereof.
--
Aaron Ecay
-contribute.html#sec-2.
--
Aaron Ecay
Hi again,
2014ko irailak 23an, Aaron Ecay-ek idatzi zuen:
Hi Marco,
Thanks for your patch. TINYCHANGES can only be smaller than 15 lines,
though, and your patch has more than that (even if we discount
boilerplate like the license notice). So you should probably do the
copyright
, that’s the direction that the next iteration of this patch will
move, motivated by your and Nicolas’s comments.
Thanks,
--
Aaron Ecay
Hi Seb,
2014ko irailak 23an, Sebastien Vauban-ek idatzi zuen:
Hi Aaron,
Aaron Ecay wrote:
2014ko abuztuak 29an, Sebastien Vauban-ek idatzi zuen:
I think it's related to an Emacs bug (#16440) which I reported on the
Org mailing list in February.
I don’t completely understand what
if there is no binding for the key in
global-map.
How’s your elisp? Would you feel up to trying to create such a patch?
--
Aaron Ecay
f4abc5c57764fc36d7405be6b6c2f5cd63396d8d Mon Sep 17 00:00:00 2001
From: Aaron Ecay aarone...@gmail.com
Date: Tue, 23 Sep 2014 13:54:47 -0400
Subject: [PATCH] allow speed commands to have prefix args
* lisp/org.el (org-self-insert-command): Allow speed commands to be
invoked with prefix args.
---
lisp/org.el | 8 +---
1 file changed
Hi Tobias,
2014ko irailak 23an, Tobias Getzner-ek idatzi zuen:
Hello Aaron!
On Tue, 23 Sep 2014 13:03:06 -0400, Aaron Ecay wrote:
You will need to change the variable org-emphasis-regexp-components; see
the documentation thereof.
Thank you very much! This seems to do it.
Might I
commands like (pseudocode):
(defadvice vc-foo (around org-src activate)
(when (in-src-edit-p)
(org-edit-src-exit))
ad-do-it)
--
Aaron Ecay
conflicts
in the manual?
--
Aaron Ecay
for you on the
console too?
It seems to, yes. Can you test org mode (not outshine) in the console,
and verify that the original patch works for you there? If it doesn’t,
that needs to be resolved before the patch can be merged.
Thanks,
--
Aaron Ecay
Hi Dieter,
The link on the page you linked to is broken, but if you manually change
the URL to the following it works:
https://staff.fnwi.uva.nl/c.dominik/Tools/constants/constants.el
--
Aaron Ecay
1 - 100 of 508 matches
Mail list logo