org-effort-durations in
org-minutes-to-clocksum-string as well.
---
lisp/org-clock.el | 2 --
lisp/org.el | 32 ++--
2 files changed, 6 insertions(+), 28 deletions(-)
Bastien wrote:
Hi Lawrence,
Lawrence Mitchell we...@gmx.li writes:
I would argue that
(org
-duration-string-to-minutes
(org-minutes-to-clocksum-string
(org-duration-string-to-minutes some-value)))
Should be a no-op. But that is only the case if
org-time-clocksum-use-effort-durations is t.
Lawrence
--
Lawrence Mitchell we...@gmx.li
* lisp/ox-html.el (org-html-close-tag): Add space before attr.
We might get an attribute to a tag with no space at its start. Rather
than auditing all callers, unconditionally separate the tag from its
attributes with a space when closing the tag.
---
lisp/ox-html.el | 2 +-
1 file changed, 1
Bastien wrote:
Hi Lawrence,
Lawrence Mitchell we...@gmx.li writes:
* lisp/ox-html.el (org-html-close-tag): Add space before attr.
thanks for the patch -- can you make it against the maint branch
so that we include this in the next minor release? It does not
apply against master
[Reintroducing org mailing list CC]
On 05/05/2013 20:21, Nicolas Goaziou wrote:
Carsten Dominik carsten.domi...@gmail.com writes:
I don't think there's much to do about that. Though, some tools could
benefit from caching, like Lawrence did for
`org-export-resolve-fuzzy-link'.
Could you
Lawrence Mitchell wrote:
[...]
And here's the profile for exporting the whole of orgmanual.org
to latex. You can see that a lot of the time comes from quite
cheap functions that are called lots.
org-latex-export-as-latex 1 415.52740777 415.52740777
org-export-to-buffer
Carsten Dominik wrote:
Hi Lawrence,
thanks for doing this. Stuff to think about - but no good
ideas for improvements here either - I am just not familiar enough
with the export engine. Nicolas, it would be interesting to
hear from you if you have comments and ideas about quadratic
Nicolas Goaziou wrote:
Hello,
Lawrence Mitchell we...@gmx.li writes:
* ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
cache before trying to resolve it in the parse tree.
Thanks for your patch. A few comments follow.
[...]
Minor nitpick: I'd rather have this included
independent links, cache the
locations and look there first.
---
lisp/ox.el | 48 +++-
1 file changed, 35 insertions(+), 13 deletions(-)
Achim Gratz wrote:
Lawrence Mitchell writes:
I did a bit of digging and here are the results. No potential
fixes though
Carsten Dominik wrote:
Hi Achim,
this is an interesting experiment, thank you!
I think it would also be interesting to use elp to see which
function are taking up the non-linear time.
I did a bit of digging and here are the results. No potential
fixes though.
Taking the Introduction
\~ or \~{} in
LaTeX, where all I want is plain ~. Can someone help me out?
hello \nbsp goodbye
= hello ~ goodbye
Although I can't figure out a way of having no extra whitespace
on both sides of the ~.
Lawrence
--
Lawrence Mitchell we...@gmx.li
will be taken,
| there can be extra stuff in the string.
^^
| If no number is found, the return value is 0.
It's arguable that this is the best choice, but it is one.
Lawrence
--
Lawrence Mitchell we...@gmx.li
Steve Revilak wrote:
I'd like to report an org-mode regression issue. When working with
large .org files, Emacs 24.0.90 becomes sluggish, and consumes large
amounts of CPU.
If you type this:
M-x set-variable RET bidi-paragraph-direction RET left-to-right RET
does the problem go away?
..@II+2$4=vmax(@I..@II)::@II+3$2..@II+3$4='(mapconcat
'number-to-string (mode @I..@II) , );N
Lawrence
--
Lawrence Mitchell we...@gmx.li
* lisp/org-latex.el (org-export-latex-fontify-headline): Convert
quotes to their LaTeX equivalents using
org-export-latex-quotation-marks.
---
Xin Shi wrote:
Hello,
I'm using the org-mode 7.5 in Emacs 23.3.
I noticed this lines in org:
** ``Internal'' and External Example
``Internal''
,
and in this case, that means that the file argument to
:result-params in thrown away.
Lawrence
--
Lawrence Mitchell we...@gmx.li
* lisp/ob.el (org-babel-result-regexp): Use non-shy group around
org-babel-data-names.
By default regexp-opt returns a shy group around its arguments. But
users of org-babel-result-regexp expect the third match-string to
contain the hash. With a shy group, the second match-string contains
the
* lisp/ob.el (org-babel-sha1-hash): Don't modify info argument by
side-effect when sorting result-params list.
copy-sequence only does shallow copies, so if we're going to modify a
sub-list, we need to make sure we copy it first.
---
lisp/ob.el |2 +-
1 files changed, 1 insertions(+), 1
On 31/05/2011 08:21, Carsten Dominik wrote:
[...]
Finally: this patch goes clearly beyond the TINYCHANGE
limits. What is yours, and Lawrence's copyright status with the FSF?
I have papers with the FSF for past and future changes to Emacs, so I
believe my contributions are covered.
Lawrence
it will not match anything in this case). So Eden diagnosed it
correctly: it *is* a parsing problem and it *does* involve the non-word
options.
This is fixed now, by looking for white space instead of beginning-of-word.
Thanks for the analysis.
Indeed, thanks.
Lawrence
--
Lawrence Mitchell
--
Lawrence Mitchell we...@gmx.li
* lisp/org-latex.el (org-export-latex-convert-table.el-table): Fix
format-string for insertion of captions.
This fixes a bug introduced in caa5da1 since when the caption itself
is not placed inside the caption command.
---
lisp/org-latex.el |2 +-
1 files changed, 1 insertions(+), 1
Nicolas wrote:
Hello,
Lawrence Mitchell we...@gmx.li writes:
[...]
The analysis is good, but unfortunately the patch has a flaw.
In fact, your patch work in that particular situation, but not if
a footnote definition ends with a list, nor if it ends with a link. To
solve the latter, you
* lisp/org-html.el (org-export-as-html) (org-html-level-start): Fix
logic for section number printing when NUM is an integer.
Fixes a bug introduced in 9f57b8e which considered all non-integer
values of the num option to be nil.
---
Bernt Hansen wrote:
Hi Lawrence,
Numbering of the Table of
* lisp/org.el (org-point-at-end-of-empty-headline): Bind
case-fold-search to nil.
---
Samuel Wales wrote:
I have found another todo keyword bug of the same type as the other 6.
A headline with a word that is the same as a todo keyword but not in
upper case has different behavior.
Example:
* lisp/org-latex.el (org-export-latex-preprocess): Don't add a newline
character to a processed footnote.
The extra newline before the closing } character in a footnote
confuses the list parsing code. The } appears at the beginning of a
line, so it looks like the end of the list. LaTeX gobbles
* lisp/org-latex.el (org-export-latex-special-chars): Fix regexp for
`single' special characters and ellipsis.
Repeated special characters are exported differently depending on
their position in the buffer. A string at the start of a line is
exported as \ whereas in the middle of a line you get
* lisp/org-exp.el (org-export-handle-comments): Add the org-protected
property to the replacement string.
Although org-export-handle-comments adds the org-protected property to
the matched string, the subsequent `replace-match' call to change the
comment character does not add this property to
* lisp/org-html.el (org-export-as-html): Get local value of
org-export-with-section-numbers from the buffer's plist. Deal
specially with the case the resulting value is an integer.
(org-html-level-start): New optional argument of the option plist used
instead of `org-export-with-section-numbers'.
* lisp/org-latex.el (org-export-latex-preprocess): Correctly
match starred command names.
Many LaTeX commands exist in both normal and starred forms. Adjust
the regexp in `org-export-latex-preprocess' to match the starred form
as well.
---
lisp/org-latex.el |2 +-
1 files changed, 1
* lisp/org-latex.el (org-export-latex-subcontent): Deal specially with
the case that NUM is an integer.
We would sometimes like to have numbered \sections in LaTeX export but
unnumbered \subsections and so forth. That is, use the starred
equivalents for all sectioning commands below a certain
try and see if overlays in org
buffers can be replaced by text properties. Which do not cause
the same slowdown.
Lawrence
--
Lawrence Mitchell we...@gmx.li
\\ref{%s}) then you can
refer to sections by their numbers with as we see in section
[[section]] and it works nicely.
--
Lawrence Mitchell we...@gmx.li
does
not seem to notice abbrivations—how could it?—and further \ is
interpreted literaly. I need to have an escaped space.
(setq org-entities-user '((space \\ nil)))
then
this is some text, e.g.\space foo bar
=
this is some text, e.g.\ foo bar
[...]
Lawrence
--
Lawrence Mitchell
-latex-title-command)
--
Lawrence Mitchell we...@gmx.li
the docstrings of `org-effort-durations' and
`org-duration-string-to-minutes' for more details.
From a0e24b14755eb4087d9c47bb4eea11eb9151efcf Mon Sep 17 00:00:00 2001
From: Lawrence Mitchell we...@gmx.li
Date: Fri, 18 Feb 2011 11:01:46 +
Subject: [PATCH] Allow human-readable effort durations
To: emacs
-save-all-org-buffers ()
--
Lawrence Mitchell we...@gmx.li
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
flawlessly.
This setting works for me to produce pdfs via latexmk.
(setq org-latex-to-pdf-process (list latexmk -f -pdf %f))
Lawrence
--
Lawrence Mitchell we...@gmx.li
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list
--
Lawrence Mitchell we...@gmx.li
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
of the problem. Can you try removing it
to see what happens. I presume it is there in case you have an
Org buffer and /many/ other small buffers, in that case you don't
want to pop up the help message in one of the small buffers,
because you might not see it all.
Lawrence
--
Lawrence Mitchell we
fixes
table alignment, the second fixes LaTeX export of these tables.
From c555b7e15b617538490210a041bd4af45e51d752 Mon Sep 17 00:00:00 2001
From: Lawrence Mitchell we...@gmx.li
Date: Wed, 2 Feb 2011 12:20:12 +
Subject: [PATCH 1/2] Correctly realign tables with internal headers
To: emacs
Eric S Fraga wrote:
I need to use the amsmath package for a paper I am writing. This
conflicts, unfortunately, with the wasysym package which is loaded by
default in the org-latex exporter.
Checking the documentation for org-export-latex-classes, I find:
,
| - Calls to \usepackage
* lisp/org.el (org-mode): Locally set `fill-indent-according-to-mode'
to nil.
`org-adaptive-fill-function' attempts to correctly pick up a fill
prefix for hand-indented paragraphs and lists. This is defeated by
the indentation code, which does not recognise sublists correctly and
gets the
,
Lawrence
--
Lawrence Mitchell we...@gmx.li
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Nicolas Goaziou wrote:
Lawrence Mitchell writes:
Hopefully the example below clears things up a bit.
I cannot reproduce it, even when following your steps.
This would appear to be due to driver error on my part. My
.emacs sets fill-indent-according-to-mode to t, whereas by
default it is nil
* org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so that
\\[ a = b \\] is not interpreted as a keybinding by
`substitute-command-keys'.
In a docstring \\[text] is used to indicate that text should be
interpreted by `substitute-command-keys'. To avoid this
interpretation, we need to
* org-exp.el (org-export-add-options-to-plist): Require match to start
at a word-boundary.
Previously, if an option was the suffix of another option (such as TeX
and LaTeX) the setting for the former would propagator to the latter.
This seems like an unintended consequence of a lax regexp in
,
Lawrence
Lawrence Mitchell (2):
Only match complete words in org-export-add-options-to-plist
Allow option of using bare \ref links in LaTeX export
doc/org.texi | 37 +
lisp/org-exp.el |6 --
lisp/org-latex.el | 25
--
Lawrence Mitchell we...@gmx.li
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Julian Burgos wrote:
Many thanks Lawrence. Yes, I'm aware of the risks, but for now I am
only working with my own files.
Do you know if it is possible to evaluation confirmation as a header
option, so I can left it on but turn it off in my own files?
I don't believe it is. If you think
* org-latex.el (org-export-latex-make-header): Export email in
author line if `org-export-email-info' is non-nil.
Previously exporting to LaTeX would not include the document author's
email address when org-export-email-info was set. This patch corrects
this oversight using the \thanks command
at all
(see my recent patch fixing this).
org-html.el uses org-export-author-info and
org-export-email-info.
It seems then that most backends do not pay attention to
file-local settings, which does feel like a bug.
Any thoughts?
Cheers,
Lawrence
--
Lawrence Mitchell we...@gmx.li
Julien Danjou wrote:
+ %(expression) Eval expression and replaces the control string
+by the result
Nitpick, use replace, not replaces.
[...]
Cheers,
Lawrence
--
Lawrence Mitchell we...@gmx.li
___
Emacs-orgmode mailing list
* lisp/org.el (org-make-target-link-regexp): regexp-quote target
before replacing whitespace.
Previously a radio link ... would match all three-letter words
in the buffer. The manual indicates the radio links are meant to
match literally (modulo whitespace differences), so we should
regexp-quote
54 matches
Mail list logo