Re: [O] Some documentation suggestions
Thank you Tony, I have applied these. - Carsten On 13.10.2013, at 19:01, TonyMc af...@btinternet.com wrote: Dear Bastien et al, I have been reading through the Org manual (version 8.2.1) and have found a few errors of grammar or places where the English doesn't sound right. I list them below with some suggested replacements (separated by -). I hope this is helpful. Best, Tony * 1.4 Feedback If you re - If you are * 2.5 Structure Editing level than - level as (twice) * 2.6 Sparse Trees several commands creating - several commands for creating * 2.7 Plain Lists theirs sub-items - their sub-items 3.1 Table editor region to table - region to a table 3.5.1 References one but last - last but one 3.5.4 Durations and time values [HH:MM[:SS] - HH:MM[:SS] 3.5.5 Field and range formulas column and rows - columns and rows To avoid this from happening - To prevent this from happening or To avoid this 3.5.6 Column formulas can not - cannot 4.2 Internal links put the line - put in the line 4.6 Link abbreviations text don't - text doesn't 5.2.3 Multiple keyword sets S-right - S-right 5.3.2 Tracking TODO state changes you not only - You not only 7.1 Property syntax activate this changes. - activate this change. 7.5.2 Using column view modified values is - modified value is 8 Dates and times used as indicating - used to indicate 8.1 Timestamps, deadlines and scheduling That order depend - That order depends 8.3 Deadlines and scheduling a specific deadlines - a specific deadline task get scheduled - task gets scheduled 8.4 Clocking work time to that you can - so that you can 8.4.1 Clocking commands in inserts it - and inserts it 8.4.2 The Clock table and specify - specifies either absolute - either absolutely There options - These options 10.3.3 Matching tags and properties one of the tag - one of the tags Except the Special properties - In addition to the Special properties 10.4.4 Filtering/limiting agenda items _fitlers_ - _filters_ Filter are - Filters are catogories - categories that as no effort - that has no effort 10.6.3 Setting options for custom commands an agenda commands - an agenda command 11 Markup for rich export like HTML, LaTeX - like HTML and LaTeX Document title associated to buffer - associated with the buffer 11.8 Special blocks at a specific back-ends - at a specific back-end 12.11 Other built-in back-ends these export back-end - these export back-ends 15.3 Speed keys Speed keys do not only - Speed keys not only 15.4 Code evaluation and security issues work with the code snippets - work with code snippets 15.6 Summary of in-buffer settings any of those lines - any of these lines Appendix A Hacking some aspects - some areas A.4 Adding export back-ends or from deriving them - or by deriving them A.8 Special agenda views the same than `agenda' - the same as `agenda' A.9 Speeding up your agendas slowliness caused by accessing to - slowdown caused by accessing Appendix B MobileOrg It does also allow - It also allows B.1 Setting up the staging area consider to encrypt - consider encrypting B.2 Pushing to MobileOrg same name than their - same name as their signature.asc Description: Message signed with OpenPGP using GPGMail
Re: [O] [PATCH] doc: Fix grammar and typo
Noorul, thank you very much for this service! A few minutes to late, I did this on my train ride. - Carsten On 14.10.2013, at 07:11, Noorul Islam K M noo...@noorul.com wrote: * doc/org.texi: Fix grammar and typo. Based on the patch proposed by TonyMc --- doc/org.texi | 109 +- 1 file changed, 55 insertions(+), 54 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 0271d70..a202af8 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1011,7 +1011,7 @@ version information of Emacs (@kbd{M-x emacs-version @key{RET}}) and Org @kbd{M-x org-submit-bug-report RET} @end example @noindent which will put all this information into an Emacs mail buffer so -that you only need to add your description. If you re not sending the Email +that you only need to add your description. If you are not sending the Email from within Emacs, please copy and paste the content into your Email program. Sometimes you might face a problem due to an error in your Emacs or Org mode @@ -1426,7 +1426,7 @@ See also the option @code{org-goto-interface}. @table @asis @orgcmd{M-@key{RET},org-insert-heading} @vindex org-M-RET-may-split-line -Insert a new heading/item with the same level than the one at point. +Insert a new heading/item with the same level as the one at point. If the cursor is in a plain list item, a new item is created (@pxref{Plain lists}). To prevent this behavior in lists, call the command with a prefix argument. When this command is used in the @@ -1476,7 +1476,7 @@ of the one just marked. E.g., hitting @key{M-h} on a paragraph will mark it, hitting @key{M-h} immediately again will mark the next one. @orgcmd{C-c @@,org-mark-subtree} Mark the subtree at point. Hitting repeatedly will mark subsequent subtrees -of the same level than the marked subtree. +of the same level as the marked subtree. @orgcmd{C-c C-x C-w,org-cut-subtree} Kill subtree, i.e., remove it from buffer but save in kill ring. With a numeric prefix argument N, kill N sequential subtrees. @@ -1567,7 +1567,7 @@ variables @code{org-show-hierarchy-above}, @code{org-show-following-heading}, control on how much context is shown around each match.}. Just try it out and you will see immediately how it works. -Org mode contains several commands creating such trees, all these +Org mode contains several commands for creating such trees, all these commands can be accessed through a dispatcher: @table @asis @@ -1707,7 +1707,7 @@ blocks can be indented to signal that they belong to a particular item. If you find that using a different bullet for a sub-list (than that used for the current list-level) improves readability, customize the variable @code{org-list-demote-modify-bullet}. To get a greater difference of -indentation between items and theirs sub-items, customize +indentation between items and their sub-items, customize @code{org-list-indent-offset}. @vindex org-list-automatic-rules @@ -2133,7 +2133,7 @@ unpredictable for you, configure the options @table @kbd @tsubheading{Creation and conversion} @orgcmd{C-c |,org-table-create-or-convert-from-region} -Convert the active region to table. If every line contains at least one +Convert the active region to a table. If every line contains at least one TAB character, the function assumes that the material is tab separated. If every line contains a comma, comma-separated values (CSV) are assumed. If not, lines are split at whitespace into fields. You can use a prefix @@ -2533,7 +2533,7 @@ format at least for the first field (i.e the reference must start with @example $1..$3@r{first three fields in the current row} $P..$Q@r{range, using column names (see under Advanced)} -$..$ @r{start in third column, continue to the one but last} +$..$ @r{start in third column, continue to the last but one} @@2$1..@@4$3@r{6 fields between these two fields (same as @code{A2..C4})} @@-1$-2..@@-1 @r{3 fields in the row above, starting from 2 columns on the left} @@I..II@r{between first and second hline, short for @code{@@I..@@II}} @@ -2794,7 +2794,7 @@ formulas or Elisp formulas: @end group @end example -Input duration values must be of the form @code{[HH:MM[:SS]}, where seconds +Input duration values must be of the form @code{HH:MM[:SS]}, where seconds are optional. With the @code{T} flag, computed durations will be displayed as @code{HH:MM:SS} (see the first formula above). With the @code{t} flag, computed durations will be displayed according to the value of the option @@ -2822,9 +2822,9 @@ current field will be replaced with the result. Formulas are stored in a special line starting with @samp{#+TBLFM:} directly below the table. If you type the equation in the 4th field of the 3rd data line in the table, the formula will look like @samp{@@3$4=$1+$2}. When -inserting/deleting/swapping column and rows with the
Re: [O] org babel before excute hook
if anyone is interested in this, a simple defadvice appears to be a good option, I put (defadvice org-babel-execute-maybe (around org-babel-stop-on-collision) stop execution of result file defined more than once (let ((info (org-babel-get-src-block-info))) (setq result-file (cdr (assoc :file (nth 2 info (if (save-excursion (goto-char 0) (re-search-forward (concat :file + result-file) nil t) (re-search-forward (concat :file + result-file) nil t)) (error (concat result-file defined in more than one source block)) ad-do-it))) (ad-activate 'org-babel-execute-maybe) in my .emacs and appear to get the desired functionality 2013/10/13 Samuel Wales samolog...@gmail.com In case it helps, there is org-confirm-babel-evaluate. (But I have not found it to be useful, because it does not seem to place point in a place where you can check properties, etc.) Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.
Re: [O] Markup (blod for instance) over line breaks
On Oct 13, 2013, at 22:22 PM, Marcin Borkowski wrote: Dnia 2013-10-13, o godz. 21:58:20 Dror Atariah dror...@gmail.com napisał(a): On Oct 13, 2013, at 21:38 PM, Marcin Borkowski wrote: Dnia 2013-10-13, o godz. 20:49:30 Dror Atariah dror...@gmail.com napisał(a): Dear org-moders, It might be terribly simple, but I failed to find a solution. How can I mark several words as bold (or emphasized or any similar markup), in particular if the words spans over *more then one line*? A similar problem can occur when one is pasting a long line into an org-mode buffer and then, after it is being broken into shorter lines, you try to make it bold. The documentation (http://orgmode.org/org.html#Emphasis-and-monospace) states that this kind of markup is aimed at words - so it might not support sentences and in particular long ones... Is it correct? Not really an answer, but does visual-line-mode help in your use case? It does help. Doesn't org-mode has some sort of dedicated line-breaking mechanism? How would you turn it into a complete solution? Not that I know of. Basically, lines may be /visual/ (i.e., broken by the display engine at spaces etc., but the whole paragraph is one long line in the file) or /physical/ (i.e., with newline characters at the end of each line). In Emacs, you an use M-q to fill a paragraph (more or less, convert from visual to physical lines), and something along the lines of C-u 9 9 9 9 9 C-x f M-q to unfill a paragraph. (There are also unfill functions (quod google), though they are not part of stock Emacs.) There is an ongoing discussion on which is better, too long to repeat any of the arguments here. For a LaTeX-centric approach, see e.g. http://tex.stackexchange.com/questions/4376/good-strategy-for-line-breaks-with-paragraphs-of-latex-source (note that Emacs's longline-mode was a predecessor of visual-line-mode). In this case I suppose I will revert to visual-line-mode, just like I have in my LaTeX buffers. And indeed, bold/italic spanning more than a few words might not be a good idea. And in cases it is, it's problably better to define a specialized environment (in LaTeX lingo) - like one for theorems (which are often typeset in italics). What is the org-mode's equivalent of LaTeX's environment? That COULD be very helpful. Thanks, Dror
Re: [O] Markup (blod for instance) over line breaks
On Oct 14, 2013, at 07:11 AM, Eric Abrahamsen wrote: Dror Atariah dror...@gmail.com writes: Dear org-moders, It might be terribly simple, but I failed to find a solution. How can I mark several words as bold (or emphasized or any similar markup), in particular if the words spans over *more then one line*? A similar problem can occur when one is pasting a long line into an org-mode buffer and then, after it is being broken into shorter lines, you try to make it bold. The documentation (http://orgmode.org/org.html#Emphasis-and-monospace ) states that this kind of markup is aimed at words - so it might not support sentences and in particula r long ones... Is it correct? Thanks in advance, Dror I use autofill mode, and then change the value of `org-emphasis-regexp-components'. That variable is a list, the fifth element of which says how many newlines the emphasis markers will allow. I set it to three: (setf (nth 4 org-emphasis-regexp-components) 3) Thanks for the tip. It somehow didn't help. I did M-x org-reload after setting this, but it didn't help spanning the italic in my case over several lines. Cheers, Dror
Re: [O] [PATCH] doc: Fix grammar and typo
On Mon, Oct 14, 2013 at 12:12 PM, Carsten Dominik carsten.domi...@gmail.com wrote: Noorul, thank you very much for this service! A few minutes to late, I did this on my train ride. No problems, it was like a minor English refresh course :-) Thanks and Regards Noorul - Carsten On 14.10.2013, at 07:11, Noorul Islam K M noo...@noorul.com wrote: * doc/org.texi: Fix grammar and typo. Based on the patch proposed by TonyMc --- doc/org.texi | 109 +- 1 file changed, 55 insertions(+), 54 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 0271d70..a202af8 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -1011,7 +1011,7 @@ version information of Emacs (@kbd{M-x emacs-version @key{RET}}) and Org @kbd{M-x org-submit-bug-report RET} @end example @noindent which will put all this information into an Emacs mail buffer so -that you only need to add your description. If you re not sending the Email +that you only need to add your description. If you are not sending the Email from within Emacs, please copy and paste the content into your Email program. Sometimes you might face a problem due to an error in your Emacs or Org mode @@ -1426,7 +1426,7 @@ See also the option @code{org-goto-interface}. @table @asis @orgcmd{M-@key{RET},org-insert-heading} @vindex org-M-RET-may-split-line -Insert a new heading/item with the same level than the one at point. +Insert a new heading/item with the same level as the one at point. If the cursor is in a plain list item, a new item is created (@pxref{Plain lists}). To prevent this behavior in lists, call the command with a prefix argument. When this command is used in the @@ -1476,7 +1476,7 @@ of the one just marked. E.g., hitting @key{M-h} on a paragraph will mark it, hitting @key{M-h} immediately again will mark the next one. @orgcmd{C-c @@,org-mark-subtree} Mark the subtree at point. Hitting repeatedly will mark subsequent subtrees -of the same level than the marked subtree. +of the same level as the marked subtree. @orgcmd{C-c C-x C-w,org-cut-subtree} Kill subtree, i.e., remove it from buffer but save in kill ring. With a numeric prefix argument N, kill N sequential subtrees. @@ -1567,7 +1567,7 @@ variables @code{org-show-hierarchy-above}, @code{org-show-following-heading}, control on how much context is shown around each match.}. Just try it out and you will see immediately how it works. -Org mode contains several commands creating such trees, all these +Org mode contains several commands for creating such trees, all these commands can be accessed through a dispatcher: @table @asis @@ -1707,7 +1707,7 @@ blocks can be indented to signal that they belong to a particular item. If you find that using a different bullet for a sub-list (than that used for the current list-level) improves readability, customize the variable @code{org-list-demote-modify-bullet}. To get a greater difference of -indentation between items and theirs sub-items, customize +indentation between items and their sub-items, customize @code{org-list-indent-offset}. @vindex org-list-automatic-rules @@ -2133,7 +2133,7 @@ unpredictable for you, configure the options @table @kbd @tsubheading{Creation and conversion} @orgcmd{C-c |,org-table-create-or-convert-from-region} -Convert the active region to table. If every line contains at least one +Convert the active region to a table. If every line contains at least one TAB character, the function assumes that the material is tab separated. If every line contains a comma, comma-separated values (CSV) are assumed. If not, lines are split at whitespace into fields. You can use a prefix @@ -2533,7 +2533,7 @@ format at least for the first field (i.e the reference must start with @example $1..$3@r{first three fields in the current row} $P..$Q@r{range, using column names (see under Advanced)} -$..$ @r{start in third column, continue to the one but last} +$..$ @r{start in third column, continue to the last but one} @@2$1..@@4$3@r{6 fields between these two fields (same as @code{A2..C4})} @@-1$-2..@@-1 @r{3 fields in the row above, starting from 2 columns on the left} @@I..II@r{between first and second hline, short for @code{@@I..@@II}} @@ -2794,7 +2794,7 @@ formulas or Elisp formulas: @end group @end example -Input duration values must be of the form @code{[HH:MM[:SS]}, where seconds +Input duration values must be of the form @code{HH:MM[:SS]}, where seconds are optional. With the @code{T} flag, computed durations will be displayed as @code{HH:MM:SS} (see the first formula above). With the @code{t} flag, computed durations will be displayed according to the value of the option @@ -2822,9 +2822,9 @@ current field will be replaced with the result. Formulas are stored in a special line starting with @samp{#+TBLFM:} directly below the table. If you type the
[O] [babel] Feature request - WAS: org babel before excute hook
At the moment, I have the feeling that there is no solution to the actual problem (avoiding duplicate :file names) without doctoring in an unsatisfying (and potentially fragile?) way. I would therefore formulate a feature request: It is a common error to accidentally use the same :file name and to have consequently the wrong file in the exported file. I would therefore suggest a property with the following possible values: , | file_unique | | - false :: the actual behaviour, i.e. consequtive :file overwrite the | original ones *without* warning | - true :: if more then one :file exist, an consecutive number is automatically | to the :file and cached to avoid having leftover files (as in temp files) | - warn :: give a warning on export, so that this error can be fixed | manually. ` I would see this as a valuable addition to the export feature as it avoids errors. Cheers, Rainer Henning Redestig henning@gmail.com writes: if anyone is interested in this, a simple defadvice appears to be a good option, I put (defadvice org-babel-execute-maybe (around org-babel-stop-on-collision) stop execution of result file defined more than once (let ((info (org-babel-get-src-block-info))) (setq result-file (cdr (assoc :file (nth 2 info (if (save-excursion (goto-char 0) (re-search-forward (concat :file + result-file) nil t) (re-search-forward (concat :file + result-file) nil t)) (error (concat result-file defined in more than one source block)) ad-do-it))) (ad-activate 'org-babel-execute-maybe) in my .emacs and appear to get the desired functionality 2013/10/13 Samuel Wales samolog...@gmail.com In case it helps, there is org-confirm-babel-evaluate. (But I have not found it to be useful, because it does not seem to place point in a place where you can check properties, etc.) Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW. #secure method=pgpmime mode=sign -- Rainer M. Krug email: RMKrugatgmaildotcom
Re: [O] Markup (blod for instance) over line breaks
Dror Atariah dror...@gmail.com writes: On Oct 14, 2013, at 07:11 AM, Eric Abrahamsen wrote: Dror Atariah dror...@gmail.com writes: Dear org-moders, It might be terribly simple, but I failed to find a solution. How can I mark several words as bold (or emphasized or any similar markup), in particular if the words spans over *more then one line*? A similar problem can occur when one is pasting a long line into an org-mode buffer and then, after it is being broken into shorter lines, you try to make it bold. The documentation (http://orgmode.org/org.html#Emphasis-and-monospace ) states that this kind of markup is aimed at words - so it might not support sentences and in particula r long ones... Is it correct? Thanks in advance, Dror I use autofill mode, and then change the value of `org-emphasis-regexp-components'. That variable is a list, the fifth element of which says how many newlines the emphasis markers will allow. I set it to three: (setf (nth 4 org-emphasis-regexp-components) 3) Thanks for the tip. It somehow didn't help. I did M-x org-reload after setting this, but it didn't help spanning the italic in my case over several lines. Hmm. I do find it sometimes needs to be poked a few times to really take -- sometimes reloading org more than once, or calling org-mode in a buffer that's already org-mode. Often hitting M-q to refill the paragraph is enough to do the trick. It won't show the italic over even a single line break? E
[O] Replace EMAIL keyword by some LaTeX command
Dear Orgers, I would like to use the EMAIL keyword from an orgmode file and translate it into a LaTeX command I have defined. To understand what I would like to achieve is to have an org mode file with #+BEGIN_SRC org #+TITLE: LaTeX test #+AUTHOR: toto #+EMAIL: t...@toto.org #+END_SRC and to get it translated to LaTeX #+BEGIN_SRC latex \title{LaTeX test} \author{toto} \email{t...@toto.org} #+END_SRC I have defined my own =email= LaTeX command so I know it will work. The only point is that I do not know how to translate =#+EMAIL= org keyword into =\email= LaTeX command. Can a export filter do it ? Thanks, Xavier
Re: [O] Recent items Agenda view?
Eric S Fraga e.fraga at ucl.ac.uk writes: Martin Beck elwood151 at web.de writes: Hi, I'm often having the problem that I want to quickly attach an information to an item I've created or I've been working on during the last days and then have to invoke a keyword search. How could I create an agenda with a list of headlines which have any timestamp in the last 7 days (as they were created, clocked, changed their status etc.?), sorted by the most recent timestamp? I don't know how to do this in an agenda view (although I'm sure, given that we are talking about org, that it is possible but you can use a sparse view (org-sparse-tree, C-c /) to get what you want for any given file. I found I needed to change the default date option to all timestamps in the menu that comes up with org-sparse-tree to get the kind of output I think you want. Thanks - great to know about that very useful possibility! I've not been working with sparse trees yet, but I'll certainly do more often now. For my purpose I would have to jump to the right org-file first (I have many of them), so Samuel's Agenda solution below fits better. Martin
Re: [O] (no subject)
Samuel Wales samologist at gmail.com writes: (setq org-agenda-inactive-leader Inactive: ) (setq org-agenda-include-inactive-timestamps t) Custom command: (ip past 7d ;; faster than tags agenda ((org-agenda-start-day -7d) (org-agenda-span 7) (org-agenda-repeating-timestamp-show-all nil) ;; %s is only for agenda views ;; (org-agenda-prefix-format %s) ;; maybe not make much difference ka ;; (org-agenda-use-tag-inheritance nil) )) === Samuel great - thanks a lot. I'll test that for some time, but it seems to do what I need. Just the list created is very long. Would it be possible to limit it to inactive timestamps only? Martin
[O] Org-mode support for Nikola (static site generator in Python)
tl,dr: Created a new plugin to support org-syntax for Nikola. Attached patch for worg page update. Hi, I haven't been using org-mode very heavily for the past couple of years, but intend to get back to using it, atleast for writing. I have been using Nikola (Python based static site generator) for one of the sites I maintain and found it pretty nice. It has quite a few features that I was looking for in static-site generators. I particularly like the feature of publishing (building/deploying) only those posts/files which have changed since the previous publish. It shouldn't be too hard to implement, and I could've added something to o-blog, but I didn't want the responsibility of maintaining another piece of code! [Those who use/tried org2blog know what I mean.] Anyway, I've written a few lines of code to add support for an emacs/orgmode based compiler for Nikola and have migrated my old blog from o-blog to Nikola. Some of you may be interested to try it. It may be also useful to add a link to worg. I have attached a patch for the same, since I don't have write access to it. Thanks! Puneeth PS: The plugin is here - http://plugins.getnikola.com/#orgmode and my blog is here - http://punchagan.muse-amuse.in/ 0001-Add-link-to-Nikola-plugin-for-blogging.patch Description: Binary data
[O] DOS (CRLF) EOL in org-ascii-export-to-ascii
Hi, I have the following working script in a windows box (emacs 24.3, org-version 7.9.3f-17) to produce an ascii file: emacs.exe -Q -batch --load=report.el --visit=file.org --funcall org-babel-execute-buffer --funcall org-export-as-latin1 file.org is an unix EOL file. report.el contains: (require 'cl) (require 'org) (setq org-table-number-fraction 0.2) (org-babel-lob-ingest lob-table-operations.org) (add-hook 'org-babel-after-execute-hook 'org-table-recalculate-buffer-tables) (setq org-confirm-babel-evaluate nil) (setq org-export-html-postamble nil) And it creates an ascii file with dos EOL (CRLF), i.e., it opens in notepad.exe perfectly formatted. Now I want to upgrade to the new Org 8.x, and I substitute org-export-as-latin1 with org-ascii-export-to-ascii: I get the same output content, but with unix EOL I would appreciate any hint to get the desired output, i.e., CRLF EOL. In my box, emacs.exe -Q saves new files with CRLF EOL. Sincerely Miguel Ruiz. Sevilla (Spain)
[O] [PATCH] fix bug: org-ascii--unique-links don't call org-element-map with correct number of arguments
* lisp/ox-ascii.el: org-ascii--unique-links call org-element-map with correct number of arguments. --- lisp/ox-ascii.el |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index e0a3fa9..7ad0ee1 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -812,7 +812,7 @@ is a plist used as a communication channel. (or (org-export-get-parent-headline element) element ;; Get all links in HEADLINE. (org-element-map headline 'link - (lambda (l) (funcall unique-link-p l)) info nil nil t))) + (lambda (l) (funcall unique-link-p l)) info nil t))) (defun org-ascii--describe-links (links width info) Return a string describing a list of links. -- 1.7.9.6 (Apple Git-31.1)
Re: [O] org-mode based groupware wiki
Hi Torsten, Sorry I missed your earlier email, I'm happy to hear that this package is being used for collaboration between Org-mode users and normal people. The org-ehtml package hadn't been updated in over a year, in the mean time the many changes have taken place in Org-mode (especially what was the new export framework becoming the main Org-mode export framework). I've just finished updating org-ehtml to work with current versions of Org-mode and elnode (and I've updated the ELPA package). Please try with the latest version of org-ehtml and let me know if you run into problems. Cheers, Torsten Wagner torsten.wag...@gmail.com writes: Hi Eric, still trying to figure out whats wrong with my set-up. Did you had time to look intio it. It seems somehow elnode does not play well anymore with the current version of ehtml. Or something like this. I can access elnodes standard services and I can create new services like described in the elnode wiki. However, following the README of ehtml. I receive the early posted error message. This is not an emacs-based error or any sort of crash. It seems to be something which is well handled by elnodes error catching. Would be glad if you could give us some advice how to deal with that or how to test further. We are in the middle of setting up a groupware wiki. Two of us are org-mode users and the others do not really care what markup-language that might have to use. Thus, it gives us the comfort to stick with org-mode and we only have to decide to go the ehtml/emacs way or the gollum/org-ruby way. Even more luckily this is not a decision forever, since the files remain to be native org-files on both systems, I believe we could switch at anytime. This is again a nice example of the pure text based org-mode paradigm. Thanks Torsten On 7 October 2013 17:02, Torsten Wagner torsten.wag...@gmail.com wrote: Hi Eric, thanks for the email. I will give org-ehtml a try. Do you still actively maintain it. We would rely rather heavily on it ( a group of about 10 people) and I would be happy to know that I do not ride a dead horse. On the other hand you get a bunch of beta-testers ;) Could you agree with the following comparison: * gollum - standalone application, based on git and org-ruby. - can use different makeup-languages - can be integrated in a larger environment (read something about using Apache Webserver) - enables the creation and editing of pages via webbrowser (a minimal org-mode editor is available) - basic settings of the theme (top, footer, sidebar). * org-ehtml - part of org-mode requires emacs and elnode - makes use of the new exporter - ... ... because I tried to give it a test but it did not work out. I tried a test instance via the following commands (and its outputs) (ert org-ehtml) - Selector: org-ehtml Passed: 0 Failed: 0 Total: 0/0 Started at: 2013-10-07 16:44:00+0200 Finished. Finished at: 2013-10-07 16:44:00+0200 (setq org-ehtml-docroot /home/torsten/test-wiki/) - /home/torsten/test-wiki/ (elnode-start 'org-ehtml-handler :port ) - (( . #process *elnode-webserver-proc*)) When I start it according to the README, all I get when calling http://localhost:/simple.org is: h1Server error/h1 No errors are given in any log-buffer I could find. Not sure where the problem appears. A test of elnode according to the elnode README worked out ok (defun my-test-handler (httpcon) Demonstration function (elnode-http-start httpcon 200 '(Content-type . text/html)) (elnode-http-return httpcon htmlbHELLO!/b/html)) (elnode-start 'my-test-handler :port 8010 :host localhost) Might it be, that the elnode API changed and that the handler function need some rewrite? All the best Torsten On 4 October 2013 16:03, Eric Schulte schulte.e...@gmail.com wrote: Check out org-ehtml. See the original announcement [1] and the repo on github [2]. It might need some attention as the Org-mode export API is constantly in flux, but it does work to allow editing of Org-mode pages through a web page. Cheers, Footnotes: [1] http://thread.gmane.org/gmane.emacs.orgmode/58773/focus=58884 [2] https://github.com/eschulte/org-ehtml -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
Re: [O] org-grep, and problems
On Sun, Oct 13, 2013 at 05:43:18PM -0400, R. Michael Weylandt michael.weyla...@gmail.com wrote: On Oct 10, 2013, at 11:50, François Pinard pin...@iro.umontreal.ca wrote: P.S. What is proper English: nobody remember or nobody remembers? Remembers. 'Nobody' counts as singular, as does 'no one'. English isn't totally consistent on this matter, however, as 'none' takes a plural verb. No one is brave enough to skip the meeting, even though none of the bosses are going to attend. Actually, I think it is quite consistent. Nobody refers to an individual, even though the set of possible individuals is infinite; same goes for no one. Where as none of the ... refers to the set collectively. I think Strunk White says the same, although I can't quote – I don't have my copy handy at the moment. Cheers, -- Suvayu Open source is the future. It sets us free.
Re: [O] org babel before excute hook
Samuel Wales samolog...@gmail.com writes: In case it helps, there is org-confirm-babel-evaluate. (But I have not found it to be useful, because it does not seem to place point in a place where you can check properties, etc.) I just pushed up a change so that `org-confirm-babel-evaluate' will always be called from the head of the code block being evaluated. So the info can always be reached with something like the following. (setf org-confirm-babel-evaluate (lambda (rest args) (message info: %S (org-babel-get-src-block-info 'light)) nil)) Samuel -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
Re: [O] org babel before excute hook
Henning Redestig henning@gmail.com writes: Is it possible to add a function to org-ctrl-c-ctrl-c-hook without patching ob-core.el? If I just add something like Yes, see the documentation of `org-confirm-babel-evaluate'. So the function posted in your previous email could be changed to something like... (setf org-confirm-babel-evaluate (lambda (rest args) (let* ((info (org-babel-get-src-block-info)) (result-file (cdr (assoc :file (nth 2 info (duplicat-file-p (save-excursion (goto-char 0) (re-search-forward (concat :file + result-file) nil t) (re-search-forward (concat :file + result-file) nil t) (if duplicate-file-p (prog1 t (message duplicate result file)) nil))) (add-hook 'org-ctrl-c-ctrl-c-hook 'org-babel-stop-if-file-collision) in my .emacs I notice that my addition gets overwritten later via the autoloads (I think) that are defined in ob-core.el.. 2013/10/12 Charles Berry ccbe...@ucsd.edu John Kitchin jkitchin at andrew.cmu.edu writes: I have a related kind of problem. When preparing notes for a class, I may end up with 70 code blocks in an org file, many of which create graphics. I am always worried about accidentally using the same filename and overwriting a graphic from an earlier block. A unique, but reproducible filename would be sufficient for my needs. Header arg values can be elisp calls. You can use `make-temp-file'. So every time this block is executed, a new file is created and the file link is added to the results. #+BEGIN_SRC R :results output append :file (make-temp-file temp) cat(date(),\n) #+END_SRC #+RESULTS: [[file:/var/folders/kb/2hchpbyj7lb6z76l0q73w_fhgn/T/temp302IjV]] [[file:/var/folders/kb/2hchpbyj7lb6z76l0q73w_fhgn/T/temp3028Lu]] See `temporary-file-directory', too, if you want to use this, as the default may not be what you intend. You might want to use this: #+BEGIN_SRC emacs-lisp (defun local-tfile (file) (let ((temporary-file-directory .)) (make-temp-file file))) #+END_SRC Then the files go in the local directory when this is executed: #+BEGIN_SRC R :file (local-tfile tfile) :results output append cat(date(),\n) #+END_SRC You might not want `append' in this case. HTH, Chuck [rest deleted] -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
Re: [O] Two column output
Mehul Sanghvi mehul.sang...@gmail.com writes: On Sun, Oct 13, 2013 at 10:48 PM, Nick Dokos ndo...@gmail.com wrote: Mehul Sanghvi mehul.sang...@gmail.com writes: How do I get two column output with org-mode ? I'm not looking for tables but more like what you get in a newspaper article. Is that possible to do with org-mode ? For the most part this is for publishing to HTML and PDF. For LaTeX/PDF, this should suffice: #+LATEX_CLASS_OPTIONS: [twocolumn] For HTML, I have no idea. One of the things I would like to do is be able to have two side-by-side source code blocks so that I can do a comparison of the two. For HTML you'll want to write your own CSS. This is similar to what you're after. http://eschulte.github.io/org-docco/org-docco.html -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
Re: [O] Org-mode support for Nikola (static site generator in Python)
On Mon, Oct 14, 2013 at 04:26:12PM +0530, Puneeth Chaganti wrote: tl,dr: Created a new plugin to support org-syntax for Nikola. Attached patch for worg page update. Applied. -- Suvayu Open source is the future. It sets us free.
Re: [O] Two column output
Hi Iannis, Thanks. This might be what I'm looking for, it certainly looks like what I want. cheers, mehul On Mon, Oct 14, 2013 at 1:29 AM, Iannis Zannos zan...@gmail.com wrote: Hello Mehul, for HTML you would need to find/modify/write your own css template. I find the relatively recent Bootstrap package rather convenient for doing things like that because it defines a grid right away out of the box and gives you the means for defining columns and rectangular areas (boxes). http://getbootstrap.com. See http://getbootstrap.com/getting-started/#examples and http://getbootstrap.com/examples/jumbotron-narrow/ There is a package integrating orgmode export with bootstrap called o-blog. https://github.com/renard/o-blog. Here is an example of source code in a second column next to text: http://renard.github.io/o-blog/index.html (scroll down a little after the large heading Quick Start Guide). Iannis Zannos On Mon, Oct 14, 2013 at 6:01 AM, Mehul Sanghvi mehul.sang...@gmail.comwrote: On Sun, Oct 13, 2013 at 10:48 PM, Nick Dokos ndo...@gmail.com wrote: Mehul Sanghvi mehul.sang...@gmail.com writes: How do I get two column output with org-mode ? I'm not looking for tables but more like what you get in a newspaper article. Is that possible to do with org-mode ? For the most part this is for publishing to HTML and PDF. For LaTeX/PDF, this should suffice: #+LATEX_CLASS_OPTIONS: [twocolumn] For HTML, I have no idea. One of the things I would like to do is be able to have two side-by-side source code blocks so that I can do a comparison of the two. -- Mehul N. Sanghvi email: mehul.sang...@gmail.com -- Mehul N. Sanghvi email: mehul.sang...@gmail.com
Re: [O] Two column output
This looks good as well. I'm going to play around with this and what Iannis suggested about using Bootstrap and o-blog. cheers, mehul On Mon, Oct 14, 2013 at 9:32 AM, Eric Schulte schulte.e...@gmail.comwrote: Mehul Sanghvi mehul.sang...@gmail.com writes: On Sun, Oct 13, 2013 at 10:48 PM, Nick Dokos ndo...@gmail.com wrote: Mehul Sanghvi mehul.sang...@gmail.com writes: How do I get two column output with org-mode ? I'm not looking for tables but more like what you get in a newspaper article. Is that possible to do with org-mode ? For the most part this is for publishing to HTML and PDF. For LaTeX/PDF, this should suffice: #+LATEX_CLASS_OPTIONS: [twocolumn] For HTML, I have no idea. One of the things I would like to do is be able to have two side-by-side source code blocks so that I can do a comparison of the two. For HTML you'll want to write your own CSS. This is similar to what you're after. http://eschulte.github.io/org-docco/org-docco.html -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D -- Mehul N. Sanghvi email: mehul.sang...@gmail.com
Re: [O] [PATCH] fix bug: org-ascii--unique-links don't call org-element-map with correct number of arguments
Hello, Ryo TAKAISHI ryo.takaish...@gmail.com writes: * lisp/ox-ascii.el: org-ascii--unique-links call org-element-map with correct number of arguments. --- lisp/ox-ascii.el |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index e0a3fa9..7ad0ee1 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -812,7 +812,7 @@ is a plist used as a communication channel. (or (org-export-get-parent-headline element) element ;; Get all links in HEADLINE. (org-element-map headline 'link - (lambda (l) (funcall unique-link-p l)) info nil nil t))) + (lambda (l) (funcall unique-link-p l)) info nil t))) I'm not sure to understand your patch. `org-element-map' signature is: (org-element-map DATA TYPES FUN optional INFO FIRST-MATCH NO-RECURSION WITH-AFFILIATED) so the line you're removing seems correct. Regards, -- Nicolas Goaziou
Re: [O] DOS (CRLF) EOL in org-ascii-export-to-ascii
Hello, Miguel Ruiz rbeni...@yahoo.es writes: I have the following working script in a windows box (emacs 24.3, org-version 7.9.3f-17) to produce an ascii file: emacs.exe -Q -batch --load=report.el --visit=file.org --funcall org-babel-execute-buffer --funcall org-export-as-latin1 You don't need to call `org-babel-execute-buffer' since the export process already takes care of that. [...] Now I want to upgrade to the new Org 8.x, and I substitute org-export-as-latin1 with org-ascii-export-to-ascii: I get the same output content, but with unix EOL I would appreciate any hint to get the desired output, i.e., CRLF EOL. In my box, emacs.exe -Q saves new files with CRLF EOL. What happens if you set `org-export-coding-system' to `utf-8-dos'? Regards, -- Nicolas Goaziou
Re: [O] org-grep, and problems
R. Michael Weylandt michael.weylandt at gmail.com michael.weylandt at gmail.com writes: On Oct 10, 2013, at 11:50, François Pinard pinard at iro.umontreal.ca wrote: P.S. What is proper English: nobody remember or nobody remembers? Remembers. 'Nobody' counts as singular, as does 'no one'. English isn't totally consistent on this matter, however, as 'none' takes a plural verb. No one is brave enough to skip the meeting, even though none of the bosses are going to attend. Actually, I think the latter clause is incorrect usage. The verb's subject is none, not bosses; since the subject is singular, the verb form should be singular as well. It feels wrong to have a singular verb immediately after a plural noun, but that noun properly belongs to the preposition, not the verb. I'm voting for none of the bosses is going to attend. hjh
Re: [O] DOS (CRLF) EOL in org-ascii-export-to-ascii
What happens if you set `org-export-coding-system' to `utf-8-dos'? It works like a charm. Sorry for the noise but there are too many not-in-the-manual options for me. Regards, Miguel.
Re: [O] Dynsite: easier configuration of projects, with config.or instead of emacs lisp and dynamic relative paths
It seems like this is something that could be done with a filter pretty easily. Just define a lisp link, and write a filter that handles links of that type. I did something like this to selectively handle different types of links here: http://jkitchin.github.io/blog/2013/09/28/Changing-links-to-files-so-they-work-in-a-blog/ basically you check the type of link, and set the output accordingly. you would ignore links that were not your lisp type. j John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu On Sun, Oct 13, 2013 at 2:39 PM, Iannis Zannos zan...@gmail.com wrote: Hello, I'd like to present my project Dynsite for orgmode here, as I believe it fits in well with the currnent status of org-publish. Dynamite is a package that simplifies the task of creating project configurations for org-publish. One can define many projects in a site just by placing a config.org in any folder contained in the site, and writing the properties of the project as org-mode nodes. Plus, relative paths from subfolders to the root are provided automatically (no need to write a separate property config for each level as in the latest org-publish scheme). The documentation is here: http://iani.github.io/dynsite/ And the source code + documentation is here: https://github.com/iani/dynsite The code is now compatible with the 8.0+ version of org-publish. Not elegant code at all, but I hope it may give some useful ideas for general use or future directions in Org mode. And a question: Looking at export filters, I see that there is no filter for substituting the result of a lisp expression into the file. That would be extremely handy. The wonderful package o-blog is largely based on it. ( https://github.com/renard/o-blog). The format used by o-blog is: lisp(ob:insert-template page_header.html)/lisp Possibly one could use some other format like {lisp}{/lisp}, or something more aligned to current mark-up schemes in Org. This would open up many useful possibilities. Any tips on adding new filters? Or other ways to substitute the result of a lisp expression in the final rendered text? Iannis Zannos
Re: [O] org-grep, and problems
Hello, On Oct 14, 2013 10:43 AM, James Harkins jamshar...@gmail.com wrote: R. Michael Weylandt michael.weylandt at gmail.com michael.weylandt at gmail.com writes: On Oct 10, 2013, at 11:50, François Pinard pinard at iro.umontreal.ca wrote: P.S. What is proper English: nobody remember or nobody remembers? Remembers. 'Nobody' counts as singular, as does 'no one'. English isn't totally consistent on this matter, however, as 'none' takes a plural verb. No one is brave enough to skip the meeting, even though none of the bosses are going to attend. Actually, I think the latter clause is incorrect usage. The verb's subject is none, not bosses; since the subject is singular, the verb form should be singular as well. It feels wrong to have a singular verb immediately after a plural noun, but that noun properly belongs to the preposition, not the verb. I'm voting for none of the bosses is going to attend. None is a bit of an odd case, since it reflects the plurality of the associated noun. None of the group is going... None of the groups are going... None of the bosses are going to attend. Some, most, all also follow that pattern: All of the group is... All of the bosses are... Group allows for both the plural and similar case since even one group still has multiple members (at least it implies such). Jon hjh
[O] timeline of tags
Dear All, could someone help me with following problem? - have multiple org files, where I tag by names, e.g. @Erik - I want to construct a timeline of all items having this tag through all the org files (as @Erik can be dispersed everywhere) Example: I use tag @Erik to note at which times my son has school holidays. Hence one such entry would be e.g.: ** TODO erik autumn holidays :@Erik: :PROPERTIES: :ID: 26f5503f-3db6-481a-b384-395625e39333 :END: 2013-10-17 Thu--2013-10-27 Sun there are many entries like this. Now, my wife asks me: I wonder when Erik has holidays. I enter org-agenda, press 'm', type @Erik and voila - I get list of his holidays (and other stuff). Trouble is, that this list does not show it in timeline, but only headings without these dates. Hence to get each datum I have to _open_ the item, which is not desired. Any hint how to solve it? many thanks david
[O] Org-mode and Evernote
Hi everybody, Those of you who have wanted to interface between Evernote and org-mode have probably taken a look at evernote-mode, which is hosted at http://code.google.com/p/emacs-evernote-mode/ but is kind of out-of-date. I've been hacking at it a little on Github and have created an org-evernote.el library that has an `org-evernote-pull' command that tries to work similarly to `org-mobile-pull'. It's still a work in progress, but I'd love some feedback and contributions. My Github repository is located here: https://github.com/pymander/evernote-mode Thanks! -- Erik L. Arneson Writer and Information Specialist dyb...@lnouv.com
Re: [O] org-mode based groupware wiki
Dnia 2013-10-14, o godz. 07:07:44 Eric Schulte schulte.e...@gmail.com napisał(a): [...] collaboration between Org-mode users and normal people. ^^ ^ I *love* the above distinction. ;) Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] Markup (blod for instance) over line breaks
Dnia 2013-10-14, o godz. 08:53:49 Dror Atariah dror...@gmail.com napisał(a): And indeed, bold/italic spanning more than a few words might not be a good idea. And in cases it is, it's problably better to define a specialized environment (in LaTeX lingo) - like one for theorems (which are often typeset in italics). What is the org-mode's equivalent of LaTeX's environment? That COULD be very helpful. AFAIR, you can say just \begin{theorem} blah, blah \end{theorem} Of course, if you export to HTML or anything non-LaTeX-y, you're toast. There are all these #+BEGIN... ... #+END... things, but I don't know how to define new ones like these. Thanks, Dror Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] [bug] cannot export with babel function calls
Eric S Fraga e.fr...@ucl.ac.uk writes: Hello, a few weeks ago, I noted a problem that arose with the more recent versions of emacs (I track emacs-snapshot for ubuntu): http://article.gmane.org/gmane.emacs.orgmode/76519/ The problem does not arise with the emacs 24 version distributed with ubuntu 13.04. I had hoped that this problem would disappear but I have upgraded emacs-snapshot two or three times since and the problem continues. To summarise, exporting an org file fails if there are any babel calls (i.e. #+call: or inline call_). The error is Marker points into wrong buffer. I have verified this with =emacs -Q=. I'm attaching a test file along with the resulting backtrace from =org-export-dispatch=, choosing export to LaTeX. Yes, I can go back to an older version of emacs but that avoids getting the problem fixed. I have not filed an emacs bug report as I have only run into this problem with org. I was hoping that somebody here could have a look. I am happy to help in any way I can. Too many (most!) of my org files make use of babel now... Thanks, eric I actually get a different error [1], namely that the call line can't be parsed because we're using a regex to grab call lines and regular expressions can't count parens. Exporting a slightly changed file (attached [2]) works for me w/o error. I'm using the following Emacs version [3]. I may have to wait until the cause of this error hits the Emacs in the Arch Linux package system to debug further. Cheers, Footnotes: [1] org-babel-read: End of file during parsing [2] #+TITLE: examplebug.org #+AUTHOR:Eric S Fraga #+Options: ^:{} * babel test #+name: test #+begin_src emacs-lisp :var x=5 (list x) #+end_src #+call: test('(a b c)) I should be able to put the output inline using call_test('foo). [3] $ emacs --version GNU Emacs 24.3.1 Copyright (C) 2013 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D
Re: [O] timeline of tags
Hi David, da...@belohrad.ch writes: Dear All, could someone help me with following problem? - have multiple org files, where I tag by names, e.g. @Erik - I want to construct a timeline of all items having this tag through all the org files (as @Erik can be dispersed everywhere) Example: I use tag @Erik to note at which times my son has school holidays. Hence one such entry would be e.g.: ** TODO erik autumn holidays:@Erik: :PROPERTIES: :ID: 26f5503f-3db6-481a-b384-395625e39333 :END: 2013-10-17 Thu--2013-10-27 Sun there are many entries like this. Now, my wife asks me: I wonder when Erik has holidays. I enter org-agenda, press 'm', type @Erik and voila - I get list of his holidays (and other stuff). Trouble is, that this list does not show it in timeline, but only headings without these dates. Hence to get each datum I have to _open_ the item, which is not desired. Any hint how to solve it? This is how I do something similar. Essentially you treat an event/appointment differently to a task (TODO) and store it in the diary file (with the help of a capture template) so it looks like this: * 2013 ** 2013-05-30 Thursday Might go fishing:event: 2013-06-22 Sat--2013-06-23 Sun [2013-05-30 Thu 23:57] and in the init file you have this: ;; not sure which of these are necessary: (setq org-agenda-include-diary t) (setq org-agenda-diary-file ~/org/org/diary.org) ;; so any time strings in the heading are shown in the agenda (setq org-agenda-insert-diary-extract-time t) (setq org-capture-templates (quote ( (a - Appointment (compulsory) entry (file+datetree (concat org-directory /diary.org)) * %? :appt:\n%^T %U %a) (e - Event (optional) entry (file+datetree (concat org-directory /diary.org)) * %? :event:\n%^T %U %a (setq org-agenda-custom-commands (quote ((v Events agenda ((org-agenda-span 28) (org-agenda-files '((concat org-directory /diary.org) If your diary.org has at the top: #+FILETAGS: diary Then a C-a v gives you: Wednesday 19 June 2013 Thursday 20 June 2013 Friday 21 June 2013 Diary: 6:03.. Summer Solstice (BST) Saturday 22 June 2013 diary: (1/2): Might go fishing :diary::event: Sunday 23 June 2013 diary: (2/2): Might go fishing :diary::event: Monday 24 June 2013 W26 Tuesday25 June 2013 Wednesday 26 June 2013 Myles
Re: [O] org-grep, and problems
On 15/10/13 05:19, Jonathan Leech-Pepin wrote: Hello, On Oct 14, 2013 10:43 AM, James Harkins jamshar...@gmail.com mailto:jamshar...@gmail.com wrote: R. Michael Weylandt michael.weylandt at gmail.com http://gmail.com michael.weylandt at gmail.com http://gmail.com writes: On Oct 10, 2013, at 11:50, François Pinard pinard at iro.umontreal.ca http://iro.umontreal.ca wrote: P.S. What is proper English: nobody remember or nobody remembers? Remembers. 'Nobody' counts as singular, as does 'no one'. English isn't totally consistent on this matter, however, as 'none' takes a plural verb. No one is brave enough to skip the meeting, even though none of the bosses are going to attend. Actually, I think the latter clause is incorrect usage. The verb's subject is none, not bosses; since the subject is singular, the verb form should be singular as well. It feels wrong to have a singular verb immediately after a plural noun, but that noun properly belongs to the preposition, not the verb. I'm voting for none of the bosses is going to attend. None is a bit of an odd case, since it reflects the plurality of the associated noun. None of the group is going... None of the groups are going... None of the bosses are going to attend. Some, most, all also follow that pattern: All of the group is... All of the bosses are... Group allows for both the plural and similar case since even one group still has multiple members (at least it implies such). Jon hjh Strunk White 3rd edition p9: With none, use the singular verb when the word means no one or not one. None of us are perfect. None of us is perfect. A plural verb is commonly used when none suggests more than one thing or person. None are so fallible as those who are sure they're right. Alan -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:typh...@iptel.org
Re: [O] org-grep, and problems
Suvayu Ali fatkasuvayu+li...@gmail.com writes: No matter what I search for, I get 0 results! I'm on Linux. Hmph! As it works nicely for me, I thought it would be useful to others. I'm saddened it does not work for you. How could we proceed so I try to help on this one? Write me privately if you feel like it (yet my replies may lag sometimes, I'm not always available). François
Re: [O] Replace EMAIL keyword by some LaTeX command
Hi Xavier, Xavier Garrido xavier.garr...@gmail.com writes: But you have to be certain that this command is present. You could use etoolbox to test it. That brings in another dependency, tho. The only point is that I do not know how to translate =#+EMAIL= org keyword into =\email= LaTeX command. Can a export filter do it ? Of course. Should it? Up to you. . . Here's an example that you can work on. It's not well-tested and it has limitations and evident from the example. E.g. you disable it by setting #+EMAIL: . Hope it helps, Rasmus #+BEGIN_SRC Org #+TITLE: LaTeX test #+AUTHOR: toto #+EMAIL: t...@toto.org #+LATEX_HEADER: \usepackage{nopkg} #+OPTIONS: with-email: t Note that 1. email is inserted after other =latex_headers= 2. with-email is ignored and only the presence of email matters. - You could add a check to =(plist-get options :with-email)= in the =(and ...)= statement below and remove the =\thanks{.}= in a final output filter. #+begin_src emacs-lisp (defun rasmus/force-insert-email (options backend) Insert EMAIL as \email{EMAIL} in the latex backend when EMAIL is present. (when (and (org-export-derived-backend-p backend 'latex) (plist-get options :email)) (plist-put options :latex-header (mapconcat 'identity (remove nil (list (plist-get options :latex-header) (format \\email{%s} (plist-get options :email \n)) ;; don't insert email in \thanks{.} (plist-put options :with-email nil)) options) (add-to-list 'org-export-filter-options-functions 'rasmus/force-insert-email) #+end_src #+END_SRC -- Enough with the bla bla!
Re: [O] bug report: org-beamer-select-environment popup window not displaying nicely
Jason Lewis jasonble...@gmail.com writes: 1. make a narrow frame, make sure only 1 window is open. 2. create an org buffer and enable org-beamer-mode 3. on a heading, press C-c C-b - the popup window is nicely formatted screenshot: http://take.ms/E389Mv 4. make the frame very wide, make sure only 1 window is visible. 5. on a heading, press C-c C-b - 2 new windows are created, one a copy of the original buffer, but the formatting of the *Org tags* buffer I can reproduce on my system GNU/Linux system, tho the windows are laid out a bit differently. http://postimg.org/image/5q2dq08qz/ Org-mode version 8.2.1 (release_8.2.1-86-gbe3dad @ /usr/share/emacs/site-lisp/org/) –Rasmus -- This space is left intentionally blank
Re: [O] Dynsite: easier configuration of projects, with config.or instead of emacs lisp and dynamic relative paths
I implemented a version of elisp links to dynamically generated content at export time here: http://jkitchin.github.io/blog/2013/10/14/Lisp-links-in-org-mode-to-dynamically-generated-content/ I am not sure it was you are thinking about, but maybe it could give you some ideas. j John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu On Mon, Oct 14, 2013 at 1:14 PM, John Kitchin jkitc...@andrew.cmu.eduwrote: It seems like this is something that could be done with a filter pretty easily. Just define a lisp link, and write a filter that handles links of that type. I did something like this to selectively handle different types of links here: http://jkitchin.github.io/blog/2013/09/28/Changing-links-to-files-so-they-work-in-a-blog/ basically you check the type of link, and set the output accordingly. you would ignore links that were not your lisp type. j John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu On Sun, Oct 13, 2013 at 2:39 PM, Iannis Zannos zan...@gmail.com wrote: Hello, I'd like to present my project Dynsite for orgmode here, as I believe it fits in well with the currnent status of org-publish. Dynamite is a package that simplifies the task of creating project configurations for org-publish. One can define many projects in a site just by placing a config.org in any folder contained in the site, and writing the properties of the project as org-mode nodes. Plus, relative paths from subfolders to the root are provided automatically (no need to write a separate property config for each level as in the latest org-publish scheme). The documentation is here: http://iani.github.io/dynsite/ And the source code + documentation is here: https://github.com/iani/dynsite The code is now compatible with the 8.0+ version of org-publish. Not elegant code at all, but I hope it may give some useful ideas for general use or future directions in Org mode. And a question: Looking at export filters, I see that there is no filter for substituting the result of a lisp expression into the file. That would be extremely handy. The wonderful package o-blog is largely based on it. ( https://github.com/renard/o-blog). The format used by o-blog is: lisp(ob:insert-template page_header.html)/lisp Possibly one could use some other format like {lisp}{/lisp}, or something more aligned to current mark-up schemes in Org. This would open up many useful possibilities. Any tips on adding new filters? Or other ways to substitute the result of a lisp expression in the final rendered text? Iannis Zannos
Re: [O] Setup for switching between 2 org-mode configurations (demo/productive)?
On Oct 14, 2013, at 1:01 AM, M elwood...@web.de wrote: Running a virtual machine for the second setup is an interesting idea, but it is problematic, as I'm using MacOS X 10.6 and AFAIK it is not permitted to run it in a VM. It is allowed according to the license as long as it is on Apple hardware. So running VMWare Fusion or Parallels on OS X, with another copy of OS X as the guest would be a possible solution.
Re: [O] latex to png not working
The problem went away once i changed the values for both TEMP and TMP environment variables to C:\Temp (without quotation marks). This---i think---has to do with long filenames (path to TEMP folder). Great, great job by the way. Org makes so much things easier. Thank you very much! 2013/10/13 Vicente Vera vicente...@gmail.com Hello. I'm trying to export an Org file with some basic latex code (block with #+BEGIN_SRC latex :file block1.png and tex:dvipng in #+OPTIONS:) but this shows up in the *Messages* buffer: org-babel-exp processing... executing Latex code block (block1)... Failed to create dvi file from c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex1376-zt.tex Code block evaluation complete. Formatting LaTeX using dvipng The ODT document is created but, obviously, without the PNG formulas. It happens too with inline LaTeX fragments: Creating LaTeX Image 1... Failed to create dvi file from c:/DOCUME~1/User1/CONFIG~1/Temp/orgtex124_dQ.tex Embedding c:/Documents and Settings/User1/My documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png as Images/0001.png... OpenDocument export failed: Copying file: no such file or directory, c:/Documents and Settings/User1/My documents/testodt/ltxpng/testodt_0d00b93575360a27f804d102a03f4e2d4ee0f915.png, c:/DOCUME~1/User1/CONFIG~1/Temp/odt-124Zro/Images/0001.png Org's LaTeX preview doesn't work either. The dvi files are not being created. My setup includes: - Windows XP SP3 - Emacs 24.3.1 with Org 8.2.1 (20131007 from ELPA) and AUCTeX 11.87.1 (from ELPA); everything correctly (and cleanly) installed - TeX Live 2013 (full install), on Windows' PATH Standalone dvipng works ok (tried it with a small dvi file through Windows command line) and latex too (through cmd, Org---latex pdf export--- and AUCTeX). Thanks for reading.
[O] Bug: #+SETUPFILE breaks org buffers syntax highlighting [8.2.1 (8.2.1-3-g35e5e5-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20131007/)]
--text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Inserting a #+SETUPFILE line in an org buffer and causing the settings to be re-read causes all font highlighting in the buffer to disappear. Steps to reproduce: Creat an or buffer with a line or two insert at the top of the org file: #+SETUPFILE: somfile.org Press C-c C-c on that line. observe font highlighting disappears. Seems to happen whether or not somefile.org exists or no, and whether it contains anything or not. Also if you open an org-file with a SETUPFILE line in it, it also fails to render the colours. I expect highlighting should stay the same when a setupfile is inserted. Emacs : GNU Emacs 24.3.50.3 (i686-pc-cygwin) of 2013-02-26 on jade Package: Org-mode version 8.2.1 (8.2.1-3-g35e5e5-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20131007/) current state: == (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-latex-format-headline-function 'org-latex-format-headline-default-function outline-minor-mode-hook '(mediawiki-outline-magic-keys) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9)) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-default-notes-file ~/Dropbox/org/todo.org org-latex-classes '((beamer \\documentclass[presentation]{beamer}\n[DEFAULT-PACKAGES]\n[PACKAGES]\n[EXTRA] (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})) (article \\documentclass[11pt]{article} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) (report \\documentclass[11pt]{report} (\\part{%s} . \\part*{%s}) (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})) (book \\documentclass[11pt]{book} (\\part{%s} . \\part*{%s}) (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})) ) org-blank-before-new-entry nil org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes (lambda nil (flyspell-mode -1))) org-directory ~/Dropbox/org org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-files '(~/Dropbox/org/todo.org ~/Dropbox/org ~/Dropbox/org/todo.org) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-M-RET-may-split-line '((default)) org-confirm-shell-link-function 'yes-or-no-p ) Jason Lewis http://emacstragic.net
Re: [O] Full org-mode on unrooted Android
Ian Barton li...@wilkesley.net writes: That looks interesting too. I have to see if it runs on my Nexus 7. Emacs for Android is like a bus. You wait ages and nothing comes, then suddenly two arrive together. I tried it on my Nexus 7 and it works. In order for org-mode to work, you will need to set the $TMP environmental variable. Also, for font size greater than 12 pt, you will need to start Emacs in landscape mode, or else Emacs wouldn't start. Charles -- Whip me. Beat me. Make me maintain AIX. (By Stephan Zielinski) signature.asc Description: PGP signature
Re: [O] org-grep, and problems
On Oct 15, 2013 2:19 AM, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com wrote:. I'm voting for none of the bosses is going to attend. None is a bit of an odd case, since it reflects the plurality of the associated noun. I don't want to drag it out much further as it's well off topic, but... I did some checking and found (for the most part) that what I said *used* to be true, but that the usage has been shifting for a good century or two (to allow none to be plural). So I concede that point (and learned something today, which I like). From the few grammar sites I checked, it seems that a plural none is definitely accepted in speech and informal writing. One site mentioned that formal writing may more often call for none to take a singular verb, regardless of the associated noun. But Facebook, twitter and texting have basically killed formal writing already, so, soon even that caveat will be gone. I did not find any sites claiming that it's mandatory to give none a plural verb if it appears with a plural noun. All of those sites at least gave lip service to its origin as not one of -- e.g. not one of the groups is going -- so my preference for the singular verb is justified, though not my claim that the other is flat-out incorrect. Thanks... Glad to learn I can cross that one off my grammar police list. hjh