Re: [Orgmode] Command names are now in the manual
On Nov 13, 2010, at 4:43 PM, Nick Dokos wrote: Carsten Dominik domi...@uva.nl wrote: I have just added the last command missing names to the manual. So if =20= you compile the manual in the latest git version, you will find =20 command names listed for almost all keys listed in the manual, along =20 with a much extended command and function index. I think there is a problem on line 4668: the @findex seems to dislike braces around the name: , | $ make html | (cd doc; makeinfo --html --number-sections --no-split -o org.html org.texi) | /home/nick/src/emacs/org/org-mode/doc | org.texi:4668: Misplaced {. | org.texi:4668: Misplaced }. | org.texi:4668: Misplaced {. | org.texi:4668: Misplaced }. | makeinfo: Removing output file `org.html' due to errors; use -- force to preserve. | make: *** [doc/org.html] Error 1 ` Yes, thank you. Other than that, it looks pretty good. A suggestion for a possible(?) improvement: the O section of the function index (and I imagine the variable index as well) is pretty crowded :-). I wonder if texinfo has any facilities to break it up, perhaps according to the first letter after the first dash. I don't think that can be done easily. Thanks - Carsten Thanks! 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 ___ 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: org-install must precede customization [7.02trans]
At Fri, 12 Nov 2010 23:50:35 -0600, Carsten Dominik wrote: Hi David, On Nov 12, 2010, at 11:01 PM, David Abrahams wrote: Hi Carsten, I'm sorry to belabor this, but I'm a little confused about what you're saying. that is because I just talked garbage. I don't think you are giving yourself enough credit. Let me try a cleaner version. If I put an autoload cookie in front of a defun, a stub for this function will be created in the autoloads file (for Org this is org- install.el). When this file gets loaded and the corresponding form evaluated, Emacs knows about this function and it will load the corresponding file to get the full function whenever the function is first called. We had a discussion here some point ago where someone complained that org-capture-templates was not available for customization before org- capture.el actually has been loaded. I thought that putting an autoload cookie in front of a defcustom form would have the desired effect. I had hoped that org-install.el then would make Emacs aware of org-capture-templates and load org-capture.el whenever org-capture- templates first was needed. However, it does not work like this. In org-install.el, the defcustom is turned into a defvar, which defines the variable and sets it to nil. That's unfortunate. It sounds rather like a bug in emacs. When later the customize forms are evaluated, they see the variable already defined and assume that the user has set this value on purpose. So customize does not think it is entitled to overrule the users action and so does *not* install its saved value. So this creates a dependence on the load sequence of org-install.el and custom.el. This is bad and unpredictable. Therefore I clearly prefer that org-capture-templates is only available when org-capture indeed has been loaded, and that an error is produced when I try to access the variable before it is defined. Hmm, could that not be solved by doing a (require 'custom) in org-install.el? Moreover, if you use `C-c r C' to customize the variable, I don't seem to have that binding. it will work because the function org-capture is correctly autoloaded. That is why I have decided to remove the autoload cookie. Better? Makes sense, mostly, thanks. I guess I should update my Org sources, then! -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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: Bug: org-install must precede customization [7.02trans]
At Sat, 13 Nov 2010 11:25:25 +0530, Anupam Sengupta wrote: David Abrahams d...@boostpro.com writes: Is it merely the autoload of org-capture-templates, or is this a general rule for everything in org-install? I think I'm perfectly happy to work with the dependency in place as long as it's documented. For most people it wouldn't be an issue since custom-* puts its custom-set-variables call at the end of the file. I think you need to be using something like initsplit to see the problem. The problem also comes up when a separate file is used for storing the `custom-set-variables', i.e., something like: (setq custom-file ~/emacs-custom.el) (load custom-file) Because of the autoload, these statements now need to be at the very end of the init.el file. Not a big problem, but still something that needs to be known (and was not required prior to 7.02). Yes, that --- in part --- is how I noticed this problem. -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ 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] Why are src_perl{} immediately executed?
Hi Dov, That is correct, there is no method of highlighting inline code blocks, the begin_src constructs are just for evaluation of inline code. You can customized the `org-babel-default-inline-header-args' to inhibit the execution of inline code blocks on export. Best -- Eric Dov Grobgeld dov.grobg...@gmail.com writes: From the documentation I see now difference between inline and multi-line behavior. Note that I did not wish to evaluate the code at all but just have inline syntax highlighting in my html export. Is src_perl{foo()} for evaluation only and not for source highlighting? Thanks, Dov On Sun, Nov 14, 2010 at 04:49, Noorul Islam noo...@noorul.com wrote: On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld dov.grobg...@gmail.com wrote: From the documentation it seems like a statement such as src_perl{foo()} are inline version of the multi line: #+src_perl foo(); #+end_src But when exporting the org file to html I get the question Evaluate this perl code on your system for the inline version, but not for the multiline version. Is this a bug or did I miss something? You can customize this with the variable org-confirm-babel-evaluate Thanks and Regards Noorul ___ 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] Highlight current page in TOC
Hi With the org-info-js mode enabled each section is shown as a seperate page, but then I would like to get current page marked in the TOC in some way (e.g. class=current and then some CSS to make the markup) ... but is it possible? /Benny ___ 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: How to export to ps file when generating agenda file on Windows
Chao LU looc...@gmail.com writes: I'm trying to generating the agenda file everyday as a pdf file, then print it out. But I failed to modify org-mode to do so automatically under windows system, each time I have to get the agenda generated first, then manually M-x ps-spool-buffer-with-faces, to save it as ps file. How to do it automatically? Could you please take a look at the following manual page and provide a little more detail about which methods you tried and which methods didn't behave as you expected? - (info (org) Exporting Agenda Views) - http://orgmode.org/manual/Exporting-Agenda-Views.html#Exporting-Agenda-Views Best, Matt ___ 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] %20 in file://... URL
At Sat, 13 Nov 2010 07:18:42 +0100, Vincent Belaïche wrote: Herein attached follows my patch. Please feel free for brickbats... Could I ask you to resend the patch in a format that can be applied with Git? E.g. try: git diff my-new-patch.patch Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpziGEYGzfbN.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] Blockquotes...
On 2010-11-14 23:32+0530, Puneeth wrote: Hi 'Mash, On Sun, Nov 14, 2010 at 11:23 PM, 'Mash mash...@toshine.net wrote: Evening, I have spent an hour looking around for how to define blockquotes in org-mode. So far I have seen discussion but nothing in terms of how you actually define them. Is this still a future feature or is there a way to do this already? I guess you are looking for this? http://orgmode.org/org.html#Paragraphs Sorry, if this is not what you were looking for. HTH, Puneeth Yup that's it! Typical I search everywhere and it is right in the documentation. Pity that Google does not find this somehow. Thanks again 'Mash ___ 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 report: syntax highlighting fails with org-indent-mode and emacs 23.2
At Thu, 04 Nov 2010 14:33:32 +0100, Jean-Marie Gaillourdet wrote: A file with #+STARTUP: indent isn't syntax highlighted at all. The message buffer says fontification fails with: (invalid-function with-silent-modifications) All calls to =with-silent-modifcations= have been introduced by git commit e40903a6. This commit replaces =org-unmodified= with =with-silent-modifications=. I've reverted this manually and syntax highlighting works again with org-indent-mode. Is with-silent-modifications an addition of Emacs 24? I am still using 23.2 and would prefer to continue to do so. I use GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-08-14 on raven, modified by Debian and do not have this problem. Could I ask you to provide a backtrace for this bug? 1. Reload Org mode so it runs on uncompiled Elisp M-x org-reload RET 2. Toggle debugging on error M-x toggle-debug-on-error RET And hit the bug. 'invalid-function' looks scary. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpS3Ge2kTp4W.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: Bug?: 7.02/7.3 - Unable to set `org-capture-templates'in a
At Sun, 7 Nov 2010 05:52:23 + (UTC), Anupam Sengupta wrote: This allows the `org-capture-templates' saved in the separate emacs-custom.el file to be correctly loaded. Note that this behavior is from 7.02/7.3, and probably has to do with the custom-autoload definition of this variable in org-install.el. Thanks for looking at this problem. The change that caused this dependency between org-install.el and custom.el has just been reverted: http://mid.gmane.org/CA5F6295%2DECC9%2D4B51%2D8F36%2DAEB4F524D9E9%40gmail%2Ecom Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpY7NDTTVNm7.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] Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil
At Mon, 08 Nov 2010 09:45:25 -0500, Nick Dokos wrote: Something to do with the compilation of the org-babel-map-src-blocks macro, no doubt. I don't see it with uncompiled files. Not a solution, but some debugging showed that `org-babel-get-src-block-info' fails to get the info of the source block when run byte-compiled. If I change the last sexp of the function (when info (append info (list name indent))) to (if info (append info (list name indent)) (error EMPTY INFO)) And run byte-compiled Org, the EMPTY INFO error is thrown before the invalid argument. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpWX3S6edexH.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] requested feature
At Fri, 29 Oct 2010 19:24:32 -0400, Marvin Doyley wrote: [1 multipart/alternative (7bit)] [1.1 text/plain; ISO-8859-1 (7bit)] Does anybody have a function that turns a org header into file with a link to the file where it originated from ? For example, lets say I have the following heading * Apples * Cherry * Tomatoes Lets say I have a mini project on Apples, it would be nice to issue a single command that turns Applies into Apples.org with a link Maybe something like this: (defun dmj:turn-word-into-org-mode-link () Replace word at point by an Org mode link. (interactive) (let ((word (thing-at-point 'word))) (when word (re-search-backward \\W nil t) (replace-string word (format [[file:%s.org][%s]] word word) t) (point) (+ (point) (length word) Grab word at point, go to its beginning, replace with an Org mode link. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpfllHLj2D4A.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] #+BEGIN_EXAMPLE not exporting to LaTeX
Aloha all, The LaTeX exporter passes over #+BEGIN_EXAMPLE blocks. In the following example, Absent does not make it into the .tex file, but Present does. I'm expecting the #+BEGIN_EXAMPLE block to appear in the .tex file wrapped in a verbatim environment. --- cut here * Export LaTeX examples #+BEGIN_EXAMPLE Absent #+END_EXAMPLE : Present --- cut here I'm using Org-mode version 7.3 (release_7.3.69.ga3e99) with many customizations of the LaTeX exporter in my .emacs. I'm wondering if I've done something wrong, or if others are seeing this behavior? Thanks, Tom ___ 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] #+BEGIN_EXAMPLE not exporting to LaTeX
Thomas S. Dye t...@tsdye.com wrote: Aloha all, The LaTeX exporter passes over #+BEGIN_EXAMPLE blocks. In the following example, Absent does not make it into the .tex file, but Present does. I'm expecting the #+BEGIN_EXAMPLE block to appear in the .tex file wrapped in a verbatim environment. --- cut here * Export LaTeX examples #+BEGIN_EXAMPLE Absent #+END_EXAMPLE : Present --- cut here I'm using Org-mode version 7.3 (release_7.3.69.ga3e99) with many customizations of the LaTeX exporter in my .emacs. I'm wondering if I've done something wrong, or if others are seeing this behavior? I'm not seeing this behavior: both Absent and Present are present in my case. GNU Emacs 23.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2010-10-27 Org-mode version 7.3 (release_7.3.65.gc2a36.dirty) HTH, 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] Why are src_perl{} immediately executed?
Ok. Thanks for clarifying it. The documentation isn't clear on this issue. Regards, Dov On Sun, Nov 14, 2010 at 18:03, Eric Schulte schulte.e...@gmail.com wrote: Hi Dov, That is correct, there is no method of highlighting inline code blocks, the begin_src constructs are just for evaluation of inline code. You can customized the `org-babel-default-inline-header-args' to inhibit the execution of inline code blocks on export. Best -- Eric Dov Grobgeld dov.grobg...@gmail.com writes: From the documentation I see now difference between inline and multi-line behavior. Note that I did not wish to evaluate the code at all but just have inline syntax highlighting in my html export. Is src_perl{foo()} for evaluation only and not for source highlighting? Thanks, Dov On Sun, Nov 14, 2010 at 04:49, Noorul Islam noo...@noorul.com wrote: On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld dov.grobg...@gmail.com wrote: From the documentation it seems like a statement such as src_perl{foo()} are inline version of the multi line: #+src_perl foo(); #+end_src But when exporting the org file to html I get the question Evaluate this perl code on your system for the inline version, but not for the multiline version. Is this a bug or did I miss something? You can customize this with the variable org-confirm-babel-evaluate Thanks and Regards Noorul ___ 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: #+BEGIN_EXAMPLE not exporting to LaTeX
Nick Dokos nicholas.do...@hp.com writes: Thomas S. Dye t...@tsdye.com wrote: Present does. I'm expecting the #+BEGIN_EXAMPLE block to appear in the .tex file wrapped in a verbatim environment. --- cut here * Export LaTeX examples #+BEGIN_EXAMPLE Absent #+END_EXAMPLE : Present --- cut here I'm using Org-mode version 7.3 (release_7.3.69.ga3e99) with many customizations of the LaTeX exporter in my .emacs. I'm wondering if I've done something wrong, or if others are seeing this behavior? I'm not seeing this behavior: both Absent and Present are present in my case. GNU Emacs 23.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2010-10-27 Org-mode version 7.3 (release_7.3.65.gc2a36.dirty) Works for me too. -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] How to distinguish timestamps in CSS?
Hi, Only partly. On 11/14/10 12:24 AM, Sébastien Vauban wrote: Hello, A quick (but not easy?) question about the Org publish to HTML and CSS: I would like to make the 3 different timestamps stand out with different backgrounds. Is it possible with CSS? I have the impression that it currently is not, but... This is some sample output in HTML: #+begin_src html pspan class=timestamp-wrapper span class=timestamp2010-11-13 Sat/span/spanbr/ span class=timestamp-wrapperspan class=timestamp-kwdSCHEDULED:/span span class=timestamp2010-11-15 Mon/span/spanbr/ span class=timestamp-wrapperspan class=timestamp-kwdDEADLINE:/span span class=timestamp2010-11-20 Sat/span/spanbr/ /p #+end_src Best regards, Seb You can distinguish between timestamps with and without a keyword. The following will set a red background on SCHEDULED and DEADLINE timestamps (sorry for the noise if this was clear to you already). #+STYLE: style.timestamp-kwd + .timestamp {background-color: red}/style But you cannot distinguish between different keywords -- no CSS selector works on text content. You could use Javascript. Yours, Christian ___ 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: #+BEGIN_EXAMPLE not exporting to LaTeX
Aloha Nick and Bernt, Thanks for looking into this. It looks like I've broken something. All the best, Tom On Nov 14, 2010, at 10:34 AM, Bernt Hansen wrote: Nick Dokos nicholas.do...@hp.com writes: Thomas S. Dye t...@tsdye.com wrote: Present does. I'm expecting the #+BEGIN_EXAMPLE block to appear in the .tex file wrapped in a verbatim environment. --- cut here * Export LaTeX examples #+BEGIN_EXAMPLE Absent #+END_EXAMPLE : Present --- cut here I'm using Org-mode version 7.3 (release_7.3.69.ga3e99) with many customizations of the LaTeX exporter in my .emacs. I'm wondering if I've done something wrong, or if others are seeing this behavior? I'm not seeing this behavior: both Absent and Present are present in my case. GNU Emacs 23.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2010-10-27 Org-mode version 7.3 (release_7.3.65.gc2a36.dirty) Works for me too. -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] How to distinguish timestamps in CSS?
At Sun, 14 Nov 2010 15:56:20 -0500, Nick Dokos wrote: Perhaps it'd be possible to (optionally) add an id selector to the timestamp span elements and use that for CSS manipulation, tied to an org-mode ID or some other unique id? Or perhaps just postprocess the HTML output to add such ids. Or make the HTML export add a timestamp keyword specific class to the timestamp keyword span element. So you could use: #+begin_src css .timestamp-kwd-scheduled + .timestamp { color: red; } #+end_src Cf. http://www.w3.org/TR/CSS2/selector.html I recorded a WISH for this in the issues file. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpOXCexhmmZ2.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] FR: Tap stops in org-capture templates
I reviewed the org-manual for capture, and noticed that we don't have a way to specify tab stops. I use yasnippet all the time to enter information, and I can tab from field to field. Can capture do the same? Here's an example from yasnippet: -- #contact : Add a contact w/ PROPERTY drawer # -- ** $1 :PROPERTIES: :Company: $2 :Title:$3 :WorkEmail:$4 :WorkPhone:$5 :WorkMobile: $7 :WorkFax: $8 :WorkStreet: $9 :WorkCity: $10 :WorkState:$11 :WorkPostal: $12 :HomeEmail:$13 :HomePhone:$14 :HomeMobile: $15 :HomeStreet: $16 :HomeCity: $17 :HomeState:$18 :HomePostal: $19 :END: $0 -- Thanks! -- Russell Adamsrlad...@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