AFAIK, this is the first time this need is expressed on this ML. There
is no equivalent in "org-list.el" either.
A way to handle duplicates would be useful, indeed. But a basic function
should only remove duplicates that are truly identical (same properties,
same tags, same/no content). Stil
Hello everyone,
how do you add custom face properties to an org buffer?
I want to generate org buffers automatically (displaying verious entries
and properties). Specifically, I want the resulting buffer in org mode
to handle links, equations, and export. But I want also to add custom
backgro
On 08.10.2017 13:40, Angel de Vicente wrote:
So basically I would like to have that TODO item but somehow without
creating a new section. Is it possible?
Use
---
bla bla bla
# TODO: fix installation
bla bla bla
---
and
M-x org-occur-in-agenda-files (which is bound to
add timestamps (and use multi occur).
- Write a function to refile items (my hack is a bit idiosyncratic so I
don't share it here, but it should be pretty straighforward using
=(org-refile t)= to get the location).
--
Florian Beck
te-code 75 31%
+ redisplay_internal (C function) 15 6%
+ timer-event-handler 11 4%
+ ... 0 0%
--
Florian Beck
190 1%
+ timer-event-handler 15 0%
+ ... 0 0%
--
Florian Beck
or them.
I guess, you want to use org-find-property in other places as well. In
that case org-id-find could maybe use a faster, simplified version? Let
me see, if I can do some profiling tonight.
> It should fail with "make test".
Doesn't work for me (it hangs).
--
Florian Beck
Hi,
the recent changes in org-id (presumably
8cdb2eef0f9f98f9e00a5e689decfe341fe0c6ec) lead to a massive slowdown.
org-id-find is slow as it is, now I find it almost unusable.
Attached patch provides a fix.
--
Florian Beck
>From 9867f0f45befc26854920d759a2505adba5d486b Mon Sep 17 00:00
Hi,
emacs trunk dropped some old aliases. This patch fixes it.
--
Florian Beck
>From e2188e0fb3fe322146a9950bfff74773dd54018a Mon Sep 17 00:00:00 2001
From: Florian Beck
Date: Sat, 15 Nov 2014 19:14:27 +0100
Subject: [PATCH 9/9] Replace obsolete aliases of calendar functions.
* lisp/
even
better to use a more general syntax, [:punct:], which matches all
punctuation (as we want). So:
#+BEGIN_SRC emacs-lisp
("$" "\\([^$]\\|^\\)\\(\\(\\$\\([^
\r\n,;.$][^$\n\r]*?\\(\n[^$\n\r]*?\\)\\{0,2\\}[^
\r\n,.$]\\)\\$\\)\\)\\([- [:punct:]\000]\\|$\\)" 2 nil)
#+END_SRC
--
Florian Beck
object has no contents (e.g., a link without
> description), both :contents-begin and :contents-end are nil. It is less
> confusing than providing an arbitrary buffer position.
That's another possibility. Unlike a link without description, one might
argue that an empty cell has a natural contents position.
> Minor note: you can insert "" in the string to avoid finding the
> correct position later. E.g.,
>
> "| Cell:1 | Cell2 |Cell3|\n| Cell4 | | Cell5|"
Great, thanks!
--
Florian Beck
There are bonus points if you can
> write tests along with this change.
I added a couple of tests. Not really succinct, though.
Also, I modified `org-element-table-cell-parser', because otherwise
:contents-begin and :contents-end point to the end of the cell. Not sure
if this breaks anyt
Nicolas Goaziou writes:
> Thanks for the patch. Though, wouldn't it make more sense to properly
> handle a missing argument instead?
How about this?
--
Florian Beck
>From 4fb2bbff2238d15ae7c896e0eb268b74ea4e56dc Mon Sep 17 00:00:00 2001
From: Florian Beck
Date: Mon, 8 Sep 2014
Hi,
The argument of `org-table-beginning-of-field' and
`org-table-end-of-field' is in fact not optional.
--
Florian Beck
>From d1d12380a1c260bef7a2137831434614f7d9ec1f Mon Sep 17 00:00:00 2001
From: Florian Beck
Date: Mon, 8 Sep 2014 07:34:56 +0200
Subject: [PATCH] Remove &
.)?
Projects can include several files and allow you to set project specific
variables. See `org-publish-project-alist'.
>
> Thanks alot
>
> Z
>
--
Florian Beck
Hi,
this patch allows, once again, latex fragments inside parentheses and
also fragments like $\left(\frac12\right.$
--
Florian Beck
>From 3ef8041c8dd8acbdf810f72feb8e9e104545badb Mon Sep 17 00:00:00 2001
From: Florian Beck
Date: Sun, 13 Jul 2014 14:59:24 +0200
Subject: [PATCH] Allow la
Hi,
the latex export of inline footnotes doesn't work correctly.
This happens since commit ca6ecf9e498e6c4750f279e9f0ea0185bc8b1d10.
text[fn:1: a footnote with $\sqrt{4}$.]
exports as
text\footnote{a footnote with \sqrt{4}.}
--
Florian Beck
I don't really use this, because it is very slow and, usually,
you want to arrange things differently.
--
Florian Beck
On 13.03.2014 20:46, Bastien wrote:
Ok, let me take some fresh air and come back to this later on.
How about this:
(while (re-search-forward "\\(^\\).+" nil t)
(replace-match indent nil nil nil 1)))
--
Florian Beck
erlay should be cleaned up. But
since the worst that can happen is the language mode not loading
correctly, maybe just downgrade the error to a warning?
--
Florian Beck
this, have a look at
`org-export-filter-footnote-reference-functions'.
--
Florian Beck
e so if
you get some enlightenment from your experiments, please share.
Will do.
Nick
--
Florian Beck
gain.
I'm not sure *why* this happens.
--
Florian Beck
is-regexp-components' also controls, well, regular emphasis.
And "*this* kind of quote" is something I need from time to time.
--
Florian Beck
)
... I call `save-all-buffer' in the exit hook.
Sorry for the confusion.
--
Florian Beck
#x27;kill-emacs-hook 'org-clock-out-maybe)
--
Florian Beck
Hi,
I gave it a try. Well, I spend most of my time on formatting this patch.
Hope it works.
--
Florian Beck
>From 7980ee3ab9e048c1bdeddfaa6f7dbe984c469171 Mon Sep 17 00:00:00 2001
From: Florian Beck
Date: Fri, 31 Jan 2014 22:42:04 +0100
Subject: [PATCH] Font-lock: allow hiding of brack
ot;{{{%s" macro))
(when args (insert "(") (setq pos (point)) (insert ")"))
(insert "}}}")
(when pos (goto-char pos
Maybe even hide the brackets during fontification?
3. Of course, since macros are only relevant when exporting, it should
be easy to write
m once, not every time we load a minor mode that steps on some
binding.
On the other hand, it doesn't happen "every time." The bindings had been
working for years before one user reported a problem with some of them.
The conflict is rare and doesn't require resolution. But it is polite to
provide alternatives for bindings that might be shadowed.
--
Florian Beck
y org users) have worked just fine for a long time.
--
Florian Beck
On 25.01.2014 13:49, Eric S Fraga wrote:
There is a niggling aspect of editing source code blocks. If, while in
the src block buffer (reached by C-c '), if you start up calc and
request "calc-copy-to-buffer" to place a result in the source code being
edited, the copy is actually placed in the o
On 07.01.2014 19:17, Eric S Fraga wrote:
Eric Abrahamsen writes:
Hey, are you actually exporting to an epub? How are you doing that?
I'd be curious to know as well. I export to epub in two ways, both by
first exporting to HTML. Then either use calibre to convert the HTML
document or load
Patch attached. WDYT?
Works nicely. Thanks.
Regards,
ite
reasonble to optimise them for a certain export backend and ignore them
otherwise. One might also have lots of tables that don't export
correctly (typically, because they are too wide).
--
Florian Beck
e search and replace mechanism or do all the heavy lifting itself.
Hm, if I'd have, say, an xml of lisp representation of the buffer (i.g.
(ELEMENT (OPTIONS) ((ELEMENT (OPTIONS) ..., is there a way to hand
that of to org-element or the exporter?
--
Florian Beck
Bastien writes:
> Can you resend it as a proper patch with a changelog?
Like this?
>From ca9c612208a2528a27b648973cfbf6e8d0801f94 Mon Sep 17 00:00:00 2001
From: Florian Beck
Date: Thu, 21 Mar 2013 21:15:50 +0100
Subject: [PATCH] Unescape :help-echo for links
* lisp/org.el (org-ac
Problem is, these functions use
kill-region internally, and I see no easy way to add the footnote information.
--
Florian Beck
Hi,
I need to copy subtrees between org-buffers, but `org-copy-subtree'
ignores footnotes (which is technically correct, I guess). Is there any
way to automate this?
--
Florian Beck
(list 'invisible 'org-link
'keymap org-mouse-map 'mouse-face 'highlight
--
Florian Beck
eeded.]
Obvious, when you think about it, but I'm a bit dense when the
byte-compiler tells me that my-latex-template-fun is a malformed function.
A little more prominent warning would have been much appreciated.
--
Florian Beck
x-environment' only handle
mathjax and dvipng. (I've added imagemagick to the dvipng case, and this
seems to work without any problems.)
--
Florian Beck
iew fail
- set #+OPTIONS: latex:imagemagick => html export broken
However, just calling this function from
`org-create-formula-image-with-imagemagick' would not be a good idea.
How about adding a new variable `org-latex-formula-pdf-process'?
--
Florian Beck
e file
name are displayed as "???". Presumably because
`org-refresh-category-properties' is called inside
`with-silent-modifications', which let-binds `buffer-file-name'.
--
Florian Beck
k together.
(Relatively straightforward in this case, much more involved for, say,
links.)
In a perfect world, I would have access to these elements and the format
string, so I could either modify them before calling
`org-export-with-backend' or assemble the string myself.
--
Florian Beck
Jambunathan K writes:
> There is ID and then there is CUSTOM_ID. IIUC/IIRC, ID is a uuid and
> CUSTOM_ID can be whatever.
>
> Any reason why you cannot use CUSTOM_IDs here?
Yes. Why do you need the assert? It only seems to be there to make my
life more difficult.
--
Florian Beck
ready many ways to alter output from a back-end. It's just
> a matter of using the right tool.
So, which is it? I'm a bit confused right now.
--
Florian Beck
info :sec-format))) ;; or something like that
[modify sec-format]
(plist-put info :sec-format sec-format)
(org-latex-headline)))
#+END_SRC
The same goes for other functions.
--
Florian Beck
y
:toc-title headline)))
(when toc-title (format "[%s]" toc-title
"")
))))
sec))
#+END_SRC
Org-mode version 7.9.3e (7.9.3e-961-g521d47 @ /home/flo/.emacs.d/org-mode/lisp/)
--
Florian Beck
flo-laptop
Package: Org-mode version 7.9.3d (release_7.9.3d-929-ga2febd @
/home/flo/.emacs.d/org-mode/lisp/)
--
Florian Beck
Achim Gratz writes:
> Achim Gratz writes:
>> Florian Beck writes:
>>> I don't think so. The string evaluates to itself or am I missing
>>> something?
>>
>> If it would fall under "SELFQUOTING" then yes (but I really don't
>> u
Achim Gratz writes:
> This would be a bug, I believe you should use backquotes on the string
> constants
I don't think so. The string evaluates to itself or am I missing
something?
The real (but harmless) bug is
> (t "--png "))
should be (_ "--png "))
--
Florian Beck
"Sebastien Vauban"
writes:
> I have to admit working most of the time without the laptop being powered,
> which I know (from observation) is 2 to 3 times slower.
So maybe your disk is powered down or in a "sleep mode" in order to save
power? Could you check whether you get the same result wi
Bastien writes:
> Hi Florian,
>
> Florian Beck writes:
>
>>> If so, I'll fix ly-process-basic so that it depends on
>>> ly-gen-png/pdf/html/svg.
>>>
>>> Thanks for confirming,
>>
>> Thanks for fixing.
>
> Done -- please h
ly-process-basic so that it depends on
> ly-gen-png/pdf/html/svg.
>
> Thanks for confirming,
Thanks for fixing.
--
Florian Beck
ot;\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
#+END_SRC
This works just like `org-export-latex-classes' but see the docstring.
Now you are ready to go: M-x org-export-dispatch
--
Florian Beck
works fine (though it won't produce pngs any more,
I guess). Of course, it should really be set as appropriate for the extension.
--
Florian Beck
On 01/06/2013 10:54 PM, Florian Beck wrote:
On 01/06/2013 11:24 AM, Nicolas Goaziou wrote:
The global idea is correct, but I find that the implementation is too
low level. It also taints original e-latex back-end.
I suggest the following instead:
Thanks a lot! A derived backend seems like
On 01/06/2013 12:39 PM, Bastien wrote:
In master, I added
("neg" "\\neg{}" nil "¬" "[angled dash]" "¬" "¬")
in (defconst org-entities ...)
so that you can now use it to produce \\neg{} where relevant.
Thanks, but: \neg has to be put in math mode.
On 01/06/2013 11:24 AM, Nicolas Goaziou wrote:
The global idea is correct, but I find that the implementation is too
low level. It also taints original e-latex back-end.
I suggest the following instead:
Thanks a lot! A derived backend seems like a good idea. Unfortunatly,
the function org-e
On 01/06/2013 07:14 AM, Bastien wrote:
Hi Florian,
Florian Beck writes:
The confusion arises with org-pretty-entities because
what you see is definitely not what you get.
Mhh... not sure what you mean: what do you see that you don't get?
With org-pretty-entities:
On display, org-ent
org-entities contains the line:
("not" "\\textlnot{}" nil "¬" "[angled dash]" "¬" "¬")
This should be
("neg" "\\neg" t "¬" "[angled dash]" "¬" "¬")
The first line fails in math mode (i.e. "\not" is not replaced at all
and negates/slashes the next symbol); the second works in either case.
O
Hi!
org-entities contains the line:
("not" "\\textlnot{}" nil "¬" "[angled dash]" "¬" "¬")
This should be
("neg" "\\neg" t "¬" "[angled dash]" "¬" "¬")
The first line fails in math mode (i.e. "\not" is not replaced at all
and negates/slashes the next symbol); the second works in either case.
Hi,
I have a document with many sections not yet written (i.e. heading
without content) and I would like them to be ignored in the exported
file. I know, I could manually tag these headings with :noexport:, but
what about a more automated approach?
Now, I tried this:
(defun ignore-empty-
On 11/24/2012 06:05 PM, michael.zom...@googlemail.com wrote:
As far as I was able to find out, this is only possible for a single
entry via 'org-bibtex-read'.
I think I did something like
M-: (while (re-search-forward "^@.*{" nil t) (org-bibtex-read))
Refine the regular expression, if you ha
On 12/11/2012 03:52 PM, Eric Schulte wrote:
Please go ahead and update the information on worg. Note that Emacs24
users need only do
(require 'org)
(org-babel-load-file "/path/to/your/org-init-file.org")
while users of lesser Emacs will have to load a new version of Org-mode
before
g a read-only file locale variable to
block the most stupid mistakes?
Overall, very nice. Thank you.
--
Florian Beck
st. But not for tag searches or stuck
projects.
By the way, I solved the problem by advising
`org-agenda-list-stuck-projects' and `org-tags-view'. Is there an easier
way to override variables for a specific agenda command?
--
Florian Beck
ion. But I
found it very helpful to pick up just enough elisp to automate tasks.
--
Florian Beck
(insert "\n")
(yank
(defun org-get-item (&optional kill)
"Copy the item at point to the kill ring.
Optionally, kill it."
(save-excursion
(let ((beg (org-in-item-p)))
(org-end-of-item)
(funcall (if kill
'kill-region
'copy-region-as-kill)
beg (point)
--
Florian Beck
suvayu ali writes:
> On Sun, Aug 7, 2011 at 8:07 PM, Florian Beck wrote:
>> But if you mostly have single characters it might be too much of a hassle.
>
> It does indeed sound like too much hassle for my use case. I only use it
> for scientific note taking. For example I wou
tchLowercase]{%s}%s}"
path desc))
(t desc)))
And write [[uc:Code2000][⫳]] to use Code2000 as a font.
I use it mostly for greek words, e.g.
[[uc:Alexander][φύσις κρύπτεσθαι φιλεῖ]]
But if you mostly have single characters it might be too much of a hassle.
--
Florian Beck
and put everything you need in myxe.sty.
BTW, this only works if you use a font that provides all the characters
you need (and looks nice enough for your taste). Alternatively, you could
use `org-export-latex-final-hook' and write a function that translates
unicode characters to latex code.
--
Florian Beck
Reiner Steib writes:
> On Mon, Aug 01 2011, Florian Beck wrote:
>
>> If you are using the current bzr version of emacs, make sure to set
>> `bidi-display-reordering' to nil.
>
> Please don't. Instead, report problems caused by
> `bidi-display-reordering&
current bzr version of emacs, make sure to set
`bidi-display-reordering' to nil.
>
>
>
> Cheers,
>
>
>
> Marcelo.
--
Florian Beck
note lk) '(org-activate-footnote-links))
***
*** 8437,8444
(add-to-list 'org-link-types type t)
(org-make-link-regexps)
(if (assoc type org-link-protocols)
! (setcdr (assoc type org-link-protocols) (list follow export))
! (push (list type follow export) org-link-protocols)))
(defvar org-agenda-buffer-name)
--- 8454,8461
(add-to-list 'org-link-types type t)
(org-make-link-regexps)
(if (assoc type org-link-protocols)
! (setcdr (assoc type org-link-protocols) (list follow export face))
! (push (list type follow export face) org-link-protocols)))
(defvar org-agenda-buffer-name)
Diff finished. Tue Jul 26 16:16:12 2011
--
Florian Beck
ually do not know about viviblity. Maybe something like
`with-visible-buffer' could be proposed – but now with searching and
copying working, I do not really have a use case.
Thanks again.
--
Florian Beck
restrict commands to
the visible parts of the buffer?
TIA
--
Florian Beck
t...@tsdye.com (Thomas S. Dye) writes:
> Bastien writes:
>
>> Hi Florian,
>>
>> Florian Beck writes:
>>
>>> Actually, I meant »tags« in the HTML sense. For example
>>> would call a function during export, which returns, say, its LaTeX
>>>
asks.
I'll look into it. Thanks for your comments!
>
> I really don't like the current syntax for inline tasks, I would much
> prefer something like special TODO keywords:
>
> * !TODO This would be an inline task, not a headline
>
> But perhaps I'm missing something about why the current inline task
> syntax is useful. I'd be interested in hearing more by people who are
> actually using them...
>
> Thanks for your input!
--
Florian Beck
chive.com/emacs-orgmode@gnu.org/msg40359.html
> [3] Todonotes variant:
> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg40589.html
>
>
> John
>
>>
>> --
>> Florian Beck
>>
>>
>
>
--
Florian Beck
to me: a TODO item should
not be part of your text but disappear when it is done.
--
Florian Beck
with no time
specified, *below* the time table.
>
> Jose
>
> Florian Beck wrote:
>> Hi,
>>
>> sometimes I want to specify a deadline with a certain time.
>>
>> Without a time, there is no problem. The deadline shows up a couple of
>> times earlier,
16:00..
Plan: 14:00.. In 2 d.: TODO Some Task
Maybe it does not make much sense to specify a deadline after the
timestamp. Anyway, I noticed it when playing around.
--
Florian Beck
___
Emacs-or
83 matches
Mail list logo