omisation option and use 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 writes:
>
ing-to-minutes ;; what gets inserted
(org-minutes-to-clocksum-string
(org-duration-string-to-minutes "3d 2h")
=> t
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
Bastien wrote:
> Hi Lawrence,
> Lawrence Mitchell 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 agai
* 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 in
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-e
[Reintroducing org mailing list CC]
On 05/05/2013 20:21, Nicolas Goaziou wrote:
Carsten Dominik 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 point out specific ones where
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
> be
27;s now common
Nicolas Goaziou wrote:
> Hello,
> Lawrence Mitchell 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 nitpic
r position 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
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"
ed in org exports as either "\~" 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
e string 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
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 prob
74 |
#+TBLFM:
@II+1$2..@II+1$4=vmin(@I..@II)::@II+2$2..@II+2$4=vmax(@I..@II)::@II+3$2..@II+3$4='(mapconcat
'number-to-string (mode @I..@II) ", ");N
Lawrence
--
Lawrence Mitchell
* 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
>``Inter
m is that (sort v 'string<) destructively modifies v,
and in this case, that means that the "file" argument to
:result-params in thrown away.
Lawrence
--
Lawrence Mitchell
* 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 delet
* 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 ha
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.
Lawrenc
.
> Thanks for the analysis.
Indeed, thanks.
Lawrence
--
Lawrence Mitchell
* 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 deletions
; "caption")
(setq tbl (with-current-buffer "*org-export-table*"
(buffer-string)))
Patchwork maintainers, please don't pick this up, it's a horrible
fix :P.
Lawrence
--
Lawrence Mitchell
Nicolas wrote:
> Hello,
> Lawrence Mitchell 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 th
* 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 t
* 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-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-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 the
* 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
sometimes
(plist-get opt-plist :option) is used, sometimes the default
variable org-export-with-option is, sometimes neither are
consulted. I'm not sufficiently excited by the grunt work to do
anything about it, but maybe I should!
Lawrence
--
Lawrence Mitchell
* 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 insertio
* 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-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 lev
g time.
remove all the overlays
M-: (remove-overlays) RET
collapse the buffer again
M-x org-shifttab RET
Now vertical motion is rapid.
This suggests that one should try and see if overlays in org
buffers can be replaced by text properties. Which do not cause
the same slowdown.
Lawrence
--
Lawrence Mitchell
))
then
this is some text, e.g.\space foo bar
=>
this is some text, e.g.\ foo bar
[...]
Lawrence
--
Lawrence Mitchell
do:
(setq org-export-latex-hyperref-format "\\ref{%s}") then you can
refer to sections by their numbers with "as we see in section
[[section]]" and it works nicely.
--
Lawrence Mitchell
(when (string-match "\\S-" title)
(if (string-match "%s" org-export-latex-title-command)
--
Lawrence Mitchell
nge this.
Old effort strings (HH:MM) are still interpreted correctly. See
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
Date: Fri, 18 Feb 20
Herbert Sitz wrote:
> Lawrence Mitchell gmx.li> writes:
>>>>> Is it possible to specify estimated effort in something other than hours
>>>>> (0.5, or 0:30)?
>>> Being able to specify suffixes like `d' for days or `w' for weeks would be
&
0-9]+\\)\\([hdwmy]\\)" s)
+ (incf result (* (cdr (assoc (match-string 2 s) conversion))
+ (string-to-number (match-string 1 s
+ (setq s (replace-match "" nil t s)))
+(incf result (org-hh:mm-string-to-minutes s))
+result))
+
Files
(defun org-save-all-org-buffers ()
--
Lawrence Mitchell
___
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
So you should probably shout at the Aquamacs developers :P.
Lawrence
--
Lawrence Mitchell
___
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
ning
> latexmk -pdf works 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
___
Emacs-orgmode mailing list
Please use `Reply A
export is the cause 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.
Law
erimental patch is attached, comments are
> welcome.
How about the following two patches on top. The first fixes
table alignment, the second fixes LaTeX export of these tables.
>From c555b7e15b617538490210a041bd4af45e51d752 Mon Sep 17 00:00:00 2001
From: Lawrence Mitchell
Date: Wed, 2 Feb 201
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 \usepacka
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-mo
ges line 4 from
being part of the sublist entry to being part of the list entry
from line 2.
Hope this clarifies things.
Cheers,
Lawrence
--
Lawrence Mitchell
___
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
* 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 indenta
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 a
de blocks from people you don't trust.
Cheers,
Lawrence
--
Lawrence Mitchell
___
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
obvious place I could find in the manual.
Cheers,
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
* 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
org-e
* lisp/org-latex.el (org-export-latex-unprettify-internal-links): New
variable.
(org-export-latex-links): Use it.
* org-mode/lisp/org-exp.el (org-export-plist-vars): Add
:LaTeX-bare-refs settable through the bare-ref option with default
given by `org-export-latex-unprettify-internal-links'.
(org-ge
* 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 p
email info 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
--
Lawrenc
* 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 to
Julien Danjou wrote:
> + %(expression) Eval expression and replaces the control string
> +by the result
Nitpick, use "replace", not "replaces".
[...]
Cheers,
Lawrence
--
Lawrence Mitchell
___
Emacs-orgmo
* 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-
57 matches
Mail list logo