Re: [O] Variable `org-mobile-directory` must point to an existing directory. Multiplatform setup, howto
Orlando, Is your username on the machine User? If it isn't you'll have to change User to whatever your account name is. If it is the right username, then I'm not sure why it wouldn't be detecting the correct path. Regards, On Tue, May 29, 2012 at 12:14 PM, Orlando López D. orlando.1...@gmail.com wrote: Jonathan, Thanks for your attention to this matter. After doing an evaluation, I am getting the correct path on my Windows machine, which is c:/Users/User/Dropbox/MobileOrg What do you recommend that I try next? Thanks, On Tue, May 29, 2012 at 7:43 AM, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com wrote: Hello, I think by default Windows tries to treat C:\ as ~ when it isn't explicitly defined beforehand. If you evaluate the following, does it give the same Windows path as to the actual folder? #+begin_src emacs-lisp (expand-file-name ~/Dropbox/MobileOrg) #+end_src If not you'll want to try one of the following: 1) Set the Windows Environment Variable HOME to the desired location (C:\Users\username for example) 2) Move your Dropbox folder to the location shown by the above code snippet, it should then recognize it. 3) Replace =~/Dropbox/= in your configuration with the full path to the Dropbox folder. Regards, Jonathan On Tue, May 29, 2012 at 3:17 AM, Ian Barton li...@wilkesley.net wrote: On 28/05/12 15:45, Orlando wrote: Ian Bartonlistsat wilkesley.net writes: On 26/05/12 20:00, Orlando López D. wrote: I configured emacs org-mode on a Mac, working properly, having my org files and MobileOrg file within my DropBox folder ( ~/DropBox/ ). Now, I will like to get my emacs setup working properly on my Windows box. I have been able to get it working in terms of reading my .emacs file and emacs.d folder, shared through simlink config. Everything seems to be working properly, except that when I want to execute org-mobile-pull or org-mobile-push on Windows, I get the following error: Variable `org-mobile-directory` must point to an existing directory The problem seems to be that emacs isn't configured to read or point to the org-mobile directory , per the paths set in .emacs (eg. = ~/DropBox/ ...). Running on Linux I found I needed the following in my .emacs: (setq org-directory ~/dropbox/org/org_files) (setq org-mobile-directory ~/dropbox/MobileOrg) (setq org-mobile-inbox-for-pull ~/dropbox/org/org_files/tasks/org_inbox.org) Have you got all these set? Somewhere there is a possible bug where a misleading error message gets displayed referring to org-mobile-directory, when it means org-directory. I keep meaning to try and track it down. Ian. Ian, thanks for your e-mail. I have the following configuration, which doesn´t seems to defer in concept with yours: ;; Set to the location of your Org files on your local system (setq org-directory ~/DropBox/org) ;; Set to the name of the file where new notes will be stored (setq org-mobile-inbox-for-pull ~/DropBox/org/flagged.org) ;; Set toyour Dropbox root directory/MobileOrg. (setq org-mobile-directory ~/Dropbox/MobileOrg) Which could be the reason why Windows isn´t locating the path to the existing directory? Do I need to have any specific configuration on .emacs for Mac and for Windows? Orlando, I haven't used emacs on Windows for a long time. However, I don't know if Windows understands the concept of ~/, unless there is some emacs configuration that allows this. Have you tried setting the paths explicitly e.g. (setq org-directory C:/DropBox/org) Ian.
Re: [O] Problem exporting to PDF (and viewing)
I suspect you should be able to get it to recognize C:/Program\ Files/sumatrapdf/sumatrapdf.exe. Alternately if the exe is found on your PATH (you may need to add it by hand), you should be able to manage with: (executable-find sumatrapdf.exe) which should be able to track back the path to the appropriate file. On Sat, May 12, 2012 at 12:10 AM, Richard Stanton stan...@haas.berkeley.edu wrote: Checking further, this works fine using the default Windows shell in Emacs, but fails if I use bash as my shell. Unfortunately, I like to use bash, which I achieve with the following lines in my init.el: (setq shell-file-name bash) (setenv SHELL shell-file-name) (setq explicit-shell-file-name shell-file-name) -Original Message- From: Richard Stanton Sent: Friday, May 11, 2012 4:52 PM To: emacs-orgmode@gnu.org Subject: Problem exporting to PDF (and viewing) Using Org-mode version 7.8.09 (release_7.8.09-553-g5750f0) (and earlier versions) I've encountered a problem on my Windows machine when I try to export an Org file to LaTeX, then to Pdf, then viewing (using C-c C-e d). In my init.el I have the lines (eval-after-load org '(progn (if (assoc \\.pdf\\' org-file-apps) (setcdr (assoc \\.pdf\\' org-file-apps) c:/progra~1/sumatrapdf/sumatrapdf.exe %s) (add-to-list 'org-file-apps '(\\.pdf\\' . c:/progra~1/sumatrapdf/sumatrapdf.exe %s) t ) This results in: org-file-apps is a variable defined in `org.el'. Its value is ((auto-mode . emacs) (\\.mm\\' . default) (\\.x?html?\\' . default) (\\.pdf\\' . c:/progra~1/sumatrapdf/sumatrapdf.exe %s)) When I try to export an org file by typing C-c C-e d, sumatrapdf opens up OK, but complains with an error like this: Error loading c:\dropbox\org\c\:\dropbox\org\personal.pdf Any idea why I get the repeated path? A similar constructions works fine on my Mac, so I'm not quite sure what's going wrong here.
Re: [O] HTML export fails with (void-variable org-version)
Hello Bernt On Wed, Apr 25, 2012 at 12:21, Bernt Hansen be...@norang.ca wrote: Achim Gratz strom...@nexgo.de writes: Bastien writes: In the meantime, if you don't want to compile (I do not) the stupid workaround is to set org-version in your config... but yeah, let's fix this upstream ASAP. Again, the issue here is not compilation, but missing autoloads. make autoloads And if you still think you must override this, the thing(s) to set is (defconst org-release) (defconst org-git-release) ...which incidentally is what make autoloads will put into org-install.el, with a docstring and all that. I don't think make autoloads is an option for me at work... I'm using GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO and I don't have make available... I use git under Cygwin to get the org-mode repository and access it from NT Emacs. If you're using Cygwin you should be able to install make. It's under the devel section in the Cygwin installer. Of course this won't help anyone who is unable to install Cygwin/Mingw to use make, which means an alternate solution would be useful. Regards, Bernt
[O] Bug Regression : Bad SEXP from Org-Class
Hello Org, As of this morning I am getting the following errors on my work machine (last updated on Friday) when trying to load my Agenda: , | Bad sexp at line 106 in [...]/personal.org: (org-class 2012 03 12 2012 04 28 1 15) | Bad sexp at line 107 in [...]/personal.org: (org-class 2012 03 12 2012 04 28 3) | Bad sexp at line 108 in [...]/personal.org: (org-class 2012 03 12 2012 04 28 6 14) ` (paths trimmed to only indicate relevant file) The associated lines in my personal.org are: , | %%(org-class 2012 03 12 2012 04 28 1 15) 18:30-22:30 BH-210 | %%(org-class 2012 03 12 2012 04 28 3) 18:30-22:30 BH-210 | %%(org-class 2012 03 12 2012 04 28 6 14) 09:00-13:00 BH-210 ` The error only appears on the appropriate days (Monday, Wednesday, Saturday) if I'm using a daily Agenda, so they are still properly matching the desired dates. The only changed in Org-Agenda over the weekend was 6cbf1f4 where entry was replaced by org-entry for global dynamic variables. Regards, Jonathan
Re: [O] Bug Regression : Bad SEXP from Org-Class
I can confirm that it is fixed. Thank you. On Mon, Apr 2, 2012 at 10:46, Bastien b...@gnu.org wrote: Hi Jonathan, Jonathan Leech-Pepin jonathan.leechpe...@gmail.com writes: As of this morning I am getting the following errors on my work machine (last updated on Friday) when trying to load my Agenda: This should be fixed now, can you confirm? Thanks! -- Bastien
Re: [O] BUG: Unable to compile on Master
I can confirm it's fixed. Thank you On Mon, Apr 2, 2012 at 02:04, Samuel Wales samolog...@gmail.com wrote: On 2012-04-01, Bastien b...@gnu.org wrote: same in 22 Fixed. Please try again. yes, thank you, bastien. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com
[O] BUG: Unable to compile on Master
Hello Org, Using current git master I get the following error when running: , | make clean make make info ` Error , | In toplevel form: | lisp/org-ascii.el:29:1:Error: Invalid function: body | Makefile:484: recipe for target `lisp/org-ascii.elc' failed | make: *** [lisp/org-ascii.elc] Error 1 ` I was able to successfully compile Org with commit: 829285e (ensure noweb expanded body is used on export) I've tested this on 2 separate machines as well as a clean pull into a separate directory. Regards, Jonathan
[O] [Request] Export comments as comments
Hello, I'm asking the following on behalf of a question[1] on Stack Overflow. Would it be possible to add the ability to export comments included in an Org file to the destination format when comments are supported, for example in LaTeX and HTML? Regards, Jonathan [1] http://stackoverflow.com/questions/9873365/export-comments-as-comments
Re: [O] About org-babel menu
On Mon, Mar 19, 2012 at 10:41, Rainer M Krug r.m.k...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/03/12 15:22, Eric Schulte wrote: Hi FengShu, I don't know much about the Emacs customization interface, but it is certainly the solution to this issue. There does currently exist a Babel specific customization group, the nesting is orgbabel. Through this interface there are menus like the one you mention below available. One way to access these menus is through the help interface, with M-x describe-variable RET org-babel-load-languages RET and then select the customize link. Agreed on this point, but I am with FengShu regarding a babel menu. I likely would not use it that often (I know the shortcuts relevant to me right now), but 1) it would advertise the babel functionality a little bit more if it is shown in the org menu 2) for a beginner, it would be much easier to use org-babel if commands like execute source block or section, tangle, un-tangle, ... would be in the menu. That would be useful, however I believe what FengShu means is a sub-menu specifically with a list of all the org-babel languages, where you can see which are active at the moment. I'm not sure how you could deactivate them once they are active however since the libraries would be loaded, however you could use that menu as a way to keep track of which languages require confirmation on code blocks and which will be evaluated without prompting. So I would see it as a useful way of promoting babel (and therefore org-mode) and also as a nice reminder of less frequently (but nevertheless usefull) functionality. Cheers, Rainer Best, FengShu tuma...@gmail.com writes: Hi: Could we add some org-babel menu items ,so using them we can enable and disable the computer languages ? for example: #+begin_example org = org-babel = * emacs-lisp sh * R ... * screen #+end_example - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9nRY0ACgkQoYgNqgF2egqR+QCfd9JUHONesOzWv/GeVL1sdgAl J8UAn29QzxY9qxK9Du3n0brq7Orwo6yB =5vux -END PGP SIGNATURE-
Re: [O] OrgMobile problem: only three files in checksums.dat
I haven't had this issue with Org-Mobile specifically because I'm not using it, however I found the same error when using el-get. In my case at least the issue popped up because I was using zsh/bash via cygwin for =shell-file-name= where =shell-quote-argument= expected it to be cmdproxy.exe on Windows. I'm guessing you've got something similar since it's using forward-slashes for sha1sum. It also fits because the only way the final regexp gets applied is when the system is not ms-dos or windows-nt along with a known Windows shell, which means cmd.exe, command.com, cmdproxy and a couple others, cygwin shells are not on that list. The simplest solution would actually be to wrap your Org-mobile call in (let ((shell-file-name (or (and (eq system-type 'windows-nt) (executable-find cmdproxy.exe)) shell-file-name))) {{{insert call here}}} ) Hope this helps, Jonathan On 18 March 2012 18:23, Alexander Vorobiev alexander.vorob...@gmail.comwrote: I figured out what is wrong. I am on Windows 7 (with cygwin) where shell-quote-argument (defined in emacs' subr.el) seems to be broken, specifically it insists on escaping colons (as one of non-POSIX filename characters), so, for instance path to one of my files c:/Users/alex/org/ gtd.org becomes c\\:/Users/alex/org/gtd.org. The result of that is org-mobile-copy-agenda-files which calls shell-quote-argument while generating command line to produce checksums, ends up with something like c:/cygwin/bin/sha1sum c\\:/Users/alex/org/gtd.org which inevitably fails. I am surprised nobody else with Windows machines noticed that, could there be anything I am doing wrong? The quick fix would be to redefine the shell-quote-argument to account for colons (added colon in the regex on the last line, see below). After that all my org files get added to checksum.dat and become visible on my Android phone. I temporarily put this definition to my cygwin-specific initialization file but I feel that there should be more elegant solutions: (defun shell-quote-argument (argument) Quote ARGUMENT for passing as argument to an inferior shell. (if (or (eq system-type 'ms-dos) (and (eq system-type 'windows-nt) (w32-shell-dos-semantics))) ;; Quote using double quotes, but escape any existing quotes in ;; the argument with backslashes. (let ((result ) (start 0) end) (if (or (null (string-match [^\] argument)) ( (match-end 0) (length argument))) (while (string-match [\] argument start) (setq end (match-beginning 0) result (concat result (substring argument start end) \\ (substring argument end (1+ end))) start (1+ end (concat \ result (substring argument start) \)) (if (equal argument ) '' ;; Quote everything except POSIX filename characters. ;; This should be safe enough even for really weird shells. (replace-regexp-in-string \n '\n' (replace-regexp-in-string [^-0-9a-zA-Z_./\n:] \\ argument) Regards, Alex On Sat, Mar 17, 2012 at 10:50 PM, Alexander Vorobiev alexander.vorob...@gmail.com wrote: Hi, I have many files in the org-mobile-files list. On org-mobile-push all of them are copied to my MobileOrg directory, syncronized via Dropbox to my phone, etc. But the file checksums.dat always has only three lines - for files index.org, mobileorg.org, and agendas.org. The org-mobile-checksum-files variable also has the checksums for those files only. Consequently, MobileOrg for Android only shows one line Agenda Views and does not show any of my org files despite having all of them in the same Dropbox directory. Thanks Alex
Re: [O] Git repo not cloneable?
Seems that the URL listed on that page is not correct for cloning. The URL is the correct one for web access. The following works for me (stuck behind a firewall that blocks git://): , | [remote origin] | fetch = +refs/heads/*:refs/remotes/origin/* | url = http://orgmode.org/org-mode.git ` So http cloning is enabled, the URL simply isn't mentioned (And I can't remember where I found it originally) Hope this helps, Jonathan On Fri, Mar 2, 2012 at 07:40, suvayu ali fatkasuvayu+li...@gmail.com wrote: On Fri, Mar 2, 2012 at 09:00, jeremiah.do...@gmail.com wrote: I was looking to add scala support to org-babel, but the repo linked from http://orgmode.org/worg/org-contribute.html appears to need some server-side love: $ git --version git version 1.7.9.2 $ git clone http://orgmode.org/w/org-mode.git Cloning into 'org-mode'... fatal: http://orgmode.org/w/org-mode.git/info/refs not found: did you run git update-server-info on the server? I believe the url is incorrect (http cloning is not enabled I think). http://orgmode.org/worg/worg-git.html#contribute-to-worg That said, it might be nice to have the clone and push urls mentioned on the gitweb summary page as in the repo.or.cz mirror: http://repo.or.cz/w/Worg.git. -- Suvayu Open source is the future. It sets us free.
Re: [O] [babel] [PATCH] enhanced org-babel-goto-named-src-block
Hello Thomas, I ran into exactly that question this morning and managed to figure it out. If I use emacs -q then C-c works as expected and is mapped to (org-mark-ring-goto optional N). However when trying C-c C-h I find out that C-c is a prefix for a few yasnippet commands: , | `yas/minor-mode' Minor Mode Bindings Starting With C-c : | key binding | --- --- | | C-c C-f yas/find-snippets | C-c C-n yas/new-snippet | C-c C-s yas/insert-snippet | C-c C-v yas/visit-snippet-file ` Seems this is another place where yas and org don't get along well together On Wed, Feb 29, 2012 at 11:09, Thomas S. Dye t...@tsdye.com wrote: Andreas Leha andreas.l...@med.uni-goettingen.de writes: t...@tsdye.com (Thomas S. Dye) writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi all, attached is a patch that enhances org-babel-goto-named-src-block (bound to C-c C-v g by default). Included are two enhancements: 1. the point is pushed to the org-mark-ring, such that returning with C-c becomes possible 2. the target src block is guessed from a) noweb-reference b) #+call: c) #+results: d) symbol-at-point if one of these is found (in that order) - Andreas Hi all, Should C-c be included in Key Bindings and Useful Functions, Section 14.11 of the Org Mode manual? Or, is this a general Emacs thing documented elsewhere? Tom In my opinion, it would be nice to have this listed in the Org Mode manual. - Andreas Hi Andreas, Is C-c correct here? On my system I can jump back following the instructions: Position saved to mark ring, go back with M-x org-mark-ring-goto. But C-c waits for more input. Tom -- Thomas S. Dye http://www.tsdye.com
[O] Possible bug: List items with * in them when *:nil
The following question came up on Stack Overflow: http://stackoverflow.com/questions/9051330/possible-bug-in-org-mode-export-of-item-with The following sample org file does not export as possibly expected. ,--- | #+TITLE: Bug? | #+OPTIONS: *:nil toc:nil author:nil | | - hello (*) I would like to have two items | - may (*) I please? `--- Instead of the two items being listed with (*) as a part of their items they are placed on a single line as though they were still being wrapped in bold tags. I tested this further and it occurs in LaTeX, HTML and ODT exports. ASCII does the right thing and exports it as two list items. HTML: ,-- | ul | lihello (*) I would like to have two items - may (*) I please? | /li | /ul `-- LaTeX: ,--- | \begin{itemize} | \item hello (*) I would like to have two items - may (*) I please? | \end{itemize} `--- Is this the expected behaviour when *:nil is set on export? I know you can simply escape the *'s as \* to get the desired result (both with and without *:nil). However it does seem odd to me that it will insert the *s as expected in the export, while at the same time keep the text wrapping that *[...]* creates for bold-face purposes. Regards, Jonathan
Re: [O] Non-interactive insertion of future-dates
Hello, On Wed, Jan 25, 2012 at 11:42, Simon Campese emacs-orgm...@campese.de wrote: Dear community, I want to setup a capture-template that sets a SCHEDULE-property in the future (say one week from today) without any user interaction. Currently, I almost achieve this by inserting the line :SCHEDULED: %(org-read-date nil nil nil nil nil +1w) into my template. When I now call the template, I end up in the date-time-prompt, with +1w prefilled, so that manually have to press enter. Maybe it is trivial to call an interactive lisp-function and emulate some keypress, in which case I would be thankful for the code that achieves this (my lisp-skills are limited). Also, one should be able to achieve what I want by using format-time-string and increment the current time, but again my lisp-skills prohibit me from implementing it myself. A similar question had come up on StackOverflow ( http://stackoverflow.com/questions/7986935/using-org-capture-templates-to-schedule-a-todo-for-the-day-after-today/7988809#7988809 ). My answer there should apply, adjusting the offset from +1d to +1w : SCHEDULED: %(org-insert-time-stamp (org-read-date nil t \+1d\)) Alternately you can include the SCHEDULED: portion within the timestamp insertion itself. This example will also include a fixed time at which to schedule the item (unneeded in this case I suspect but it could be of use elsewhere) : (org-insert-time-stamp (org-read-date nil t \+1w 12:00\) t nil \SCHEDULED: \) In any case, it might be a good idea to include non-interactive access to relative times in template expansion, so that for example one can state something like %t[+1w] or %{+1w}t in the template to get the date one week from today (one should spend some more time to specify the actual input-format of course...). What do you think? I agree, adding the ability to automatically have relative dates would allow for quicker capture templates if you regularly need to to set them with a specific offset. Thank you very much, Simon Regards, Jonathan
Re: [O] Unexpected expansion in a table
title - #+TITLE: is a yasnippet expansion. I think it's pre-added by default in the emacs-starter-kit (if not in general via YAS). You may need to see about adjusting the snippet so it doesn't affect things in the table. On Sat, Dec 24, 2011 at 12:36, Nick Dokos nicholas.do...@hp.com wrote: Thomas S. Dye t...@tsdye.com wrote: Aloha all, With the cursor after 'title' in the following table, pressing TAB doesn't move me to the next cell in the table, it expands title, as shown. | project | title | description | | project | #+TITLE: title | description | Is this expected behavior? I can't reproduce it: TAB gets me to the description cell from anywhere in the title cell. Org-mode version 7.8.02 (release_7.8.02.31.g1a092) Nick
[O] Bug: [ORG-ODT] Export does not respect author:nil and timestamp:nil [7.8.02 (release_7.8.02.8.g8fb0)]
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. Prior to commit: f5add81f4b2b0d39f0597967fae4076fa5f8eff0 org-odt.el: Include author and date in the title when exporting my resume to ODT the exporter respected my export options for author:nil and timestamp:nil. Since the above commit my odt file includes Author and Date information in the subtitle regardless of what was set in the options line. I tested my export using emacs -Q and then evaluating the following in the scratch buffer to ensure I had the most current odt exporter loaded. ,-- | (add-to-list 'load-path (expand-file-name ~/.emacs.d/src/org/lisp)) | (add-to-list 'load-path (expand-file-name ~/.emacs.d/src/org/contrib/lisp)) | (org-reload) `-- Attached are the minimal .org file I used to reproduce the issue, and the resulting .odt . Emacs : GNU Emacs 24.0.92.1 (i386-mingw-nt5.1.2600) of 2011-11-30 on MARVIN Package: Org-mode version 7.8.02 (release_7.8.02.8.g8fb0) current state: == (setq org-export-blocks '((src org-babel-exp-src-block nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 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-export-preprocess-hook '(org-lparse-strip-experimental-blocks-maybe-hook) org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-export-preprocess-after-blockquote-hook '(org-export-odt-preprocess-latex-fragments org-lparse-preprocess-after-blockquote-hook) org-blank-before-new-entry nil org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-export-first-hook '(org-beamer-initialize-open-trackers) org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] org-babel-hide-all-hashes) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-metadown-hook '(org-babel-pop-to-session-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-file-apps '((\\.odc\\' . system) (\\.odf\\' . system) (\\.odi\\' . system) (\\.otp\\' . system) (\\.odp\\' . system) (\\.otg\\' . system) (\\.odg\\' . system) (\\.ots\\' . system) (\\.ods\\' . system) (\\.odm\\' . system) (\\.ott\\' . system) (\\.odt\\' . system) (auto-mode . emacs) (\\.mm\\' . default) (\\.x?html?\\' . default) (\\.pdf\\' . default)) org-after-todo-state-change-hook '(org-clock-out-if-current) org-confirm-shell-link-function 'yes-or-no-p ) vitae2.odt Description: application/vnd.oasis.opendocument.text vitae2.org Description: Binary data
Re: [O] delete, add new row
I'm not sure as to the reason why it does so, but based on your example, the formula is referencing the specific cell itself, rather than the relative position of the cell. If you change your formula to use a relative reference, it will continue to work even when you add, remove and move the rows. #+TBLFM: @2$3..@$3=vmean(@I$2..@0$2);%.1f or #+TBLFM: @2$3..@$3=vmean(@$2..@0$2);%.1f will both provide you with the result you seem to be looking for. The former uses your (first) horizontal line as the starting point, whereas the latter uses the 2nd row from the top. Regards, Jonathan On Thu, Dec 1, 2011 at 12:42, henry atting nsmp...@online.de wrote: Suppose I have this table: | month | expenses | average | |---+--+-| | 1 | 20 | | | 2 | 30 |25.0 | | 3 | 40 |30.0 | #+TBLFM: @3$3..@$3=vmean(@2$2..@0$2);%.1f Then I want to delete the second row and add a new one at the bottom. If I do so I get `#ERROR' on every recalculation. | month | expenses | average | |---+--+-| | 2 | 30 | #ERROR | | 3 | 40 | #ERROR | | 4 | 50 | #ERROR | #+TBLFM: @2$3..@$3=vmean(@INVALID$2..@0$2);%.1f If I push the second row to the bottom the result is as if the last row is still the second one. | month | expenses | average | |---+--+-| | 2 | 30 |30.0 | | 3 | 40 |30.0 | | 1 | 20 |20.0 | #+TBLFM: @2$3..@$3=vmean(@4$2..@0$2);%.1f henry -- http://literaturlatenight.de
Re: [O] launching appropriate application from file link in org file
Assuming your keePass file has an appropriate file extension you should be able to have it open automatically by customizing: M-x customize-variable ret org-file-apps ret and adding the file extension to the list of types (either with default or by specifying exactly which application to use for the attachment. Regards, On Mon, Nov 14, 2011 at 16:08, Marc Croteau mdcrot...@gmail.com wrote: Hello, Hope someone can help. I have made a link to a file in my org file, Many links call the appropriate application (for example, a link to a '.odt' launches the oowriter application. For one specific file, a keePass file, Emac org simply tries to open its in fundamental mode (and it appears as a binary file). I am able to launch correctly the file from the dired. Note, however, that I have added code to my init.el to use gnome to launch the file. My question: can I somehow tell org-mode about how I want files of this type to be opened should I double-click them. Hope my question is clear enough. Thank you in advance. Marc Croteau Toronto
Re: [O] How to set up anniversaries/birthdays with org-contacts-anniversaries?
:BIRTHDAY: without any date is an invalid date for the sexp. org-contacts-anniversaries loops through all valid contacts (headlines with an :EMAIL: property) for any that contain the :BIRTHDAY: property (by default, this can be customized). When there is no date associated the value is nil. (calendar-gregorian-from-absolute (org-time-string-to-absolute anniv)) Where anniv is the date retrieved from :BIRTHDAY:. nil is not a valid date, so the expression fails, giving you a bad sexp. On Tue, Nov 8, 2011 at 6:25 PM, Marius Hofert marius.hof...@math.ethz.chwrote: (load-library diary) This calls the function load-library with the string argument diary. This form can be added to .emacs. Alternatively, you can use the require form that I posted: (require 'diary) I obtain (also for (load-library diary) ): File error: Cannot open load file, diary I assume I'm missing some diary.el (?). Nope, I'm wrong: diary-anniversary is in diary-lib, so the correct form is (load-library diary-lib) or (require 'diary-lib) okay, that's also what I tried and it worked. However, I still see the Bad sexp... error when there is a BIRTHDAY tag *without* date, so just a line containing :BIRTHDAY: But that's of course not a big issue.
[O] Fwd: setting up org-remember
Forwarding to list (forgot to include in reply) -- Forwarded message -- From: Jonathan Leech-Pepin jonathan.leechpe...@gmail.com Date: Mon, Aug 29, 2011 at 4:05 PM Subject: Re: [O] setting up org-remember To: Renato renn...@gmail.com Hi Renato, Emacs-bzr (emacs24) in the AUR will provide a much more up-to-date Org so you can always just proceed that way (although once again you will need to compile the bzr checkout for it to work). There is actually also a couple AUR packages for Org-Mode: - emacs-org-mode 7.7-1 :: http://aur.archlinux.org/packages.php?ID=18206 which simply downloads the 7.7 release .tar.gz - emacs-org-mode-git 20110328-1 :: http://aur.archlinux.org/packages.php?ID=25234 which clones the latest git. The first of the two is probably as close as you get to a standalone binary in Arch (I simply compile it from the latest git manually which runs quickly enough on my machine when I need it) and should stay up to date with the current release. Regards, Jonathan On Mon, Aug 29, 2011 at 2:47 PM, Renato renn...@gmail.com wrote: On Mon, 29 Aug 2011 16:13:22 +0200 Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi Renato, Renato wrote: Hello, I'm trying to set up org-remember, however I'm having some problems. I seem to miss the function org-remember-insinuate (No Match). However that function seems to be defined in org-remember.el.gz which is in /usr/share/emacs/23.3/lisp/org (and this path is in load-path). should I post somewhere my .emacs? I'm on archlinux, emacs version 23.3.1 and the org-mode shipped with it (6.33) If you can, try updating to Org 7.7 or something approaching. Org-remember has been replaced by a very similar, but still different set of variales/templates/etc., package called Org-capture. yeah, I've seen it (going through the compact guide for 7.7 which treats org-capture). But since I saw -on the org manual I think- that upgrading from org-remember to org-capture is rather painless, I was hoping to be able to stick to the org shipped with emacs. Archlinux doesn't provide binaries for standalone org and compiling it myself would make future updates more cumbersome - though I'll indeed go that route if I can't solve this issue in the next few days. so, no idea on why I can't call org-remember-insinuate? cheers, renato
Re: [O] git repository over http?
Hello Bastien, The server does seem to support HTTP for pulling, however it is very slow. I have to use http from work because the firewall blocks the git:// protocol. Times on my prompt are DST (-0400). [10:22:25] ~/test$ git clone http://orgmode.org/org-mode.git Cloning into org-mode... [10:35:43] ~/test$ cd org-mode/ [10:36:46] ~/test/org-mode$ git log -1 commit 74cca9f57ee3896dad85d3b354d1d9db286e799b Author: Nicolas Goaziou n.goaz...@gmail.com Date: Thu Aug 18 15:44:46 2011 +0200 org-indent: silence byte-compiler [10:36:57] ~/test/org-mode$ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [remote origin] fetch = +refs/heads/*:refs/remotes/origin/* url = http://orgmode.org/org-mode.git [branch master] remote = origin merge = refs/heads/master http:// does work for cloning and pulling from the main Repo, however there's nothing to indicate that anything is happening until the task is complete. Regards, Jonathan On Wed, Aug 17, 2011 at 3:52 AM, Bastien b...@altern.org wrote: Hi Peter, peter.fri...@agfa.com writes: I can’t seem to clone the git repository over http (from http://orgmode.org/org-mode.git). Is the server not supporting http, or is it just me? The server isn't supporting the http protocol -- you can use http://repo.or.cz/w/org-mode.git instead, which lags behind by just ~1 hour. HTH, -- Bastien
Re: [O] CLOCKTABLE multiply time expended by hourly rate?
Or if you want to preserve your rounding until the last point in your calculations: | Test 1 | | | 1:15 | 62.50 | 76 | | Test 2 | | | 2:48 | 140.00 | 169 | #+TBLFM: $5=$4*(50/60.0);Df2::$6=$4+1 Since 50/60 is 0.8333... by rounding it prematurely you lose some of the precision in your billing. Column 6 is just there to confirm for me what org does when you add or multiply times. It counts the minutes as units and properly adjusts the hours to be 60*# of hours. So you just have to account for that when billing On Thu, Jul 21, 2011 at 09:37, Giovanni Ridolfi giovanni.rido...@yahoo.itwrote: Daniel E. Doherty ded-...@ddoherty.net writes: That's certainly thinking outside the box, but I don't think it works. Actually, Daniel you don't have to *think*, you've to demonstrate that it works or that it doesn't /tertium non datur/. In your example, 1:09 represents 1/9th in calc's fraction mode, not 1+9/60 which it would have to in order to compute with it. Not with GNU/Emacs 23.3 calc. If you bill 50 per 1 hour, you bill (/ 50 60.0 ) is 0.83 per minute. If you bill 1 hour + 9 minutes it is 69 minutes (* 0.83 69) 57.266 = 57.27 isn't it ? And the fifth column in my table (see below) does compute 57.27 or not? You may say: Ah but this is only one example, you've been lucky! I reply, what about the second line? (* (+ 120 48) 0.83) = 139.44 Calc is *really* smart, isn't it? cheers, Giovanni Regards, At Thu, 21 Jul 2011 13:07:28 +0200, Giovanni Ridolfi wrote: Daniel E. Doherty ded-...@ddoherty.net writes: Hi all, I am trying to use orgmode to bill for time. My idea is to add a column that multiplies the elapsed time column by an hourly rate. what about using a minute rate? (/ 50 60.0) 0.83 so: | Argo Status Hearing 2011-06-28 Tue 09:00 | | | 1:09 | 57.27 | | Letter of Discovery Deficiencies | | | 2:48 | 139.44 | #+TBLFM: $5=$4*0.83;Df2
Re: [O] CLOCKTABLE multiply time expended by hourly rate?
Hi, Which version of Org are you using? 7.6 (archive from org) with very few org-related customizations (Emacs-Starter-Kit along with one or two small changes) behaved properly. I took your original table and updated the formulas and the values behaved as whole numbers rather than fractions | Headline | Time| | | | |---+-+---+--+---| | *Total time* | *28:09* | | | 0 | |---+-+---+--+---| | Lawsuit for Debt Against Rose Funding, LLC (1016-cv18431) | 28:09 | | | 0 | | Activities | | 28:09 | | 0 | | DONE Activity Log | | | 0:05 | 250 | | DONE Draft Complaint for Damages | | | 5:40 | 17000 | | DONE Meet with Kevin Jones and Elizabeth Bennett re Complaint | | | 0:32 | 1600 | | DONE [#A] Motion for Appointment of Private Process Server | | | 1:24 | 4200 | | DONE [#A] File Affidavit of Service with Court | | | 0:25 | 1250 | | [2010-07-27 Tue 11:16] Phone call from Mark Sheister | | | 0:11 | 550 | | Research regarding compulsory counterclaim, res judicata | | | 1:23 | 4150 | | Work on brief in opposition to motion to dismiss. | | | 3:03 | 9150 | | Prepared for Hearing | | | 0:24 | 1200 | | Hearing on Case Status (Div 25:7th Flr) 2010-10-19 Tue 09:00 | | | 0:30 | 1500 | | Hearing on Motion to Dismiss 2010-11-30 Tue 09:00 | | | 1:15 | 3750 | | Hearing on Motion to Dismiss 2010-12-21 Tue 09:00 | | | 1:09 | 3450 | | Status Hearing 2011-01-25 Tue 09:00 | | | 1:31 | 4550 | | Status Hearing 2011-04-26 Tue 09:00 | | | 1:42 | 5100 | | Called Kevin [[bbdb:Stacy]]. Left voicemail to call re settlement offer. | | | 0:04 | 200 | | DONE Call [[bbdb:Sheister]] with counter offer. | | | 0:06 | 300 | | [#B] Draft Interrogatories for Rose, Swords | | | 4:48 | 14400 | | Argo Status Hearing 2011-06-28 Tue 09:00 | | | 1:09 | 3450 | | Letter of Discovery Deficiencies | | | 2:48 | 8400 | #+TBLFM: $5=$4*50;Df2 Not sure where the issue might be in your case, however the formula should behave correctly. Jonathan On Thu, Jul 21, 2011 at 11:55, Daniel E. Doherty ded-...@ddoherty.netwrote: At Thu, 21 Jul 2011 15:37:55 +0200, Giovanni Ridolfi wrote: Daniel E. Doherty ded-...@ddoherty.net writes: That's certainly thinking outside the box, but I don't think it works. Actually, Daniel you don't have to *think*, you've to demonstrate that it works or that it doesn't /tertium non datur/. In your example, 1:09 represents 1/9th in calc's fraction mode, not 1+9/60 which it would have to in order to compute with it. Not with GNU/Emacs 23.3 calc. If you bill 50 per 1 hour, you bill (/ 50 60.0 ) is 0.83 per minute. Agreed. If you bill 1 hour + 9 minutes it is 69 minutes (* 0.83 69) 57.266 = 57.27 isn't it ? It is. And the fifth column in my table (see below) does compute 57.27 or not? Not. At least when I do it. Here's what I get after recalcing your example. | Argo Status Hearing 2011-06-28 Tue 09:00 | | | 1:09 | 0.09 | | Letter of Discovery Deficiencies | | | 2:48 | 0.03 | #+TBLFM: $5=$4*0.83;Df2 Maybe I have a different mode setting or something. You seem to have the $4, or 1:09, being interpreted as 69, but I have it being interpreted as a calc fraction, i.e., 1/9 = 0.. So 0.83 * 0.11 gives me 0.9259, which rounds to 0.9. You may say: Ah but this is only one example, you've been lucky! I would. I reply, what about the second line? (* (+ 120 48) 0.83) = 139.44 Calc is *really* smart, isn't it? Undoubtedly. Apart from Org, my favorite features of Emacs. I'm waiting for vi to duplicate that functionality. Thanks for taking the time to look at this. cheers, Giovanni Regards, At Thu, 21 Jul 2011 13:07:28 +0200, Giovanni Ridolfi wrote: Daniel E. Doherty ded-...@ddoherty.net writes: Hi all, I am trying to use orgmode to bill for time. My idea is to add a column that multiplies the elapsed time column by an hourly rate. what about using a minute rate? (/ 50 60.0) 0.83 so: | Argo Status Hearing 2011-06-28 Tue 09:00 | | | 1:09 | 57.27 | | Letter of Discovery Deficiencies | | | 2:48 | 139.44 | #+TBLFM: $5=$4*0.83;Df2
Re: [O] OLUG talk about Org-mode
Hi Memnon, Memnon Anon wrote: Can someone provide a working download link ? Can someone provide a working video? ;) The direct link to the video on the UStream site is: http://ustream.vo.llnwd.net/pd15/0/1/15/15820/15820239/1_365053_15820239.flv Even if it doesn't load the video (simply a white box) you should still be able to Save As... and watch it offline. Regards, Jonathan