From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boyan Penkov Subject: Re: FILE special property Date: Sat, 17 May 2014 13:02:08 -0400 Message-ID: <0F4E8B9C-A940-4F0B-983A-77E1336D1440@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_A1AED1AB-4B4B-4FED-A1A2-CB01C91E7DDF" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wli03-0003Ql-Vq for emacs-orgmode@gnu.org; Sat, 17 May 2014 13:02:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wlhzy-00043E-5d for emacs-orgmode@gnu.org; Sat, 17 May 2014 13:02:19 -0400 Received: from mail-qg0-x22d.google.com ([2607:f8b0:400d:c04::22d]:34767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wlhzx-00043A-Rw for emacs-orgmode@gnu.org; Sat, 17 May 2014 13:02:14 -0400 Received: by mail-qg0-f45.google.com with SMTP id z60so6223205qgd.18 for ; Sat, 17 May 2014 10:02:13 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: ndokos@gmail.com, Alexander Baier Cc: emacs-orgmode@gnu.org --Apple-Mail=_A1AED1AB-4B4B-4FED-A1A2-CB01C91E7DDF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Nick, This was precisely it =97 thanks! The full expansion = (/Users/boyanpenkov=85) with the \=94 quote worked perfectly. Thanks to you and Alex! Cheers! -- Boyan Penkov www.boyanpenkov.com Begin forwarded message: > From: emacs-orgmode-request@gnu.org > Subject: Emacs-orgmode Digest, Vol 99, Issue 20 > Date: May 17, 2014 at 12:00:27 PM EDT > To: emacs-orgmode@gnu.org > Reply-To: emacs-orgmode@gnu.org >=20 > Send Emacs-orgmode mailing list submissions to > emacs-orgmode@gnu.org >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/emacs-orgmode > or, via email, send a message with subject or body 'help' to > emacs-orgmode-request@gnu.org >=20 > You can reach the person managing the list at > emacs-orgmode-owner@gnu.org >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Emacs-orgmode digest..." >=20 >=20 > Today's Topics: >=20 > 1. Re: Playwriitng with org? (Igor Sosa Mayor) > 2. Re: Preview tikz in org-mode (reduce margins of produced > images) (Nick Dokos) > 3. Re: [babel][PATCHES] ob-R patches for review (Charles C. Berry) > 4. FILE special property? (Boyan Penkov) > 5. Re: FILE special property? (Alexander Baier) > 6. Re: Export to iCalendar only not DONE, scheduled tasks? > (Chris Poole) > 7. LaTeX cross references (Alan L Tyree) > 8. Re: LaTeX cross references (Alan L Tyree) > 9. Re: FILE special property? (Boyan Penkov) > 10. Re: FILE special property? (Nick Dokos) > 11. Re: Preview tikz in org-mode (reduce margins of produced > images) (Leu Zhe) > 12. Re: [RFC] [PATCH] ob-core.el: allow the auto-generation of > output file names for src blocks. (Achim Gratz) > 13. Re: org-edit-src-code outside of org (Jorge A. Alfaro-Murillo) > 14. Re: org-edit-src-code outside of org (Alexander Baier) > 15. Symbol's value as variable is void: > org-list-allow-alphabetical (Vikas Rawal) > 16. Filter tasks when exporting to iCalendar (Chris Poole) > 17. Re: Symbol's value as variable is void: > org-list-allow-alphabetical (Vikas Rawal) > 18. html export doctype? (Dave Pawson) > 19. Re: html export doctype? (Alexander Baier) > 20. Re: html export doctype? (Dave Pawson) > 21. Re: Preview tikz in org-mode (reduce margins of produced > images) (Nick Dokos) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Fri, 16 May 2014 18:42:10 +0200 > From: Igor Sosa Mayor > To: emacs-orgmode@gnu.org > Subject: Re: [O] Playwriitng with org? > Message-ID: <87ha4pbrq5.fsf@gmail.com> > Content-Type: text/plain; charset=3Dutf-8 >=20 > Rustom Mody writes: >=20 >> Earlier I used to use troff and wrote play/drama-like pieces using >> that >> eg http://www.the-magus.in/Publications/ewd.pdf >>=20 >> Later we switched to latex and using play.sty. Here is an example: >> http://www.the-magus.in/Publications/DotingOnTheDot.pdf >>=20 >> I would now like to stay in org as much as possible and use latex as >> the backend ? using maybe play.sty but there seem to be alternatives >> like dramatist.sty. >>=20 >> Is this possible/easy/worthwhile? >=20 > Honestly I have no idea. But just in case you are not aware of it, = there > is a mode for screenwriters: >=20 > https://www.youtube.com/watch?v=3D3DrUzXjJ9G1B4 >=20 > (and severeal others here: http://www.emacswiki.org/emacs/ScreenPlay) >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 2 > Date: Fri, 16 May 2014 12:42:46 -0400 > From: Nick Dokos > To: emacs-orgmode@gnu.org > Subject: Re: [O] Preview tikz in org-mode (reduce margins of produced > images) > Message-ID: <87y4y1isjd.fsf@alphaville.bos.redhat.com> > Content-Type: text/plain; charset=3Dutf-8 >=20 > Leu Zhe writes: >=20 >> Hi, everyone! >>=20 >> I always use org-preview-latex-fragment command to preview the LaTeX >> code, which is awesome. It can effectively crop and suit the size of >> produced png to the content. >>=20 >> However, recently I start to preview some tikz code.? I can greatly >> produce the good results except one problem: The preview can never >> reduce the spare margin of the produced images, which left large = blank >> space there. However, when I preview other LaTeX code after deleting >> tikz preamble, everything is fine. >>=20 >> So is there anyone who has some idea to reduce the large margins? >>=20 >=20 > It helps if you provide a small example: otherwise, even if one is > willing to take a stab at it, one has to create one from scratch. = Given > that just about all of us have limited time, that reduces the > probability that you will get an answer. >=20 > Nick >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 3 > Date: Fri, 16 May 2014 11:22:36 -0700 > From: "Charles C. Berry" > To: Rainer M Krug > Cc: Bastien , "emacs-orgmode@gnu.org" > , Eric Schulte = > Subject: Re: [O] [babel][PATCHES] ob-R patches for review > Message-ID: > > Content-Type: TEXT/PLAIN; format=3Dflowed; charset=3DUS-ASCII >=20 > On Fri, 16 May 2014, Rainer M Krug wrote: >=20 >> Sorry for coming back to your suggestions so late, but I did some >> thinking about the approach. Comments inline below. >=20 > No problem. I am about to leave town and my email for a couple of = weeks, > so I might not be able to reply to further correspondence till June. >=20 > Comments inline below. >=20 > Chuck >>=20 >> "Charles C. Berry" writes: >>=20 >>> On Mon, 12 May 2014, Rainer M Krug wrote: >>>=20 >>>> Eric Schulte writes: >>>>=20 >=20 > [...] >=20 > [Rainer writes] >>>> My idea is to have all R code in one directory and to let ESS load = it >>>> upon initialization of ESS (which is a dependency of running R from = org >>>> anyway, if I am not mistaken). >>>=20 > [Chuck] >>> Not quite. You can run R src blocks without (require 'ess) if they = require >>> no session. (I do not claim that anyone actually runs R src blocks = who >>> lacks a working ESS installation, just saying...) >>=20 > [Rainer again] >> Hm - would it then be possible to add ESS as a requirement for = running R >> code, as it is already mentioned on [1] as a requirement? >=20 > I'd be surprised if it would have any impact on users. Who uses R and > org-mode without ESS? But as you say it is listed as a requirement. >=20 > [...] >=20 >>=20 >> I am now leaning towards the following approach: >>=20 >> New behavior (environment): >> 1) Define the R code in emacs variables, i.e. customizable in emacs. >> 2) Define a function to load the code into an R environment - not = customizable. >>=20 >> ## upon creation of the R session (i.e. only once for each R session) >=20 > Maybe wait till the first variable transfer is called, if it ever is. >=20 >>=20 >> 3) use the load function to load the code from the emacs variables = into >> an R environment called "org:functions" >> 4) load all .R files in the directory ~/.orgFunctions/ into >> "org:functions". This will mean that when functions of the same name = as >> loaded earlier will be overwritten, i.e. the functions are = customizable >> by R code only. >>=20 >> ## before variable transfer at each execution of a code block >=20 > Only if there is a variable transfer, of course. >=20 >>=20 >> 5) source all .R files in the directory = RWorkingDirectory/.orgFunctions/ >> i.e. they are not loaded into a specific environment. Reasoning: = further >> customization possible, kind of an "R package light" approach. >>=20 >> 6) use the load functions (as defied initially in (4), (3) or in () = from >> to load the variables. If they are loaded into an environment or not >> depends on the definition of the functions. >>=20 >> Concerning old versus new behavior, I would actually suggest to put = this >> into the R functions: one could add an argument = "variablesInEnvironment" >> which would, if set, be the name of the environment, i.e. default = value >> "org:variables", if NULL it would load into .GlobalEnv, i.e. the old >> behaviour. In org, one could have a variable >> org-babel-R-variable-transfer-type (or whatever the proper name = should >> be) and to make it user configurable: >>=20 >> - null :: old behaviour >> - "org:variables" (default) :: variables into environment called >> "org:variables" >> - other string :: name of the environment to be used >>=20 >> As stated earlier, as I think that name clashes are more unlikely = with >> the new approach, I would suggest to make "org:variables" the = default. >>=20 >=20 > The above sounds good. >=20 > If you do not wish to implement the = `org-babel-R-assign-elisp-function'=20 > variable approach I suggested, I'll make it a TINYCHANGE when I return = in=20 > June. It will not impact on what you propose. However, if your=20 > implementation makes it possible for arbitrary elisp variables to be=20= > handled in R - I might not bother. >=20 > [...] >=20 >>>>=20 >>>> True - but I like the simplicity of being able to customize the >>>> behavior of org-babel-R by writing an R function without having to = thin >>>> about elisp. But maybe there is a way of doing both... >>>>=20 >>>=20 >>> noweb will do it. Quote the chunk like this: >>>=20 >>> #+BEGIN_SRC emacs-lisp :noweb yes :tangle elisp-R.el >>> (setq rlines " >>> <>") >>> #+END_SRC >>=20 >> I must admit, I have never used macros and noweb expansion... >>=20 >> If you could give me your opinions on this approach, I would look = into >> implementing it. >=20 > It is just a labor saving suggestion for you -- it would not show up > in the final elisp. Put all your elisp and R code in src blocks in a > *.org file. You can edit and format the R code in R src blocks and > likewise the elisp. A src block like the one above will import the R > into elisp as a string. You only tangle the elisp. So the benefit is > you have ease of editting R and writing unit tests for it for R code > that appears in elisp. >=20 > IMO, noweb is a good way to mix languages in org-mode. I use the R=20 > `inline' package to write C functions that R can call. R needs the = code as=20 > strings. I write the C code in C src blocks then assign it in as an R=20= > character string in an R src block. I can write an R wrapper and unit = test=20 > for each little snippet of C code, then when it all looks good join up = the=20 > snippets by putting multiple noweb references on successive lines. >=20 >=20 >>=20 >>=20 >> Footnotes: >> [1] http://orgmode.org/worg/org-contrib/babel/languages.html >>=20 > [...] >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 4 > Date: Fri, 16 May 2014 16:12:17 -0400 > From: Boyan Penkov > To: emacs-orgmode@gnu.org > Subject: [O] FILE special property? > Message-ID: > Content-Type: text/plain; charset=3Dwindows-1252 >=20 > Hello, >=20 > I?m looking to set up a search string using the FILE special property, = but cannot get the syntax right. This is as part of setting up = org-stuck-projects. >=20 > If the file is in ~/todos/myTodos.org, and I want all the entries with = heading 1, will=20 >=20 > (setq org-stuck-projects > ?(?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" ("NEXT" "TODO") nil = "?)) >=20 > work, or am I missing quotes there? >=20 > Thanks! >=20 > -- > Boyan Penkov > www.boyanpenkov.com >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 5 > Date: Fri, 16 May 2014 23:10:40 +0200 > From: Alexander Baier > To: Boyan Penkov > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] FILE special property? > Message-ID: <87lhu1zay7.fsf@mailbox.org> > Content-Type: text/plain; charset=3Dutf-8 >=20 > On 2014-05-16 22:12 Boyan Penkov wrote: >> (setq org-stuck-projects >> ?(?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" ("NEXT" "TODO") nil = "?)) >=20 > I have never used this feature, but this first element look odd to > me. I would try this: ?+FILE=3D\"~/todos/myTodos.org\"+LEVEL=3D1". >=20 > HTH, > --=20 > Alexander Baier >=20 >=20 >=20 > ------------------------------ >=20 > Message: 6 > Date: Fri, 16 May 2014 22:22:30 +0100 > From: Chris Poole > To: Arun Persaud > Cc: "emacs-orgmode@gnu.org" > Subject: Re: [O] Export to iCalendar only not DONE, scheduled tasks? > Message-ID: > = > Content-Type: text/plain; charset=3D"utf-8" >=20 > That's very helpful, thanks ? I'll get experimenting. >=20 >=20 > Cheers, > Chris > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: = >=20 > ------------------------------ >=20 > Message: 7 > Date: Sat, 17 May 2014 10:14:13 +1000 > From: Alan L Tyree > To: emacs-orgmode > Subject: [O] LaTeX cross references > Message-ID: <5376A9D5.4010703@gmail.com> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed >=20 > G'day, >=20 > My org manuscript has cross references like this: see=20 > [[id:4c473c51-b484-4a29-8fe7-118d8084a6f8][Limitations Acts]] >=20 > Exporting to LaTeX currently gives me: see=20 > \hyperref[sec-4-3]{Limitations Acts} >=20 > What I would like is: \ref{sec-4-3} since I am trying to end up with a=20= > Word file for an editor that will be (ultimately) a printed book. >=20 > I'm sure this is a simple variable somewhere, but I'm frustrated = trying=20 > to find it. >=20 > Any help appreciated. >=20 > Cheers, > Alan >=20 > --=20 > Alan L Tyree http://www2.austlii.edu.au/~alan > Tel: 04 2748 6206 sip:typhoon@iptel.org >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 8 > Date: Sat, 17 May 2014 11:30:10 +1000 > From: Alan L Tyree > To: Aaron Ecay , emacs-orgmode > > Subject: Re: [O] LaTeX cross references > Message-ID: <5376BBA2.3060700@gmail.com> > Content-Type: text/plain; charset=3DUTF-8; format=3Dflowed >=20 >=20 > On 17/05/14 11:26, Aaron Ecay wrote: >> Hi Alan, >>=20 >> 2014ko maiatzak 16an, Alan L Tyree-ek idatzi zuen: >>> G'day, >>>=20 >>> My org manuscript has cross references like this: see >>> [[id:4c473c51-b484-4a29-8fe7-118d8084a6f8][Limitations Acts]] >>>=20 >>> Exporting to LaTeX currently gives me: see >>> \hyperref[sec-4-3]{Limitations Acts} >>>=20 >>> What I would like is: \ref{sec-4-3} since I am trying to end up with = a >>> Word file for an editor that will be (ultimately) a printed book. >>>=20 >>> I'm sure this is a simple variable somewhere, but I'm frustrated = trying >>> to find it. >> I think you have two choices. The first is to remove the description >> from the link, leaving just: >>=20 >> [[id:4c473c51-b484-4a29-8fe7-118d8084a6f8]] >>=20 >> Sadly, this is not very informative to look at. >>=20 >> The other is to use an export filter like the following to convert = the >> exporter?s output to the desired format: >>=20 >> #+BEGIN_SRC emacs-lisp >> (defun awe-org-latex-filter-section-links (string backend plist) >> (if (and (org-export-derived-backend-p backend 'latex) >> (string-match "\\\\hyperref\\[\\(sec-.*?\\)\\]" = string)) >> (let ((end-space (if (string-match-p " \\'" string) " " = ""))) >> (concat (format "\\ref{%s}" (match-string 1 string)) >> end-space)) >> string)) >> (add-to-list 'org-export-filter-link-functions = #'awe-org-latex-filter-section-links) >> #+END_SRC >>=20 >> Hope this helps, > Hi Aaron, > I'm adding the reply to the list. >=20 > It helps immensely. I'll give the filter a try later this weekend.=20 > Thanks for your help! >=20 > Alan >=20 >=20 >> -- >> Aaron Ecay >=20 > --=20 > Alan L Tyree http://www2.austlii.edu.au/~alan > Tel: 04 2748 6206 sip:typhoon@iptel.org >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 9 > Date: Fri, 16 May 2014 22:17:06 -0400 > From: Boyan Penkov > To: Alexander Baier > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] FILE special property? > Message-ID: <084714CC-7CA7-454A-A0F7-4296EB5E9477@gmail.com> > Content-Type: text/plain; charset=3D"windows-1252" >=20 > Thanks for your help, Alex. >=20 > The backslashes do get the string to evaluate correctly (now the value = of org-stuck-projects is indeed set to what you?d think it would be set = to, where the first element is a string), but this does not yield the = right output ? C-c # still yields no output, and I do know there are = projects I define as unfinished in the relevant file. >=20 > When I crop out the +FILE=3D? part of the string, I get the output I?m = expecting, so I?m pretty sure my problem is with the syntax of the FILE = selector. >=20 > Thanks! > -- > Boyan Penkov > www.boyanpenkov.com >=20 > On May 16, 2014, at 5:10 PM, Alexander Baier = wrote: >=20 >> On 2014-05-16 22:12 Boyan Penkov wrote: >>> (setq org-stuck-projects >>> ?(?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" ("NEXT" "TODO") nil = "?)) >>=20 >> I have never used this feature, but this first element look odd to >> me. I would try this: ?+FILE=3D\"~/todos/myTodos.org\"+LEVEL=3D1". >>=20 >> HTH, >> --=20 >> Alexander Baier >=20 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: = >=20 > ------------------------------ >=20 > Message: 10 > Date: Sat, 17 May 2014 00:03:36 -0400 > From: Nick Dokos > To: emacs-orgmode@gnu.org > Subject: Re: [O] FILE special property? > Message-ID: <87egztyrtz.fsf@gmail.com> > Content-Type: text/plain; charset=3Dutf-8 >=20 > Boyan Penkov writes: >=20 >> Thanks for your help, Alex. >>=20 >> The backslashes do get the string to evaluate correctly (now the = value of org-stuck-projects is indeed set to what you?d think it would = be set to, where the first element is a >> string), but this does not yield the right output ? C-c # still = yields no output, and I do know there are projects I define as = unfinished in the relevant file. >>=20 >> When I crop out the +FILE=3D? part of the string, I get the output = I?m expecting, so I?m pretty sure my problem is with the syntax of the = FILE selector. >>=20 >=20 > ~ is bash syntax. Try replacing it with the full path of your home > directory. >=20 >> Thanks! >> -- >> Boyan Penkov >> www.boyanpenkov.com >>=20 >> On May 16, 2014, at 5:10 PM, Alexander Baier = wrote: >>=20 >> On 2014-05-16 22:12 Boyan Penkov wrote: >>=20 >> (setq org-stuck-projects >> ?(?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" ("NEXT" = "TODO") nil "?)) >>=20 >> I have never used this feature, but this first element look odd to >> me. I would try this: ?+FILE=3D\"~/todos/myTodos.org\"+LEVEL=3D1". >>=20 >> HTH, >> -- >> Alexander Baier >>=20 >=20 > --=20 > Nick >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 11 > Date: Sat, 17 May 2014 13:52:13 +0900 > From: Leu Zhe > To: ndokos@gmail.com, "emacs-orgmode@gnu.org" > Subject: Re: [O] Preview tikz in org-mode (reduce margins of produced > images) > Message-ID: > = > Content-Type: text/plain; charset=3D"iso-8859-1" >=20 > Hi ndokos, >=20 > Thanks for you advice. > I added a attachment which matches my problem. >=20 > Best regards! > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: = > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: test.org > Type: application/octet-stream > Size: 4464 bytes > Desc: not available > URL: = >=20 > ------------------------------ >=20 > Message: 12 > Date: Sat, 17 May 2014 08:20:12 +0200 > From: Achim Gratz > To: emacs-orgmode@gnu.org > Subject: Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation > of output file names for src blocks. > Message-ID: <87a9ah9bab.fsf@Rainer.invalid> > Content-Type: text/plain >=20 > Aaron Ecay writes: >> Fixed. (It actually required changes to the code, not the tests, = since >> my commit made org-babel-graphical-output-file stricter). >=20 > OK. >=20 >> Good catch (especially since I recently pushed a patch changing some >> errors to user-errors *blush*). Fixed. >=20 > Code review works. :-) >=20 >=20 > Regards, > Achim. > --=20 > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ >=20 > Samples for the Waldorf Blofeld: > http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 13 > Date: Sat, 17 May 2014 02:33:20 -0400 > From: jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo) > To: emacs-orgmode@gnu.org > Subject: Re: [O] org-edit-src-code outside of org > Message-ID: <8761l4ewy7.fsf@gmail.com> > Content-Type: text/plain >=20 > I figure it out, I am updating the variable that causes problems and = it > is working very well so in case you want to use org-edit-src-code in > Message mode all is needed is: >=20 > #+BEGIN_SRC emacs-lisp > (eval-after-load "message" > '(progn > (define-key message-mode-map (kbd "") > (lambda () > (interactive) > (if (not (org-try-structure-completion)) > (message-tab)))) > (define-key message-mode-map (kbd "C-c '") > (lambda () > (interactive) > (org-edit-src-code) > (setq-local org-edit-src-from-org-mode t))))) > #+END_SRC >=20 > I just used it right now =3D) >=20 > Jorge. >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 14 > Date: Sat, 17 May 2014 10:23:00 +0200 > From: Alexander Baier > To: jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo) > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] org-edit-src-code outside of org > Message-ID: <87ha4ozue3.fsf@mailbox.org> > Content-Type: text/plain >=20 > On 2014-05-17 08:33 Jorge A. Alfaro-Murillo wrote: >> I figure it out, I am updating the variable that causes problems and = it >> is working very well so in case you want to use org-edit-src-code in >> Message mode all is needed is: >>=20 >> #+BEGIN_SRC emacs-lisp >> (eval-after-load "message" >> '(progn >> (define-key message-mode-map (kbd "") >> (lambda () >> (interactive) >> (if (not (org-try-structure-completion)) >> (message-tab)))) >> (define-key message-mode-map (kbd "C-c '") >> (lambda () >> (interactive) >> (org-edit-src-code) >> (setq-local org-edit-src-from-org-mode t))))) >> #+END_SRC >>=20 >> I just used it right now =3D) >=20 > This has been bugging me for quite some time now, thank you very much > for this, it works like it's supposed to! :) >=20 > Regards, > --=20 > Alexander Baier >=20 >=20 >=20 > ------------------------------ >=20 > Message: 15 > Date: Sat, 17 May 2014 11:19:26 +0200 > From: Vikas Rawal > To: org-mode mailing list > Subject: [O] Symbol's value as variable is void: > org-list-allow-alphabetical > Message-ID: > <36A5EF61-21AB-418D-A4E4-54D9396838D2@agrarianresearch.org> > Content-Type: text/plain; charset=3Dus-ascii >=20 > Why am I getting this error when I start my emacs? >=20 > defconst: Symbol's value as variable is void: = org-list-allow-alphabetical > Symbol's value as variable is void: org-list-allow-alphabetical >=20 > My orgmode is updated using git repository. >=20 > I use emacs starter kit, and the error seems to have something to do = with this variable not being set before my custom file = (https://github.com/vikasrawal/orgpaper/blob/master/research-toolkit.org) = is loaded. >=20 > Vikas >=20 >=20 >=20 >=20 >=20 > ------------------------------ >=20 > Message: 16 > Date: Sat, 17 May 2014 12:12:55 +0100 > From: Chris Poole > To: "emacs-orgmode@gnu.org" > Subject: [O] Filter tasks when exporting to iCalendar > Message-ID: > = > Content-Type: text/plain; charset=3D"utf-8" >=20 > Hi, >=20 > I'm trying to filter tasks such that only tasks that aren't done, but = are > scheduled or have deadlines, are exported to iCalendar. >=20 > I have this so far: >=20 >=20 > (setq org-icalendar-use-scheduled '(todo-start) > org-icalendar-use-deadline '(todo-due) > org-icalendar-include-todo t > org-icalendar-include-body nil > org-icalendar-alarm-time 15 > org-icalendar-with-timestamps 'active) >=20 > (defun gtd-filter-scheduled-todo-tasks (data backend info) > "Filter iCalendar export to include only TODO tasks that are > not done, but which are scheduled or have a deadline." > (when (eq backend 'icalendar) > (org-element-map data 'headline > (lambda (hl) > (when (or (not (equal 'todo (org-element-property :todo-type = hl))) > (equal "DONE" (org-element-property :todo-keyword = hl)) > (not (or (org-element-property :scheduled hl) > (org-element-property :deadline hl)))) > (org-export-ignore-element hl info))) info) data)) >=20 > (defun gtd-export-agendas-and-calendar () > "Store agenda views as plain text files, and export scheduled > events to a combined iCalendar file. Filter the calendar using > `gtd-filter-scheduled-todo-tasks', only allowing tasks that > aren't DONE, but are scheduled." > (interactive) > (org-store-agenda-views) > (let ((org-export-filter-parse-tree-functions > '(gtd-filter-scheduled-todo-tasks))) > (org-icalendar-combine-agenda-files))) >=20 >=20 > But it leaves an empty calendar.ics file. Anyone know where I'm going = wrong? > I assume that org-export-ignore-element is updating `info' in place. >=20 > I can't work out why it's not working... >=20 >=20 > Cheers, > Chris > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: = >=20 > ------------------------------ >=20 > Message: 17 > Date: Sat, 17 May 2014 13:42:56 +0200 > From: Vikas Rawal > To: org-mode mailing list > Subject: Re: [O] Symbol's value as variable is void: > org-list-allow-alphabetical > Message-ID: > > Content-Type: text/plain; charset=3Dus-ascii >=20 >=20 >> Why am I getting this error when I start my emacs? >>=20 >> defconst: Symbol's value as variable is void: = org-list-allow-alphabetical >> Symbol's value as variable is void: org-list-allow-alphabetical >>=20 >=20 > Sorry, my emacs was loading an older version of Org. Will fix it. >=20 > Vikas >=20 >=20 >=20 > ------------------------------ >=20 > Message: 18 > Date: Sat, 17 May 2014 13:12:50 +0100 > From: Dave Pawson > To: org-mode list > Subject: [O] html export doctype? > Message-ID: > = > Content-Type: text/plain; charset=3DUTF-8 >=20 > http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes >=20 > intimates that setting variable org-html-doctype > is usable here. >=20 > Version 8.2.6 does not show this variable? >=20 > how to select output format for html please? >=20 > tiA >=20 > --=20 > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > http://www.dpawson.co.uk >=20 >=20 >=20 > ------------------------------ >=20 > Message: 19 > Date: Sat, 17 May 2014 14:24:30 +0200 > From: Alexander Baier > To: Dave Pawson > Cc: org-mode list > Subject: Re: [O] html export doctype? > Message-ID: <87y4y0d24h.fsf@mailbox.org> > Content-Type: text/plain >=20 > On 2014-05-17 14:12 Dave Pawson wrote: >> http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes >>=20 >> intimates that setting variable org-html-doctype >> is usable here. >>=20 >> Version 8.2.6 does not show this variable? >=20 > I am running 8.2.6 here and for me org-html-doctype is defined. Maybe > you need to (require 'ox-html) ? >=20 > HTH, > --=20 > Alexander Baier >=20 >=20 >=20 > ------------------------------ >=20 > Message: 20 > Date: Sat, 17 May 2014 14:16:31 +0100 > From: Dave Pawson > To: Dave Pawson , org-mode list > > Subject: Re: [O] html export doctype? > Message-ID: > = > Content-Type: text/plain; charset=3DUTF-8 >=20 > On 17 May 2014 13:24, Alexander Baier = wrote: >> On 2014-05-17 14:12 Dave Pawson wrote: >>> http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes >>>=20 >>> intimates that setting variable org-html-doctype >>> is usable here. >>>=20 >>> Version 8.2.6 does not show this variable? >>=20 >> I am running 8.2.6 here and for me org-html-doctype is defined. Maybe >> you need to (require 'ox-html) ? >=20 >=20 > Thanks, That worked. > I'll add that to .emacs. >=20 >=20 > regards >=20 > --=20 > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > http://www.dpawson.co.uk >=20 >=20 >=20 > ------------------------------ >=20 > Message: 21 > Date: Sat, 17 May 2014 11:28:00 -0400 > From: Nick Dokos > To: emacs-orgmode@gnu.org > Subject: Re: [O] Preview tikz in org-mode (reduce margins of produced > images) > Message-ID: <87a9agzapr.fsf@gmail.com> > Content-Type: text/plain; charset=3Dutf-8 >=20 > Leu Zhe writes: >=20 >> Hi ndokos, >>=20 >> Thanks for you advice.? >> I added a attachment which matches my problem. >>=20 >> Best regards! >>=20 >>=20 >> Content-Type: text/enriched >> Text-Width: 70 >>=20 >> #+LATEX_HEADER: \usepackage{tikz} >> #+LATEX_HEADER: \usepackage[siunitx]{circuitikz} >>=20 >>=20 >> dodger blue* A tikz preview test in org-mode >>=20 >> >> ... >=20 > Unfortunately, you seem to have attached it as text/enriched and it is > messed up. Can you please attach it as text/plain? >=20 > Thanks! > --=20 > Nick >=20 >=20 >=20 >=20 > End of Emacs-orgmode Digest, Vol 99, Issue 20 > ********************************************* --Apple-Mail=_A1AED1AB-4B4B-4FED-A1A2-CB01C91E7DDF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Nick,

This was precisely it =97 = thanks!  The full expansion (/Users/boyanpenkov=85) with the \=94 = quote worked perfectly.

Thanks to you and = Alex!

Cheers!
--
Boyan Penkov
www.boyanpenkov.com

Begin forwarded message:

Subject: = Emacs-orgmode = Digest, Vol 99, Issue 20
Date: = May 17, 2014 at = 12:00:27 PM EDT

Send Emacs-orgmode mailing list submissions to
emacs-orgmode@gnu.org

To = subscribe or unsubscribe via the World Wide Web, visit
= https://lists.gnu.org/mailman/listinfo/emacs-orgmode
or, via = email, send a message with subject or body 'help' to
= emacs-orgmode-request@gnu.org

You can reach the person = managing the list at
= emacs-orgmode-owner@gnu.org

When replying, please edit = your Subject line so it is more specific
than "Re: Contents of = Emacs-orgmode digest..."


Today's Topics:

=   1. Re: Playwriitng with org? (Igor Sosa Mayor)
=   2. Re: Preview tikz in org-mode (reduce margins of = produced
     images) (Nick Dokos)
=   3. Re: [babel][PATCHES] ob-R patches for review (Charles C. = Berry)
  4. FILE special property? (Boyan Penkov)
=   5. Re: FILE special property? (Alexander Baier)
=   6. Re: Export to iCalendar only not DONE, scheduled = tasks?
     (Chris Poole)
=   7. LaTeX cross references (Alan L Tyree)
  8. = Re: LaTeX cross references (Alan L Tyree)
  9. Re: FILE = special property? (Boyan Penkov)
 10. Re: FILE special = property? (Nick Dokos)
 11. Re: Preview tikz in org-mode = (reduce margins of produced
     images) = (Leu Zhe)
 12. Re: [RFC] [PATCH] ob-core.el: allow the = auto-generation of
     output file names = for src blocks. (Achim Gratz)
 13. Re: org-edit-src-code = outside of org (Jorge A. Alfaro-Murillo)
 14. Re: = org-edit-src-code outside of org (Alexander Baier)
 15. = Symbol's value as variable is void:
=      org-list-allow-alphabetical (Vikas = Rawal)
 16. Filter tasks when exporting to iCalendar (Chris = Poole)
 17. Re: Symbol's value as variable is void:
=      org-list-allow-alphabetical (Vikas = Rawal)
 18. html export doctype? (Dave Pawson)
 19. = Re: html export doctype? (Alexander Baier)
 20. Re: html export = doctype? (Dave Pawson)
 21. Re: Preview tikz in org-mode = (reduce margins of produced
     images) = (Nick = Dokos)


--------------------------------------------------------= --------------

Message: 1
Date: Fri, 16 May 2014 18:42:10 = +0200
From: Igor Sosa Mayor <joseleopoldo1792@gmail.com>
To: = emacs-orgmode@gnu.org
Subject: Re: [O] Playwriitng with = org?
Message-ID: <87ha4pbrq5.fsf@gmail.com>
Content-Type: = text/plain; charset=3Dutf-8

Rustom Mody = <rustompmody@gmail.com> writes:

Earlier I used to use troff and wrote play/drama-like = pieces using
that
eg = http://www.the-magus.in/Publications/ewd.pdf

Later we switched to = latex and using play.sty. Here is an = example:
http://www.the-magus.in/Publications/DotingOnTheDot.pdf
I would now like to stay in org as much as possible and use latex = as
the backend ? using maybe play.sty but there seem to be = alternatives
like dramatist.sty.

Is this = possible/easy/worthwhile?

Honestly I have no idea. = But just in case you are not aware of it, there
is a mode for = screenwriters:

https://www.youtube.com/watch?v=3D3DrUzXjJ9G1B4
<= br>(and severeal others here: = http://www.emacswiki.org/emacs/ScreenPlay)




------------= ------------------

Message: 2
Date: Fri, 16 May 2014 12:42:46 = -0400
From: Nick Dokos <ndokos@gmail.com>
To: = emacs-orgmode@gnu.org
Subject: Re: [O] Preview tikz in org-mode = (reduce margins of produced
images)
Message-ID: = <87y4y1isjd.fsf@alphaville.bos.redhat.com>
Content-Type: = text/plain; charset=3Dutf-8

Leu Zhe <lzhes43@gmail.com> = writes:

Hi, everyone!

I always = use org-preview-latex-fragment command to preview the LaTeX
code, = which is awesome.  It can effectively crop and suit the size = of
produced png to the content.

However, recently I start to = preview some tikz code.?  I can greatly
produce the good results = except one problem: The preview can never
reduce the spare margin of = the produced images, which left large blank
space there. However, = when I preview other LaTeX code after deleting
tikz preamble, = everything is fine.

So is there anyone who has some idea to = reduce the large margins?


It helps if you = provide a small example: otherwise, even if one is
willing to take a = stab at it, one has to create one from scratch. Given
that just about = all of us have limited time, that reduces the
probability that you = will get an = answer.

Nick




------------------------------
<= br>Message: 3
Date: Fri, 16 May 2014 11:22:36 -0700
From: "Charles = C. Berry" <ccberry@ucsd.edu>
To: Rainer M Krug = <Rainer@krugs.de>
Cc: Bastien <bzg@gnu.org>, = "emacs-orgmode@gnu.org"
= <emacs-orgmode@gnu.org>, Eric Schulte = <schulte.eric@gmail.com>
Subject: Re: [O] [babel][PATCHES] ob-R = patches for review
Message-ID:
= <alpine.OSX.2.00.1405161008070.314@charles-berrys-macbook.local&= gt;
Content-Type: TEXT/PLAIN; format=3Dflowed; = charset=3DUS-ASCII

On Fri, 16 May 2014, Rainer M Krug = wrote:

Sorry for coming back to your = suggestions so late, but I did some
thinking about the approach. = Comments inline below.

No problem. I am about to = leave town and my email for a couple of weeks,
so I might not be able = to reply to further correspondence till June.

Comments inline = below.

Chuck

"Charles C. Berry" = <ccberry@ucsd.edu> writes:

On = Mon, 12 May 2014, Rainer M Krug wrote:

Eric Schulte <schulte.eric@gmail.com> = writes:


[...]

[Ra= iner writes]
My idea is to have all R code in = one directory and to let ESS load it
upon initialization of ESS = (which is a dependency of running R from org
anyway, if I am not = mistaken).

[Chuck]
Not quite. You can run R = src blocks without (require 'ess) if they require
no session. (I do = not claim that anyone actually runs R src blocks who
lacks a working = ESS installation, just = saying...)

[Rainer = again]
Hm - would it then be possible to = add ESS as a requirement for running R
code, as it is already = mentioned on [1] as a requirement?

I'd be surprised = if it would have any impact on users. Who uses R and
org-mode without = ESS? But as you say it is listed as a = requirement.

[...]


I am now = leaning towards the following approach:

New behavior = (environment):
1) Define the R code in emacs variables, i.e. = customizable in emacs.
2) Define a function to load the code into an = R environment - not customizable.

## upon creation of the R = session (i.e. only once for each R session)

Maybe = wait till the first variable transfer is called, if it ever = is.


3) use the load function to = load the code from the emacs variables into
an R environment called = "org:functions"
4) load all .R files in the directory = ~/.orgFunctions/ into
"org:functions". This will mean that when = functions of the same name as
loaded earlier will be overwritten, = i.e. the functions are customizable
by R code only.

## before = variable transfer at each execution of a code = block

Only if there is a variable transfer, of = course.


5) source all .R files in = the directory RWorkingDirectory/.orgFunctions/
i.e. they are not = loaded into a specific environment. Reasoning: further
customization = possible, kind of an "R package light" approach.

6) use the load = functions (as defied initially in (4), (3) or in () from
to load the = variables. If they are loaded into an environment or not
depends on = the definition of the functions.

Concerning old versus new = behavior, I would actually suggest to put this
into the R functions: = one could add an argument "variablesInEnvironment"
which would, if = set, be the name of the environment, i.e. default = value
"org:variables", if NULL it would load into .GlobalEnv, i.e. = the old
behaviour. In org, one could have a = variable
org-babel-R-variable-transfer-type (or whatever the proper = name should
be) and to make it user configurable:

- null :: = old behaviour
- "org:variables" (default) :: variables into = environment called
"org:variables"
- other string :: name of the = environment to be used

As stated earlier, as I think that name = clashes are more unlikely with
the new approach, I would suggest to = make "org:variables" the default.


The above = sounds good.

If you do not wish to implement the = `org-babel-R-assign-elisp-function'
variable approach I suggested, = I'll make it a TINYCHANGE when I return in
June. It will not impact = on what you propose. However, if your
implementation makes it = possible for arbitrary elisp variables to be
handled in R - I might = not bother.

[...]


True - but I like the = simplicity of being able to customize the
behavior of org-babel-R by = writing an R function without having to thin
about elisp. But maybe = there is a way of doing both...


noweb will do = it. Quote the chunk like this:

#+BEGIN_SRC emacs-lisp :noweb yes = :tangle elisp-R.el
  (setq rlines = "
<<r-code>>")
#+END_SRC

I must = admit, I have never used macros and noweb expansion...

If you = could give me your opinions on this approach, I would look = into
implementing it.

It is just a labor saving = suggestion for you -- it would not show up
in the final elisp. Put = all your elisp and R code in src blocks in a
*.org file. You can edit = and format the R code in R src blocks and
likewise the elisp. A src = block like the one above will import the R
into elisp as a string. = You only tangle the elisp. So the benefit is
you have ease of = editting R and writing unit tests for it for R code
that appears in = elisp.

IMO, noweb is a good way to mix languages in org-mode. I = use the R
`inline' package to write C functions that R can call. R = needs the code as
strings. I write the C code in C src blocks then = assign it in as an R
character string in an R src block. I can write = an R wrapper and unit test
for each little snippet of C code, then = when it all looks good join up the
snippets by putting multiple = noweb references on successive lines.




Footnotes:
[1] =  http://orgmode.org/worg/org-contrib/babel/languages.html

[...]




------------------------------

Me= ssage: 4
Date: Fri, 16 May 2014 16:12:17 -0400
From: Boyan Penkov = <boyan.penkov@gmail.com>
To: emacs-orgmode@gnu.org
Subject: = [O] FILE special property?
Message-ID: = <B77311C3-0AE0-4ACF-BD39-8242C121F50E@gmail.com>
Content-Type: = text/plain; charset=3Dwindows-1252

Hello,

I?m looking to = set up a search string using the FILE special property, but cannot get = the syntax right.  This is as part of setting up = org-stuck-projects.

If the file is in ~/todos/myTodos.org, and I = want all the entries with heading 1, will

(setq = org-stuck-projects
=      ?(?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" = ("NEXT" "TODO") nil "?))

work, or am I missing quotes = there?

Thanks!

--
Boyan = Penkov
www.boyanpenkov.com




-------------------------= -----

Message: 5
Date: Fri, 16 May 2014 23:10:40 = +0200
From: Alexander Baier = <alexander.baier@mailbox.org>
To: Boyan Penkov = <boyan.penkov@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: = Re: [O] FILE special property?
Message-ID: = <87lhu1zay7.fsf@mailbox.org>
Content-Type: text/plain; = charset=3Dutf-8

On 2014-05-16 22:12 Boyan Penkov = wrote:
(setq org-stuck-projects
=      ?(?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" = ("NEXT" "TODO") nil "?))

I have never used this = feature, but this first element look odd to
me. I would try this: = ?+FILE=3D\"~/todos/myTodos.org\"+LEVEL=3D1".

HTH,
-- =
Alexander = Baier



------------------------------

Message: = 6
Date: Fri, 16 May 2014 22:22:30 +0100
From: Chris Poole = <lists@chrispoole.com>
To: Arun Persaud = <apersaud@lbl.gov>
Cc: "emacs-orgmode@gnu.org" = <emacs-orgmode@gnu.org>
Subject: Re: [O] Export to iCalendar = only not DONE, scheduled tasks?
Message-ID:
= <CAF=3DP9QB3fiCrs3FyOaBhJ4E1p3Pbkt1gvkcBpZxP3cSwXBEPzg@mail.gmai= l.com>
Content-Type: text/plain; charset=3D"utf-8"

That's = very helpful, thanks ? I'll get = experimenting.


Cheers,
Chris
-------------- next part = --------------
An HTML attachment was scrubbed...
URL: = <http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20140516/a= d110497/attachment.html>

------------------------------

M= essage: 7
Date: Sat, 17 May 2014 10:14:13 +1000
From: Alan L Tyree = <alantyree@gmail.com>
To: emacs-orgmode = <emacs-orgmode@gnu.org>
Subject: [O] LaTeX cross = references
Message-ID: = <5376A9D5.4010703@gmail.com>
Content-Type: text/plain; = charset=3DISO-8859-1; format=3Dflowed

G'day,

My org = manuscript has cross references like this: see =
[[id:4c473c51-b484-4a29-8fe7-118d8084a6f8][Limitations = Acts]]

Exporting to LaTeX currently gives me:  see =
\hyperref[sec-4-3]{Limitations Acts}

What I would like is: = \ref{sec-4-3} since I am trying to end up with a
Word file for an = editor that will be (ultimately) a printed book.

I'm sure this is = a simple variable somewhere, but I'm frustrated trying
to find = it.

Any help appreciated.

Cheers,
Alan

-- =
Alan L Tyree =             &n= bsp;      http://www2.austlii.edu.au/~alanTel:  04 2748 6206 =             &n= bsp;sip:typhoon@iptel.org




-----------------------------= -

Message: 8
Date: Sat, 17 May 2014 11:30:10 +1000
From: = Alan L Tyree <alantyree@gmail.com>
To: Aaron Ecay = <aaronecay@gmail.com>,  emacs-orgmode
= <emacs-orgmode@gnu.org>
Subject: Re: [O] LaTeX cross = references
Message-ID: = <5376BBA2.3060700@gmail.com>
Content-Type: text/plain; = charset=3DUTF-8; format=3Dflowed


On 17/05/14 11:26, Aaron = Ecay wrote:
Hi Alan,

2014ko maiatzak = 16an, Alan L Tyree-ek idatzi zuen:
G'day,

My org manuscript has cross references like = this: see
[[id:4c473c51-b484-4a29-8fe7-118d8084a6f8][Limitations = Acts]]

Exporting to LaTeX currently gives me: =  see
\hyperref[sec-4-3]{Limitations Acts}

What I would = like is: \ref{sec-4-3} since I am trying to end up with a
Word file = for an editor that will be (ultimately) a printed book.

I'm sure = this is a simple variable somewhere, but I'm frustrated trying
to = find it.
I think you have two choices.  The first = is to remove the description
from the link, leaving = just:

[[id:4c473c51-b484-4a29-8fe7-118d8084a6f8]]

Sadly, = this is not very informative to look at.

The other is to use an = export filter like the following to convert the
exporter?s output to = the desired format:

#+BEGIN_SRC emacs-lisp
  (defun = awe-org-latex-filter-section-links (string backend plist)
=       (if (and = (org-export-derived-backend-p backend 'latex)
=             &n= bsp;  (string-match "\\\\hyperref\\[\\(sec-.*?\\)\\]" = string))
=           (let = ((end-space (if (string-match-p " \\'" string) " " "")))
=             (c= oncat (format "\\ref{%s}" (match-string 1 string))
=             &n= bsp;       end-space))
=         string))
=   (add-to-list 'org-export-filter-link-functions = #'awe-org-latex-filter-section-links)
#+END_SRC

Hope this = helps,
Hi Aaron,
I'm adding the reply to the = list.

It helps immensely. I'll give the filter a try later this = weekend.
Thanks for your help!

Alan


--
Aaron Ecay

--
Alan L Tyree =             &n= bsp;      http://www2.austlii.edu.au/~alanTel:  04 2748 6206 =             &n= bsp;sip:typhoon@iptel.org




-----------------------------= -

Message: 9
Date: Fri, 16 May 2014 22:17:06 -0400
From: = Boyan Penkov <boyan.penkov@gmail.com>
To: Alexander Baier = <alexander.baier@mailbox.org>
Cc: = emacs-orgmode@gnu.org
Subject: Re: [O] FILE special = property?
Message-ID: = <084714CC-7CA7-454A-A0F7-4296EB5E9477@gmail.com>
Content-Type: = text/plain; charset=3D"windows-1252"

Thanks for your help, = Alex.

The backslashes do get the string to evaluate correctly = (now the value of org-stuck-projects is indeed set to what you?d think = it would be set to, where the first element is a string), but this does = not yield the right output ? C-c # still yields no output, and I do know = there are projects I define as unfinished in the relevant = file.

When I crop out the +FILE=3D? part of the string, I get the = output I?m expecting, so I?m pretty sure my problem is with the syntax = of the FILE selector.

Thanks!
--
Boyan = Penkov
www.boyanpenkov.com

On May 16, 2014, at 5:10 PM, = Alexander Baier <alexander.baier@mailbox.org> = wrote:

On 2014-05-16 22:12 Boyan Penkov = wrote:
(setq org-stuck-projects
=     ?(?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" = ("NEXT" "TODO") nil "?))

I have never used this = feature, but this first element look odd to
me. I would try this: = ?+FILE=3D\"~/todos/myTodos.org\"+LEVEL=3D1".

HTH,
-- =
Alexander Baier

-------------- next part = --------------
An HTML attachment was scrubbed...
URL: = <http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20140516/1= 1952978/attachment.html>

------------------------------

M= essage: 10
Date: Sat, 17 May 2014 00:03:36 -0400
From: Nick Dokos = <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: = [O] FILE special property?
Message-ID: = <87egztyrtz.fsf@gmail.com>
Content-Type: text/plain; = charset=3Dutf-8

Boyan Penkov <boyan.penkov@gmail.com> = writes:

Thanks for your help, = Alex.

The backslashes do get the string to evaluate correctly = (now the value of org-stuck-projects is indeed set to what you?d think = it would be set to, where the first element is a
string), but this = does not yield the right output ? C-c # still yields no output, and I do = know there are projects I define as unfinished in the relevant = file.

When I crop out the +FILE=3D? part of the string, I get the = output I?m expecting, so I?m pretty sure my problem is with the syntax = of the FILE selector.


~ is bash syntax. Try = replacing it with the full path of your = home
directory.

Thanks!
--
Boyan= Penkov
www.boyanpenkov.com

On May 16, 2014, at 5:10 PM, = Alexander Baier <alexander.baier@mailbox.org> wrote:

=    On 2014-05-16 22:12 Boyan Penkov wrote:

=        (setq org-stuck-projects
=             ?(= ?+FILE=3D"~/todos/myTodos.org"+LEVEL=3D1" ("NEXT" "TODO") nil = "?))

   I have never used this feature, but this = first element look odd to
   me. I would try this: = ?+FILE=3D\"~/todos/myTodos.org\"+LEVEL=3D1".

=    HTH,
   --
=    Alexander Baier


-- =
Nick




------------------------------

Message:= 11
Date: Sat, 17 May 2014 13:52:13 +0900
From: Leu Zhe = <lzhes43@gmail.com>
To: ndokos@gmail.com, = "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: = [O] Preview tikz in org-mode (reduce margins of produced
= images)
Message-ID:
= <CALjq+LaT6Xe4Z=3DkZomiep34tAG9dFni4VB6iEfOdxfEpFouzmQ@mail.gmai= l.com>
Content-Type: text/plain; charset=3D"iso-8859-1"

Hi = ndokos,

Thanks for you advice.
I added a attachment which = matches my problem.

Best regards!
-------------- next part = --------------
An HTML attachment was scrubbed...
URL: = <http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20140517/1= de07f46/attachment.html>
-------------- next part = --------------
A non-text attachment was scrubbed...
Name: = test.org
Type: application/octet-stream
Size: 4464 bytes
Desc: = not available
URL: = <http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20140517/1= de07f46/attachment.obj>

------------------------------

Me= ssage: 12
Date: Sat, 17 May 2014 08:20:12 +0200
From: Achim Gratz = <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: = [O] [RFC] [PATCH] ob-core.el: allow the auto-generation
of output = file names for src blocks.
Message-ID: = <87a9ah9bab.fsf@Rainer.invalid>
Content-Type: = text/plain

Aaron Ecay writes:
Fixed. =  (It actually required changes to the code, not the tests, = since
my commit made org-babel-graphical-output-file = stricter).

OK.

Good = catch (especially since I recently pushed a patch changing = some
errors to user-errors *blush*). =  Fixed.

Code review works. = :-)


Regards,
Achim.
--
+<[Q+ Matrix-12 = WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples = for the Waldorf = Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra



------------------------------

Message: = 13
Date: Sat, 17 May 2014 02:33:20 -0400
From: = jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo)
To: = emacs-orgmode@gnu.org
Subject: Re: [O] org-edit-src-code outside of = org
Message-ID: <8761l4ewy7.fsf@gmail.com>
Content-Type: = text/plain

I figure it out, I am updating the variable that = causes problems and it
is working very well so in case you want to = use org-edit-src-code in
Message mode all is needed = is:

#+BEGIN_SRC emacs-lisp
 (eval-after-load = "message"
   '(progn
=       (define-key message-mode-map (kbd = "<tab>")
=         (lambda ()
=           (interactive)<= br>           (if (not = (org-try-structure-completion))
=             &n= bsp; (message-tab))))
=       (define-key message-mode-map (kbd = "C-c '")
        (lambda = ()
=           (interactive)<= br> =           (org-edit-src-= code)
=           (setq-local = org-edit-src-from-org-mode t)))))
#+END_SRC

I just used it = right now = =3D)

Jorge.




------------------------------
Message: 14
Date: Sat, 17 May 2014 10:23:00 +0200
From: = Alexander Baier <alexander.baier@mailbox.org>
To: = jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo)
Cc: = emacs-orgmode@gnu.org
Subject: Re: [O] org-edit-src-code outside of = org
Message-ID: <87ha4ozue3.fsf@mailbox.org>
Content-Type: = text/plain

On 2014-05-17 08:33 Jorge A. Alfaro-Murillo = wrote:
I figure it out, I am updating the = variable that causes problems and it
is working very well so in case = you want to use org-edit-src-code in
Message mode all is needed = is:

#+BEGIN_SRC emacs-lisp
 (eval-after-load = "message"
   '(progn
=       (define-key message-mode-map (kbd = "<tab>")
=         (lambda ()
=           (interactive)<= br>           (if (not = (org-try-structure-completion))
=             &n= bsp; (message-tab))))
=       (define-key message-mode-map (kbd = "C-c '")
        (lambda = ()
=           (interactive)<= br> =           (org-edit-src-= code)
=           (setq-local = org-edit-src-from-org-mode t)))))
#+END_SRC

I just used it = right now =3D)

This has been bugging me for quite = some time now, thank you very much
for this, it works like it's = supposed to! :)

Regards,
--
Alexander = Baier



------------------------------

Message: = 15
Date: Sat, 17 May 2014 11:19:26 +0200
From: Vikas Rawal = <vikaslists@agrarianresearch.org>
To: org-mode mailing list = <emacs-orgmode@gnu.org>
Subject: [O] Symbol's value as variable = is void:
= org-list-allow-alphabetical
Message-ID:
= <36A5EF61-21AB-418D-A4E4-54D9396838D2@agrarianresearch.org>Content-Type: text/plain; charset=3Dus-ascii

Why am I getting = this error when I start my emacs?

defconst: Symbol's value as = variable is void: org-list-allow-alphabetical
Symbol's value as = variable is void: org-list-allow-alphabetical

My orgmode is = updated using git repository.

I use emacs starter kit, and the = error seems to have something to do with this variable not being set = before my custom file = (https://github.com/vikasrawal/orgpaper/blob/master/research-toolkit.org) = is = loaded.

Vikas





------------------------------=

Message: 16
Date: Sat, 17 May 2014 12:12:55 +0100
From: = Chris Poole <lists@chrispoole.com>
To: "emacs-orgmode@gnu.org" = <emacs-orgmode@gnu.org>
Subject: [O] Filter tasks when = exporting to iCalendar
Message-ID:
= <CAF=3DP9QDbiEqOwLR0XqXBxQLPttgzwmA66DQJxniqm7QFs_DX0A@mail.gmai= l.com>
Content-Type: text/plain; = charset=3D"utf-8"

Hi,

I'm trying to filter tasks such that = only tasks that aren't done, but are
scheduled or have deadlines, are = exported to iCalendar.

I have this so far:


(setq = org-icalendar-use-scheduled '(todo-start)
=        org-icalendar-use-deadline = '(todo-due)
=        org-icalendar-include-todo = t
=        org-icalendar-include-body = nil
=        org-icalendar-alarm-time = 15
=        org-icalendar-with-timestamps = 'active)

(defun gtd-filter-scheduled-todo-tasks (data backend = info)
 "Filter iCalendar export to include only TODO tasks that = are
not done, but which are scheduled or have a deadline."
=  (when (eq backend 'icalendar)
=    (org-element-map data 'headline
=      (lambda (hl)
=        (when (or (not (equal 'todo = (org-element-property :todo-type hl)))
=             &n= bsp;    (equal "DONE" (org-element-property = :todo-keyword hl))
=             &n= bsp;    (not (or (org-element-property :scheduled = hl)
=             &n= bsp;           &nbs= p; (org-element-property :deadline hl))))
=          (org-export-ignore-e= lement hl info))) info) data))

(defun = gtd-export-agendas-and-calendar ()
 "Store agenda views as = plain text files, and export scheduled
events to a combined iCalendar = file. Filter the calendar using
`gtd-filter-scheduled-todo-tasks', = only allowing tasks that
aren't DONE, but are scheduled."
=  (interactive)
 (org-store-agenda-views)
 (let = ((org-export-filter-parse-tree-functions
'(gtd-filter-scheduled-todo-ta= sks)))
=    (org-icalendar-combine-agenda-files)))


But = it leaves an empty calendar.ics file. Anyone know where I'm going = wrong?
I assume that org-export-ignore-element is updating `info' in = place.

I can't work out why it's not = working...


Cheers,
Chris
-------------- next part = --------------
An HTML attachment was scrubbed...
URL: = <http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20140517/1= f2fc8da/attachment.html>

------------------------------

M= essage: 17
Date: Sat, 17 May 2014 13:42:56 +0200
From: Vikas Rawal = <vikaslists@agrarianresearch.org>
To: org-mode mailing list = <emacs-orgmode@gnu.org>
Subject: Re: [O] Symbol's value as = variable is void:
= org-list-allow-alphabetical
Message-ID:
= <DA501A52-3C41-4256-853A-3F51689DF87A@agrarianresearch.org>Content-Type: text/plain; charset=3Dus-ascii


Why am I getting this error when I start my = emacs?

defconst: Symbol's value as variable is void: = org-list-allow-alphabetical
Symbol's value as variable is void: = org-list-allow-alphabetical


Sorry, my emacs was = loading an older version of Org. Will fix = it.

Vikas



------------------------------

Mess= age: 18
Date: Sat, 17 May 2014 13:12:50 +0100
From: Dave Pawson = <dave.pawson@gmail.com>
To: org-mode list = <emacs-orgmode@gnu.org>
Subject: [O] html export = doctype?
Message-ID:
= <CAEncD4dZ0h6WL-yMvhen+c_--5-fGBMDOvC6+Z1dELYnfoyD9A@mail.gmail.= com>
Content-Type: text/plain; = charset=3DUTF-8

http://orgmode.org/manual/HTML-doctypes.html#HTML-d= octypes

intimates that setting variable org-html-doctype
is = usable here.

Version 8.2.6  does not show this = variable?

how to select output format for html = please?

tiA

--
Dave Pawson
XSLT XSL-FO = FAQ.
Docbook = FAQ.
http://www.dpawson.co.uk



--------------------------= ----

Message: 19
Date: Sat, 17 May 2014 14:24:30 = +0200
From: Alexander Baier = <alexander.baier@mailbox.org>
To: Dave Pawson = <dave.pawson@gmail.com>
Cc: org-mode list = <emacs-orgmode@gnu.org>
Subject: Re: [O] html export = doctype?
Message-ID: = <87y4y0d24h.fsf@mailbox.org>
Content-Type: text/plain

On = 2014-05-17 14:12 Dave Pawson wrote:
http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes
intimates that setting variable org-html-doctype
is usable = here.

Version 8.2.6  does not show this = variable?

I am running 8.2.6 here and for me = org-html-doctype is defined. Maybe
you need to (require 'ox-html) = ?

HTH,
--
Alexander = Baier



------------------------------

Message: = 20
Date: Sat, 17 May 2014 14:16:31 +0100
From: Dave Pawson = <dave.pawson@gmail.com>
To: Dave Pawson = <dave.pawson@gmail.com>, org-mode list
= <emacs-orgmode@gnu.org>
Subject: Re: [O] html export = doctype?
Message-ID:
= <CAEncD4eWiALpMdC9uB61HfOOzwQoE6ryah+mysE5cT_OYW7uZQ@mail.gmail.= com>
Content-Type: text/plain; charset=3DUTF-8

On 17 May = 2014 13:24, Alexander Baier <alexander.baier@mailbox.org> = wrote:
On 2014-05-17 14:12 Dave Pawson = wrote:
http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes
intimates that setting variable org-html-doctype
is usable = here.

Version 8.2.6  does not show this = variable?

I am running 8.2.6 here and for me = org-html-doctype is defined. Maybe
you need to (require 'ox-html) = ?


Thanks, That worked.
I'll add that to = .emacs.


regards

--
Dave Pawson
XSLT XSL-FO = FAQ.
Docbook = FAQ.
http://www.dpawson.co.uk



--------------------------= ----

Message: 21
Date: Sat, 17 May 2014 11:28:00 = -0400
From: Nick Dokos <ndokos@gmail.com>
To: = emacs-orgmode@gnu.org
Subject: Re: [O] Preview tikz in org-mode = (reduce margins of produced
images)
Message-ID: = <87a9agzapr.fsf@gmail.com>
Content-Type: text/plain; = charset=3Dutf-8

Leu Zhe <lzhes43@gmail.com> = writes:

Hi ndokos,

Thanks for = you advice.?
I added a attachment which matches my = problem.

Best regards!


Content-Type: = text/enriched
Text-Width: 70

#+LATEX_HEADER: = \usepackage{tikz}
#+LATEX_HEADER: = \usepackage[siunitx]{circuitikz}


<x-color><param>do= dger blue</param>* A tikz preview test in = org-mode

</x-color>
...

Unfortunately,= you seem to have attached it as text/enriched and it is
messed up. = Can you please attach it as text/plain?

Thanks!
-- =
Nick




End of Emacs-orgmode Digest, Vol 99, Issue = 20
*********************************************
=

= --Apple-Mail=_A1AED1AB-4B4B-4FED-A1A2-CB01C91E7DDF--