Re: [O] New feature? Remove duplicate subheadings, preserving order

2018-01-02 Thread Florian Beck
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).

[O] Merging Faces

2017-10-16 Thread Florian Beck
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

Re: [O] Is it possible for a TODO item not to be an outline item?

2017-10-10 Thread Florian Beck
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

Re: [O] Valid use cases for lists?

2015-08-20 Thread Florian Beck
). - 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

Re: [O] [PATCH] Fix massive slowdown in org-id-find

2015-03-30 Thread Florian Beck
function) 15 6% + timer-event-handler 11 4% + ... 0 0% -- Florian Beck From 389d8cec4406c394f3bf955726823951b014f6aa Mon Sep 17 00:00:00 2001 From

Re: [O] [PATCH] Fix massive slowdown in org-id-find

2015-03-24 Thread Florian Beck
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

Re: [O] [PATCH] Fix massive slowdown in org-id-find

2015-03-24 Thread Florian Beck
15 0% + ... 0 0% -- Florian Beck

[O] [PATCH] Fix massive slowdown in org-id-find

2015-03-23 Thread 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:00 2001

[O] [PATCH] Fix error when inserting into diary from agenda

2014-11-15 Thread Florian Beck
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 f...@miszellen.de Date: Sat, 15 Nov 2014 19:14:27 +0100 Subject: [PATCH 9/9] Replace obsolete aliases of calendar functions

Re: [O] Embedded LaTeX does not work with Unicode quotes

2014-11-12 Thread Florian Beck
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

Re: [O] [PATCH] org-table-beginning/end-of-field

2014-09-10 Thread Florian Beck
contents position. Minor note: you can insert point in the string to avoid finding the correct position later. E.g., | Cell:point1 | Cell2 |Cell3|\n| Cell4 | | Cell5| Great, thanks! -- Florian Beck

Re: [O] [PATCH] org-table-beginning/end-of-field

2014-09-09 Thread Florian Beck
-element-table-cell-parser', because otherwise :contents-begin and :contents-end point to the end of the cell. Not sure if this breaks anything. -- Florian Beck From 2b1a63e70830e7604c7f59dd0110aedf3a9c1e53 Mon Sep 17 00:00:00 2001 From: Florian Beck f...@miszellen.de Date: Tue, 9 Sep 2014 12:29

Re: [O] [PATCH] org-table-beginning/end-of-field

2014-09-08 Thread Florian Beck
Nicolas Goaziou m...@nicolasgoaziou.fr 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 f...@miszellen.de

[O] [BUG] org-table-beginning/end-of-field

2014-09-07 Thread Florian Beck
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 f...@miszellen.de Date: Mon, 8 Sep 2014 07:34:56 +0200 Subject: [PATCH] Remove

Re: [O] new to exporting: how to export to a specific location (aromatically?)

2014-08-18 Thread Florian Beck
several files and allow you to set project specific variables. See `org-publish-project-alist'. Thanks alot Z -- Florian Beck

[O] [PATCH] better parsing of latex fragments

2014-07-14 Thread 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 f...@miszellen.de Date: Sun, 13 Jul 2014 14:59:24 +0200 Subject: [PATCH

[O] org strips math delimiters from inline footnotes

2014-07-09 Thread Florian Beck
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

Re: [O] Creating changelog with magit

2014-04-03 Thread Florian Beck
it is very slow and, usually, you want to arrange things differently. -- Florian Beck

Re: [O] [Patch] don't add indent for empty line when exiting, a code edit

2014-03-13 Thread 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

[O] Error when editing src block

2014-02-09 Thread Florian Beck
happen is the language mode not loading correctly, maybe just downgrade the error to a warning? -- Florian Beck

Re: [O] Latex Export Difficulties

2014-02-06 Thread Florian Beck
this, have a look at `org-export-filter-footnote-reference-functions'. -- Florian Beck

[O] org-map-entries moves point

2014-02-05 Thread Florian Beck
*why* this happens. -- Florian Beck

Re: [O] org-map-entries moves point

2014-02-05 Thread Florian Beck
some enlightenment from your experiments, please share. Will do. Nick -- Florian Beck

Re: [O] Stop clock on closing emacs

2014-02-01 Thread Florian Beck
-out-maybe) -- Florian Beck

Re: [O] Stop clock on closing emacs

2014-02-01 Thread Florian Beck
-all-buffer' in the exit hook. Sorry for the confusion. -- Florian Beck

Re: [O] [RFC] Emphasis regexp

2014-02-01 Thread Florian Beck
. And *this* kind of quote is something I need from time to time. -- Florian Beck

[O] [PATCH] Font-lock: allow hiding of brackets surrounding macros

2014-01-31 Thread 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 f...@miszellen.de Date: Fri, 31 Jan 2014 22:42:04 +0100 Subject: [PATCH] Font-lock: allow

Re: [O] [RFC] Syntax for macros

2014-01-30 Thread Florian Beck
(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 an export filter that translates arbitrary chars to brackets. -- Florian Beck

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-29 Thread Florian Beck
users) have worked just fine for a long time. -- Florian Beck

Re: [O] org-mode + icicles, avoid key binding redefinitions?

2014-01-29 Thread Florian Beck
. 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

Re: [O] emacs calc and src block editing

2014-01-26 Thread 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

Re: [O] [RFC] About `org-export-with-\(fixed-width\|tables\)'

2014-01-07 Thread Florian Beck
On 07.01.2014 19:17, Eric S Fraga wrote: Eric Abrahamsen e...@ericabrahamsen.net 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

Re: [O] [RFC] About `org-export-with-\(fixed-width\|tables\)'

2014-01-05 Thread Florian Beck
Patch attached. WDYT? Works nicely. Thanks. Regards,

Re: [O] [RFC] About `org-export-with-\(fixed-width\|tables\)'

2013-12-19 Thread Florian Beck
and it seems quite 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

Re: [O] [RFC] Change some defcustoms into defcont

2013-10-22 Thread Florian Beck
. 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

Re: [O] Unescape :help-echo in links

2013-03-21 Thread Florian Beck
Bastien b...@altern.org 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 f...@miszellen.de Date: Thu, 21 Mar 2013 21:15:50 +0100 Subject: [PATCH] Unescape :help-echo for links

[O] `org-export-define-backend' and its friends are now defuns (was: Build fail with emacs 24.3.1)

2013-03-20 Thread Florian Beck
.] 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

[O] Unescape :help-echo in links

2013-03-20 Thread Florian Beck
org-mouse-map 'mouse-face 'highlight -- Florian Beck

[O] Copying subtrees with footnotes

2013-03-20 Thread 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

Re: [O] Copying subtrees with footnotes

2013-03-20 Thread Florian Beck
is, these functions use kill-region internally, and I see no easy way to add the footnote information. -- Florian Beck

Re: [O] org-create-formula-image-with-imagemagick conflicts with org-latex-pdf-process

2013-02-26 Thread Florian Beck
mathjax and dvipng. (I've added imagemagick to the dvipng case, and this seems to work without any problems.) -- Florian Beck

[O] org-create-formula-image-with-imagemagick conflicts with org-latex-pdf-process

2013-02-25 Thread Florian Beck
: 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

Re: [O] seeing ??? in Ccaa rather than file name

2013-02-23 Thread Florian Beck
to the 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

Re: [O] format of the ID property in the new HTML exporter

2013-02-12 Thread Florian Beck
Jambunathan K kjambunat...@gmail.com 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

[O] Modifying the exporter (was: org-latex-classes with functions, incomplete doc)

2013-02-12 Thread Florian Beck
-export-with-backend' or assemble the string myself. -- Florian Beck

[O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Florian Beck
Org-mode version 7.9.3e (7.9.3e-961-g521d47 @ /home/flo/.emacs.d/org-mode/lisp/) -- Florian Beck

Re: [O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Florian Beck
))) #+END_SRC The same goes for other functions. -- Florian Beck

Re: [O] org-latex-classes with functions, incomplete doc

2013-02-10 Thread Florian Beck
. So, which is it? I'm a bit confused right now. -- Florian Beck

Re: [O] no pdf-output in lilypond code blocks

2013-01-31 Thread Florian Beck
Achim Gratz strom...@nexgo.de 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 understand what the doc string is trying to tell me there and what

[O] Bug: org-id-get-with-outline-path-completion docstring [7.9.3d (release_7.9.3d-929-ga2febd @ /home/flo/.emacs.d/org-mode/lisp/)]

2013-01-31 Thread Florian Beck
Package: Org-mode version 7.9.3d (release_7.9.3d-929-ga2febd @ /home/flo/.emacs.d/org-mode/lisp/) -- Florian Beck

Re: [O] How to improve Org startup time?

2013-01-30 Thread Florian Beck
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org 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?

Re: [O] no pdf-output in lilypond code blocks

2013-01-30 Thread Florian Beck
Achim Gratz strom...@nexgo.de 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

Re: [O] no pdf-output in lilypond code blocks

2013-01-26 Thread Florian Beck
Bastien b...@altern.org writes: Hi Florian, Florian Beck f...@miszellen.de 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 have a try and let me know. Minor hitch: the variable is called

Re: [O] no pdf-output in lilypond code blocks

2013-01-25 Thread Florian Beck
that it depends on ly-gen-png/pdf/html/svg. Thanks for confirming, Thanks for fixing. -- Florian Beck

Re: [O] New exporter documentation?

2013-01-18 Thread Florian Beck
}) (\\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

[O] no pdf-output in lilypond code blocks

2013-01-17 Thread Florian Beck
any more, I guess). Of course, it should really be set as appropriate for the extension. -- Florian Beck

Re: [O] Ignoring empty subtrees/new exporter

2013-01-07 Thread 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

Re: [O] Logical not in org-entities.el

2013-01-06 Thread Florian Beck
On 01/06/2013 07:14 AM, Bastien wrote: Hi Florian, Florian Beck f...@miszellen.de 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

Re: [O] Ignoring empty subtrees/new exporter

2013-01-06 Thread Florian Beck
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

Re: [O] Logical not in org-entities.el

2013-01-06 Thread Florian Beck
On 01/06/2013 12:39 PM, Bastien wrote: In master, I added (neg \\neg{} nil not; [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.

[O] Ignoring empty subtrees/new exporter

2013-01-05 Thread Florian Beck
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

[O] Logical not in org-entities.el

2013-01-05 Thread Florian Beck
Hi! org-entities contains the line: (not \\textlnot{} nil not; [angled dash] ¬ ¬) This should be (neg \\neg t not; [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.

Re: [O] Logical not in org-entities.el

2013-01-05 Thread Florian Beck
org-entities contains the line: (not \\textlnot{} nil not; [angled dash] ¬ ¬) This should be (neg \\neg t not; [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. OK, so org doesn't

Re: [O] Howto convert a complete bibtex file into an orgmode file?

2012-12-24 Thread Florian Beck
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

Re: [O] Some Experiences with org-babel-load-file

2012-12-11 Thread Florian Beck
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

[O] Some Experiences with org-babel-load-file

2012-12-10 Thread Florian Beck
. Thank you. -- Florian Beck

[O] Invisible Blocked Tasks and Tag Searches

2011-10-15 Thread Florian Beck
, 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

Re: [O] Refiling list items

2011-08-08 Thread Florian Beck
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

Re: [O] Refiling list items

2011-08-08 Thread Florian Beck
to pick up just enough elisp to automate tasks. -- Florian Beck

Re: [O] Unicode and Latex export

2011-08-07 Thread Florian Beck
, 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

Re: [O] Unicode and Latex export

2011-08-07 Thread Florian Beck
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

Re: [O] Unicode and Latex export

2011-08-07 Thread Florian Beck
suvayu ali fatkasuvayu+li...@gmail.com writes: On Sun, Aug 7, 2011 at 8:07 PM, Florian Beck abstrakt...@t-online.de 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

Re: [O] Performance of org-mode with BIDI

2011-08-03 Thread Florian Beck
Reiner Steib reinersteib+gm...@imap.cc 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' with M-x report-emacs

Re: [O] Largest org file you have + performance

2011-08-01 Thread Florian Beck
-display-reordering' to nil. Cheers, Marcelo. -- Florian Beck

Re: [O] Copy/Search Outline

2011-07-26 Thread Florian Beck
and copying working, I do not really have a use case. Thanks again. -- Florian Beck

Re: [O] Using org-mode for Research and Notetaking

2011-07-26 Thread Florian Beck
-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

[O] Copy/Search Outline

2011-07-22 Thread Florian Beck
restrict commands to the visible parts of the buffer? TIA -- Florian Beck

Re: [O] Using org-mode for Research and Notetaking

2011-07-18 Thread Florian Beck
t...@tsdye.com (Thomas S. Dye) writes: Bastien b...@altern.org writes: Hi Florian, Florian Beck abstrakt...@t-online.de writes: Actually, I meant »tags« in the HTML sense. For boxedexample/boxed would call a function during export, which returns, say, its LaTeX interpretation, another

Re: [O] Using org-mode for Research and Notetaking

2011-07-14 Thread Florian Beck
variant: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg40589.html John -- Florian Beck -- Florian Beck

Re: [O] Using org-mode for Research and Notetaking

2011-07-14 Thread Florian Beck
, 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

[O] Using org-mode for Research and Notetaking

2011-07-12 Thread Florian Beck
items in comments? This would seem much more natural to me: a TODO item should not be part of your text but disappear when it is done. -- Florian Beck

[Orgmode] Deadlines with Time

2008-08-01 Thread Florian Beck
.. 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-orgmode mailing list Remember

[Orgmode] Re: Deadlines with Time

2008-08-01 Thread Florian Beck
* 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, which is fine. However, when I specify a time like DEADLINE: 2008-08-04 Mon 16:00