Re: [Orgmode] [BABEL] unset :var definitions for subtree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/10/2011 02:27 AM, Eric Schulte wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi For one project, I am usinr org to write submit scripte to a cluster runing torqu. The important bit in this is, that between the shebang and the code, no other executable line must occur. As I am using variables in org (:var) they will occur just after the shebang, which causes a problem for torque. So, my question is, is there a way to unset variables defined by using :var for a subtree? Hi Rainer, Interesting question... unfortunately I don't think that removing variables from header arguments is possible under the current setup. Perhaps in your case you could add a function to the post-tangle hook, which recognizes when it is being called in a just-tangled torqu script (maybe by searching for a series of #PBS lines), and then removes any lines between the shebang and the first #PBS line? That is also an option - what I am using at the moment is to use :no-expand as a code block specific header argument. But this raises the other question: Can I set the :no-expand in a properties block? As far as I understand, in the properties block I have the argument and the value - but what do I do with :noexpand? :PROPERTIES: :var: A=13 :no-expand :END: More generally, I wonder what a natural method would be to allow unsetting of pre-set header arguments for local blocks or subtrees? This may only apply to the :var header argument, as most others have a default setting which can be actively set. If you have any ideas for a natural syntax for such an operation I'd be happy to hear it. First solution (probably the easiest to implement) would be along the lines of the :no-expand header argument - :expand-var yes and :expand-var no This could possibly be expanded to :expand-var A B C which would expand only the variables A B and C One step further: one could define groups of variables, like :var-group X=A,B,C or a similar syntax and then :expand-var X would expand A B and C This all would not be real unset - but a possibility for unsetting would be :var B= or :var-unset B i.e. if no value is specified in :var, the variable will be removed (i.e. unset) - one could also use a null value (if it exists in elisp): :var B=(null) But this raises another question of mine: I tried to use two :var headers in a properties block, but it only used the first - did I miss something here? Cheers, Rainer Cheers -- Eric #+BABEL: :session *R* :results output :exports both :tangle Analysis_sensitivity.R :var RESULTSDIR=/media/Results/ :var ANALYSISDIR=~/Documents/Projects/analysis/ * submit script (SA.sub) :PROPERTIES: :tangle: ./SA.sub :exports: code :END: #+begin_src sh #PBS -j y #PBS -M rai...@krugs.de #PBS -V #PBS -l nodes=1:mem=4gb ## cd $PBS_O_WORKDIR #+end_src I would need the tangled code to be : #!/bin/bash #PBS -j y #PBS -M rai...@krugs.de #PBS -V #PBS -l nodes=1:mem=4gb ## cd $PBS_O_WORKDIR But it is #!/bin/bash RESULTSDIR=/media/Results/ ANALYSISDIR=~/Documents/Projects/analysis/ #PBS -j y #PBS -M rai...@krugs.de #PBS -V #PBS -l nodes=1:mem=4gb ## cd $PBS_O_WORKDIR But RESULTSDIR and ANALYSISDIR is used in the remainder of the document (several other subtrees) Any help appreciated, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel:+33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1TotIACgkQoYgNqgF2egr+6wCfXk2HxVpLA6pfAExRJDsWi/j/ 5YwAn1bINit/4aB5wFwWV3J3v7piIXhL =ctxl -END 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
Re: [Orgmode] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
On Feb 9, 2011, at 5:37 PM, Bastien wrote: Julien Danjou jul...@danjou.info writes: On Sat, Feb 05 2011, Matt Lundin wrote: This results in only a day view because org-agenda-current-span is still 'day. Here's a proposal fix. I applied it to early, I made the error of not testing it with a bare emacs -q. The fix is not okay. Let's find a better solution. I am not sure if I know exactly what the remaining problem is. Could someone summarize this - I'd be happy to take a look and see if I can fix it. - 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] Re: Underscores in HTML Exported URLs get backslashes added
Jonathan Arkell jonath...@criticalmass.com writes: Hi list I am having a problem, and my google-fu is a little weak in finding the solution. Whenever I do an HTML export of an org-page if a URL contains underscores in it it will be exported escaped with a backslash in the text of the url. For instance if I have an org buffer: ** Some foo title for context this is an url: http://somefoo.com/this_is_broken Will get exported to: h2 id=sec-2 Some foo title for context /h2 p this is an url: a href=http://somefoo.com/this_is_broken;http://somefoo.com/this\_is\_broken/a/p Does anyone have any idea what is going on? Hi Jonathan, Just wrap the http:// ... in [[ ]] as in [[http://somefoo.com/this_is_broken]] Regards, Bernt ___ 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] Org support for the notmuch mail client
Hi Bastien, I'm not using notmuch myself and I would welcome feedback from notmuch Org users. I would happily add it to org-mode/contrib/lisp if this is proves useful to several people around. Just to say that I use Matthieu's code to do my daily email to todolist conversion. Nothing spectacular but works reliably as advertised. In my opinion it would be a useful addition to org-mode. Andreas ___ 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] Re: [BABEL] Editing dot blocks with org-exp-blocks
Eric Schulte schulte.e...@gmail.com writes: [...] I also vote for removing the dot and ditaa block types from org-exp-blocks, left over from before the existence of begin_src blocks. As the original developer of org-exp-blocks, I no longer maintain it in favor of focusing on begin_src blocks. The only downside to removing these block types is breaking existing Org-mode files... Perhaps we could add a deprecation warning which will appear as a message every time a begin_dot or begin_ditaa blocks is evaluate, then after a month or so of warning we can remove those blocks entirely. Thoughts? -- Eric Completely in favour ... ... so long as the message either provides a clear description of how to change from =begin_X= to =begin-src X= or gives a link to this clear description in the manual, say. I haven't changed the various begin_X blocks yet because of the uncertainty in the mapping from one to the other... and because I've been lazy, I guess ;-) -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.330.g7473e.dirty) ___ 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] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
On Thu, Feb 10 2011, Carsten Dominik wrote: I am not sure if I know exactly what the remaining problem is. Could someone summarize this - I'd be happy to take a look and see if I can fix it. The problem is that org-agenda-list, when called use as span either: (or span org-agenda-current-span org-agenda-span) Or, when defining a custom agenda view, and calling it, the Agenda buffer is reused. Therefore, if your agenda view locally bind org-agenda-span to 'day, whereas org-agenda-current-span was previously set to 'week, it does not work. This is why I've added a kill-local-variable in custom agenda view, which seems quite a good thing. Bastien says it does not work with emacs -q, but I don't why unfortunately. Bastien? -- Julien Danjou ❱ http://julien.danjou.info pgpnQaxzd7YaH.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
Re: [Orgmode] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
Hi Carsten On Thu, Feb 10, 2011 at 10:20, Carsten Dominik carsten.domi...@gmail.com wrote: I am not sure if I know exactly what the remaining problem is. Could someone summarize this - I'd be happy to take a look and see if I can fix it. Not the summary you asked for but a related issue, could you please also consider the following? * test case: `d g' in custom agenda view 1) emacs -q --eval (progn \ (global-set-key (kbd \C-c a\) 'org-agenda) \ (setq org-agenda-custom-commands \ '((\x\ \test\ ((agenda)) 2) C-c a a d g: `g' stays in view day like expected 3) C-c a x d g: `g' changes back to view week but I expect it to stay in view day like above This is described as issue part 1) in this post/thread http://thread.gmane.org/gmane.emacs.orgmode/35403/focus=36776 and like described there was introduced with the commit http://orgmode.org/w/org-mode.git/commitdiff/0d0edd6d21ade8e8617c51e3594ea4e87040e05f * test case: `w f d g' in custom agenda view 1) emacs -q --eval (progn \ (global-set-key (kbd \C-c a\) 'org-agenda) \ (setq org-agenda-custom-commands \ '((\x\ \test\ ((agenda)) 2) C-c a a f d g: `g' stays on the day of the next week like expected 3) C-c a x f d g: `g' does not stay on the day of the next week but is expected to do like above This is described as issue part 2) also in this post/thread http://thread.gmane.org/gmane.emacs.orgmode/35403/focus=36776 (unlike the above this is not related with the commit mentioned above) Michael ___ 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] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
On Feb 10, 2011, at 11:51 AM, Julien Danjou wrote: On Thu, Feb 10 2011, Carsten Dominik wrote: I am not sure if I know exactly what the remaining problem is. Could someone summarize this - I'd be happy to take a look and see if I can fix it. The problem is that org-agenda-list, when called use as span either: (or span org-agenda-current-span org-agenda-span) Or, when defining a custom agenda view, and calling it, the Agenda buffer is reused. Therefore, if your agenda view locally bind org-agenda-span to 'day, whereas org-agenda-current-span was previously set to 'week, it does not work. This is why I've added a kill-local-variable in custom agenda view, which seems quite a good thing. Bastien says it does not work with emacs -q, but I don't why unfortunately. Bastien? No, I believe you did kill-all-local-variables, which is a very bad idea. Org uses local variables to remember settings when refreshing. And apparently this call was executed in an innocent org buffer, reverting its major mode to fundamental mode. :) But maybe you can just delocalize that one variable instead, using kill-local-variable? - 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] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
Hi Michael, thanks. - Carsten On Feb 10, 2011, at 12:18 PM, Michael Brand wrote: Hi Carsten On Thu, Feb 10, 2011 at 10:20, Carsten Dominik carsten.domi...@gmail.com wrote: I am not sure if I know exactly what the remaining problem is. Could someone summarize this - I'd be happy to take a look and see if I can fix it. Not the summary you asked for but a related issue, could you please also consider the following? * test case: `d g' in custom agenda view 1) emacs -q --eval (progn \ (global-set-key (kbd \C-c a\) 'org-agenda) \ (setq org-agenda-custom-commands \ '((\x\ \test\ ((agenda)) 2) C-c a a d g: `g' stays in view day like expected 3) C-c a x d g: `g' changes back to view week but I expect it to stay in view day like above This is described as issue part 1) in this post/thread http://thread.gmane.org/gmane.emacs.orgmode/35403/focus=36776 and like described there was introduced with the commit http://orgmode.org/w/org-mode.git/commitdiff/0d0edd6d21ade8e8617c51e3594ea4e87040e05f * test case: `w f d g' in custom agenda view 1) emacs -q --eval (progn \ (global-set-key (kbd \C-c a\) 'org-agenda) \ (setq org-agenda-custom-commands \ '((\x\ \test\ ((agenda)) 2) C-c a a f d g: `g' stays on the day of the next week like expected 3) C-c a x f d g: `g' does not stay on the day of the next week but is expected to do like above This is described as issue part 2) also in this post/thread http://thread.gmane.org/gmane.emacs.orgmode/35403/focus=36776 (unlike the above this is not related with the commit mentioned above) Michael - 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] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
On Thu, Feb 10 2011, Carsten Dominik wrote: No, I believe you did kill-all-local-variables, which is a very bad idea. Org uses local variables to remember settings when refreshing. And apparently this call was executed in an innocent org buffer, reverting its major mode to fundamental mode. :) That explains everything! My bad! But maybe you can just delocalize that one variable instead, using kill-local-variable? It's a possibility, but I think it's more logical to reset every local variable. I think this call should be used in the appropriate buffer, the agenda one, then. I'll try to send a patch later, but if you have time please do so. :) -- Julien Danjou ❱ http://julien.danjou.info pgpADO4tI50lk.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
[Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble
Here is a patch against latest git Org that tries to simplify the handling of HTML preamble/postamble: I find the interaction between :preamble and :auto-preamble a bit confusing and a recent questions by Jeff on customizing org-export-html-preamble raised this issue. So here is what I suggest: - `org-export-html-preamble' is a custom variable to tell whether a HTML preamble should be included or not; - `org-export-html-preamble-format' is a format string controlling what is included in the preamble; - In publishing project, everything is done from :html-preamble: + when `t', inserts a preamble with the default formatting + when an alist, insert a preamble with this alist formatting + when nil, no preamble is inserted. (Same for postamble). This also let people use their own HTML classes, language-based preamble/postamble, etc. Would people welcome such a simplification? Thanks! From 823130bde38a5fb644292f4fa98b29f418c36262 Mon Sep 17 00:00:00 2001 From: Bastien Guerry b...@altern.org Date: Thu, 10 Feb 2011 13:19:37 +0100 Subject: [PATCH] Rewrite the handling of HTML preamble/postamble. * org-html.el (org-export-html-auto-preamble) (org-export-html-auto-postamble): Remove. (org-export-html-preamble, org-export-html-postamble): Turn into custom variables. Update the docstrings. (org-export-html-preamble-format) (org-export-html-postamble-format): New custom variables. (org-export-as-html): Use org-export-html-postamble-format and org-export-html-preamble-format. (org-export-html-title-format): delete. * org-exp.el (org-export-plist-vars): Remove :auto-preamble and :auto-postamble. Rename :preamble and :postamble to :html-preamble and :html-postamble. * org-publish.el (org-publish-project-alist): Remove :auto-preamble and :auto-postamble. Rename :preamble and :postamble to :html-preamble and :html-postamble. * org.texi (Publishing options): replace :preamble and :auto-preamble by :html-preamble (same for postamble.) --- doc/org.texi| 11 +--- lisp/org-exp.el |6 +-- lisp/org-html.el| 137 ++ lisp/org-publish.el |6 +-- 4 files changed, 89 insertions(+), 71 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 8838295..a029e4b 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -10837,8 +10837,6 @@ respective variable for details. @vindex org-export-publishing-directory @vindex org-export-html-preamble @vindex org-export-html-postamble -@vindex org-export-html-auto-preamble -@vindex org-export-html-auto-postamble @vindex user-full-name @vindex user-mail-address @vindex org-export-select-tags @@ -10886,10 +10884,8 @@ respective variable for details. @item @code{:expand-quoted-html}@tab @code{org-export-html-expand} @item @code{:timestamp} @tab @code{org-export-html-with-timestamp} @item @code{:publishing-directory} @tab @code{org-export-publishing-directory} -@item @code{:preamble} @tab @code{org-export-html-preamble} -@item @code{:postamble} @tab @code{org-export-html-postamble} -@item @code{:auto-preamble} @tab @code{org-export-html-auto-preamble} -@item @code{:auto-postamble}@tab @code{org-export-html-auto-postamble} +@item @code{:html-preamble} @tab @code{org-export-html-preamble} +@item @code{:html-postamble}@tab @code{org-export-html-postamble} @item @code{:author}@tab @code{user-full-name} @item @code{:email} @tab @code{user-mail-address} : @code{addr;addr;..} @item @code{:select-tags} @tab @code{org-export-select-tags} @@ -11101,8 +11097,7 @@ right place on the web server, and publishing images to it. :table-of-contents nil :style link rel=\stylesheet\ href=\../other/mystyle.css\ type=\text/css\/ - :auto-preamble t - :auto-postamble nil) + :html-preamble t) (images :base-directory ~/images/ diff --git a/lisp/org-exp.el b/lisp/org-exp.el index c38436a..6350983 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -629,10 +629,8 @@ table.el tables. (:expand-quoted-html @ org-export-html-expand) (:timestamp nil org-export-html-with-timestamp) (:publishing-directorynil org-export-publishing-directory) -(:preamble nil org-export-html-preamble) -(:postamble nil org-export-html-postamble) -(:auto-preamble nil org-export-html-auto-preamble) -(:auto-postamble nil org-export-html-auto-postamble) +(:html-preamble nil org-export-html-preamble) +(:html-postamble nil org-export-html-postamble) (:author nil user-full-name) (:email nil user-mail-address) (:select-tags nil org-export-select-tags) diff --git a/lisp/org-html.el b/lisp/org-html.el index 58c65bf..508165a 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -29,6 +29,7 @@ ;;; Code:
Re: [Orgmode] Re: Underscores in HTML Exported URLs get backslashes added
Hi, Bernt Hansen be...@norang.ca writes: Just wrap the http:// ... in [[ ]] as in [[http://somefoo.com/this_is_broken]] This happens automatically, even when inbuffer links are not surrounded by brackets -- unless some org-export-preprocess-final-hook is reverting the normalization of links. Jonathan, what version of Org are you using? Can you reproduce your problem with a bare Emacs (~$ emacs -q)? Thanks, -- 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] Re: Announcing org-contacts, a bbdb-like contact manager for Org
Julien, This is pretty neat. I would like to use this eventually, as bbdb exhibits some strange behaviors occasionally, and the data is kind of locked into bbdb's own peculiar format. What I would need to see before I could make org-contacts part of my workings system is an analogue to bbdb/gnus-split-method, that is, an org-contacts function that would hook into nnimap-split-rule so incoming messages could be deposited into folders based on a specific property, for example, gnus-private. Thank you for your great work. I really think there is huge potential in this. Dan -- -- Dan Griswold Rochester, NY -- ___ 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] Announcing org-contacts, a bbdb-like contact manager for Org
On Wed, Feb 9, 2011 at 2:42 PM, Julien Danjou jul...@danjou.info wrote: On Wed, Feb 09 2011, John Hendy wrote: You add what you want. Org-contacts does not care at all. It just use some fields like EMAIL for Gnus completion, so it has to know it. Other fields are up to your choices. That would be easy. Maybe a vcard export even? Just my thoughts! I was very excited to see this in my inbox and look around. I'm assuming with the right fields, my current system would already be in the right syntax to integrate with this, so I'm interested to hear your answers to the above. I think so, yes. Org-contacts let you be free about how you manage your contacts, so it should adapt to your current organization. Great -- thanks for the response. Though, did you see my other email? I've pointed it toward my contacts.org file and it wants to keep doing something odd with agenda and asking to remove lines from the file itself. What do you think about the errors I'm getting? To duplicate: ,- | I just gave it a whirl, but am having a strange result. Here were my steps: | - org-contacts.el moved to load path | - added =(require 'org-contacts)= to .emacs | - created ~/org/contact-example.org and used your website's example of Dave Null | - I used org-customize to set the definition of the =org-contacts-files= variable like so: | ,- | | (custom-set-variables | | '(org-contacts-files /home/jwhendy/org/contact-example.org)) | `- | - restarted emacs and did 'M-x org-contacts' followed by typing dave | - the minibuffer shows the following: | ,- | | non-existent agenda file ~/org/#+startup: showeverything. [R]emove from list or [A]bort? | `- | | Removing the line just moves to the next line and asks if I want to remove '~/org/* Friends', then '~/org/** Dave Null' and so on. | | What am I doing wrong? `-- Is anyone else having that issue? Thanks, John -- Julien Danjou ❱ http://julien.danjou.info ___ 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] Announcing org-contacts, a bbdb-like contact manager for Org
On Thu, Feb 10 2011, John Hendy wrote: Is anyone else having that issue? (custom-set-variables '(org-contacts-files '(/home/jwhendy/org/contact-example.org))) will work better. -- Julien Danjou ❱ http://julien.danjou.info pgp8Zq9JpFsiw.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
Re: [Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org
On Thu, Feb 10 2011, Dan Griswold wrote: This is pretty neat. I would like to use this eventually, as bbdb exhibits some strange behaviors occasionally, and the data is kind of locked into bbdb's own peculiar format. What I would need to see before I could make org-contacts part of my workings system is an analogue to bbdb/gnus-split-method, that is, an org-contacts function that would hook into nnimap-split-rule so incoming messages could be deposited into folders based on a specific property, for example, gnus-private. Yeah, this has been already asked. I don't know this mechanism well, but I'll try to study it and implement such a thing. It shouldn't be too hard. -- Julien Danjou ❱ http://julien.danjou.info pgpKLEQg4Rmm9.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
[Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org
Julien Danjou jul...@danjou.info writes: Hi, Following my short presentation at the Paris OrgCamp, I've now written a page and officially released org-contacts. It is a contact manager based on Org, that can possibly replace BBDB for certain usage. http://julien.danjou.info/org-contacts.html Hi Julien, I'm using it (with gnus). Looks great and seems to work very nicely so far. One little thing: I don't seem to be getting case-insensitive completion, despite having org-contacts-completion-ignore-case set to t. Side-issue: Columns view is going to be nice for editing our org-contacts file. Can someone tell me if there is a way to instruct a file (or subtree) to start up in columns view, rather than having to issue C-c C-x C-c manually? (Like #+startup: columns or something)? Thanks very much, Dan ___ 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] Solved the problem of org-capture apparently not working
Charles Cave charles.c...@gmail.com writes: In early January I posted what I thought was a bug report with org-capture. Fixed, thanks! -- 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
Re: [Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org
On Thu, Feb 10 2011, Dan Davison wrote: Hi Julien, I'm using it (with gnus). Looks great and seems to work very nicely so far. One little thing: I don't seem to be getting case-insensitive completion, despite having org-contacts-completion-ignore-case set to t. Your the second one to report that to me, but it does work for me with Emacs 24 at least. -- Julien Danjou ❱ http://julien.danjou.info pgpV1ZZLhiVQf.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
Re: [Orgmode] [PATCH] Solved the problem of org-capture apparently not working
Hi, On Thu, Feb 10, 2011 at 8:26 PM, Bastien bastien.gue...@wikimedia.fr wrote: Hi Puneeth, Puneeth Chaganti puncha...@gmail.com writes: Attached is a patch that fixes this, by using the org-datetree-base-level variable. More details in the commit message. I applied a more general solution for years, months and days datetrees. Thanks for your patch anyway, it helped me better understand the issue! Thanks. I like the way, it's been fixed. :) -- Puneeth ___ 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: Announcing org-contacts, a bbdb-like contact manager for Org
Julien Danjou jul...@danjou.info writes: On Thu, Feb 10 2011, Dan Davison wrote: Hi Julien, I'm using it (with gnus). Looks great and seems to work very nicely so far. One little thing: I don't seem to be getting case-insensitive completion, despite having org-contacts-completion-ignore-case set to t. Your the second one to report that to me, but it does work for me with Emacs 24 at least. I have the exact same issue, using a fairly recent emacs-24 checkout. Other than that, works as advertised, Great work! -- Rodrigo Lazo ___ 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] [PATCH] Simplifying the handling of HTML preamble/postamble
Manuel Giraud manuel.gir...@univ-nantes.fr writes: Bastien bastien.gue...@wikimedia.fr writes: Would people welcome such a simplification? I've tried it and find it better (and simpler) then with :auto-preamble/:preamble. Thanks for the feedback! Some comments: + example in info file is not the same as before because postamble is on by default (maybe we could put a formated string as example here) I'll put two examples, one with :html-preamble t and another one with :html-postamble using a format string. As for org-export-html-preamble and -postamble being t by default, it's a mistake I made. I think they should default to nil. But I'd welcome another opinion! + I was confused by /html/ in :html-preamble but since only html exports use it I guess that makes sense. Yes, I think it clarifies things. -- 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
Re: [Orgmode] Automatic noexport tag based on rules?
Hello, Eric S Fraga writes: You can then customise =org-inlinetask-export-templates= to generate latex code that basically ignores the inline task. For the record, if the goal is to completely ignore inline tasks upon exporting, you should set org-inlinetask-export to nil instead of modifying org-inlinetask-export-templates. Regards, -- Nicolas ___ 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] Re: Tags position in regular agenda view?
Hi Tommy, Tommy Kelly tommy.ke...@verilab.com writes: Note to the org-mode gods; that variable doesn't seem to appear anywhere in the manual. (I see that it is mentioned, however, in your doc Bernt). Thanks for spotting this -- I've now added a note to this in the manual. Best, -- 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
Re: [Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble
Bastien bastien.gue...@wikimedia.fr writes: As for org-export-html-preamble and -postamble being t by default, it's a mistake I made. I think they should default to nil. But I'd welcome another opinion! For the postamble maybe. But for the preamble, I don't think it is a good idea to remove the h1 title by default (but maybe I'm wrong : how is it done in others export formats?) -- Manuel Giraud ___ 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: Announcing org-contacts, a bbdb-like contact manager for Org
Julien Danjou jul...@danjou.info writes: Hi Julien, One little thing: I don't seem to be getting case-insensitive completion, despite having org-contacts-completion-ignore-case set to t. Your the second one to report that to me, Yeah, I mentioned that on irc. but it does work for me with Emacs 24 at least. I'm also using Emacs 24, and for me it doesn't work. GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.1) of 2011-02-07 on thinkpad When at the start of the To: header, I have to start with Atab to complete to some of the various Andreases. atab simply inserts a tab character after the a. 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] [BABEL] unset :var definitions for subtree
Rainer M Krug r.m.k...@gmail.com writes: On 02/10/2011 02:27 AM, Eric Schulte wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi For one project, I am usinr org to write submit scripte to a cluster runing torqu. The important bit in this is, that between the shebang and the code, no other executable line must occur. As I am using variables in org (:var) they will occur just after the shebang, which causes a problem for torque. So, my question is, is there a way to unset variables defined by using :var for a subtree? Hi Rainer, Interesting question... unfortunately I don't think that removing variables from header arguments is possible under the current setup. Perhaps in your case you could add a function to the post-tangle hook, which recognizes when it is being called in a just-tangled torqu script (maybe by searching for a series of #PBS lines), and then removes any lines between the shebang and the first #PBS line? That is also an option - what I am using at the moment is to use :no-expand as a code block specific header argument. But this raises the other question: Can I set the :no-expand in a properties block? As far as I understand, in the properties block I have the argument and the value - but what do I do with :noexpand? :PROPERTIES: :var: A=13 :no-expand :END: You can just set it to yes or really any value you like (the value will be ignored). I did however have to add no-expand to the list of header argument names searched for in property blocks -- I just pushed up a patch to this effect. More generally, I wonder what a natural method would be to allow unsetting of pre-set header arguments for local blocks or subtrees? This may only apply to the :var header argument, as most others have a default setting which can be actively set. If you have any ideas for a natural syntax for such an operation I'd be happy to hear it. First solution (probably the easiest to implement) would be along the lines of the :no-expand header argument - :expand-var yes and :expand-var no This could possibly be expanded to :expand-var A B C which would expand only the variables A B and C One step further: one could define groups of variables, like :var-group X=A,B,C or a similar syntax and then :expand-var X would expand A B and C This all would not be real unset - but a possibility for unsetting would be :var B= or :var-unset B i.e. if no value is specified in :var, the variable will be removed (i.e. unset) - one could also use a null value (if it exists in elisp): :var B=(null) Thanks for the ideas, I think you're right that something along the lines of the above should be the easiest to implement, however after reading these suggestions, I'm thinking that more generally there are a couple of other header arguments which could need to be unset, namely - file - dir - session - shebang some of these (like session) accept a none value which has the effect of un-setting the header argument. It would be nice to generalize whatever solution we apply across all types of header argument (both for implementation and for user simplicity). The simplest option would probably be to ensure that setting any header argument to :none would remove all instances of that header argument. The only problem there is cases like var, where you might not want to remove all :var's. Maybe this could be expanded s.t. :none could take arguments, e.g. :header :none(A, B) which would remove all instances of the header header argument whose value is or is named A or B? Or does that look too funky? But this raises another question of mine: I tried to use two :var headers in a properties block, but it only used the first - did I miss something here? Nope, it appears that property blocks (like a hash) assume that there is only one instance of each key-value pair, so once it is satisfied it will quit looking for more instances. Maybe the following alternative will suffice Best -- Eric ** two vars in a properties block -- not possible :PROPERTIES: :var: test1=7 :var: test2=8 :END: #+begin_src emacs-lisp (message test1=%S test2=%S test1 test2) #+end_src results in Error : let: Symbol's value as variable is void: test2 *** an alternative :PROPERTIES: :var: tests=all-tests :END: #+tblname: all-tests - 7 - 8 #+begin_src emacs-lisp :var eric=89 (message test1=%S test2=%S (first tests) (second tests)) #+end_src #+results: : test1=7 test2=8 ___ 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] Re: Announcing org-contacts, a bbdb-like contact manager for Org
On Thu, Feb 10 2011, Tassilo Horn wrote: I'm also using Emacs 24, and for me it doesn't work. Ok. Anyway I've just double checked, and it worst than that. Typing 'a' complete to 'aA' (instead of 'Anne mailaddress') and then does nothing since aA is not valid. I'm not sure completion-at-point-functions is correctly usable in this same dondition as message/bbdb completion was. The latter used to return a function which is marked as decouraged in `completion-at-point-functions' docstring. So org-contacts does not use it. OTOH, returning a (START END COLLECTION) triplet is not very usable since if you return a collection that start with a different character set than (buffer-substring start end), it does not work. (Cc'ing emacs-devel, in case someone has an advice on that.) -- Julien Danjou ❱ http://julien.danjou.info pgpthYbUUMptR.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
Re: [Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org
This is amazing; if you export as HTML, it even preserves the color-scheme from the theme! I think I need to do this: C-x C-r Read the fine org manual RET Thank you! Marcelo. On Wed, Feb 9, 2011 at 3:10 PM, Russell Adams rlad...@adamsinfoserv.com wrote: On Wed, Feb 09, 2011 at 09:43:33PM +0100, Julien Danjou wrote: On Wed, Feb 09 2011, S??bastien Vauban wrote: From skimming on the available docs, would I be right to state that the only missing *features set* (vs bbdb) is the *scanning done on the incoming mails*: detecting a new email address, asking to add it, eventually as the primary one, detecting the Organization field and storing it, parsing the X-Face and storing it, etc.? Would such features be added in the future? Or do we have to choose for the simplicity of the new format, eventually losing some minor features? Snarffing info from known contacts and adding other mail addresses email, faces, etc is planned. -- Julien Danjou ??? http://julien.danjou.info I currently have lbdb caching incoming addresses to it's own format, not Org. Then I have my contacts in Org, and I have a perl plugin for lbdb to find my Org contacts when I trigger a quick lookup from mutt. If there's interest, I'll post the relevant portions. Thanks. -- Russell Adams rlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ 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] [PATCH] Simplifying the handling of HTML preamble/postamble
Manuel Giraud manuel.gir...@univ-nantes.fr writes: Bastien bastien.gue...@wikimedia.fr writes: As for org-export-html-preamble and -postamble being t by default, it's a mistake I made. I think they should default to nil. But I'd welcome another opinion! For the postamble maybe. But for the preamble, I don't think it is a good idea to remove the h1 title by default (but maybe I'm wrong : how is it done in others export formats?) My bad. Preamble *and* postamble are currently inserted by default. The HTML export behaves as if :auto-preamble and :auto-postamble are set to t. So I guess I'll commit my patch as it is. -- 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] Re: Generic LaTeX class support (scrlttr2/isodoc)
a...@ufl.edu (Allen S. Rout) writes: I'm trying to use your lisp to generate isodoc letters. I'm wondering what tex processing commands you are using? I'm closing in on the discrepancy. The exported TeX which Jambunathan sent was 'similar' to what I'm getting, but there were a few important differences. Most importantly, I'm getting an additional newline between key and value: --- opening = My dear john , --- instead of --- opening = My dear john , --- This appears to fotch up the LaTex, and put those strings in a spot out of the document entirely. If I remove line 1137 (insert \n) from org-latex.el, this change in spacing goes away, but of course I have no idea why it was put there. Oddly, git-blame suggests that line went in in 2009, well before Jambunathan posted his isodoc files. Does anyone who's been tinkering with the latex export code want to expound on why that newline's in there? Is it silly to just suggest Can we take it out? - Allen S. Rout ___ 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] unset :var definitions for subtree
Rainer M Krug r.m.k...@gmail.com writes: Hi For one project, I am usinr org to write submit scripte to a cluster runing torqu. The important bit in this is, that between the shebang and the code, no other executable line must occur. As I am using variables in org (:var) they will occur just after the shebang, which causes a problem for torque. So, my question is, is there a way to unset variables defined by using :var for a subtree? Hi Rainer, Interesting question... unfortunately I don't think that removing variables from header arguments is possible under the current setup. Perhaps in your case you could add a function to the post-tangle hook, which recognizes when it is being called in a just-tangled torqu script (maybe by searching for a series of #PBS lines), and then removes any lines between the shebang and the first #PBS line? More generally, I wonder what a natural method would be to allow unsetting of pre-set header arguments for local blocks or subtrees? This may only apply to the :var header argument, as most others have a default setting which can be actively set. If you have any ideas for a natural syntax for such an operation I'd be happy to hear it. Cheers -- Eric #+BABEL: :session *R* :results output :exports both :tangle Analysis_sensitivity.R :var RESULTSDIR=/media/Results/ :var ANALYSISDIR=~/Documents/Projects/analysis/ * submit script (SA.sub) :PROPERTIES: :tangle: ./SA.sub :exports: code :END: #+begin_src sh #PBS -j y #PBS -M rai...@krugs.de #PBS -V #PBS -l nodes=1:mem=4gb ## cd $PBS_O_WORKDIR #+end_src I would need the tangled code to be : #!/bin/bash #PBS -j y #PBS -M rai...@krugs.de #PBS -V #PBS -l nodes=1:mem=4gb ## cd $PBS_O_WORKDIR But it is #!/bin/bash RESULTSDIR=/media/Results/ ANALYSISDIR=~/Documents/Projects/analysis/ #PBS -j y #PBS -M rai...@krugs.de #PBS -V #PBS -l nodes=1:mem=4gb ## cd $PBS_O_WORKDIR But RESULTSDIR and ANALYSISDIR is used in the remainder of the document (several other subtrees) Any help appreciated, Rainer ___ 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] python :session and org_babel_python_eoe
Hello, Is this behaviour expected?: #+begin_src python :session import sys #+end_src #+results: But in the python interpreter there is this: import sys open('/home/myles/tmp/scratch/python-4938gzQ', 'w').write(str(_)) 'org_babel_python_eoe' Traceback (most recent call last): File stdin, line 1, in module NameError: name '_' is not defined 'org_babel_python_eoe' The sys module did indeed import correctly though. And that file (/home/myles/tmp/scratch/python-4938gzQ) is empty. Versions: - Python 2.7.1 (r271:86832, Jan 6 2011, 11:45:30) [GCC 4.5.2] on linux2 - orgmode from git 7473e3 Wed Feb 9 17:30 - GNU Emacs 23.2.1(x86_64-unknown-linux-gnu) It looks related to the issue, described as being fixed, in this thread: (org-babel :session breaks returning things with python?) http://news.gmane.org/find-root.php?message_id=%3c871v669swp.fsf%40gmail.com%3e Thanks, Myles ___ 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: [ANN] Changes to lists
Nicolas Goaziou n.goaz...@gmail.com writes: Thank you for the suggestion, Thank you for consideration and implementation. Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra ___ 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: Export Org Mode in Wiki Format
Ed Hirgelt ehirgelt at gmail.com writes: On Jul 15, 2009, at 12:30 PM, Mike Malloy wrote: I would like to export a .org file to a Confluence wiki page. Does anyone have any insight of how to do this? I'v found that exporting to HTML then visiting http://toolserver.org/~diberri/cgi-bin/html2wiki/index.cgi works quite nicely. I don't use confluence, but the MoinMoin conversion is reasonable. I just tried the Confluence translation of this tool on a very simple file: headlines and a simple list were done correctly, but a simple table was not translated at all. Obviously, YMMV. Nick ___ 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] Re: Announcing org-contacts, a bbdb-like contact manager for Org
I'm also using Emacs 24, and for me it doesn't work. Ok. Anyway I've just double checked, and it worst than that. Typing 'a' complete to 'aA' (instead of 'Anne mailaddress') and then does nothing since aA is not valid. I'm not sure completion-at-point-functions is correctly usable in this same condition as message/bbdb completion was. The latter used to return a function which is marked as decouraged in `completion-at-point-functions' docstring. So org-contacts does not use it. OTOH, returning a (START END COLLECTION) triplet is not very usable since if you return a collection that start with a different character set than (buffer-substring start end), it does not work. I don't fully understand what you're saying, probably for lack of context, but at least it's not true that if you return a collection that start with a different character set than (buffer-substring start end), it doesn't work. That simply depends on completion-styles (and completion-ignore-case of course). Stefan ___ 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] auto-complete mode with org-mode
On 02/06/2011 04:00 PM, Eric S Fraga wrote: phaebz pha...@googlemail.com writes: [...] remapped the ac-expand now. There is just one more annoyance: When the completions popup-menu gets displayed, for every line that has an org-style *heading, the completions line drawn over it starts just with the first letter and then an ellipsis ... I try to present an org snippet for an example: #+BEGIN_org-sample * first heading --- popup-menu starts here --- cobra c... c... c... c... computer connection --- popup menu ends here --- copoint some more text #+END_org-sample All lines in the popup menu that start with c..., would be real completion candidates, which get folded away because of underlying folded org-headings. Any ideas on this? Michael Bach I have the same problem. I am not sure how the ellipsis are drawn in the buffer but maybe the issue has to do with overlays? grasping at straws here... maybe somebody else can help. it is a slight annoyance and only happens in org buffers, and only when there are collapsed headings in the vicinity of where you are typing. Hm. Well thanks for thinking about it anyway. It is really just a slight annoyance, but as the number of org-buffers increases - they seem to fit more and more purposes the more I use org, esp. for quick write-ups where this issue annoys me the most - this annoyance increases also ;) But then it is just so nice to use org anyways, I gladly accept this sort of behaviour. ___ 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] Re: Underscores in HTML Exported URLs get backslashes added
Bastien bastien.gue...@wikimedia.fr writes: Hi, Bernt Hansen be...@norang.ca writes: Just wrap the http:// ... in [[ ]] as in [[http://somefoo.com/this_is_broken]] This happens automatically, even when inbuffer links are not surrounded by brackets -- unless some org-export-preprocess-final-hook is reverting the normalization of links. Jonathan, what version of Org are you using? Can you reproduce your problem with a bare Emacs (~$ emacs -q)? Thanks, Bastien, I can reproduce this behaviour with a minimal emacs setup at commit ca220e9c40e4467f436a0a1501fb1fd730093cec Regards, Bernt ___ 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] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
Julien Danjou jul...@danjou.info writes: But maybe you can just delocalize that one variable instead, using kill-local-variable? It's a possibility, but I think it's more logical to reset every local variable. I just pushed a (temporary) fix, following Carsten's suggestion of using kill-local-variable. I tested this with emacs -q and things work back as usual. Matt and Michael, please report any problem. Michael, thanks for the detailed step-by-step way of reproducing the problem with a bare emacs! Quite useful. Julien: I've pushed this (temporary) fix so that you don't feel too much pressure about finding a more general solution. Thanks! -- 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
Re: [Orgmode] Using HTML export variables in subtrees
Hi Jeff, Jeff Horn jrhorn...@gmail.com writes: Thanks, Bastien. I ended up BINDing the variable to nil in the file. This is fine for a file-level change, but I was hoping for something that could be used in the subtree. But, for now I have a workaround. One thing that isn't clear to me: is it OK to set these in initialization files? They do not have customization entries, and are usually controlled through org-publish projects. See my last email about rewriting the handling of :preamble etc. Let me know if you find this approach more appropriate. -- 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
Re: [Orgmode] [PATCH] Solved the problem of org-capture apparently not working
Hi Puneeth, Puneeth Chaganti puncha...@gmail.com writes: Attached is a patch that fixes this, by using the org-datetree-base-level variable. More details in the commit message. I applied a more general solution for years, months and days datetrees. Thanks for your patch anyway, it helped me better understand the issue! I didn't get the time to configure and use git-send-email. I am sending a patch obtained using git-format-patch. So, you will have to use git-am to apply this. (of course, if this seems good enough :)) It is good enough, no worry :) -- 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
Re: [Orgmode] custom agenda view with tags-todo not work
Hi Osiris, OSiRiS os...@osiux.com.ar writes: I tried to set the custom view in the calendar, but does not work. #+BEGIN_SRC elisp (setq org-agenda-custom-commands '( (f FIXED tags-todo +bug+TODO=\DONE\+STATUS=\FIXED\+CLOSED=\today\) ) ) #+END_SRC No error occurs when run: Looks good so far... #+BEGIN_EXAMPLE Press key for an agenda command: Buffer, subtree/region restriction Remove restriction a Agenda for current week or day e Export agenda views t List of all TODO entriesT Entries with special TODO kwd m Match a TAGS/PROP/TODO queryM Like m, but only TODO entries L Timeline for current buffer # List stuck projects (!=configure) s Search for keywords C Configure custom agenda commands / Multi-occur ? Find :FLAGGED: entries f FIXED : +bug+TODO=DONE+STATUS=FIXED+CLOSED=today Headlines with TAGS match: +bug+TODO=DONE+STATUS=FIXED+CLOSED=today Press `C-u r' to search again with new search string -UUU:%*--F1 *Org Agenda* All L1 (Org-Agenda Ddl Grid)--- No event to add #+END_EXAMPLE Can someone tell me where is the error? thanks! I don't understand what is the error. Can you be more specific? Also, don't forget to tell us what version of Org and Emacs you are using. Thanks! pd: I made a t-shirt with a custom logo of Unicorn [0], enjoy! [0] http://pub.osiux.com/org-mode/org-mode-is-the-unics-of-organizers.svg Hey, beautiful :) -- 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
Re: [Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble
Bastien bastien.gue...@wikimedia.fr writes: Would people welcome such a simplification? I've tried it and find it better (and simpler) then with :auto-preamble/:preamble. Some comments: + example in info file is not the same as before because postamble is on by default (maybe we could put a formated string as example here) + I was confused by /html/ in :html-preamble but since only html exports use it I guess that makes sense. -- Manuel Giraud ___ 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] Re: Announcing org-contacts, a bbdb-like contact manager for Org
I can confirm, but it's flaky. For example, with the default settings, it worked (M-x org-contacts + dave = Dave). But I just changed my rule to this: |- in org-contacts.el ,- | (defcustom org-contacts-company-property Company | (defcustom org-contacts-matcher (concat org-contacts-company-property \\) `- I don't always have an email property, but I always have a :Company: property. Once I did that... the case insensitivity disappeared. I now have to be case explicit when searching (only Dave works). John On Thu, Feb 10, 2011 at 8:56 AM, Julien Danjou jul...@danjou.info wrote: On Thu, Feb 10 2011, Dan Davison wrote: Hi Julien, I'm using it (with gnus). Looks great and seems to work very nicely so far. One little thing: I don't seem to be getting case-insensitive completion, despite having org-contacts-completion-ignore-case set to t. Your the second one to report that to me, but it does work for me with Emacs 24 at least. -- Julien Danjou ❱ http://julien.danjou.info ___ 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] Re: Announcing org-contacts, a bbdb-like contact manager for Org
Julien Danjou jul...@danjou.info writes: On Thu, Feb 10 2011, Dan Davison wrote: Hi Julien, I'm using it (with gnus). Looks great and seems to work very nicely so far. One little thing: I don't seem to be getting case-insensitive completion, despite having org-contacts-completion-ignore-case set to t. Your the second one to report that to me, but it does work for me with Emacs 24 at least. I'm using Emacs 24 on OS X cocoa. I did have a quick look at the code; I'm not familiar with the common lisp constructs, so maybe it will be educational for me to look again. Dan ___ 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: startup hidestars also hides the point (square at point) [6.33x]
Arne Babenhauserheide arne_...@yahoo.de writes: Is it possible to disable the blinking statically and set the point to visible? Sorry I don't know... -- 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
Re: [Orgmode] [PATCH] LaTeX export: Use the same regular expression for identifying horizontal lines as in HTML export
Hi Valentin, Valentin Wüstholz wuesth...@gmail.com writes: I have attached a small patch that makes LaTeX export use the same regular expression as HTML export for identifying horizontal lines. The regular expression used in HTML export seems more useful, since it allows for leading whitespace, which is for instance introduced by auto-indenting the buffer. I've now applied this patch, with a minor update of the manual about horizontal rules. Thanks for this! -- 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] Insert ampersand in HTML export?
How do you insert the actual character in an HTML export? I'm trying to write a macro to insert a MATHML snippet but org-mode converts to amp;. How can I prevent that behavior? ___ 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] Re: [BABEL] Editing dot blocks with org-exp-blocks
Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: [...] I also vote for removing the dot and ditaa block types from org-exp-blocks, left over from before the existence of begin_src blocks. As the original developer of org-exp-blocks, I no longer maintain it in favor of focusing on begin_src blocks. The only downside to removing these block types is breaking existing Org-mode files... Perhaps we could add a deprecation warning which will appear as a message every time a begin_dot or begin_ditaa blocks is evaluate, then after a month or so of warning we can remove those blocks entirely. Thoughts? -- Eric Completely in favour ... ... so long as the message either provides a clear description of how to change from =begin_X= to =begin-src X= or gives a link to this clear description in the manual, say. I haven't changed the various begin_X blocks yet because of the uncertainty in the mapping from one to the other... and because I've been lazy, I guess ;-) Alright, I've just pushed up such deprecation warnings. They instruct the user to switch e.g., begin_dot to begin_src dot. Hopefully this is sufficient. I suppose the responsible thing to do now is to wait through an entire release cycle, and then two releases from now the functions can be removed. Cheers -- 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] [PATCH] Simplifying the handling of HTML preamble/postamble
This looks great to me. Seems like a relatively more sane or perhaps more intuitive way of doing things. Solves the problem I had earlier, and makes it clear that these variables can be set in an init file. On Thu, Feb 10, 2011 at 11:25 AM, Manuel Giraud manuel.gir...@univ-nantes.fr wrote: Bastien bastien.gue...@wikimedia.fr writes: As for org-export-html-preamble and -postamble being t by default, it's a mistake I made. I think they should default to nil. But I'd welcome another opinion! For the postamble maybe. But for the preamble, I don't think it is a good idea to remove the h1 title by default (but maybe I'm wrong : how is it done in others export formats?) -- Manuel Giraud ___ 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 -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ ___ 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: python :session and org_babel_python_eoe
Myles English mylesengl...@gmail.com writes: Hello, Is this behaviour expected?: #+begin_src python :session import sys #+end_src #+results: But in the python interpreter there is this: import sys open('/home/myles/tmp/scratch/python-4938gzQ', 'w').write(str(_)) 'org_babel_python_eoe' Traceback (most recent call last): File stdin, line 1, in module NameError: name '_' is not defined 'org_babel_python_eoe' Hi Myles, Firstly, I'm aware that python sessions are a little rough round the edges in places. I've recently started to use them quite a bit and would like to improve them, so any reports of problems you encounter will be appreciated. Yes, this is expected, although we could do without it. Since you did not specify :results, you are in the default value mode, which attempts to return to the org buffer the last value computed, using the special variable _. However, _ does not yet exist as you haven't computed anything. You could do #+begin_src python :session import sys None #+end_src Or you could use :results output here, which will result in a cleaner session buffer in this particular case. I wonder whether it would make sense to support :results nil, meaning I know in advance that I want the result to be nil, so don't try to retrieve any results for me. That may be useful in order to execute a src block that would return an extremely large result -- one which you really don't want emacs to try to deal with at all. Perhaps the value of :results could even be allowed to be a lisp form in general, in addition to output and value and silent. The open(...).write(str(_)) is org-babel internals -- that's how Org gets the value out of python and back to the org buffer. Ideally, it would not be exposed to the user -- but so far R is the only babel language where we've hidden it. So the solution in terms of babel development could be 1. Test for the existence of _ before attempting to write it. Perhaps using locals().get('_') is None and 2. Don't echo that stuff to the python session buffer Also, the 'org_babel_python_eoe', shouldn't really be there -- it only makes sense in :results output mode. Dan The sys module did indeed import correctly though. And that file (/home/myles/tmp/scratch/python-4938gzQ) is empty. Versions: - Python 2.7.1 (r271:86832, Jan 6 2011, 11:45:30) [GCC 4.5.2] on linux2 - orgmode from git 7473e3 Wed Feb 9 17:30 - GNU Emacs 23.2.1(x86_64-unknown-linux-gnu) It looks related to the issue, described as being fixed, in this thread: (org-babel :session breaks returning things with python?) http://news.gmane.org/find-root.php?message_id=%3c871v669swp.fsf%40gmail.com%3e Thanks, Myles ___ 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] automatic regression test (again)
(this is a fork of http://thread.gmane.org/gmane.emacs.orgmode/35415/focus=37389) Hi Bastien On Thu, Feb 10, 2011 at 15:35, Bastien bastien.gue...@wikimedia.fr wrote: Michael, thanks for the detailed step-by-step way of reproducing the problem with a bare emacs! Quite useful. If a regression test set would already be implemented or integrated in Org I would like a lot to add by myself also these test cases above as automatic test cases. _This_ would be really useful. Regression test would be on the very top on my wish list for Org, like it is for any project. I know that mentioned here http://thread.gmane.org/gmane.emacs.orgmode/31307/focus=31310 are several attempts for a regression test, but I just wanted to say that I miss that too. Michael ___ 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] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]
Hi Bastien On Thu, Feb 10, 2011 at 15:35, Bastien bastien.gue...@wikimedia.fr wrote: Matt and Michael, please report any problem. The two test cases `d g' and `w f d g' in custom agenda view that I described above do still not work like I expect. Michael, thanks for the detailed step-by-step way of reproducing the problem with a bare emacs! Quite useful. I have put my reply to this into a new thread called automatic regression test (again): http://thread.gmane.org/gmane.emacs.orgmode/37402 Michael ___ 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] Something like SETUPFILE, but in .emacs?
First time poster on this list, but old-school Emacs user since 1982. And I have to say, org-mode is amazing. I'm running current git master on emacs 24.0.50.1 on Windows. I've put all my org-mode export template stuff into a setup file in my home dir, and I make all my org-mode files use it by putting #+SETUPFILE: ~/my-setup.org My question is can I make this totally automatic, so every .org file I load gets that setupfile automatically? btw, here's my settings in my setup file in case anyone's interested. Mostly export stuff for HTML and LaTeX so the output comes out nice. ## Emacs org-mode settings. Include into a .org file at the end like this: ## #+SETUPFILE: ~/emacs-org-mode-setup.org #+AUTHOR:me #+EMAIL: ga...@example.org #+DATE: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:2 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t author:nil email:nil creator:nil timestamp:nil #+OPTIONS: TeX:t LaTeX:auto skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path: http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: # Page formatting, use full page w/ less whitespace: #+LaTeX_HEADER: \usepackage[cm]{fullpage} #+LaTeX_HEADER: \usepackage[compact]{titlesec} # Snug up lists: #+LaTeX_HEADER: \usepackage{paralist} #+LaTeX_HEADER: \let\itemize\compactitem #+LaTeX_HEADER: \let\description\compactdesc #+LaTeX_HEADER: \let\enumerate\compactenum # Colors: #+LaTeX_HEADER: \usepackage{color} -- -- Gary ___ 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] Something like SETUPFILE, but in .emacs?
First time poster as well. Clarification. You are wanting to have these options only inflict themselve on .org files? I am wondering if they could be in .emacs or called from .emacs or auto inserted, or maybe like the text export options are via a shortcut command? I think I might want a generic set insertable into a new .org file when I make it via a C-c command if I want it in but not necessarily automatically. That way I have to think about it and just want something vanilla (if I am writing a book for instance and not just a project list?) or can customize for a particular file since I am thnking of it? Matthew S On Thu, Feb 10, 2011 at 3:40 PM, Gary Oberbrunner ga...@oberbrunner.comwrote: First time poster on this list, but old-school Emacs user since 1982. And I have to say, org-mode is amazing. I'm running current git master on emacs 24.0.50.1 on Windows. I've put all my org-mode export template stuff into a setup file in my home dir, and I make all my org-mode files use it by putting #+SETUPFILE: ~/my-setup.org My question is can I make this totally automatic, so every .org file I load gets that setupfile automatically? btw, here's my settings in my setup file in case anyone's interested. Mostly export stuff for HTML and LaTeX so the output comes out nice. ## Emacs org-mode settings. Include into a .org file at the end like this: ## #+SETUPFILE: ~/emacs-org-mode-setup.org #+AUTHOR:me #+EMAIL: ga...@example.org #+DATE: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:2 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t author:nil email:nil creator:nil timestamp:nil #+OPTIONS: TeX:t LaTeX:auto skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path: http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: # Page formatting, use full page w/ less whitespace: #+LaTeX_HEADER: \usepackage[cm]{fullpage} #+LaTeX_HEADER: \usepackage[compact]{titlesec} # Snug up lists: #+LaTeX_HEADER: \usepackage{paralist} #+LaTeX_HEADER: \let\itemize\compactitem #+LaTeX_HEADER: \let\description\compactdesc #+LaTeX_HEADER: \let\enumerate\compactenum # Colors: #+LaTeX_HEADER: \usepackage{color} -- -- Gary ___ 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] [ANN] Changes to lists
Hello, Samuel Wales writes: I'd like to see c-c - on headlines preserve hierarchy. This is now implemented, and hopefully working. Thanks for suggesting this, Regards, -- Nicolas ___ 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] Something like SETUPFILE, but in .emacs?
On Thu, Feb 10, 2011 at 4:54 PM, Nick Dokos nicholas.do...@hp.com wrote: Just add an org.template, seasoned to taste, to the templates directory. Thanks Nick; actually I'm looking instead for something that doesn't change the file contents, but just changes the export settings (or whatever's in that block; title, author, etc.) globally. Maybe there isn't such a thing for org-mode. I do like having my typesetting settings outside the actual file so I separate presentation from content (and can adjust the presentation of all the files at once). Ideally I'd love to have it all in my .emacs. -- -- Gary ___ 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: Something like SETUPFILE, but in .emacs?
Gary Oberbrunner ga...@oberbrunner.com writes: First time poster on this list, but old-school Emacs user since 1982. And I have to say, org-mode is amazing. I'm running current git master on emacs 24.0.50.1 on Windows. I've put all my org-mode export template stuff into a setup file in my home dir, and I make all my org-mode files use it by putting #+SETUPFILE: ~/my-setup.org My question is can I make this totally automatic, so every .org file I load gets that setupfile automatically? Hi Gary, I haven't actually tried doing this, but I think some of the answers may be in C-h v org-export-plist-vars. Dan org-export-plist-vars is a variable defined in `org-exp.el'. Its value is shown below. This variable is potentially risky when used as a file local variable. Documentation: List of properties that represent export/publishing variables. Each element is a list of 3 items: 1. The property that is used internally, and also for org-publish-project-alist 2. The string that can be used in the OPTION lines to set this option, or nil if this option cannot be changed in this way 3. The customization variable that sets the default for this option. Value: ((:link-up nil org-export-html-link-up) (:link-home nil org-export-html-link-home) (:language nil org-export-default-language) (:keywords nil org-export-page-keywords) (:description nil org-export-page-description) (:customtime nil org-display-custom-times) (:headline-levels H org-export-headline-levels) (:section-numbers num org-export-with-section-numbers) (:section-number-format nil org-export-section-number-format) (:table-of-contents toc org-export-with-toc) (:preserve-breaks \\n org-export-preserve-breaks) (:archived-trees nil org-export-with-archived-trees) (:emphasize * org-export-with-emphasize) (:sub-superscript ^ org-export-with-sub-superscripts) (:special-strings - org-export-with-special-strings) (:footnotes f org-export-with-footnotes) (:drawers d org-export-with-drawers) (:tags tags org-export-with-tags) (:todo-keywords todo org-export-with-todo-keywords) (:priority pri org-export-with-priority) (:TeX-macros TeX org-export-with-TeX-macros) (:LaTeX-fragments LaTeX org-export-with-LaTeX-fragments) (:latex-listings nil org-export-latex-listings) (:skip-before-1st-heading skip org-export-skip-text-before-1st-heading) (:fixed-width : org-export-with-fixed-width) (:timestamps org-export-with-timestamps) (:author-info author org-export-author-info) (:email-info email org-export-email-info) (:creator-info creator org-export-creator-info) (:time-stamp-file timestamp org-export-time-stamp-file) (:tables | org-export-with-tables) (:table-auto-headline nil org-export-highlight-first-table-line) (:style-include-default nil org-export-html-style-include-default) (:style-include-scripts nil org-export-html-style-include-scripts) (:style nil org-export-html-style) (:style-extra nil org-export-html-style-extra) (:agenda-style nil org-agenda-export-html-style) (:convert-org-links nil org-export-html-link-org-files-as-html) (:inline-images nil org-export-html-inline-images) (:html-extension nil org-export-html-extension) (:xml-declaration nil org-export-html-xml-declaration) (:html-table-tag nil org-export-html-table-tag) (:expand-quoted-html @ org-export-html-expand) (:timestamp nil org-export-html-with-timestamp) (:publishing-directory nil org-export-publishing-directory) (:preamble nil org-export-html-preamble) (:postamble nil org-export-html-postamble) (:auto-preamble nil org-export-html-auto-preamble) (:auto-postamble nil org-export-html-auto-postamble) (:author nil user-full-name) (:email nil user-mail-address) (:select-tags nil org-export-select-tags) (:exclude-tags nil org-export-exclude-tags) (:latex-image-options nil org-export-latex-image-default-option)) btw, here's my settings in my setup file in case anyone's interested. Mostly export stuff for HTML and LaTeX so the output comes out nice. ## Emacs org-mode settings. Include into a .org file at the end like this: ## #+SETUPFILE: ~/emacs-org-mode-setup.org #+AUTHOR:me #+EMAIL: ga...@example.org #+DATE: #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:2 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t author:nil email:nil creator:nil timestamp:nil #+OPTIONS: TeX:t LaTeX:auto skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path: http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: # Page formatting, use full page w/ less whitespace: #+LaTeX_HEADER: \usepackage[cm]{fullpage} #+LaTeX_HEADER: \usepackage[compact]{titlesec} # Snug up lists: #+LaTeX_HEADER: \usepackage{paralist} #+LaTeX_HEADER: \let\itemize\compactitem #+LaTeX_HEADER: \let\description\compactdesc #+LaTeX_HEADER: \let\enumerate\compactenum # Colors: #+LaTeX_HEADER: \usepackage{color}
Re: [Orgmode] [ANN] OpenDocumentText/OpenOffice Exporter - 0.6 Release
Hello Martin, Thanks for trying out the new exporter. Hi, I have followed your instructions but get the following error messages from emacs -q --load Use emacs -Q and *not* emacs -q. -- Loading /etc/emacs/site-start.d/50bbdb.el (source)...done Loading /etc/emacs/site-start.d/50c-sig.el (source)...done Loading /etc/emacs/site-start.d/50cedet-common.el (source)...done [snip] Loading /home/martin/elisp/org-mode/contrib/odt/setup.el (source)...done OVERVIEW Loading vc-git...done Select command: Exporting... (New file) [3 times] org-babel-exp processing... Position saved to mark ring, go back with C-c . org-babel-exp processing... Position saved to mark ring, go back with C-c . Creating LaTeX image 1 Creating LaTeX image 2 Creating LaTeX image 3 Creating LaTeX image 4 Creating LaTeX image 5 Creating LaTeX image 6 Embedding ./org-mode-unicorn.png as Pictures/9682a429be4c1126978645f623a12623e5a89143.png ... [4 times] Embedding ltxpng/test_e9af1d486657dab0e9738262dd2939f929289359.png as Pictures/c41d3fec350b7b507a389641ff29c183a3cd538d.png ... Embedding ltxpng/test_e401539ccffb55fbff6045d038e13919077dda9c.png as Pictures/b4dd400d39437502e61dbcc65cb3f0be3450d564.png ... Embedding ltxpng/test_410cdb794cf9ecc8f7d02a564e0a84d41e7ca44e.png as Pictures/68d3d1bb5f65ba0e5e98decd90e22fcd52a8aeb1.png ... Embedding ltxpng/test_c76046817eb1806b275c9dca63c8a0dcb03b57e1.png as Pictures/807d42dd62dc269d724a048417bfc42b0d7c0d18.png ... Embedding ltxpng/test_3f583836ec1490aa2a84ab29b8aba90d152f3bf2.png as Pictures/0a0a6fe9eb9b33afd1b7050df787586caaf53730.png ... Embedding ltxpng/test_f450dcc0a5284f2c19682846c7697123a54ae238.png as Pictures/663b7b73a2878c055e0f11e2bada1937b9814965.png ... Using vacuous schema org-newodt: Finalizing outfile I no longer user org-newodt and this file shouldn't be there at all anymore. This is mostly likely coming from a older checkout. Find out where org-newodt is picked up from 1. Review you load-path 2. If it load-path is OK manually delete org-newodt so found or better still 2. You can remove all git unregistered files with $ cd directory-where-org-newodt-is-found $ git clean -f The above command DELETES unregistered/untracked git files. So be careful if there are some files in the above dir that you might want to use later ... Saving file /tmp/odt-12807Dta/META-INF/manifest.xml... Wrote /tmp/odt-12807Dta/META-INF/manifest.xml Saving file /tmp/odt-12807Dta/content.xml... Wrote /tmp/odt-12807Dta/content.xml Saving file /tmp/odt-12807Dta/meta.xml... Wrote /tmp/odt-12807Dta/meta.xml let*: Wrong number of arguments: delete-directory, 2 I am ccing the mailing list. Let me know if you still encounter problems. I will be happy to help you out. Jambunathan K. ___ 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] custom agenda view with tags-todo not work
On jue, 10 feb 2011, Bastien wrote: Hi Osiris, OSiRiS os...@osiux.com.ar writes: I tried to set the custom view in the calendar, but does not work. #+BEGIN_SRC elisp (setq org-agenda-custom-commands '( (f FIXED tags-todo +bug+TODO=\DONE\+STATUS=\FIXED\+CLOSED=\today\) ) ) #+END_SRC No error occurs when run: Looks good so far... #+BEGIN_EXAMPLE Press key for an agenda command: Buffer, subtree/region restriction Remove restriction a Agenda for current week or day e Export agenda views t List of all TODO entriesT Entries with special TODO kwd m Match a TAGS/PROP/TODO queryM Like m, but only TODO entries L Timeline for current buffer # List stuck projects (!=configure) s Search for keywords C Configure custom agenda commands / Multi-occur ? Find :FLAGGED: entries f FIXED : +bug+TODO=DONE+STATUS=FIXED+CLOSED=today Headlines with TAGS match: +bug+TODO=DONE+STATUS=FIXED+CLOSED=today Press `C-u r' to search again with new search string -UUU:%*--F1 *Org Agenda* All L1 (Org-Agenda Ddl Grid)--- No event to add #+END_EXAMPLE Can someone tell me where is the error? thanks! I don't understand what is the error. Can you be more specific? Also, don't forget to tell us what version of Org and Emacs you are using. The Match only show results when =bugs.org= is open, execute =C-c C-a m= and paste: +TODO=DONE+STATUS=FIXED+CLOSED=2011-02-10 When execute =C-c C-a f= only show *event to add* in the minibuffer, then press =C-u r=, paste the same pattern and again show *event to add* and none results. I tried using =(setq org-agenda-files '(~/org/bugs.org))= in the =.emacs= file. # emacs --version GNU Emacs 23.2.1 # git log | head commit 809b505ef07829e5b14ff4fdf7f459c126348642 Author: Bastien Guerry b...@altern.org Date: Thu Feb 3 20:03:51 2011 +0100 # Org-mode version 7.4 (release_7.4.308.g809b5) Thanks! Thank You! pd: I made a t-shirt with a custom logo of Unicorn [0], enjoy! [0] http://pub.osiux.com/org-mode/org-mode-is-the-unics-of-organizers.svg Hey, beautiful :) The logo is designed to cut in vinyl :-D -- Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar E1B1 EB8E E37B 10B3 47E9 D73A 2C09 297C FFB9 4410 http://wiki.buenosaireslibre.org/NodoOsiux signature.asc Description: Digital 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