[O] Renaming ITEM in column view causes problems
Running Org version 8.3.4 (emacs 24.5.1) The following example shows how renaming the ITEM column in column view causes the parent heading to show up. Anyone know how to fix this? ** Bad Summary #+BEGIN: columnview :skip-empty-rows t :id "bad" | Name | Nick | |+--| | ** Contact Information | | | *** John Doe | Jon | #+END ** Contact Information :PROPERTIES: :ID: bad :COLUMNS: %20ITEM(Name) %Nick :END: *** John Doe :PROPERTIES: :Nick: Jon :END: ** Good Summary #+BEGIN: columnview :skip-empty-rows t :id "good" | ITEM | Nick | |--+--| | *** John Doe | Jon | #+END ** Contact Information :PROPERTIES: :ID: good :COLUMNS: %20ITEM %Nick :END: *** John Doe :PROPERTIES: :Nick: Jon :END: Thanks for any help! David
Re: [O] ob-lilypond and LaTeX floats/captions
On February 27, 2016 5:57:01 AM Nicolas Goaziouwrote: > My question, then, is: What is needed to get ob-lilypond to support > LaTeX floats and captions? (I have a sneaky feeling it isn't trivial, > but it's worth asking in any case.) You are applying the name and caption to the source block, which is removed (:exports results), not to the results of the source block. So, you need to generate the results first, or at least put a RESULTS keyword below, and apply the name and caption to it. A-ha. Thank you. So, "What is needed to get ob-lilypond to support LaTeX floats and captions" is to RTFM ;) I have often exported source code to LaTeX listings, but only infrequently exported results. So I wasn't clear on the mechanism. Now that you explain it, it makes perfect sense: the properties belong to an entity that I asked it not to export. Thanks again - I can take it from here. (PS This project is a write-up of an improvisational composition -- a lot of text description of the procedure, with some examples in musical notation along the way. It blows my mind that I can write the lilypond scores directly into the org document, and it all renders with C-c C-e l p. org-mode FTW! Again!) hjh Sent with AquaMail for Android http://www.aqua-mail.com
Re: [O] [bug] inserting footnotes via org-footnote-action command
Thank you for the quick answer! All right, deletion and recreation of the section is fine with me, as long as the tags would be recreated as well. Keeping the tags is actually crucial to my practice, since I run some filters during export based on tags. Couldn't the algorithm be adopted to check for tags assigned to the org-footnote-section and then re-create them as well? Including this feature would be tremendously helpful and shouldn't do harm to anybody else. Best, mc On 2016-02-26 Fri 23:53, Nicolas Goaziou wrote: > Hello, > > Martin Carléwrites: > >> the outline heading containing footnote definitions (as specified by >> org-footnote-section) does not accept tags. >> >> E.g. if you add a tag to this headline and then try to insert a footnote >> via the org-footnote-action command, always a new headline without the >> tag is created and the former footnote order gets spoiled. >> >> I would be nice, if this could be fixed, such that org-footnote-section >> can have tags (or even to-do keywords, drawers, etc.). > > You shouldn't put anything else than footnotes in the footnotes section. > It can be erased without notice, e.g., when sorting footnotes, and all > information inside, besides footnotes, will be lost. > > See it as a reserved (optional) headline. Maybe the manual should be > more explicit about it. > > > Regards, -- Fetch my gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 7E3CA33F smime.p7s Description: S/MIME cryptographic signature
[O] Possible bug in LaTeX export of special blocks
Aloha all, Exporting these two special blocks to LaTeX ,-- | #+name: eq:foobar | #+begin_equation | foo = bar | #+end_equation | | #+begin_equation | bar = baz | #+end_equation `-- yields this in the tex file ,- | \begin{equation} | foo = bar | \label{orgspecialblock1} | | \end{equation} | | \begin{equation} | bar = baz | \end{equation} `- The blank line after \label{orgspecialblock1} causes the equation number to be set on the following line, rather than to the right of the equation. My expectation is there is no blank line after the \label, which yields the desired behavior. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] [bug] inserting footnotes via org-footnote-action command
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > Thomas S. Dyewrites: > >> Thanks for pointing this out. Is it possible to disable all the features, >> like >> sorting, that erase without notice? I've got org-footnote-auto-adjust >> set to nil, which looks like a step in the right direction, but I'm >> wondering if there is more I can do. >> >> My Tufte Org Mode files have LaTeX attributes associated with footnote >> definitions and I don't want to lose them, if possible. > > The footnote themselves, along with any attributes associated to them, > are never erased. Good news. Thanks for the clarification. All the best Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] [bug] inserting footnotes via org-footnote-action command
Hello, Thomas S. Dyewrites: > Thanks for pointing this out. Is it possible to disable all the features, > like > sorting, that erase without notice? I've got org-footnote-auto-adjust > set to nil, which looks like a step in the right direction, but I'm > wondering if there is more I can do. > > My Tufte Org Mode files have LaTeX attributes associated with footnote > definitions and I don't want to lose them, if possible. The footnote themselves, along with any attributes associated to them, are never erased. Regards, -- Nicolas Goaziou0x80A93738
Re: [O] [bug] inserting footnotes via org-footnote-action command
Nicolas Goaziou writes: > > You shouldn't put anything else than footnotes in the footnotes section. > It can be erased without notice, e.g., when sorting footnotes, and all > information inside, besides footnotes, will be lost. Thanks for pointing this out. Is it possible to disable all the features, like sorting, that erase without notice? I've got org-footnote-auto-adjust set to nil, which looks like a step in the right direction, but I'm wondering if there is more I can do. My Tufte Org Mode files have LaTeX attributes associated with footnote definitions and I don't want to lose them, if possible. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Bug and possible fix / work-around using org-mobile with group tags
Hello, John Hutchinsonwrites: > Hi Nicolas: > I think the diff patch you sent had an "off-by-one-line" error. If > I remove the nested lambdas, so your lambda simply replaces the one in > the distributed source, the patch seems to work. True. I fixed my fix and pushed it. Thank you for the feedback. Regards, -- Nicolas Goaziou
Re: [O] ob-lilypond and LaTeX floats/captions
Hello, "James Harkins"writes: > I currently have a few LilyPond source code blocks that are working quite > well as inline graphics (exported to LaTeX), e.g.: > > #+BEGIN_SRC lilypond :exports results :noweb yes :file ex1.eps > ... > #+END_SRC > > When I export, it (correctly) asks if I want to evaluate the source block, > and the export (correctly) includes the line: > > \includegraphics[width=.9\linewidth]{ex1.eps} > > So far, so good. > > Now, I would like to make the results a floating figure, with a caption and a > #+name reference. So I added the following to the above block: > > #+name: ex1 > #+caption: One possible form of "seed" material to start the performance. > #+BEGIN_SRC lilypond :exports results :noweb yes :file ex1.eps > ... > #+END_SRC > > ... but the #+name is not converted into a label, and the #+caption is also > ignored. > > My question, then, is: What is needed to get ob-lilypond to support > LaTeX floats and captions? (I have a sneaky feeling it isn't trivial, > but it's worth asking in any case.) You are applying the name and caption to the source block, which is removed (:exports results), not to the results of the source block. So, you need to generate the results first, or at least put a RESULTS keyword below, and apply the name and caption to it. Regards, -- Nicolas Goaziou
Re: [O] non-standard link errors
Hello, Skip Collinswrites: > Org throws an error when I export html with a link type that it does > not know about. I would like it to simply add the link to the exported > document without checking its validity. For example, I have a link > that, when tapped on an iPhone, will open a particular app. I would > like the html to look something like: > Connect using FaceTime > > The link works on an iPhone. But Org won't generate the html. Other > apps uses x-callback-url links formatted like this: > x-appname://x-callback-url/import?=Open%20Mail.app. > > These also do not work. Short of adding every type I might want to use > with org-add-link-type, is it possible to disable the export error and > just pass links through as written? It is possible in development version, where a variable controlling how link errors should be handled was introduced. Regards, -- Nicolas Goaziou
Re: [O] [bug] inserting footnotes via org-footnote-action command
Hello, Martin Carléwrites: > the outline heading containing footnote definitions (as specified by > org-footnote-section) does not accept tags. > > E.g. if you add a tag to this headline and then try to insert a footnote > via the org-footnote-action command, always a new headline without the > tag is created and the former footnote order gets spoiled. > > I would be nice, if this could be fixed, such that org-footnote-section > can have tags (or even to-do keywords, drawers, etc.). You shouldn't put anything else than footnotes in the footnotes section. It can be erased without notice, e.g., when sorting footnotes, and all information inside, besides footnotes, will be lost. See it as a reserved (optional) headline. Maybe the manual should be more explicit about it. Regards, -- Nicolas Goaziou
[O] [PATCH] org-attach: Use relative path for git annex
* lisp/org-attach.el (org-attach-annex-get-maybe): Use relative path as argument for git annex. Fixes error in test with version 3 of git annex. --- lisp/org-attach.el | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/lisp/org-attach.el b/lisp/org-attach.el index ebea435..cf8a1ca 100644 --- a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -299,22 +299,23 @@ the ATTACH_DIR property) their own attachment directory." (defun org-attach-annex-get-maybe (path) "Call git annex get PATH (via shell) if using git annex. Signals an error if the file content is not available and it was not retrieved." - (when (and (org-attach-use-annex) -(not - (string-equal - "found" - (shell-command-to-string - (format "git annex find --format=found --in=here %s" - (shell-quote-argument path)) -(let ((should-get - (if (eq org-attach-annex-auto-get 'ask) - (y-or-n-p (format "Run git annex get %s? " path)) -org-attach-annex-auto-get))) - (if should-get - (progn (message "Running git annex get \"%s\"." path) -(call-process "git" nil nil nil "annex" "get" path)) - (error "File %s stored in git annex but it is not available, and was not retrieved" - path) + (let ((path-relative (file-relative-name path))) +(when (and (org-attach-use-annex) + (not + (string-equal +"found" +(shell-command-to-string + (format "git annex find --format=found --in=here %s" + (shell-quote-argument path-relative)) + (let ((should-get +(if (eq org-attach-annex-auto-get 'ask) +(y-or-n-p (format "Run git annex get %s? " path-relative)) + org-attach-annex-auto-get))) + (if should-get + (progn (message "Running git annex get \"%s\"." path-relative) + (call-process "git" nil nil nil "annex" "get" path-relative)) + (error "File %s stored in git annex but it is not available, and was not retrieved" +path)) (defun org-attach-commit () "Commit changes to git if `org-attach-directory' is properly initialized. -- 2.5.0
[O] non-standard link errors
Org throws an error when I export html with a link type that it does not know about. I would like it to simply add the link to the exported document without checking its validity. For example, I have a link that, when tapped on an iPhone, will open a particular app. I would like the html to look something like: Connect using FaceTime The link works on an iPhone. But Org won't generate the html. Other apps uses x-callback-url links formatted like this: x-appname://x-callback-url/import?=Open%20Mail.app. These also do not work. Short of adding every type I might want to use with org-add-link-type, is it possible to disable the export error and just pass links through as written?
[O] [bug] inserting footnotes via org-footnote-action command
Hello, the outline heading containing footnote definitions (as specified by org-footnote-section) does not accept tags. E.g. if you add a tag to this headline and then try to insert a footnote via the org-footnote-action command, always a new headline without the tag is created and the former footnote order gets spoiled. I would be nice, if this could be fixed, such that org-footnote-section can have tags (or even to-do keywords, drawers, etc.). Thank you, mc -- Fetch my gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 7E3CA33F smime.p7s Description: S/MIME cryptographic signature
[O] issues with org-contacts
I have been using Julien Danjou's org-contacts for a while now, cf http://orgmode.org/worg/org-contrib/ org-contacts.el – manage contacts Written by Julien Danjou. Link to raw file. https://julien.danjou.info/projects/emacs-packages#org-contacts and happily so far, ie. I haven't changed my config. I would eg. type st+ in my To: field of a message, that I am composing To: st+ hit tab, and the contact address would be completed from my (list of) org-contacts-files (find an address matching st...) When I do so (hit tab ie.) in my current environment: emacs (24.5.1) / org (8.2.10, the one that comes with emacs, as I understand), on debian testing ie., I get: org-make-tags-matcher: `org-make-tags-matcher' expects todo-only to be scoped in I get the same error message, when I use a newer org version (8.3.3), install the debian package org-mode ie. I did contact Julien about this issue, but he pointed me to the org mailing list instead, as he isn't maintaining the code any more. Can anyone first: confirm my issue, and then: point me in the right direction, please? I should say that I have gone through some efforts in the past, to make (the single tab key) behave "normally" (not be occupied by 'yas-expand ie.) in some modes. But now in message-mode (the mode that I am in when composing a mail), when I define any of these (that would usually do): (local-set-key (kbd "") #'message-tab) (local-set-key (kbd "") #'completion-at-point) (local-set-key (kbd "") #'indent-for-tab-command) I still get the above message above: org-make-tags-matcher: `org-make-tags-matcher' expects todo-only to be scoped in Thanks in advance, Andreas
Re: [O] Is it possible to keep /all/ the heading properties in one place?
Eric S Fragawrites: > On Thursday, 25 Feb 2016 at 17:52, Nicolas Goaziou wrote: >> If they are about reducing visual clutter, you can work it out at the >> display level. I'm pretty sure this improvement would be appreciated. > > And the OP's use of prettify-symbols-mode brings a number of > possibilities to mind! Can anybody suggest some pretty unicode symbols > suitable for > SCHEDULED A clock: . You could even try to be fancy and choose the right one based on the scheduled time (don’t know if regexp are supported by p-s-m). Maybe an unchecked box. A board holding a piece of paper. > and DEADLINE? :-) ! something with a flag? BLACK FLAG (⚑) CHEQUERED FLAG () WAVING BLACK FLAG () WAVING WHITE FLAG () WHITE FLAG (⚐) WHITE FLAG WITH HORIZONTAL MIDDLE BLACK STRIPE (⛿) Probably Evolution or Kmail uses some symbols that could be interesting. Rasmus -- Don't slow down Johnny, leave the Cadillac runnin'
[O] ob-lilypond and LaTeX floats/captions
Especially looking for users of ob-lilypond: I currently have a few LilyPond source code blocks that are working quite well as inline graphics (exported to LaTeX), e.g.: #+BEGIN_SRC lilypond :exports results :noweb yes :file ex1.eps ... #+END_SRC When I export, it (correctly) asks if I want to evaluate the source block, and the export (correctly) includes the line: \includegraphics[width=.9\linewidth]{ex1.eps} So far, so good. Now, I would like to make the results a floating figure, with a caption and a #+name reference. So I added the following to the above block: #+name: ex1 #+caption: One possible form of "seed" material to start the performance. #+BEGIN_SRC lilypond :exports results :noweb yes :file ex1.eps ... #+END_SRC ... but the #+name is not converted into a label, and the #+caption is also ignored. My question, then, is: What is needed to get ob-lilypond to support LaTeX floats and captions? (I have a sneaky feeling it isn't trivial, but it's worth asking in any case.) hjh
Re: [O] streamlined capture on iphone
On 2016-02-24 at 17:59, Skip Collinswrote: > MobileOrg on the iPhone is not very useful to me. As many people do, I > use my iPhone as a way to capture input on the go, usually in the form > of short text snippets or notes. One thing that has made this work > better for me is a streamlined process... I'm confused. The remainder of your description of your process does not seem very streamlined and has a lot steps through 3rd parties. I use only MobileOrg and can capture to my desktop by tapping only a 5 buttons: 1) The app icon, 2) enter text (or tap the mic button and speak), 3) Done 4) Outline Mode 5) Sync. My Desktop then automatically updates w/o 5 minute delay. Captured notes are tagged as REFILE and show up in a section of the Agenda that only shows up if there are things that need to be refiled. There are no need for external scripts and the only 3rd party service is DropBox. I'm happy to see there are alternatives, and ones that work for Android, but for iPhone users I think there might be simpler setups than your original description. I've shared my config before, but am happy to do so again. Alternatively, I have a workflow that lets me do the hands-free "Hey Siri..." and just speak at my phone, and things automatically show up on my laptop Org agenda, again in the REFILE section that only shows up when there are items. The scripts for that workflow are not robust, but the outline/concept and starter scripts can be found here: https://lists.gnu.org/archive/html/emacs-orgmode/2015-05/msg00556.html The first workflow described, using MobileOrg, is robust. -k.
Re: [O] streamlined capture on iphone
Hi Skip! Skip Collinswrites: > MobileOrg on the iPhone is not very useful to me. As many people do, I > use my iPhone as a way to capture input on the go, usually in the form > of short text snippets or notes. I'm feeling the same way and I have been searching for a better process. > If anyone is interested in the Drafts action, Gmail filter, Google > script, and org-feed configuration that make this work, I would be > happy to share. This setup can easily be adapted for Android phones. Yes please! I'm definitely interested in trying your setup. Best regards, Martin Yrjölä
Re: [O] needing help with frames beamer in org-mode
I am very sorry and I apologize for my useless email. A first correct reply to my problem was given four days ago on this list: (Now I meet "overfullbox messages" and pdf is not produced... but that it is another question.) -- Forwarded message -- From: Josiah SchwabDate: 2016-02-22 19:52 GMT+01:00 Subject: Re: [O] ox-beamer export, no frames created To: "John W. Burroughs" Cc: emacs-orgmode@gnu.org Hello John, > I have been trying to produce my first presentation using org-mode and > ox-beamer export to create a pdf. I am not seeing separate frames for > each slide. For example, using the Beamer Example (12.5.6) from the > org-mode manual, I get the following generated .tex file. > > There are only \subsection{} generated, instead of the \begin{frame} > that is expected. To me, this looks like you used the LaTeX export commands instead of the beamer export commands. http://orgmode.org/manual/Beamer-export-commands.html#Beamer-export-commands Best, Josiah 2016-02-26 9:24 GMT+01:00 Joseph Vidal-Rosset : > Hello the list, (cc. Eric) > > I'm trying for some days to get in org-mode for latex class beamer an > equivalent to the following latex code: > > \begin{frame} > > > \end{frame} > > I have read the documentation and I have tested many examples, but nothing > works correctly in my setup. > > the org-mode code > > #+BEAMER_FRAME_LEVEL: 2 > > > does not succeed to get clean frame. Contrarily to the beamer mode in > Latex, org-mode works as if it fullfills the space as far as it finds > blanks spaces... > > A configuration file + example + explanation would be very welcome. > > Best wishes, > > Jo. > >
[O] needing help with frames beamer in org-mode
Hello the list, (cc. Eric) I'm trying for some days to get in org-mode for latex class beamer an equivalent to the following latex code: \begin{frame} \end{frame} I have read the documentation and I have tested many examples, but nothing works correctly in my setup. the org-mode code #+BEAMER_FRAME_LEVEL: 2 does not succeed to get clean frame. Contrarily to the beamer mode in Latex, org-mode works as if it fullfills the space as far as it finds blanks spaces... A configuration file + example + explanation would be very welcome. Best wishes, Jo.
Re: [O] Is it possible to keep /all/ the heading properties in one place?
Nicolas Goaziouwrites: > So is Lisp. I like Lisp. > It boils down to ask users to write Lisp by hand at some point. Not > everyone wants to use interactive tools. I claim that a user can get by without having to write a single line of Lisp manually. M-x `customize' has been doing it successfully for years. > Unfortunately, writing Lisp is not fun in a basic text editing > environment. Right, not in a basic one. But it's great in Emacs. And for others, they could use `read' followed by a graphical tool like a TreeView widget, followed by `prin1'. This Lisp is supposed to be so simple that a `read'->`delete-sexp'->`prin1' is an `identity' operation. > Here is the full Org property syntax: > > 3.7 Property Drawers > > > Property drawers are a special type of drawer containing properties > attached to a headline. They are located right after a [headline] and > its [planning] information. > > ┌ > │ HEADLINE > │ PROPERTYDRAWER > │ > │ HEADLINE > │ PLANNING > │ PROPERTYDRAWER > └ > > PROPERTYDRAWER follows the pattern > > ┌ > │ :PROPERTIES: > │ CONTENTS > │ :END: > └ Missed out the logging drawer and the tags. That's two things more out of a single place than I'd like. > I don't think this is very impressive nor particularly difficult to > implement. I get a headache just trying to imagine how I could hide the properties /and/ the logging /and/ the tags into a single fold-able thing. > You may want to have a look at "outline.el", which is Org without all > the extra "stuff". Already have been using it for years. I actually prefer outline.el to org-babel for most things now. But not for GTD - for that I need Org. > Alas, the Devil is in the detail: > > (example >... >(properties ...)) Not really. You see, the `beginning-of-defun' trick is: a defun is a thing that starts in the first column (that's why we escape all parens in the first column in Elisp). This trick has been working successfully for decades. It's both fast and simple. Since all Lisp properties are written to programmatically by Org, they are always perfectly indented. And if a person wants to edit it manually, he'll have to simply remember to `indent-sexp'. > Anyway, at this point I don't know what to add. Suggestion, and I've said it before, Org needs a standard simple inline kbd markup. Just like Markdown's and Texinfo's @kbd{}. Since Org is tied into Emacs having an easy (and unambiguous) way to denote keyboard shortcuts would be very convenient. Adding that would also progress the direction of having Org be the language for Emacs manuals. Right now, Org's own manual is in Texinfo, which is a shame since no one likes Texinfo and few people understand enough of it to get by. > You want to improve Org and this is fine. However simplistic examples > do not help understanding the full picture, at least for me. So, > implement your idea, test the syntax, ask for feedback here. In the > end, if it happens to be superior, users will naturally switch to it, > for the benefit of everyone. Thanks, I'll be trying that out. In the last week I've been archiving most of my gtd.org. So the switch should be easier now. Do we have a way in Org to archive a heading form anywhere into a memoir format like this: * 2014 ** 2014-01 January *** 2014-01-03 Thursday CANCELLED Foobar CLOSED: [2014-01-03 Fri 09:42] SCHEDULED: <2013-12-25 Wed> Added: [2013-08-08 Thu 17:38] DONE Baz CLOSED: [2014-01-03 Fri 17:12] Each heading is archived into level 4, on the day it was closed. I had it working a few years ago, relying on org-archive.el. But when I tried this week, it stopped working, so I had to rewrite it. > You may also want to have a look at Skribilo > (http://www.nongnu.org/skribilo/), if you don't know it already. Thanks, I didn't know about it. It looks very similar to Racket's Scribble, and my own ElTeX.