Re: [O] And another useful function for header arguments

2015-02-11 Thread Rainer M Krug
Grant Rettke writes: > All of the `org-babel-*" functions are sweet. > > Proof, I bind almost of all of them to my own preference: > https://github.com/grettke/home/blob/master/ALEC.org#L4641 > > Everyone, they are listed here: > http://orgmode.org/manual/Key-bindings-and-useful-functions.html#Ke

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-11 Thread Vaidheeswaran C
On Thursday 12 February 2015 12:49 PM, Thomas S. Dye wrote: Aloha Vaidheeswaran, This is an odd example that I don't recall having seen in any publication. I don't doubt examples might exist, but don't remember having seen one. Can you point me to a real-world example of a footnote referring t

Re: [O] closing column mode for beamer export

2015-02-11 Thread James Harkins
Larrabee Strow umbc.edu> writes: > > I am trying to put a second row of two columns in a org beamer slide. > > No problems with doing the first row, two column. > > I can't figure out any way to put in the second row of two columns. > (I am trying to show a 2x2 grid of images, with titles.) >

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-11 Thread Thomas S. Dye
Aloha Vaidheeswaran, This is an odd example that I don't recall having seen in any publication. I don't doubt examples might exist, but don't remember having seen one. Can you point me to a real-world example of a footnote referring to a subsequent footnote that I might reference either on-line

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-11 Thread Vaidheeswaran
On Thursday 12 February 2015 02:42 AM, Nicolas Goaziou wrote: It does, e.g., when exporting to LaTeX. This is an odt limitation. So, I disagree, `org-export-footnote-first-reference-p' is correct here. Let me put my question this way: What changes need to be made in ox.el and/or ox-odt.el so

[O] [PATCH] Recognize property blocks even after text

2015-02-11 Thread Sacha Chua
Hi! I noticed that the refactored org-get-property-block no longer allows for any text (aside from the SCHEDULED / DEADLINE / CLOSED) text between the heading and the property drawer, which gave me problems when I accidentally added text or timestamps or things like that. Also, it means org-gcal's

Re: [O] [patch, ox] suppress title

2015-02-11 Thread Vladimir Lomov
Hello, ** Rasmus [2015-02-12 01:47:06 +0100]: > Nicolas Goaziou writes: > >> Rasmus writes: >> >>> Nicolas Goaziou writes: >>> Could you also add a test in `test-org-export/handle-options'? >>> >>> How would I make this test proper? >> >> You can't, my bad. It is obviously handled at the

Re: [O] [patch, ox] suppress title

2015-02-11 Thread Rasmus
Nicolas Goaziou writes: > Rasmus writes: > >> Nicolas Goaziou writes: >> >>> Could you also add a test in `test-org-export/handle-options'? >> >> How would I make this test proper? > > You can't, my bad. It is obviously handled at the back-end level. OK pushed without that then. e6fcc853. —R

[O] [patch, ox-latex] better hyperref and title options

2015-02-11 Thread Rasmus
Hi, This patch does two things. 1. Add better format-spec to ox-latex hyperref and title-command. 2. Use this to extend basic hyperref formatting to include title, author, language etc. Wrt the title-command, this is useful if you need one-off "custom" formatting of a header in

Re: [O] [patch, ox] suppress title

2015-02-11 Thread Nicolas Goaziou
Rasmus writes: > Nicolas Goaziou writes: > >> Could you also add a test in `test-org-export/handle-options'? > > How would I make this test proper? You can't, my bad. It is obviously handled at the back-end level. Regards,

Re: [O] Latex code before maketitle

2015-02-11 Thread Charles C. Berry
On Wed, 11 Feb 2015, Jacob Gerlach wrote: Hi List, I am using a custom Latex class that requires some code between \begin{document} and \maketitle. It seems from looking at ox-latex.el that there is nothing between document start and title command available for me to customize. I suppose I co

Re: [O] [patch, ox] suppress title

2015-02-11 Thread Rasmus
Nicolas Goaziou writes: > Could you also add a test in `test-org-export/handle-options'? How would I make this test proper? I can't use org-test-default-backend since it only loads the transcoder functions, not the template which is where I disable the title. I can think of the following or wr

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-11 Thread Rasmus
Hi, Thanks for the comments! Nicolas Goaziou writes: > I don't see how it is desirable. The logical behaviour is to split the > line, unless, of course, docstring clearly specifies this. I don't feel strongly about it. Anyway, I like this better. Cdlatex is, um, "opinionated" about is insert

Re: [O] [patch, ox] suppress title

2015-02-11 Thread Nicolas Goaziou
Hello, Rasmus writes: > Sometime when requiring custom formatting of the header for a document, it > would be nice to be able to use #+TITLE without triggering the insertion > of the tile (e.g. \maketitle in latex and title in ox-html). For > instance, one might have special org-html-preamble

Re: [O] With Sticky Agenda, org-calendar-goto-agenda doesn't work

2015-02-11 Thread Nicolas Goaziou
Hello, torys.ander...@gmail.com (Tory S. Anderson) writes: > Bug, I suppose. If I have sticky agenda mode enabled, later going to > my calendar and pressing "c" (`org-calendar-goto-agenda') on a date > just takes me to whatever date is currently displayed in my agenda. > I have to `org-toggle-sti

Re: [O] New ELPA addition bogs down Emacs

2015-02-11 Thread Puneeth Chaganti
On Thu, Feb 12, 2015 at 3:26 AM, Lawrence Bottorff wrote: > Changing to #+STARTUP: showeverything did the trick . . . although I don't > know why. Why? One of the reasons I discovered recently was this inconspicuous change (around v8.2.6) [1], though this may or may not be what is happening for y

Re: [O] New ELPA addition bogs down Emacs

2015-02-11 Thread Lawrence Bottorff
Changing to #+STARTUP: showeverything did the trick . . . although I don't know why. Why? On Wed, Feb 11, 2015 at 4:13 PM, Nick Dokos wrote: > Lawrence Bottorff writes: > > > Once again, I've added some package that makes a 20k-line/1 mg .org file > kill Emacs' performance and max out my CPU. H

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-11 Thread Nicolas Goaziou
Rasmus writes: > Indeed that this the trick. The attached patch seems to work nicely and > takes care of the corner cases I could think of. > > I now get the following (desirable) behavior > > - key :: foo | bar > baz > # insert latex-environment with cdlatex > > - key :: foo | bar >

Re: [O] Org Linking to Bookmark [+]

2015-02-11 Thread Marcin Borkowski
On 2015-02-11, at 15:46, Drew Adams wrote: > It looks like you are trying to get the name of the bookmark at > point in buffer `*Bookmark List*'. To do that, just evaluate > (bookmark-bmenu-bookmark). _ __ /

Re: [O] New ELPA addition bogs down Emacs

2015-02-11 Thread Nick Dokos
Lawrence Bottorff writes: > Once again, I've added some package that makes a 20k-line/1 mg .org file kill > Emacs' performance and max out my CPU. Here's my > ELPA installed: > > ... >   org    20150202  installed Outline-based notes > management and organizer >   or

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-11 Thread Nicolas Goaziou
Vaidheeswaran C writes: > I still think that the snippet I shared should have worked. Clearly > `org-export-footnote-first-reference-p' is misbehaving. It does, e.g., when exporting to LaTeX. This is an odt limitation. So, I disagree, `org-export-footnote-first-reference-p' is correct here.

Re: [O] Latex code before maketitle

2015-02-11 Thread Rasmus
Jacob Gerlach writes: > Are there any convenient alternatives? Maybe something like AfterPreamble, AfterEndPreamble, AtEndPreamble etc. from etoolbox? Or AfterPackage from KOMA-Script. Hope it helps, Rasmus -- There are known knowns; there are things we know that we know

[O] Custom face for Categories in Agenda

2015-02-11 Thread Simon W. Jones
Hi there, I know there is a way of setting a particular face for tags in orgmode - "org-tag-faces," but can't find no similar function for setting a face based on category. Does it exist? Many thanks. Simon Jones.

[O] Latex code before maketitle

2015-02-11 Thread Jacob Gerlach
Hi List, I am using a custom Latex class that requires some code between \begin{document} and \maketitle. It seems from looking at ox-latex.el that there is nothing between document start and title command available for me to customize. I suppose I could customize the title command to include th

Re: [O] New ELPA addition bogs down Emacs

2015-02-11 Thread Grant Rettke
Add to your document , | #+STARTUP: showeverything ` Does that resolve the performance issue? If not I would do the usual dance of unloading packages until the performance issues goes away and then adding them back until it returns. On Wed, Feb 11, 2015 at 1:35 PM, Lawrence Bottorff wr

[O] New ELPA addition bogs down Emacs

2015-02-11 Thread Lawrence Bottorff
Once again, I've added some package that makes a 20k-line/1 mg .org file kill Emacs' performance and max out my CPU. Here's my ELPA installed: auctex 11.88.2 installed Integrated environment for *TeX* dash 20141220.1452 installed A modern

Re: [O] And another useful function for header arguments

2015-02-11 Thread Grant Rettke
All of the `org-babel-*" functions are sweet. Proof, I bind almost of all of them to my own preference: https://github.com/grettke/home/blob/master/ALEC.org#L4641 Everyone, they are listed here: http://orgmode.org/manual/Key-bindings-and-useful-functions.html#Key-bindings-and-useful-functions On

Re: [O] Citations, continued

2015-02-11 Thread Richard Lawrence
Stefan Nobis writes: > Richard Lawrence writes: > >> I know these commands are convenient, and that not having them would >> introduce this class of errors, but the question is whether they are >> so important that it's worth providing an equivalent for them in >> non-LaTeX backends. > > Hmmm...

Re: [O] closing column mode for beamer export

2015-02-11 Thread L . Larrabee Strow
Here is the simplest example I can come up with. I changed the four figures to text. Note that in comments, I show where I can add \end{columns} and \begin{columns} to the org-generated .tex files, and I get what I want, a 2x2 set of figures. (START OF ORG FILE) #+LATEX_CLASS: beamer #+LATEX_CL

[O] [DONE] Re: Org Linking to Bookmark [+]

2015-02-11 Thread Tory S. Anderson
Thanks, Drew; I have it now. To all concerned, it's easy to add bookmark+ link support to org-mode with the following: --8<---cut here---start->8--- ;;; * bmkp links http://orgmode.org/manual/Adding-hyperlink-types.html (org-add-link-type "bmkp" 'org-bmkp-

Re: [O] Org Linking to Bookmark [+]

2015-02-11 Thread Drew Adams
> (defun org-bmkp-store-link () >"Store a link to a bmkp bookmark." >(when (memq major-mode '(bookmark-bmenu-mode)) > (let* ((bookmark (org-bmkp-get-bookmark-name)) |

Re: [O] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-11 Thread Alan Schmitt
Hello, On 2015-02-10 22:58, Rainer M Krug writes: > Are there some guidelines on how to write tests? Never done this before... I recently wrote my first test, so here is how I did it. - find a similar test in testing/lisp/el (maybe in test-ob-exp.el) - load the file testing/org-test.el (it

Re: [O] Raw .org file for manual(s)?

2015-02-11 Thread Lawrence Bottorff
I'm on an i5 first gen and when it opens it immediately pegs one of my cores to 100% -- and pretty much stays that way, making Emacs very, very slow and bogged down. The file is ~ 20,000 lines and weighs under 1 mg, so, yeah, it shouldn't be a problem. Starting with no-init does clear up the issue;

[O] Org Linking to Bookmark [+]

2015-02-11 Thread Tory S. Anderson
I have weekly TODO items that link to something that needs to be updated; for instance, I write a weekly letter to my daughter where each week the actual file for the letter will change. Right now I have to manually update that link in the org file, which is quite cumbersome. If I could just li

Re: [O] Citations, continued

2015-02-11 Thread Rasmus
Aaron Ecay writes: > The uppercase variants are important for correctness with names like > “von Neumann”. When we write a sentence which begins “Von Neumann > (19xx) claimed that...” the “von” must be capitalized, though it > should be lowercase in non-sentence-initial position. Of course, we

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-11 Thread Rasmus
Nicolas Goaziou writes: > You can get real indentation by indenting a new line first. What about > the following? > > (org-return-indent) Indeed that this the trick. The attached patch seems to work nicely and takes care of the corner cases I could think of. I now get the following (desira

Re: [O] closing column mode for beamer export

2015-02-11 Thread Eric S Fraga
On Tuesday, 10 Feb 2015 at 13:12, Larrabee Strow wrote: > Hi, > > Thanks for the suggestion. > > I tried making the columns bigger "BEAMER_col: 0.8 or whatever > > Didn't work. can you post a minimal example. I'm happy to play with it to see. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org rel

[O] With Sticky Agenda, org-calendar-goto-agenda doesn't work

2015-02-11 Thread Tory S. Anderson
Bug, I suppose. If I have sticky agenda mode enabled, later going to my calendar and pressing "c" (`org-calendar-goto-agenda') on a date just takes me to whatever date is currently displayed in my agenda. I have to `org-toggle-sticky-agenda' before it it will work.

Re: [O] Citations, continued

2015-02-11 Thread Aaron Ecay
Hi Rasmus, 2015ko otsailak 10an, Rasmus-ek idatzi zuen: [...] > Keys I don't care about, since they are quite biblatex specific: > smartcite, autocide, parentcite*, uppercase variants. *volcites(s) (any > objections?) Smartcite is like footcite in regular text and parencite in footnotes.

Re: [O] Exporting columnviews

2015-02-11 Thread Francesco Pizzolante
Hi Nicolas, > Rasmus writes: >> Nicolas Goaziou writes: >> >>> I introduced \nbsp at some point, but there were complaints from users >>> not prettifying entities. So I guess \star is not an option either. >> >> Don't worry I use \nbsp sometimes! >> For what reason do people not want to use enti

Re: [O] [bug] Alignment bug in clock tables

2015-02-11 Thread Francesco Pizzolante
Hi Stormking, Sorry for my very late reply: I thank you very much for your workaround which enables me to have well aligned clock tables. I also take the opportunity to bump up this thread. I think you correctly spotted the exact cause of our issue. Here's what you say in a previous message: >

Re: [O] Citations, continued

2015-02-11 Thread Stefan Nobis
Richard Lawrence writes: > I know these commands are convenient, and that not having them would > introduce this class of errors, but the question is whether they are > so important that it's worth providing an equivalent for them in > non-LaTeX backends. Hmmm... I don't see this as a big proble

Re: [O] Raw .org file for manual(s)?

2015-02-11 Thread Rasmus
Lawrence Bottorff writes: > How about a raw compact guide. The complete guide won't really load into > Emacs very well on my machine. Is this also the case when reading with emacs -q? If not, you have bad mojo in your config. My five year old 1.8Ghz machine loads the file in a couple of second

Re: [O] Org-mode and YASnippet

2015-02-11 Thread Fabrice Niessen
Hello Marcin, Marcin Borkowski wrote: > does anyone use YASnippet with Org? Yes. [1] > I tried, but ran into a strange problem: when I type into > a placeholder field, I get a space after each letter. Did anyone run > into this, too? I don't really understand what your problem is. Maybe a scre