binding of functions at runtime,
and so it does some specialized things that cl-letf doesnʼt do. This in
turn means that it should be a more robust way of accomplishing the
desired outcome.)
--
Aaron Ecay
. My own opinion is that we can just
document and live with the situation until something much better comes
along. But I also donʼt want to stop you from implementing a small and
reasonable fix if you are motivated to do so. :)
--
Aaron Ecay
Hi Nicolas,
2018ko maiatzak 27an, Nicolas Goaziou-ek idatzi zuen:
>
> Aaron Ecay writes:
>
>> Of course, done in c32938b7f. I did not realize how the freeze for 9.2
>> was working.
>
> Thank you.
>
> BTW, I'm considering creating a "next" bra
do-load-languages will not find it (because the file name
does not match). C++ is not a valid choice for the variable AFAICT. The
customize interface makes that clear by not offering it as an option, but
if the variable is customized outside of customize (so to speak...) chaos
reigns...
--
Aaron Ecay
Hi Nicolas,
2018ko maiatzak 27an, Nicolas Goaziou-ek idatzi zuen:
>
> Hello,
>
> Aaron Ecay writes:
>
>> Iʼve pushed commit 1643f70d3 to master which documents this behavior.
>
> Thank you. Please have a look at the consistency edits I made to it.
Thanks very
foo-scripts I found it to be quite natural in
my testing. So I hope that we can discuss it (as an optional feature,
certainly) once 9.2 is out.
--
Aaron Ecay
of what is a reasonable non-back-compatible
> change.
Iʼm inclined not to make the change now, but (hopefully remember to)
revisit it when Org 10 is imminent.
Thanks for raising the issue,
--
Aaron Ecay
become visible for editing. It is
modeled after a similar feature in emacs built-in
prettify-symbols-mode.
So, I think that should address your usecase.
Thanks for raising the issue.
--
Aaron Ecay
ox-{hugo,blackfriday}.
And I do not think there are any other shortcomings in org core that are
left outstanding from this discussion.
Thanks again,
--
Aaron Ecay
+ "(\"s\" . \"src\")"
> + "See (info \"(org)org-structure-template-alist\")"
> + ""
> + "The following entries must be updated:"
> + ""
> + "%s"
> + "%s")
> + "\n")
You could use a multiline string literal. IMO itʼs less ugly (but
still ugly...)
--
Aaron Ecay
Hi Kaushal,
2018ko maiatzak 24an, Kaushal Modi-ek idatzi zuen:
> That's why I am using (org-element-property :attr_html special-block) in
> the code to get the raw values to #+attr_html.
Iʼm not sure I made myself clear in the previous message. In any case,
this org:
╭
│ #+attr_html: :open
case.
--
Aaron Ecay
crop up for other elements as well, such that it would be
desirable to support it in org core? (This is at least partly me
wondering out loud, no need to specifically answer unless something
particularly occurs to you one way or the other.)
--
Aaron Ecay
e --- into the above syntax.
Aaron
PS Once upon a time, I created ox-extras in contrib as a home for little
snippets like this hypothetical before-parsing-hook. It never really
took off, but maybe itʼs just biding its time...
--
Aaron Ecay
.
Many details here.
#+end_details
This approach would require a supporing change to be made to the
‘org-html-keyword’ function.
Just food for thought...
--
Aaron Ecay
ead. Then we wouldnʼt have to worry about
the security implications of allowing non-atom values. It seems like a
version of this feature that only worked for atoms would be quite limited
in functionality. In that case, we should probably call the defcustom
above ...apply-unsafe-edit-bindings for the sake of accuracy.
--
Aaron Ecay
t some of this comes as useful advice.
--
Aaron Ecay
c
This silently skips varlist entries that are of the wrong shape, but it
would be possible to make it raise an error as in your version. I like
the pcase version better because itʼs shorter and has fewer nested
conditionals, but itʼs ultimately a matter of taste.
--
Aaron Ecay
kage-archives etc to make the
package-install call above work correctly. Maybe I was being
pessimistic about that, though.
--
Aaron Ecay
Aaron
* Those of us who install org from git might have to do something else
to make sure the right version of org-tempo is loaded, but weʼre used to
living on the edge. :P
--
Aaron Ecay
feature request to
the emacs bug tracker, #31383)
--
Aaron Ecay
nge was from a cons of (character, template string) to a
cons of (string, template string). The relevant commit is b56df73.
--
Aaron Ecay
raries personally, so I donʼt know how
well they will work for you.
--
Aaron Ecay
and “C-c / v” for a variable
The template file corresponding to this is located at
$YOUR_EMACS_INSTALL_DIR/etc/srecode/el.srt.
Just as an aside, I have now also learned that emacs also includes
skeleton.el, which is yet a third template expansion library. Sigh.
--
Aaron Ecay
Hi Rasmus,
2018ko maiatzak 5an, Rasmus-ek idatzi zuen:
> I don’t like it, I’m afraid.
Iʼm sorry to hear that.
> It’s a bit nagging.
I wouldnʼt call it nagging. The user presses “ There’s tools to mark thinks as obsolete in Emacs should we need to.
There are tools to mark functions and vari
Variable Definitions").
--
Aaron Ecay
e best place for it eventually would be
org-contrib or GNU ELPA, and not org core. If that is decided now, then
we can include that information in the upgrade message (i.e. that users
who opt in to org-tempo will eventually have to install it specifically).
--
Aaron Ecay
>From 414503d59b2129c
gt; Also, what do you think about :edit-bindings or :edit-locals instead
> of :edit-vars? :var is a completely different thing, and :edit-vars
> may cause confusion, given the similarity of the name.
Agreed. I prefer -bindings, but I suppose itʼs not terribly important:
either of your proposed names is a big improvement.
--
Aaron Ecay
2018ko maiatzak 1an, Göktuğ Kayaalp-ek idatzi zuen:
>
> On 2018-05-01 20:35 +01, Aaron Ecay wrote:
>> Thinking about it some more, lexical binding is not a good case for
>> this feature, since it has to be set not only in the edit buffer, but
>> also when C-c C-c is use
mplemented yet, though.
Aaron
PS Itʼs best to use “reply all” and include the org mode mailing list in
replies, to make sure everyone following the thread sees all the
messages.
--
Aaron Ecay
lexical-binding: t in elisp src blocks
--
Aaron Ecay
vel that were quoted in your full message. To be specific,
this would entail (eventually) getting rid of the
org-structure-template-alist variable entirely, as well as the menu now
bound to C-c C-,; the former would be replaced by (AFAIUI) template
files that would be included with org and/or created by
ult
- Show a user warning whenever a “>From 012f8d0b71c76f5d255af6bdaeb2d9c83a47cf85 Mon Sep 17 00:00:00 2001
From: Aaron Ecay
Date: Tue, 1 May 2018 15:32:36 +0100
Subject: [PATCH] Use minor-mode machinery for org-tempo
* lisp/org-tempo.el (org-tempo-mode):
(org-tempo-global-mode): New minor mo
it will make maintenance much easier while (as you pointed out) still
leaving alternative solutions for recovering (most of) its
functionality.
--
Aaron Ecay
a day, accurate
to two decimal places. A duration shorter than a day uses units of an
hour instead.
Finally, the value can be set to the symbols `h:mm:ss' or `h:mm', which
means a duration, whatever its length, is expressed as a \"H:MM:SS\" or
\"H:MM\" string respectively. These options are convenient shorthand
which is equivalent to ((special . h:mm:ss)) or ((special . h:mm)).
--
Aaron Ecay
hereʼs some compelling reason for it
to exist that Iʼve overlooked.
--
Aaron Ecay
that this kind
of approach will accelerate the advent of dependency hell with ELPA
packages...but I think all package repos have to confront that problem
eventually. So Iʼd file that thought under “inevitable growing pains”
rather than “arguments against”.
--
Aaron Ecay
imeout'
It looks like this warning results from a defcustom for this variable
not being included in the patch (and AFAICT it should be).
--
Aaron Ecay
width word-joining space):
foo\zwj{}/bar/\zwj{}baz
I have an entry like the following defined in org-entities-user for this
purpose:
("nothing" "" nil "" "" "" "")
It might be worth considering adding to org-entities, but I’ve never
proposed it as it looks like an ugly hack to me.
--
Aaron Ecay
uot;= with =':'= but this did =not
> work either (invalid-read-syntax).
>
> How can I get this to work?
You need to escape the quotes with a single backslash.
--
Aaron Ecay
Hi Fabrice,
shell-mode is a shell emulation mode – what you get when you type M-x
shell. You should use sh (or bash, as applicable) in the header line of
your src blocks.
--
Aaron Ecay
Hi Nicolas,
2016ko urriak 13an, Nicolas Goaziou-ek idatzi zuen:
>
> Hello,
>
> Aaron Ecay writes:
>
>> FWIW, I agree. On the other hand, many people object to the brackets.
>
> I don't mind adding a variable.
I think that org in general has too many customiz
e changed by customization). It looks like such an
effect is achievable by combining the cursor-sensor-functions text
property with set-cursor-color.
WDYT?
--
Aaron Ecay
Hi Phil,
Org isn’t currently set up to handle compiling Latex documents on a
remote machine. I suppose the relevant function should detect such an
attempt, and immediately error out. Over the longer term, remote
compilation support could be added.
--
Aaron Ecay
.
HTH,
--
Aaron Ecay
--- End Message ---
--
Aaron Ecay
or any patches to org-mode core.
The assignment process takes some time, so (if the assignment is
something you want to do) you can go ahead and get started. You only
have to go through the process once, and you’re covered for this and
all future contributions to org mode/emacs.
--
Aaron Ecay
Hi Norman,
Have a look at the org-element library, which can produce an sexp
representation of the structure of an org document. (In particular the
function ‘org-element-parse-buffer’). You’ll need to convert the sexps
to XML, but that’s a comparatively minor task.
HTH,
--
Aaron Ecay
ersion of Org), and
there would be deprecation warnings to encourage package authors to
switch to the new API. So packages like yours would continue to work
without interruption, and they could eventually move to the new API at
the appropriate time (as judged by their authors).
--
Aaron Ecay
in the perl code). This is because ob-perl does not support the
:results graphics syntax (which could be classed as a wishlist-type
bug).
--
Aaron Ecay
(I am not bothered by it, FWIW).
If it’s not acceptable, perhaps this variable should be replaced by a
new defcustom ‘org-id-write-database’ which would control only the
writing of the DB to disk (but unlike the existing implementation would
not turn off the ID tracking code paths within the emacs session).
TIA,
--
Aaron Ecay
h in
lisp [(:background "XXX") vs. "XXX"] and via the customize interface.
So this flexibility seems to just introduce additional complications for
virtually no benefit in usability. But maybe I’m missing something...?
--
Aaron Ecay
hook function should be added to org-mode, if enough
people find it useful).
--
Aaron Ecay
filladapt-token-match-table :test #'equal)
(cl-pushnew '(org-caption . exact)
filladapt-token-conversion-table :test #'equal))
(visual-line-mode 1)
(auto-fill-mode 0))
(add-hook 'org-mode-hook #'awe-org-setup-fill-hook)
#+END_SRC
--
Aaron Ecay
il the conceptual issues are
resolved.
Thanks,
--
Aaron Ecay
>From 925c6f4e920555c402be271443d167d60dff Mon Sep 17 00:00:00 2001
From: Aaron Ecay
Date: Fri, 2 Sep 2016 23:30:10 +0100
Subject: [PATCH] Draft changes to org-id
---
contrib/lisp/org-drill.el | 2 +-
contrib/lisp/org-
Hi Nicolas,
2016ko irailak 1an, Nicolas Goaziou-ek idatzi zuen:
>
> Hello,
>
> Aaron Ecay writes:
>
>> This is fixed in commit ab5e100 on the maint branch. Thanks for the
>> report.
>
> Thank you for taking care of that.
>
> After every commit, ma
Hi Matthew,
This is fixed in commit ab5e100 on the maint branch. Thanks for the
report.
--
Aaron Ecay
this error by either removing the entry for the
fontenc package from org-latex-default-packages-alist, or setting
org-latex-compiler to either lualatex or xelatex (newer latex compilers
neither of which use fontenc). Of course, either of these might uncover
further problems (the parabola approach to packaging texlive seems
pretty haphazard), but I believe either step would fix the problem you
have reported.
--
Aaron Ecay
exporting to (UTF8) plain text.
2016ko abuztuak 28an, Clément Pit--Claudel-ek idatzi zuen:
> I can provide a patch if it is useful.
Thanks for the offer. I went ahead and made the change (on the master
branch), since it was so simple.
--
Aaron Ecay
your problem more precisely,
and figure out what needs to be changed to make it work.
Thanks,
--
Aaron Ecay
Hi Eric,
It’s a known bug in recent versions of org and/or emacs. No one knows
exactly what triggers the problem yet, and it’s being discussed in the
emacs bug tracker <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23917>.
--
Aaron Ecay
hich does the
completion exactly as you desire for your own usecase.
--
Aaron Ecay
Hi Nicolas, hi all,
2016ko maiatzak 13an, Nicolas Goaziou-ek idatzi zuen:
>
> Hello,
>
> Aaron Ecay writes:
>
>> Is this a correct change? Previously, C-x C-s in the org-src buffer
>> would save the underlying .org file, which was useful. AFAICS this now
>>
rlying .org file, which was useful. AFAICS this now
would not work. I also wonder whether autosave will work correctly from
the org-src buffer. I think the other suggestion in this thread (to use
write-region) is a better solution.
--
Aaron Ecay
ndard library of babel” as it were.)
>
>> What do you, and others, think? Is NAME enough for noweb syntax, or is
>> there a real need fo :noweb-ref?
To put it another way: it seems to me that the functionality of
:noweb-ref can be reimplemented in terms of other primitives. And gi
Hi Nick, hi Nicolas,
2016ko otsailak 20an, Nick Dokos-ek idatzi zuen:
>> IMO, it looks good. You might as well push it and wait for more
>> feedback, if needed.
>>
>> Regards,
>
> I did some testing as well and it seems to work.
Thanks for the feedback. Pushed to master.
--
Aaron Ecay
am, then
> the same for multirow would be really nice...
Unfortunately I think that’s more complicated, since it would necessitate
examining/modifying the whole table in one go, rather than operating one
row at a time.
--
Aaron Ecay
post the patch, I'll try out some simple tests over the
> weekend too.
It’s now split into two patches, attached to this message.
--
Aaron Ecay
>From 1e0f0e335bf594c6fe50581deb0775971a97f4f4 Mon Sep 17 00:00:00 2001
From: Aaron Ecay
Date: Sun, 14 Feb 2016 15:14:30 +
Subject: [
d not just for org), but I think
there has been some work put into making sure it doesn’t happen any more.
(I know emacs developers were discussing them and then they seemed to go
away so I assumed they were fixed...it’s possible I was mistaken though.)
If I had to guess, I’d say that line 63 of packages.el in your jmax
setup defeats these fixes. Try commenting it out. It should not be
necessary to manually byte-compile packages: package.el should do that
for you. And in this case, I hypothesize that it is actually harmful.
Hope this helps,
--
Aaron Ecay
Hi Eduardo,
2016ko otsailak 13an, Eduardo Bellani-ek idatzi zuen:
>
> Hey Aaron, thanks for the input.
>
> I don't think that solves my problem.
Look at the attached; I think it does what you’re asking for.
Hope this helps,
--
Aaron Ecay
example.org
Description: Lotus Organizer
ch I’ll do as
soon as I can.
--
Aaron Ecay
Hi Nicolas,
2016ko otsailak 10an, Nicolas Goaziou-ek idatzi zuen:
>
> Hello,
>
> Aaron Ecay writes:
>
>> I’d like to install the attached patch to master, if there are no
>> objections. That should resolve your concern as well as cleaning up the
>>
’
macro for the implementation.
(This is the usual function of the org-babel-coq-eoe variable that your
last patch deleted. It was probably cargo-culted in from another
backend and never properly implemented.)
Hope this is helpful,
--
Aaron Ecay
d resolve your concern as well as cleaning up the
dead code.
Aaron
--
Aaron Ecay
>From bdb68585d5b0ddf5a6c9876028b5f2be2f17e66a Mon Sep 17 00:00:00 2001
From: Aaron Ecay
Date: Wed, 10 Feb 2016 19:39:04 +
Subject: [PATCH] ob-core: remove cruft
MIME-Version: 1.0
Content-Type: text/plain; char
. But in my testing, %^T only inserts a time if one is
entered by the user.)
--
Aaron Ecay
put=my-input :results table
;; Code that does the calculations in your tblfm line
;; `input' is a variable holding your input table
#+end_src
--
Aaron Ecay
roblems, or are you speaking from experience?
[...]
> and adding
>
> #+ATTR_LATEX: :center
I think this should work, except that it needs to be written:
#+ATTR_LATEX: :center t
--
Aaron Ecay
uted.
Instead of a src block + keyword thing, why not just use #+latex (or
#+latex_header) to insert the code you need?
--
Aaron Ecay
Hi Nicolas,
2015ko abenudak 5an, Nicolas Goaziou-ek idatzi zuen:
>
> Hello,
>
> Aaron Ecay writes:
>
>> Indeed. However, this code was needlessly slow because it failed to
>> take advantage of short-circuit evaluation.
>
> According to the profile report
programmatically
> a plain list. See docstring for details.
>
> Feedback welcome.
It looks good. Thanks for your work.
--
Aaron Ecay
e to syntax. Then there’s the fact that syntax
fontification (incl. org-elements cache) is going to have such different
performance characteristics I’m not sure we can predict where the
bottlenecks will be.
--
Aaron Ecay
(result (if greedy restoffiles (cadr split
> + (result (if greedy restoffiles (cadr split)))
> +(new-style (string= (match-string 1 fname) "?")))
As a way to encourage users to move to new-style links, should we add a
warning if new-style = nil?
Thanks again for the patch,
--
Aaron Ecay
require a complicated web of third-party
dependencies to “work” at all. It’s a delicate balance...
--
Aaron Ecay
s your desired usage than the
ones you listed (and would caution you that using narrowing to defeat
the uniqueness assumption, while perhaps adequate for the short term, is
fragile and could break at any time).
--
Aaron Ecay
handler function which is an element of
‘org-protocol-protocol-alist’, and the query string gives the arguments
to this function.
Does that make sense?
Aaron
--
Aaron Ecay
the TODO headlines in a buffer (including but not limited to
inlinetasks) by pressing C-c / t. (This is just the tip of the iceberg
wrt listing/sorting/filtering org headlines.)
--
Aaron Ecay
Hi Loris,
It’s difficult to say without more context, but I think you might not
need :results graphics on the code block that you are #+call-ing.
:results graphics is intended for situations where Org should arrange
for the plot to be written, whereas you have undertaken this yourself.
--
Aaron
case, the link will break. (Maybe the link could be made to
work in org by using e.g. an ID link – but someone still might want the
mobile version of bar/page.html to live at mobile/bar/page.html not
mobile/page.html).
Maybe you have a different kind of use-case in mind?
Thanks,
--
Aaron Ecay
orities A through E
would map to 1000, 750, 500, 250, and 0. Etc.
The letter/integer substitution is a bit opaque. So is the fact that
org-lowest-priority (by default the ASCII codepoint for ‘C’ = 67) is a
larger integer than org-highest-priority (ASCII ‘A’ = 65), despite what
the names suggest.
Does that help any?
--
Aaron Ecay
you had considered it.
Either way, it would be good to put the documentation link you gave into
the docstring, as a pointer to the allowed values of the variable.
Does that make sense?
--
Aaron Ecay
end)
> + "\n")
> +2
Here I think you should use (org-element-property :value X) to get the
contents-lines. This means that it should be added to the list that’s
constructed from :begin, :end, and :post-affiliated higher up. (And
then I think :post-affiliated can be dropped from that list.)
I’m not sure why I didn’t do it that way in the first place, actually.
--
Aaron Ecay
bit of feedback about the
proposal from a cross-section of the community. So what I’ve said will,
I hope, function partially as a lens through which to understand that
feedback, as well as a framework in which to continue discussion if it’s
needed.
--
Aaron Ecay
;; via the Org priority mechahism (which is currently
> broken),
Can you say more about what breakage you mean? Is it something that can
be easily fixed?
Thanks,
--
Aaron Ecay
7;(string :tag "Preamble"))
>
> (defcustom org-taskjuggler-valid-task-attributes
Is this an open-ended list that an average user could meaningfully add
to? If not, perhaps it should be a defconst. (I don’t know anything
about the taskjuggler format, so I’m sure whatever decision you make
will be OK.)
--
Aaron Ecay
the idea, I think we could simply update
> `org-list-to-generic' to be more robust and be done with it. I can
> implement it in a couple of hours (and debug it in a couple of
> months...).
OK. Don’t hesitate to ask if there’s some way we can help, of course.
Thanks,
--
Aaron Ecay
&g
Hi Oleh,
2015ko azaroak 8an, Oleh Krehel-ek idatzi zuen:
>
> Aaron Ecay writes:
>
>> Extra elisp inside the org file is an important way of extending the
>> power of org markup. Why don’t you want to use it?
>
> Including boilerplate Elisp, all subtly different
M, but I believe it still
works fine, and it may be an alternative route towards the features you
are looking for.
The package is on github: <https://github.com/tj64/outshine>. It’s also
available through melpa.
--
Aaron Ecay
an ELPA repo with the
individual contrib packages, though I’ve no idea how complex that task
would be.)
--
Aaron Ecay
d htmlize is
> supposed to give you what you see on screen, hence this was a bug.
I’m glad the bug has disappeared (at least, that’s what I understand
from your message). Thanks for the update, and do let us know if it
comes back.
Thanks,
--
Aaron Ecay
.
--
Aaron Ecay
ed it with emacs and even a
hex editor – it definitely has \r\n line endings. Mysteries of life I
suppose. :)
--
Aaron Ecay
1 - 100 of 514 matches
Mail list logo