Re: [O] Run commands after html export
Iannis Zannos zan...@gmail.com writes: Greetings Iannis. Publish provides very extensive configuration capabilities, which include a preparation-function and a completion-function hook. I saw the manual and worg pages on publishing, but thought that configuring publishing parameters was simply too much work for committing and pushing a single org file and the exported html. But I am sure that for some other projects I am working on, publishing fits the bill exactly. So I will have to delve into those setups later. Thanks! Jarmo
Re: [O] recurring events with different notes for each occurrence
Karl Voit devn...@karl-voit.at writes: Greetings again. Is there a way to associate a property with each repeating timestamp and show this property in the agenda? (There most likely is.) (setq org-agenda-skip-additional-timestamps-same-entry nil) ... most probably fixing your issue IMHO. ;; Show all future entries for repeating tasks (setq org-agenda-repeating-timestamp-show-all t) ;; Show all agenda dates - even if they are empty (setq org-agenda-show-all-dates t) Hmm, I don't think its one of these I might be looking for. But I did learn some more parameters in this lifelong process. So thanks! All the best, Jarmo
[O] Can org-capture-templates be made more flexible?
Hi there, I use https://github.com/leoliu/applescripts/blob/master/Notes.el to pull notes from Notes.app on OS X into an org buffer. Naturally I also want to hook something into org-capture to create new notes. However, it seems org-capture-templates requires a file-location of some sort, which is unhelpful in this case. Any way to make org-capture-templates more flexible? Thanks, Leo
Re: [O] Can org-capture-templates be made more flexible?
On Sun, Oct 13, 2013 at 05:59:38PM +0800, Leo Liu wrote: Hi there, I use https://github.com/leoliu/applescripts/blob/master/Notes.el to pull notes from Notes.app on OS X into an org buffer. Naturally I also want to hook something into org-capture to create new notes. However, it seems org-capture-templates requires a file-location of some sort, which is unhelpful in this case. Any way to make org-capture-templates more flexible? How about using a dummy file? -- Suvayu Open source is the future. It sets us free.
Re: [O] Tasks started tag
On Sun, Oct 13, 2013 at 03:30:52PM +1100, Chris Henderson wrote: I have the following line in my .emacs for tasks which I invoke with C-c C-t. How can I add another tag called 'Started' for tasks I already started: (setq org-todo-keywords '((sequence TODO(t) | DONE(d)) (sequence | CANCELED(c This should work: (setq org-todo-keywords '((sequence TODO(t) Started(s) | DONE(d)) (sequence | CANCELED(c You could also put the cancelled after done in one sequence line, I think. Not sure what would be the change in behaviour though. Hope this helps, -- Suvayu Open source is the future. It sets us free.
[O] org-caldav and repeat entries
Hi Org-list, How do you guys manage repeated irregular entries when using org-caldav? In particular, I have entries like * Course with irregular times 2013-09-23 Mon 15:30-17:30 2013-09-24 Tue 15:00-17:00 2013-10-18 Fri 15:00-17:00 Or * Person X visiting 2013-09-21 Fri--2013-10-02 Tue 2013-11-15 Fri 17:52--2013-11-18 Mon 13:00 With these I get double entry errors/warnings when syncing with org-caldav and only the first entry is displayed on my phone's calendar, it seems. I have quite a backlog of entries in this format, but I would, reluctantly, switch to another format if that would make it work with org-caldav. I'm not sure which format is better though, or whether there's a more appropriate way to specify reoccurring events. Thanks, Rasmus PS: There's a new application in F-Droid (supposedly also in the Google repo), that seems /very/ promising for DAV-sync. It's called DAVdroid, http://davdroid.bitfire.at/what-is-davdroid So far calendar sync works great! I will test ASynk/BBDB ↔ DAVdroid later. -- This is the kind of tedious nonsense up with which I will not put
Re: [O] using %(sexp) in capture templates
On Oct 12, 2013, at 5:54 PM, Manish mailtomanish.sha...@gmail.com wrote: i'll look into rebuilding outlook profiles and spotlight indexes. meanwhile, following has worked consistently for me: #+begin_src emacs-lisp (defun org-mac-outlook-message-open (msgid) open a message in outlook (do-applescript (concat tell application \Microsoft Outlook\\n (format open message id %s\n msgid) activate\n end tell))) #+end_src cheers! --manish And I just submitted a patch that changes to Outlook message open to use Applescript as your code does.
[O] [BUG] Italic objects parsed as latex-fragments
Hi List, with tmp.org #+begin_src org * TODO [#A] This *is* _the_ \Headline\ 2013-10-13 So 04:44 :tag1: :PROPERTIES: :CUSTOM_ID: abc123 :END: #+end_src calling `org-element-parse-buffer' yields: #+begin_src emacs-lisp (org-data nil (headline (:raw-value This *is* _the_ \Headline\ 2013-10-13 So 04:44 :begin 1 :end 113 :pre-blank 0 :hiddenp nil :contents-begin 69 :contents-end 113 :level 1 :priority 65 :tags (tag1) :todo-keyword TODO :todo-type todo :post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp nil :CUSTOM_ID abc123 :CATEGORY ??? :title (This (bold (:begin 6 :end 11 :contents-begin 7 :contents-end 9 :post-blank 1 :parent #1) is) (underline (:begin 11 :end 17 :contents-begin 12 :contents-end 15 :post-blank 1 :parent #1) the) (latex-fragment (:value \Headline :begin 17 :end 26 :post-blank 0 :parent #1)) \ (timestamp (:type active :raw-value 2013-10-13 So 04:44 :year-start 2013 :month-start 10 :day-start 13 :hour-start 4 :minute-start 44 :year-end 2013 :month-end 10 :day-end 13 :hour-end 4 :minute-end 44 :begin 28 :end 49 :post-blank 0 :parent #1))) :parent #0) (section (:begin 69 :end 113 :contents-begin 69 :contents-end 113 :post-blank 0 :parent #1) (property-drawer (:begin 69 :end 113 :hiddenp nil :contents-begin 84 :contents-end 105 :post-blank 0 :post-affiliated 69 :parent #2) (node-property (:key CUSTOM_ID :value abc123 :begin 84 :end 105 :post-blank 0 :parent #3)) #+end_src Note that #+begin_src emacs-lisp (latex-fragment (:value \Headline :begin 17 :end 26 :post-blank 0 :parent #1)) #+end_src should really be an =(italic (...))= object. -- cheers, Thorsten
[O] [PATCH] Org Mac Outlook opens messages via AppleScript
Previously ~org-mac-outlook-message-open~ used the Mac OS X Spotlight index via ~mdfind~ to open messages via shell commands. This patch changes the open to an AppleScript method to resolve an issue reported by Manish Sharma. --- contrib/lisp/org-mac-link.el | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/lisp/org-mac-link.el b/contrib/lisp/org-mac-link.el index 2ff6711..ebcff75 100644 --- a/contrib/lisp/org-mac-link.el +++ b/contrib/lisp/org-mac-link.el @@ -593,13 +593,13 @@ applications and inserting them in org documents (org-add-link-type mac-outlook 'org-mac-outlook-message-open) (defun org-mac-outlook-message-open (msgid) - Open a message in outlook - (let* ((record-id-string (format mdfind com_microsoft_outlook_recordID==%s msgid)) - (found-message (replace-regexp-in-string \n$ - (shell-command-to-string record-id-string -(if (string= found-message ) - (message org-mac-link: error could not find Outlook message %s (substring-no-properties msgid)) - (shell-command (format open \`mdfind com_microsoft_outlook_recordID==%s`\ msgid) + Open a message in Outlook + (do-applescript + (concat +tell application \Microsoft Outlook\\n + (format open message id %s\n (substring-no-properties msgid)) + activate\n + end tell))) (defun org-as-get-selected-outlook-mail () AppleScript to create links to selected messages in Microsoft Outlook.app. -- 1.8.3.4
Re: [O] Full org-mode on unrooted Android
On 09/10/13 14:57, Alexander Vorobiev wrote: There is also emacs for Android https://play.google.com/store/apps/details?id=com.zielm.emacs but after trying it and playing with some other ports of unix applications, I decided to bit the bullet and install full Ubuntu on 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. Ian.
Re: [O] [BUG] Italic objects parsed as latex-fragments
Hello, Thorsten Jolitz tjol...@gmail.com writes: with tmp.org #+begin_src org * TODO [#A] This *is* _the_ \Headline\ 2013-10-13 So 04:44 :tag1: :PROPERTIES: :CUSTOM_ID: abc123 :END: #+end_src Italic syntax is /Headline/, not \Headline\. Regards, -- Nicolas Goaziou
Re: [O] [BUG] Italic objects parsed as latex-fragments
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Thorsten Jolitz tjol...@gmail.com writes: with tmp.org #+begin_src org * TODO [#A] This *is* _the_ \Headline\ 2013-10-13 So 04:44 :tag1: :PROPERTIES: :CUSTOM_ID: abc123 :END: #+end_src Italic syntax is /Headline/, not \Headline\. ,-- | You can make words *bold*, /italic/, _underlined_, =code= and | ~verbatim~, and, if you must, ‘+strike-through+’. `-- Ups, you are right - sorry for the noise. -- cheers, Thorsten
Re: [O] [BUG?] Additional warning period in timestamp affects parsing
Hello, Thorsten Jolitz tjol...@gmail.com writes: with tmp.org #+begin_src org * A DEADLINE: 2013-10-11 Fr 06:33 +1m -3d txt A * B DEADLINE: 2013-10-11 Fr 22:00 +1m txt B #+end_src calling `org-element-parse-buffer' results in the following parse-tree [...] It looks as if the combination of repeater *and* special warning period prevents the parsing of both of them. This should now be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou
Re: [O] [BUG?] Compilation failure with Emacs 24.3.50.1 (trunk) on 'ox-publish' (Multiple args to , are not supported)
Hello, Vladimir Lomov lomov...@gmail.com writes: topic title states my problem completely, some details: - I use emacs compiled from bzr trunk (revno 114606) on my system: Archlinux x86_64 with gcc 4.8.1 and make 4.0; - org-mode: 8.2.1-86-gbe3dad. This is excert from make log: #+BEGIN_EXAMPLE ... Compiling /home/vladimir/buildpkg/emacs-org-mode/src/org-mode/lisp/ox-publish.el... In toplevel form: ox-publish.el:887:1:Error: Multiple args to , are not supported: (\, (\` (when (quote (\, force)) (org-publish-remove-all-timestamps))) (\` (let ((org-publish-use-timestamps-flag (if (quote (\, force)) nil (\, org-publish-use-timestamps-flag (org-publish-projects (quote (\, org-publish-project-alist)) ... #+END_EXAMPLE I pushed a workaround in maint. I'll have to rework `org-export-async-start' later, since it has some weaknesses. Thank you for reporting it. Regards, -- Nicolas Goaziou
[O] Dynsite: easier configuration of projects, with config.or instead of emacs lisp and dynamic relative paths
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
[O] Markup (blod for instance) over line breaks
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? Thanks in advance, Dror
[O] Is there a way to, in a table, denote an entire column as LaTeX
Greetings, In a table, is it possible to denote that an entire column is LaTeX markup, rather than using the $$ markup around each expression. Sample table: |-+--| | Term| Explanation | |-+--| | $$x^2$$ | This is a square | | $$x^3$$ | This is a cubic | |-+--| Is there a better way to do this? Thanks, Stephen
Re: [O] Markup (blod for instance) over line breaks
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? Thanks in advance, Dror Hth, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
Re: [O] Markup (blod for instance) over line breaks
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? Best, Dror
Re: [O] Markup (blod for instance) over line breaks
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). 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). Best, Dror Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
[O] latex to png not working
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.
Re: [O] org babel before excute hook
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 (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]
Re: [O] org babel before excute hook
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] org-grep, and problems
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. M
[O] bug report: org-beamer-select-environment popup window not displaying nicely
--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. Hi, org-beamer-select-environment (C-c C-b) does not popup its selection buffer nicely if the emacs frame is very wide. Steps to reproduce: 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 screenshot: http://take.ms/V3ZPkL I expect org-beamer-select-environment should display the *Org Tags* the same no matter the frame width. 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 Jason Lewis http://emacstragic.net
Re: [O] Can org-capture-templates be made more flexible?
On 2013-10-13 18:17 +0800, Suvayu Ali wrote: How about using a dummy file? It's a workaround which I want to avoid if possible. Thus me asking here. Leo
[O] Two column output
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. cheers, mehul -- Mehul N. Sanghvi email: mehul.sang...@gmail.com
Re: [O] Two column output
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. -- Nick
Re: [O] Two column output
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
Re: [O] Setup for switching between 2 org-mode configurations (demo/productive)?
Nick Dokos ndo...@gmail.com writes: Karl Voit devn...@karl-voit.at writes: * M elwood...@web.de wrote: Hi, Hi! I'd like to set up org-mode in a way to separate my personal data from my gerenal settings. and easily re-enable them later. [...] I assume that some of you already have something like that or can recommend a way for doing so? I by myself did chose a manual attempt so far: temporarily modifying org-agenda-files to one demo file [1] and sticking to this demo file only while showing stuff. With my Memacs setup (see sig), I gave up selecting stuff that might be private because every daily agenda shows private stuff (in case or displaying archive files is enabled). It may be worth considering running in a virtual machine. And RAM and CPU cycles being cheap these days, I second this suggestion. Take a look at http://docs.vagrantup.com/v2/getting-started/ Thanks and Regards Noorul
Re: [O] Some documentation suggestions
TonyMc af...@btinternet.com writes: 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 Thank you Tony! I will submit a patch. Right now working on this. Thanks and Regards Noorul
Re: [O] Setup for switching between 2 org-mode configurations (demo/productive)?
Thank you for your comments and suggestions! 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. I'm currently working with org-mode under OS X (Aquamacs) at home and under Windows 7 at work. (For a VM with Windows I'd need a second license and for using LINUX in the VM I'd have a 3rd operating system to fiddle with). I could however create a second user account in OS X for such purpose and then try to sync the shared parts of the emacs/org-mode configuration files. I thought that it should be easy (give I know, how) to have 2 branches in my mercurial repository, one for the general settings and one also containing my private data. Another solution might be to have 2 different stages of emacs/org-mode configuration files and if necessary reset emacs and org-mode by a command and then only load the public configuration for demo purpose. Kind regards Martin Von: Noorul Islam K M noo...@noorul.com Datum: Mon, 14 Oct 2013 09:30:15 +0530 An: Nick Dokos ndo...@gmail.com Cc: emacs-orgmode@gnu.org Betreff: Re: [O] Setup for switching between 2 org-mode configurations (demo/productive)? Nick Dokos ndo...@gmail.com writes: Karl Voit devn...@karl-voit.at writes: * M elwood...@web.de wrote: I'd like to set up org-mode in a way to separate my personal data from my gerenal settings. and easily re-enable them later. [...] I assume that some of you already have something like that or can recommend a way for doing so? I by myself did chose a manual attempt so far: temporarily modifying org-agenda-files to one demo file [1] and sticking to this demo file only while showing stuff. It may be worth considering running in a virtual machine. And RAM and CPU cycles being cheap these days, I second this suggestion. Take a look at http://docs.vagrantup.com/v2/getting-started/ Thanks and Regards Noorul
Re: [O] Markup (blod for instance) over line breaks
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) Hope that helps, Eric
[O] [PATCH] doc: Fix grammar and typo
* 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 appropriate commands, +inserting/deleting/swapping columns and rows with the appropriate commands, @i{absolute references} (but not relative ones) in stored formulas are -modified in order to still reference the same field. To
Re: [O] Setup for switching between 2 org-mode configurations (demo/productive)?
Hello Martin, for situations like this I would consider switching between branches on Git. If you are using Mercurial, maybe there is a similar possibility. Iannis Z. On Mon, Oct 14, 2013 at 8:01 AM, M elwood...@web.de wrote: Thank you for your comments and suggestions! 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. I'm currently working with org-mode under OS X (Aquamacs) at home and under Windows 7 at work. (For a VM with Windows I'd need a second license and for using LINUX in the VM I'd have a 3rd operating system to fiddle with). I could however create a second user account in OS X for such purpose and then try to sync the shared parts of the emacs/org-mode configuration files. I thought that it should be easy (give I know, how) to have 2 branches in my mercurial repository, one for the general settings and one also containing my private data. Another solution might be to have 2 different stages of emacs/org-mode configuration files and if necessary reset emacs and org-mode by a command and then only load the public configuration for demo purpose. Kind regards Martin Von: Noorul Islam K M noo...@noorul.com Datum: Mon, 14 Oct 2013 09:30:15 +0530 An: Nick Dokos ndo...@gmail.com Cc: emacs-orgmode@gnu.org Betreff: Re: [O] Setup for switching between 2 org-mode configurations (demo/productive)? Nick Dokos ndo...@gmail.com writes: Karl Voit devn...@karl-voit.at writes: * M elwood...@web.de wrote: I'd like to set up org-mode in a way to separate my personal data from my gerenal settings. and easily re-enable them later. [...] I assume that some of you already have something like that or can recommend a way for doing so? I by myself did chose a manual attempt so far: temporarily modifying org-agenda-files to one demo file [1] and sticking to this demo file only while showing stuff. It may be worth considering running in a virtual machine. And RAM and CPU cycles being cheap these days, I second this suggestion. Take a look at http://docs.vagrantup.com/v2/getting-started/ Thanks and Regards Noorul
Re: [O] Two column output
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