[Orgmode] orgmode and ebib
hi, i use ebib to manage my bibtex references. it would be really cool if orgmode could follow links to bibtex entries using ebib. what i would like is to be able to follow a link such as [[bib:bibentry]] and end up in ebib, with my standard bibtex database opened, and entry positioned at the bibentry. can this be achieved without adding functionality to orgmode? /ali ___ 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
Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Hi Erik, I am *not* a programmer so expect considerable chaff for every kernel of wheat (no wheat guaranteed). I would pass the function an org-mode link then write out the contents pointed at by the link inside a named code block, with each line preceded by an optional comment character. If this were written in a general way, then it would be possible to include comments from any link--on-line manuals, standards, blogs, etc.--in addition to notes in the org-mode file. If it were written in a very general way, with a transformation function responsible for adding the comment character, then a variety of transformations might be possible. I've followed the list long enough to recognize that musings like mine are often met by the response that org-mode already does this. For all I know, it does! All the best, Tom On May 28, 2010, at 8:41 AM, Erik Iverson wrote: Thomas S. Dye wrote: Hi Erik, If the proposed functionality places comments in the source code in whatever order they appear in the org-mode file, then the result will likely frustrate literate programming efforts that rearrange code blocks on tangling. Yes, thank you for pointing that out. Another way to get pieces of the org-mode file into the source file as comments might be with a little helper function, org-babel-copy- subtree-to-commented-code. The source blocks could be named so the literate programming facilities of org-babel could work with them. I'm not following this; could you provide a minimal pseudo-example of how you see this working in practice? Thanks! Erik ___ 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
Re: [Orgmode] MobileOrg for Android starts to become really usable
Go to: Settings -> Applications -> Application settings -> check "allow installation of non-Market applications" then browse to the github wiki page with your phone's browser, click on and download the apk, when it is through downloading just tap the file and it should start the install. 73, Matthew W. Jones (KI4ZIB) http://matburt.net On Fri, May 28, 2010 at 2:05 PM, Enrico Indiogine wrote: > Greetings! > > 2010/5/28 Sven Bretfeld : > > I had a look at matburt's Github today and found the new 0.4alpha-build. > > Now, MobOrg4And supports the capturing of notes. That's what I was > > waiting for all the time. I can say that Note capturing works on my HTC > > Magic, albeit I had little time so far to test it more than once or > > twice. > > I am a new Android user. I have a Sony-Ericsson Xperia X10 from > Rogers. I do not really like the interface, but that is off-topic, > but sure I would love to put a recent generic version of android on > it. > > Anyway, I would like to install MobileOrg for Android. I know how to > install apps from the Android Market using the phone directly. I do > not know how to install apps using Github. I have looked for > instructions but have not been able to find them. > > I use Linux Ubuntu 10.04 as computer OS. > > Thanks, > > Henri-Paul > > > Mathematics Education > Texas A&M University > > Email: hindiog...@gmail.com > Skype: hindiogine > Website: http://www.coe.tamu.edu/~enrico > > "Rien ne va de soi. Rien n'est donné. Tous est construit." Gaston > Bachelard, 1934 > > ___ > 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 > ___ 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
[Orgmode] Publishing feed
I've been looking at the mailing list archive here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg22964.html I have some questions/issues: 1) is there a 'current' version of org-atom.el? The attachment on the email listing is from March and there doesn't appear to be a file on the site ( http://ictsoc.de/code/org-atom.html) referenced in the mailing list 2) I've copied and pasted the minimal example to give this a try and when I execute 'org-export-as-atom' I get this in the buffer: ## Exporting... if: Wrong number of arguments: (lambda (attr elements) "Return atom feed element. ATTR is a list of cons with xml attributes. ELEMENTS is a list of metadata elements for feed." (unless (memq (cons (quote xmlns) "http://www.w3.org/2005/Atom";) attr) (setq attr (append (list (cons (quote xmlns) "http://www.w3.org/2005/Atom";)) attr))) (atom-syndication-container (quote feed) attr elements)), 1 ## I've tracked that down to a set of lines in atom-syndication.el which is stated as required in the mailing list. I don't understand elisp and after doing my best can't seem to figure out what the error was. There are a lot of multi-line comments only marked by quotation marks in the file I got from git (http://github.com/dmj/atom-syndication/). - I've got this in .emacs: (require 'org-exp) (require 'atom-syndication) (require 'org-atom) - This is the code that seems to be breaking in atom-syndication (bit before/bit after): /--- | (defun atom-syndication-element-entry (attr elements) | "Return atom entry element. | | ATTR is a list of cons with xml attributes. | ELEMENTS is a list of metadata elements for entry." | (atom-syndication-container 'entry attr elements)) | | (defun atom-syndication-element-feed (attr elements) | "Return atom feed element. | | ATTR is a list of cons with xml attributes. | ELEMENTS is a list of metadata elements for feed." | (unless (memq (cons 'xmlns "http://www.w3.org/2005/Atom";) attr) |(setq attr (append |(list (cons 'xmlns "http://www.w3.org/2005/Atom";)) attr))) | (atom-syndication-container 'feed attr elements)) | | (defun atom-syndication-element-source (attr elements) | "Return atom source element. | | ATTR is a list of cons with xml attributes. | ELEMENTS is a list of metadata elements for source." \- Not sure where to go from here... 3) Is it possible to just replace the URL with a file name and publish an atom feed to a file? I'm guessing that it's a yes but not sure... Thanks! John ___ 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
Re: [Orgmode] MobileOrg for Android starts to become really usable
Le vendredi 28 mai 2010 à 11:05 +0200, Sven Bretfeld a écrit : > Hi to all, hi Matthew > > I can say that Note capturing works on my HTC > Magic, Working also on my LG GW620, however the SAVE Button gets hidden by the on-screen keyboard. I think I've seen other android apps keeping some buttons visible whether the keyboard is or isn't displayed. > I just wanted to say thank you very much! So do I, this project is progressing nicely ! Julien. ___ 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
Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Thomas S. Dye wrote: Hi Erik, If the proposed functionality places comments in the source code in whatever order they appear in the org-mode file, then the result will likely frustrate literate programming efforts that rearrange code blocks on tangling. Yes, thank you for pointing that out. Another way to get pieces of the org-mode file into the source file as comments might be with a little helper function, org-babel-copy-subtree-to-commented-code. The source blocks could be named so the literate programming facilities of org-babel could work with them. I'm not following this; could you provide a minimal pseudo-example of how you see this working in practice? Thanks! Erik ___ 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
Re: [Orgmode] MobileOrg for Android starts to become really usable
Sven, thanks for the wonderful feedback. MobileOrg Android does attach a timestamp to the note (similar to what the iphone version does, just below the headline) but anything else you want as part of the heading you do have to type manually. I haven't yet published a roadmap because I've been on this frenetic pace to try to get close to feature parity with the iPhone version. I'm currently working on giving you the ability to change TODO states... this is a bit of a challenge because of how I store each of the org files. Richard's iPhone version actually reads the contents of the file into a database (I think? Or at least... some other data structure) which lends itself well to the org-mobile-push model where an updated heading just gets pushed into the mobileorg.org file.When I wrote my implementation I had not fully grasped that concept yet so I just store the file and parse it on-demand as you drill down into your file's contents. In order to support editing files and changing TODO states, I need to switch to Richard's model of storing the components that make up the file instead of trying to parse it on-demand. Once I have this finished I plan to release the Beta, and at the same time push the application into the Android Market (still free and open source, mind you) as well as release comprehensive documentation. I think (hope) that I can put the information on Richard's site dedicated to his version of MobileOrg and have his documentation be valid and easily understood for both version. 73, Matthew W. Jones (KI4ZIB) http://matburt.net On Fri, May 28, 2010 at 5:05 AM, Sven Bretfeld wrote: > Hi to all, hi Matthew > > I had a look at matburt's Github today and found the new 0.4alpha-build. > Now, MobOrg4And supports the capturing of notes. That's what I was > waiting for all the time. I can say that Note capturing works on my HTC > Magic, albeit I had little time so far to test it more than once or > twice. > > I just wanted to say thank you very much! > > Note taking is rudimentary at the moment. As far as I can see, you have > to type todo-keywords, tags and active timestamps manually. But that > doesn't matter too much at the moment. The current alternatives (RTM, > Toodledo) have similar inconveniences. However, in MobOrg4And we are in > our familiar org-syntax, so /everything/ can be done without complex > awk/sed > operations after syncing. > > @Matthew: Do you have some kind of roadmap published anywhere? > > Greetings, > > Sven > > ___ > 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 > ___ 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
Re: [Orgmode] MobileOrg for Android starts to become really usable
Le vendredi 28 mai 2010 à 11:05 -0700, Enrico Indiogine a écrit : > Greetings! > > Anyway, I would like to install MobileOrg for Android. I know how to > install apps from the Android Market using the phone directly. I do > not know how to install apps using Github. I have looked for > instructions but have not been able to find them. You first need to install, from the market, apkInstaller. You then download a .apk file from http://wiki.github.com/matburt/mobileorg-android/ and copy it on the phone, and choose it from apkInstaller. Julien. ___ 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
Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Hi Erik, If the proposed functionality places comments in the source code in whatever order they appear in the org-mode file, then the result will likely frustrate literate programming efforts that rearrange code blocks on tangling. Another way to get pieces of the org-mode file into the source file as comments might be with a little helper function, org-babel-copy- subtree-to-commented-code. The source blocks could be named so the literate programming facilities of org-babel could work with them. All the best, Tom On May 28, 2010, at 6:24 AM, Erik Iverson wrote: One more idea I had was that it might be interesting to be able to maintain properties for headlines that indicate the headline/body should be included as a comment in a specific source file. The reason I say this is that even if I write my code in org-mode, and in effect comment the code using org-mode constructs like headlines and free text, someone who just wants the tangled file might want to see comments, for example, function headers or something like that. Maybe we should allow either exporting just the headlines of the org-mode file or exporting the entire org-mode file -- possibly after an ASCII export -- this would have the effect of prefixing every line in the org-mode file behind a comment *except* for the tangled source- code blocks. Implementation wise I'm not sure how easy/difficult this would be, but I definitely think it's worth looking into. Have I understood your suggestion? Yes, your idea about prefixing every line in the org file behind a comment except for the tangled code was the initial idea in my head. I then thought that there may be several different languages of code in an org-mode file, and even if there is only one language, the tangling of that file could be generating multiple source files, for example, one per function. In addition, some of the org-mode material I have in my file might not relate to a commented source file, per se. For example, the org-mode file where I maintain my source for a function might have links to emails discussing the implementation, or internal dialogs relating to alternative approaches that were abandoned. So, I thought it might be neat to have some way of specifying which subtrees would be a part of the comments for a source file, and for which tangled file. My guess as the easiest way to do that would be through properties. That is, you'd set a property for (sub)tree like, for example: :PROPERTIES: :SrcComment: Yes :SrcCommentTangleFile: cube.R :SrcCommentCharacter: ## :END: These (sub)trees would then appear as comments in their respective tangled source files in whatever order they appear in the org-mode file. Why am I suggesting this? People obviously like commented code. Writing a function in org- babel, I am in effect using org-mode as the commenting system. Giving someone who does not use Emacs an org-mode file to see how something was implemented is not going to fly, to say the least :). Giving them the tangled version of the code along with, say, an HTML export of the org-mode buffer is a good start. But if they're used to reviewing code in the typical, "just send me the source file" manner, they would appreciate comments in the code. This is one way they could be automatically generated from org-mode/org-babel, which is, in my mind, the ideal. As I'm sure you have plenty to do, I would be happy to take a look at this. I'll give the requisite "I'm just getting started with elisp ..." warning though. :) Thanks! Erik ___ 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 ___ 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
Re: [Orgmode] MobileOrg for Android starts to become really usable
Greetings! 2010/5/28 Sven Bretfeld : > I had a look at matburt's Github today and found the new 0.4alpha-build. > Now, MobOrg4And supports the capturing of notes. That's what I was > waiting for all the time. I can say that Note capturing works on my HTC > Magic, albeit I had little time so far to test it more than once or > twice. I am a new Android user. I have a Sony-Ericsson Xperia X10 from Rogers. I do not really like the interface, but that is off-topic, but sure I would love to put a recent generic version of android on it. Anyway, I would like to install MobileOrg for Android. I know how to install apps from the Android Market using the phone directly. I do not know how to install apps using Github. I have looked for instructions but have not been able to find them. I use Linux Ubuntu 10.04 as computer OS. Thanks, Henri-Paul Mathematics Education Texas A&M University Email: hindiog...@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico "Rien ne va de soi. Rien n'est donné. Tous est construit." Gaston Bachelard, 1934 ___ 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
[Orgmode] Org-mode todo and Lotus Notes ToDo
Has anyone tried to integrate Org-mode todo items with Lotus Notes ToDo items? I am interested in at least populating from orgmode to Lotus Notes and not necessarily looking for reverse population. ___ 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
Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
One more idea I had was that it might be interesting to be able to maintain properties for headlines that indicate the headline/body should be included as a comment in a specific source file. The reason I say this is that even if I write my code in org-mode, and in effect comment the code using org-mode constructs like headlines and free text, someone who just wants the tangled file might want to see comments, for example, function headers or something like that. Maybe we should allow either exporting just the headlines of the org-mode file or exporting the entire org-mode file -- possibly after an ASCII export -- this would have the effect of prefixing every line in the org-mode file behind a comment *except* for the tangled source-code blocks. Implementation wise I'm not sure how easy/difficult this would be, but I definitely think it's worth looking into. Have I understood your suggestion? Yes, your idea about prefixing every line in the org file behind a comment except for the tangled code was the initial idea in my head. I then thought that there may be several different languages of code in an org-mode file, and even if there is only one language, the tangling of that file could be generating multiple source files, for example, one per function. In addition, some of the org-mode material I have in my file might not relate to a commented source file, per se. For example, the org-mode file where I maintain my source for a function might have links to emails discussing the implementation, or internal dialogs relating to alternative approaches that were abandoned. So, I thought it might be neat to have some way of specifying which subtrees would be a part of the comments for a source file, and for which tangled file. My guess as the easiest way to do that would be through properties. That is, you'd set a property for (sub)tree like, for example: :PROPERTIES: :SrcComment: Yes :SrcCommentTangleFile: cube.R :SrcCommentCharacter: ## :END: These (sub)trees would then appear as comments in their respective tangled source files in whatever order they appear in the org-mode file. Why am I suggesting this? People obviously like commented code. Writing a function in org-babel, I am in effect using org-mode as the commenting system. Giving someone who does not use Emacs an org-mode file to see how something was implemented is not going to fly, to say the least :). Giving them the tangled version of the code along with, say, an HTML export of the org-mode buffer is a good start. But if they're used to reviewing code in the typical, "just send me the source file" manner, they would appreciate comments in the code. This is one way they could be automatically generated from org-mode/org-babel, which is, in my mind, the ideal. As I'm sure you have plenty to do, I would be happy to take a look at this. I'll give the requisite "I'm just getting started with elisp ..." warning though. :) Thanks! Erik ___ 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
Re: [Orgmode] Export literally but convert math equations?
It would be nice to have that feature available as an option :-) Or is there a way to preserve whitespace in other blocks? I set the variable org-src-preserve-indentation for SRC blocks but that had no effect. I'm typing up an HTML doc with lots of (simple) math. However, I'm trying to avoid using latex as much as possible. I thus need a way to align equations (incidentally, whitespace is good enough). Why not use latex/tex? Because I work for a publisher that uses MathType. And unfortunately, the current version of MathType is buggy when it comes to converting latex/tex, so I need to minimize it's use. Thanks for the reply! --Uriel On Fri, 28 May 2010 17:36:00 +0200 Carsten Dominik wrote: > > On May 28, 2010, at 5:32 PM, Uriel Avalos wrote: > > > Is there a way to convert latex equations and math inside of EXAMPLE > > and HTML blocks? > > > Well, the whole idea of example blocks is to *not* do this. What is > the application for this? > > - Carsten > > > > > For example, I would like to the following equation to display as an > > equation in the HTML: > > > > #+BEGIN_EXAMPLE > > Hello world > > $2^2+\sqrt(2) = 2$ > > #+END_EXAMPLE > > > > The current behavior just gives me the literal example. I would use > > other blocks (like BLOCKQUOTE); except that I need to preserve the > > extra whitespace. > > > > Alternatively: is there a way to preserve whitespace in the HTML > > export?-- > > --Thanks! > > Uriel > > > > ___ > > 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 > > - Carsten > > > -- --Thanks! Uriel ___ 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
Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Hi Erik, explanation below Erik Iverson writes: > Eric Schulte wrote: >> Hi, >> >> The insertion of automatically generated comments in tangled source code >> is now controlled by the new `org-babel-tangle-w-comments' variable. >> Setting this variable to non-nil will allow org-babel to insert comments >> for those languages with comment support. > > Can you briefly elaborate on what this means? I'm used to seeing, > when I tangle an R file, something like: > > ## > [[file:~/private/R-org-babel/test.org::*cube%20lets%20go%20to%20the][block-2]] > > cube <- function(x) { > # a test comment > x * x * x * x > } > ## block-2 ends here > what was previously exported as will now be exported as --8<---cut here---start->8--- cube <- function(x) { # a test comment x * x * x * x } --8<---cut here---end--->8--- unless the `org-babel-tangle-w-comments' variable is set to a non-nil value. > > So, you mean that all three of the comments would no longer appear by > default? Or you mean that only my inline function comment would not > appear? > The outer two comments of ## [[file:~/private/R-org-babel/test.org::*cube%20lets%20go%20to%20the][block-2]] and ## block-2 ends here will not appear. Your own comments inside of the source-code block will still appear. Is that clear? Thanks for pointing out the insufficient explanation. > > One more idea I had was that it might be interesting to be able to > maintain properties for headlines that indicate the headline/body > should be included as a comment in a specific source file. The reason > I say this is that even if I write my code in org-mode, and in effect > comment the code using org-mode constructs like headlines and free > text, someone who just wants the tangled file might want to see > comments, for example, function headers or something like that. > > Any thoughts on that? Yes, that sounds like a good idea. Maybe we should allow either exporting just the headlines of the org-mode file or exporting the entire org-mode file -- possibly after an ASCII export -- this would have the effect of prefixing every line in the org-mode file behind a comment *except* for the tangled source-code blocks. Implementation wise I'm not sure how easy/difficult this would be, but I definitely think it's worth looking into. Have I understood your suggestion? Best -- Eric ___ 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
Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
## [[file:~/private/R-org-babel/test.org::*cube%20lets%20go%20to%20the][block-2]] cube <- function(x) { # a test comment x * x * x * x } ## block-2 ends here So, you mean that all three of the comments would no longer appear by default? Or you mean that only my inline function comment would not appear? Re-reading your post, I think maybe perhaps only my inline comment would *appear*. If this is true, I like the idea. ___ 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
Re: [Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Eric Schulte wrote: Hi, The insertion of automatically generated comments in tangled source code is now controlled by the new `org-babel-tangle-w-comments' variable. Setting this variable to non-nil will allow org-babel to insert comments for those languages with comment support. Can you briefly elaborate on what this means? I'm used to seeing, when I tangle an R file, something like: ## [[file:~/private/R-org-babel/test.org::*cube%20lets%20go%20to%20the][block-2]] cube <- function(x) { # a test comment x * x * x * x } ## block-2 ends here So, you mean that all three of the comments would no longer appear by default? Or you mean that only my inline function comment would not appear? One more idea I had was that it might be interesting to be able to maintain properties for headlines that indicate the headline/body should be included as a comment in a specific source file. The reason I say this is that even if I write my code in org-mode, and in effect comment the code using org-mode constructs like headlines and free text, someone who just wants the tangled file might want to see comments, for example, function headers or something like that. Any thoughts on that? ___ 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
Re: [Orgmode] Export literally but convert math equations?
On May 28, 2010, at 5:32 PM, Uriel Avalos wrote: Is there a way to convert latex equations and math inside of EXAMPLE and HTML blocks? Well, the whole idea of example blocks is to *not* do this. What is the application for this? - Carsten For example, I would like to the following equation to display as an equation in the HTML: #+BEGIN_EXAMPLE Hello world $2^2+\sqrt(2) = 2$ #+END_EXAMPLE The current behavior just gives me the literal example. I would use other blocks (like BLOCKQUOTE); except that I need to preserve the extra whitespace. Alternatively: is there a way to preserve whitespace in the HTML export?-- --Thanks! Uriel ___ 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 - Carsten ___ 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
Re: [Orgmode] Inconsistent names for inserting export options
On May 20, 2010, at 2:34 PM, Giles Chamberlin wrote: Org-mode provides the ability to fine tune exported documents through a number of export options and conveniently provides interactive functiosn to insert boilerplate. The names are a little inconsistent though: org-insert-export-options-template org-beamer-settings-template How about renaming org-beamer-settings-template to org-insert-beamer-options-template? OK, I did this. Thanks - Carsten -- Giles ___ 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 - Carsten ___ 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
[Orgmode] Export literally but convert math equations?
Is there a way to convert latex equations and math inside of EXAMPLE and HTML blocks? For example, I would like to the following equation to display as an equation in the HTML: #+BEGIN_EXAMPLE Hello world $2^2+\sqrt(2) = 2$ #+END_EXAMPLE The current behavior just gives me the literal example. I would use other blocks (like BLOCKQUOTE); except that I need to preserve the extra whitespace. Alternatively: is there a way to preserve whitespace in the HTML export?-- --Thanks! Uriel ___ 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
Re: [Orgmode] Giving latex attributes to sections in export
Hi John, please check out this thread: http://thread.gmane.org/gmane.emacs.orgmode/12977/focus=13057 and then use org-special-blocks.el HTH - Carsten On May 22, 2010, at 11:50 PM, John Hendy wrote: Hi, I just emailed a similar question about tables... but how can one pass latex options inside of sections/subsections? I'd like something like this in my report: * History of experiments introduction text goes here... blah blah blah. A history of experiments and corresponding data tables will follow. \begin{landscape} ** Date of experiment 1 *** Conditions *** Data |table|of|data ** Date of experiment 1 *** Conditions *** Data |table|of|data \end{landscape} * Conclusion So... I'd like the report in portrait mode, but my tables are long enough that it makes sense to switch entirely to landscape for that portion of the report and then switch back for portrait for discussion. At present if I do either: \begin{landscape} #+BEGIN_LaTeX \begin{landscape} #+END_LaTeX then org-mode ignores the following section. It DOES actually rotate the orientation, but the tables are all in ASCII format and in the matching .tex file, instead of \subsection{name}, I just get a literal export of the subsection asterisks ("*** subsection name') exactly how it looks in org-mode. Something triggers org-mode to stop translating from org-mode structure into LaTeX. I've checked possible uses for property drawers and #+ATTR_LATEX seems only to apply to images... just not sure how to slip in various latex commands as they are needed. Best regards, John ___ 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 - Carsten ___ 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
Re: [Orgmode] [Musing] Daily stack
On May 26, 2010, at 9:28 AM, Bastien wrote: http://www.fubiz.net/2010/05/19/daily-stack/ This is fun! I like to see this implemented for Org - maybe some code from M-x Tetris could be reused :) -- Bastien ___ 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 - Carsten ___ 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
[Orgmode] [babel] `org-babel-tangle-w-comments' controls comment insertion in tangled code
Hi, The insertion of automatically generated comments in tangled source code is now controlled by the new `org-babel-tangle-w-comments' variable. Setting this variable to non-nil will allow org-babel to insert comments for those languages with comment support. This changes the default behavior. The default value for this variable is nil -- previously these comments were always inserted, now they are only inserted after setting `org-babel-tangle-w-comments' to a non-nil value. Best -- Eric ,[commit ff58dacc7ca83c07cd6a57eccda3a55e20019d95] | babel: `org-babel-tangle-w-comments' controls comment insertion in tangled code | | * contrib/babel/lisp/org-babel-tangle.el (org-babel-spec-to-string): | The insertion of automatically generated comments into tangled code | is now customizable through the `org-babel-tangle-w-comments' | variable. ` ___ 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
[Orgmode] [PATCH] org-gnus.el: Mention also Gmane in org-gnus-prefer-web-links
* org-gnus.el (org-gnus-prefer-web-links): Mention also Gmane in the doc string. --- lisp/org-gnus.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index 7c668ee..a41de2e 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -48,7 +48,7 @@ (defvaralias 'org-usenet-links-prefer-google 'org-gnus-prefer-web-links)) (defcustom org-gnus-prefer-web-links nil - "Non-nil means `org-store-link' will create web links to Google groups. + "If non-nil, `org-store-link' creates web links to Google groups or Gmane. When nil, Gnus will be used for such links. Using a prefix arg to the command \\[org-store-link] (`org-store-link') negates this setting for the duration of the command." -- 1.7.1 ___ 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
[Orgmode] Re: New development organization - DRAFT, please comment
David Maus writes: > This function could work for Gnus to push the message id of a message > to kill-ring and clipboard: BTW, when you read messages in Gnus, you can simply call `org-store-link', which will generate a link. Depending on `org-gnus-prefer-web-links' and the prefix arg, that will be a web link. ,[ C-h f org-store-link RET ] | org-store-link is an interactive compiled Lisp function in `org.el'. | | It is bound to C-c o l. | | (org-store-link ARG) | | Store an org-link to the current location. | This link is added to `org-stored-links' and can later be inserted | into an org-buffer with C-c C-l. | | For some link types, a prefix arg is interpreted: | For links to usenet articles, arg negates `org-gnus-prefer-web-links'. | For file links, arg negates `org-context-in-file-links'. ` ,[ C-h v org-gnus-prefer-web-links RET ] | org-gnus-prefer-web-links is a variable defined in `org-gnus.el'. | Its value is t | | Documentation: | Non-nil means `org-store-link' will create web links to Google groups. | When nil, Gnus will be used for such links. | Using a prefix arg to the command C-c o l (`org-store-link') | negates this setting for the duration of the command. | | You can customize this variable. ` Oh, the docs mention only Google groups, but it does the trick also for Gmane. Bye, Tassilo ___ 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
Re: [Orgmode] New development organization - DRAFT, please comment
Hi David, David Maus writes: > Hi Eric, >>I just used this file to record a babel change, and I really like the >>overall idea and the layout. A couple of things that occurred to me. > >>- would it be desirable to have a headline property (e.g. ASSIGNEE or >> somesuch) so that users can take responsibility of issues, and search >> for issues to which they've been assigned. > > Sounds reasonable. > Great, I will start using this if there are cases when I want to sign up for an issue, but won't fix it immediately. > >>- would it be difficult to tag babel files, i.e. messages with the >> "[babel]" marker in the headline, possibly in some automatic way, >> again to facilitate searching and sorting. > > This should be quite easy and I'll look into this. > Thanks. > >>- regarding the links to gmane articles? >> - this is really minor, but I personally prefer thread.gmane.org >>based links as they show the entire thread >> - how do we find the gmane id of a message? >> - is there an easy way to discover/generate gmane links say from >>information contained in an email? > > I've just found out that it is indeed possible to link to > thread.gmane.org using the resolver: > > http://news.gmane.org/find-root.php?message_id= > > Where MESSAGE-ID is the content of the message id header field. I've > changed this here so new issues will link to thread.gmane.org. > > This might answer the other two questions: It's the message id of an > email that can (and should) be used to generate a gmane link. > > Simply use the URL mentioned above for thread display, or > http://mid.gmane.org/MESSAGE-ID to link to a single message. In both > cases the message id should be hex-encoded (i.e. turning special chars > into escape sequence, @ -> %40 etc.) using `url-hexify-string'. > > This function could work for Gnus to push the message id of a message > to kill-ring and clipboard: > Thanks David, indeed the function your posted does work, and I was able to use it with the url you posted above to quickly access the gmane thread of this email. Your function below raises the idea that it may be nice to have a single place to host a small collection of functions related to use of org-issues.org. Maybe some form of the following simple functions could be useful. --8<---cut here---start->8--- (defun org-issues/gmane-browse-message (id) "Browse the message specified by ID in gmane." (org-open-link-from-string (format "http://news.gmane.org/find-root.php?message_id=%s"; id))) (defun org-issue/gmane-browse () "Browse the message related to the current org-issues.org headline in gmane." (interactive) (org-issues/gmane-browse-message (substring (org-entry-get (point) "ID" t) 4))) --8<---cut here---end--->8--- Much Appreciated -- Eric > > , > | (defun dmj/gnus-get-message-id () > | "Push message id of current message to killring and clipboard." > | (interactive) > | (when (memq major-mode '(gnus-summary-mode gnus-article-mode)) > | (let* ((header (with-current-buffer gnus-summary-buffer > | (gnus-summary-article-header))) > |(message-id (url-hexify-string > | (org-remove-angle-brackets (mail-header-id header) > | (org-kill-new message-id) > | (when (fboundp 'x-set-selection) > | (ignore-errors (x-set-selection 'PRIMARY message-id)) > | (ignore-errors (x-set-selection 'CLIPBOARD message-id)) > ` > > HTH > -- David > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber dmj...@jabber.org > Email. dm...@ictsoc.de ___ 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
Re: [Orgmode] [babel] Tangle multiple sections source blocks into single file without #+source: ...
Hi Rainer, The first option you suggested below should already be supported. For example the following org-mode text --8<---cut here---start->8--- * appending tangle :PROPERTIES: :tangle: appended.el :END: append all these block #+begin_src emacs-lisp (message "block %d" 1) #+end_src #+begin_src emacs-lisp (message "block %d" 2) #+end_src #+begin_src emacs-lisp (message "block %d" 3) #+end_src --8<---cut here---end--->8--- tangles all three blocks to the file append.el. Please try something analogous and let me know if it doesn't work. Best -- Eric Rainer M Krug writes: > Hi > > I am using org-babel to write a simulation model and the accompanying > documentation and it works as expected. But I have many source blocks which > I want to tangle into the same source file. At the moment, I am using > "#+source: BLOCKNAME" (see below). But it is easy to forget to add the block > name to the actual tangle block at the bottom. Is there a way of: > > 1) tangle all source blocks into the same file? As far as I am aware, a new > tangle to the same file name, overwrites the already existing file --- I > would like to append the new code block to the existing file. > > or > > 2) is there a keyboard shortcut, that I can add the name of the block to the > actual tangle block automatically, when the e.g. block name is selected? > > Thanks, > > Rainer > * Here I am doing this > #+source: Block1 > #+begin_src R > some code > #+end_src > > * Here I am doing that > #+source: Block2 > #+begin_src R > some code > #+end_src > > * Creation of Source.R > #+begin_src R :tangle source.R > <> > <> > #+end_src ___ 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
[Orgmode] [PATCH] Escape percent character in `org-fixup-message-id-for-http'
A message id header field can contain the percent sign which must be escaped in the context of a url. David Maus (1): Escape percent character. ___ 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
[Orgmode] [PATCH] Escape percent character.
* org.el (org-fixup-message-id-for-http): Escape percent character. --- lisp/org.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 33f395b..00de5dc 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8273,6 +8273,12 @@ This is the list that is used before handing over to the browser.") (defun org-fixup-message-id-for-http (s) "Replace special characters in a message id, so it can be used in an http query." + (when (string-match "%" s) +(setq s (mapconcat (lambda (c) +(if (eq c ?%) +"%25" + (char-to-string c))) + s ""))) (while (string-match "<" s) (setq s (replace-match "%3C" t t s))) (while (string-match ">" s) -- 1.7.1 ___ 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
[Orgmode] Improved org-timer-set-timer
Hi all, I've improved `org-timer-set-timer' again: ,[ `org-timer-set-timer': new prefix argument. ] | Called with a numeric prefix argument, `org-timer-set-timer' uses | this numeric value as the duration of the timer. | | Called with a `C-u' prefix argument, use `org-timer-default-timer' | without prompting the user for a duration. | | With two `C-u' prefix arguments, use `org-timer-default-timer' | without prompting the user for a duration and automatically | replace any running timer." ` The thing we need now is a way to display the timer in the modeline. Thanks for Frédéric Couchet for ideas in this direction. -- Bastien ___ 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
[Orgmode] MobileOrg for Android starts to become really usable
Hi to all, hi Matthew I had a look at matburt's Github today and found the new 0.4alpha-build. Now, MobOrg4And supports the capturing of notes. That's what I was waiting for all the time. I can say that Note capturing works on my HTC Magic, albeit I had little time so far to test it more than once or twice. I just wanted to say thank you very much! Note taking is rudimentary at the moment. As far as I can see, you have to type todo-keywords, tags and active timestamps manually. But that doesn't matter too much at the moment. The current alternatives (RTM, Toodledo) have similar inconveniences. However, in MobOrg4And we are in our familiar org-syntax, so /everything/ can be done without complex awk/sed operations after syncing. @Matthew: Do you have some kind of roadmap published anywhere? Greetings, Sven ___ 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
Re: [Orgmode] use of org-export-latex-verbatim-wrap
On May 26, 2010, at 6:20 PM, Juan Pechiar wrote: Trying to adjust the style for fixed-width sections in LaTeX export (drawers in particular), I found org-latex.el defines a customizable wrapper for verbatim sections: (defcustom org-export-latex-verbatim-wrap '("\\begin{verbatim}\n" . "\\end{verbatim}\n") "Environment to be wrapped around a fixed-width section in LaTeX export. This is a cons with two strings, to be added before and after the fixed-with text. But this variable is _only_ used in org-exp.el in function org-export-format-source-code-or-example All other fixed-width latex generation uses explicit "\verbatim" text instead of the wrapper variables. Is this the only intended use for org-export-latex-verbatim-wrap? If not, then I can look into this and provide a patch for using the wrapper variable in all appropriate places. Hi Juan, I would not want to use this also for drawers - it is really meant for example sections. For formatting drawers, please take a look at the variable org-export- format-drawer-function. You can set it to a function which does the formatting of the drawer any way you like. An example of how such a function has to be written is the function org-export-format-drawer. Greetings - Carsten Saludos, .j. ___ 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 - Carsten ___ 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
Re: [Orgmode] bug: remember id agenda
On May 28, 2010, at 6:47 AM, Samuel Wales wrote: Same. Ah, you are right, there is a bug here. Fixed now. - Carsten On 2010-05-27, Carsten Dominik wrote: Hi Samuel, On May 28, 2010, at 5:53 AM, Samuel Wales wrote: For months, I found ID properties where they didn't belong. Finally I found that they are added when I do M-x org-remember in an agenda buffer, to the headline under point. Feels like a bug. Is it? What is the value of the variable `org-link-to-org-use-id' in your setup? The default setting for this variable is `create-if-interactive-and- no- custom-id', and that should not make an ID when Org is creating a link as remember annotation. - Carsten -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly disease for 25 years] == Retrovirus: http://www.wpinstitute.org/xmrv/index.html - Carsten ___ 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
Re: [Orgmode] New development organization - DRAFT, please comment
Hi Eric, >I just used this file to record a babel change, and I really like the >overall idea and the layout. A couple of things that occurred to me. >- would it be desirable to have a headline property (e.g. ASSIGNEE or > somesuch) so that users can take responsibility of issues, and search > for issues to which they've been assigned. Sounds reasonable. >- would it be difficult to tag babel files, i.e. messages with the > "[babel]" marker in the headline, possibly in some automatic way, > again to facilitate searching and sorting. This should be quite easy and I'll look into this. >- regarding the links to gmane articles? > - this is really minor, but I personally prefer thread.gmane.org >based links as they show the entire thread > - how do we find the gmane id of a message? > - is there an easy way to discover/generate gmane links say from >information contained in an email? I've just found out that it is indeed possible to link to thread.gmane.org using the resolver: http://news.gmane.org/find-root.php?message_id= Where MESSAGE-ID is the content of the message id header field. I've changed this here so new issues will link to thread.gmane.org. This might answer the other two questions: It's the message id of an email that can (and should) be used to generate a gmane link. Simply use the URL mentioned above for thread display, or http://mid.gmane.org/MESSAGE-ID to link to a single message. In both cases the message id should be hex-encoded (i.e. turning special chars into escape sequence, @ -> %40 etc.) using `url-hexify-string'. This function could work for Gnus to push the message id of a message to kill-ring and clipboard: , | (defun dmj/gnus-get-message-id () | "Push message id of current message to killring and clipboard." | (interactive) | (when (memq major-mode '(gnus-summary-mode gnus-article-mode)) | (let* ((header (with-current-buffer gnus-summary-buffer |(gnus-summary-article-header))) | (message-id (url-hexify-string | (org-remove-angle-brackets (mail-header-id header) | (org-kill-new message-id) | (when (fboundp 'x-set-selection) | (ignore-errors (x-set-selection 'PRIMARY message-id)) | (ignore-errors (x-set-selection 'CLIPBOARD message-id)) ` HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpsSc0CHqHeB.pgp Description: PGP signature ___ 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