Re: [O] org-cycle Collapse and Expand
Hi Esben, Esben Stien b...@esben-stien.name writes: I'd like it to just expand and collapse the current node. There is `org-show-subtree'. You can create a new key binding like this: (org-defkey org-mode-map \C-c\C-S 'org-show-subtree) Then TAB and C-cC-S to expand/collapse. HTH, -- Bastien
Re: [O] [PATCH] org version under Windows 7
Achim Gratz strom...@nexgo.de writes: Bastien writes: Achim Gratz strom...@nexgo.de writes: I'll update org hacks with the instructions when you have installed the patch. I just installed the patch, thanks. Documentation on WOrg is updated to reflect the new reality... :-) Thanks! -- Bastien
Re: [O] table export to oocalc?
Hi Uwe, Jambunathan K kjambunat...@gmail.com writes: Are there any plans to add a table to oocalc converter? There are no plans. Well, since oocalc reads .csv and .tsv files, there *is* such a converter. But there is no .org to .ods converter, and no plan for this AFAIK. -- Bastien
Re: [O] Manual issue: C-c a binding used in manual but it is not set by org-mode
Hi, Vagn Johansen gonz...@hotmail.com writes: In several places the C-c a prefix is used as part of documenting a command. These key combos do not work unless C-c a has been set to org-agenda. If you search the manual for C-c a you will not find 1.3 Activation where it suggests configuring (global-set-key \C-ca 'org-agenda) Note the missing space. I suggest that places in the manual that use C-c a links to 1.3 (Introduction Activation). I've added a note in the Conventions section and some index entries to help find this. Thanks for reporting this, -- Bastien
Re: [O] Don't show future TODO items in the agenda
mrigetitd...@safe-mail.net writes: I have a bunch of TODO items, each with a timestamp, which I would like to not being displayed in the agenda if the day of their timestamp/schedule is in the future. Can you share an example of .org file along with the custom agenda command (or the default agenda view) you are using? -- Bastien
Re: [O] Org Properties and tab completion issues
Hi Dave, dlc d...@coateconnection.com writes: Using the example in the Org Manual doesn't seem to work although I am new to emacs and org mode so maybe i'm not grasping the concept. I set org-use-inheritance to true (I assume this is `org-use-property-inheritance'.) Problems: 1. If the property is not yet used on an entry, tab completion only shows property_ALL instead of property, and of course there is no completion on possible values. There was a small bug here -- please pull from git and test. Thanks for reporting this. 2. inherited properties - Where is the GENRES property and the inheritance? I don't understand. 3. Is there a way to display only some of the STANDARD properties along with my custom properties in the completion buffer? Nope. I think completion is handy enough like this, but perhaps I misunderstand the request. HTH, -- Bastien
Re: [O] org-remember from anywhere
Hi Paul, Paul Whipp paul.wh...@gmail.com writes: What am I doing wrong? You are using both `org-remember' and `org-capture'. You should use either one or the other. Please refresh your configuration using `org-capture' only and report further problems. org-remember will surely be removed from Org before 8.0. HTH, -- Bastien
Re: [O] Agenda restrict to buffer
Hi Andrea, andrea crotti andrea.crott...@gmail.com writes: I never quite understood how to pass arguments to org-agenda without using it interactively.. I want a simple thing, a command that shows the agenda with the TODO entries from a given file So supposing the buffer projects.org is open I tried this: (defun my-org-agenda () (interactive) (switch-to-buffer (get-buffer projects.org)) (org-agenda :arg 'agenda :restriction ')) (The `org-agenda' arguments are not lispy keywords arguments, which are currently discouraged in Emacs Lisp.) which complains for Wrong number of arguments: (lambda (optional arg keys restriction) Dispatch agenda commands to collect entries to the agenda buffer. Any suggestions? (defun my-org-agenda-command () (interactive) (org-agenda-set-restriction-lock 'file) (org-agenda nil %)) Note that you need to be in your .org file for this to work, so this isn't really suited for a global keybinding, only for org-mode-map. HTH, -- Bastien
Re: [O] [PATCH] org version under Windows 7
Da: Achim Gratz strom...@nexgo.de Inviato: Mercoledì 11 Luglio 2012 23:15 Bastien writes: Achim Gratz strom...@nexgo.de writes: I'll update org hacks with the instructions when you have installed the patch. I just installed the patch, thanks. Documentation on WOrg is updated to reflect the new reality... :-) that does not work. )-: - downloaded snapshot 7445ee7d0 - un-tar-zipped - followed the instructions on worg from The above assumes i.e.: - started Emacs with: c:\Users\me programs/emacs/bin/emacs.exe emacs -Q -L lisp -l org/UTILITIES/org-fixup - BUT emacs *opens* the file org-fixup (? uh ?!) then I tried: c:\Users\me programs/emacs/bin/emacs.exe emacs -Q -L lisp -l org/UTILITIES/org-fixup.el emacs opens the file org-fixup.el - then evaluated in the *scratch* buffer the let expression and got the error: Debugger entered--Lisp error: (void-function org-make-autoloads-compile) (org-make-autoloads-compile) (let ((org-fake-release 7.8.11) (org-fake-git-version 7.8.11-fake)) (org-make-autoloads-compile)) eval((let ((org-fake-release 7.8.11) (org-fake-git-version 7.8.11-fake)) (org-make-autoloads-compile)) nil) eval-last-sexp-1(t) eval-last-sexp(t) eval-print-last-sexp() call-interactively(eval-print-last-sexp nil nil) then I - restarted Emacs - in the *scratch* buffer - evaluated (org-make-org-version 7.8.11 7445ee7d0 c:/Users/me/programs/odt/styles/) in the scratch buffer, this command creates the file c:/Users/me/programs/emacs/bin/org-version.el ^^ that has all the parameters at the right places but the version is not loaded: M-x org-version: Org-mode version N/A-fixup (N/A-fixup !!check installation!! @ c:/Users/ridolfi/programs/emacs-o/org/lisp/) Then I copied to c:/Users/me/org/lisp/org-version.el ^^^ and org got it Org-mode version 7.8.11 (7445ee7d0 @ c:/Users/me/org/lisp/) \o/ If I start Emacs and in the *scratch* buffer evaluate:(defvar my/org-lisp-directory c:/Users/me/org/lisp/ Directory where your org-mode files live.) (org-make-org-version 7.8.11 7445ee7d0 c:/Users/me/programs/odt/styles/) the file org-version.el is saved in the directroy of the scratch buffer, that is c:/Users/me/programs/emacs/bin/ So, Achim how can I tell Emacs to change directory and save org-version.el in my org/lisp/ directory? cheers, Giovanni
[O] capture whenever
I had trouble getting org-capture to behave from a hotkey: It worked fine but would not give the emacs buffer focus making it pretty useless. I worked around the problem using wmctrl (which is in the debian/ubuntu repos). I created a small script: === #!/bin/bash wmctrl -Fa 'emacs@dev' emacsclient org-protocol:/capture:/foo/ where 'emacs@dev' is the title of my main emacs window when it comes up. The script works fine even though the window's title changes when I use multiple windows. Now when I hit the pause key, the script runs and I can capture the thought or snippet without interrupting what I'm doing. I'm sure there is a better way but this works. It would be nice to avoid needing wmctrl (I searched in vain for the 'give focus' option on emacsclient) and to be able to drop the '/foo/' (without which it breaks). Thanks for the help getting there. Regards, Paul Whipp Office: 07 3103 2894 Mobile: 0410 545 357 Do more business with your website! http://www.paulwhippconsulting.com.au Joomla, Python, PHP and MySQL web application developerhttp://www.paulwhippconsulting.com.au/
Re: [O] table export to oocalc?
On Thu, 12 Jul 2012 02:25:36 +0530, Jambunathan K kjambunat...@gmail.com wrote: Are there any plans to add a table to oocalc converter? There are no plans. Anyways, what prompted this question? What is your use-case? -- Well I know I can export to csv, which can be read by oocalc. However in csv the formulas are *not saved* just the results. That is why I asked for a export converter to oocalc. Uwe Brauer
Re: [O] move multiple lines of text at the same time
Enda enda...@yahoo.com writes: Say I have two lines of text like so, and I want to move both of them at the same time, could there be a C-u 2 M-down in order to do this. I've implemented this instead: when a region is active, M-down/up will move the region up/down. Note that org-element.el can help with such features: load contrib/lisp/org-element.el and try `org-element-drag-forward'. It moves the current element forward, as advertized. The plan is to bind M-down/up to `org-element-drag-forward' soon. -- Bastien
Re: [O] table export to oocalc?
Uwe Brauer o...@mat.ucm.es writes: That is why I asked for a export converter to oocalc. You are then asking for a tool to export org table formulas into oocalc formulas. That would be nice, but I'm not aware of any. Best, -- Bastien
[O] org-read-date-prefer-future should prefer next week if the given time is before now
I have (setq org-read-date-prefer-future 'time) in my .emacs, so if I give a time like 8am and it is before now then it is interpreted as tomorrow. This is good, because I never want to set times in the past. However if I give thu 8am (it is Thursday 11:50am here, so Thu 8am is before now) then org interpretes it as 8am today. When org-read-date-prefer-future is set then org should also interpret times given as day+time as future times if the day of week is the same, but the given time is before now. That is, in this case Thu 8am should be interpreted as 8am next Thursday.
Re: [O] [PATCH] org version under Windows 7
Giovanni Ridolfi giovanni.ridolfi at yahoo.it writes: that does not work. )-: Instead of doing what is said in the document you keep inventing your own invocations. Why not simply follow the instructions? Hint: org is not the same as .., so substituting one for the other isn't going to work. You have to cd into the directory where org is installed (just like you would have to if you were to run make), I'll make this more explicit. So for the apparent location of org from your last post you'd do: c:\Users\me cd org c:\Users\me\org c:\users\me\programs\emacs\bin\emacs.exe -Q -L lisp -l ../UTILITIES/org-fixup Since you are obviously not comfortable working at a shell prompt, why not use Emacs-24 und install org from ELPA? Regards, Achim.
Re: [O] Org Properties and tab completion issues
Problems: 1. If the property is not yet used on an entry, tab completion only shows property_ALL instead of property, and of course there is no completion on possible values. There was a small bug here -- please pull from git and test. Thanks for reporting this. 2. inherited properties - Where is the GENRES property and the inheritance? I don't understand. The manual gives an example of an inherited property (GENRES in the discography example) but (org-entry-properties) does not return it. Is there a different function for this? From the function description: (org-entry-properties optional POM WHICH SPECIFIC) Get all properties of the entry at point-or-marker POM. This includes the TODO keyword, the tags, time strings for deadline, scheduled, and clocking, and any additional properties defined in the entry. The return value is an alist, keys may occur multiple times if the property key was used several times. POM may also be nil, in which case the current entry is used. If WHICH is nil or `all', get all properties. If WHICH is `special' or `standard', only get that subclass. If WHICH is a string only get exactly this property. SPECIFIC can be a string, the specific property we are interested in. Specifying it can speed things up because then unnecessary parsing is avoided. By the way, how is WHICH different from SPECIFIC? 3. Is there a way to display only some of the STANDARD properties along with my custom properties in the completion buffer? Nope. I think completion is handy enough like this, but perhaps I misunderstand the request. There are about 28 STANDARD properties, if I add 30 custom properties, the completion list becomes overwhelming. Is there a way to to hardcode the completion list to just the properties I want it to offer? HTH, -- Bastien Thanks Bastien!!
[O] Bug: reftex omits everything = a closing } in a bib entry title [7.8.11
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. First of all, is this the right list? The use-case is via orgmode and the audience is probably appropriate. I would expect that the whole of a bibtex entry would be inserted when asked to do so but sometimes what happens is that the entry is terminated at a closing }, depending on what comes after it. e.g. expect: A critical appraisal of the {ABC} get:A critical appraisal of the {ABC A minimal example follows. # starting like this: emacs -Q -l reftexBug.el # reftexBug.bib contains: @article{no_work, title = {A critical appraisal of the {ABC}}} @article{still_no_work, title = {A critical appraisal of the {ABC} }} @article{this_works, title = {A critical appraisal of the {ABC}a}} @article{and_this_works, title = {A critical appraisal of the {ABC}.}} # reftexBug.el contains: (add-to-list 'auto-mode-alist '(\\.org$ . org-mode)) (setq reftex-default-bibliography (quote(reftexBug.bib))) (defun org-mode-reftex-setup () (setq TeX-master t) (load-library reftex) (and (buffer-file-name) (file-exists-p (buffer-file-name)) (reftex-parse-all) (progn (reftex-parse-all) (reftex-set-cite-format '((?t . %t) (define-key org-mode-map (kbd C-c )) 'reftex-citation)) (add-hook 'org-mode-hook 'org-mode-reftex-setup) - open a new org file 'C-x f a.org RET' - press 'C-c )' choose 't' to insert a title - type 'no_work RET' results in: A critical appraisal of the {ABC I would have expected: A critical appraisal of the {ABC} Thanks, Myles Emacs : GNU Emacs 24.1.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-06-22 on bill Package: Org-mode version 7.8.11 current state: == (setq 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-babel-hide-result-toggle-maybe) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-confirm-shell-link-function 'yes-or-no-p 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-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) 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 org-mode-reftex-setup) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-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-export-latex-format-toc-function 'org-export-latex-format-toc-default org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) org-export-first-hook '(org-beamer-initialize-open-trackers) org-export-interblocks '((src org-babel-exp-non-block-elements)) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) )
Re: [O] Agenda restrict to buffer
2012/7/12 Bastien b...@gnu.org: (defun my-org-agenda-command () (interactive) (org-agenda-set-restriction-lock 'file) (org-agenda nil %)) Note that you need to be in your .org file for this to work, so this isn't really suited for a global keybinding, only for org-mode-map. HTH, -- Bastien Nice thanks I'll give it a try.. I can maybe switch to the buffer automatically and run that, as I was trying to do before. Just for curiosity, why the lispy arguments are deprecated?
Re: [O] Agenda restrict to buffer
andrea crotti andrea.crott...@gmail.com writes: Just for curiosity, why the lispy arguments are deprecated? Not deprecated, just not recommended. See http://lists.gnu.org/archive/html/emacs-devel/2003-08/msg00436.html for a start. Many heated discussions on the web about this. -- Bastien
[O] MobileOrg on an Android tablet?
Is anyone using MobileOrg for android on a tablet? More specific question -- is the android version just a phone app that will get blown up onto the tablet screen, or will it use the extra screen space on a tablet? Thanks, James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal. -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Byte compiler warnings in org-clock.el
The corresponding defvar should probably be moved: In org-clock-in: org-clock.el:1208:53:Warning: reference to free variable `org-clock-out-time' In org-clock-in-last: org-clock.el:1264:31:Warning: reference to free variable `org-clock-out-time' Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
Re: [O] new exporter
Current testing results with the exporter files uncompiled: 2 unexpected results: FAILED test-org-export/read-attribute FAILED test-org-export/unravel-code ...and compiled: 6 unexpected results: FAILED test-org-export/read-attribute FAILED test-org-export/table-cell-alignment FAILED test-org-export/table-cell-borders FAILED test-org-export/table-row-ends-header-p FAILED test-org-export/table-row-starts-header-p FAILED test-org-export/unravel-code You said you don't get those errors for the table exporter, which is still puzzling me. Tracebacks for the two new test errors: --8---cut here---start-8--- Test test-org-export/read-attribute backtrace: org-element-current-element() (prog1 (org-element-current-element) (kill-buffer)) (progn (org-mode) (progn (insert #+ATTR_HTML: :a 1 :b 2\nParagraph (unwind-protect (progn (org-mode) (progn (insert #+ATTR_HTML: :a 1 (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert #+ATTR_HTML: :a 1 :b 2\ (org-test-with-temp-text #+ATTR_HTML: :a 1 :b 2\nParagraph (org-el (org-export-read-attribute :attr_html (org-test-with-temp-text #+AT (list (org-export-read-attribute :attr_html (org-test-with-temp-text (let ((fn-4401 (function equal)) (args-4402 (list (org-export-read-a (should (equal (org-export-read-attribute :attr_html (org-test-with- (lambda nil (should (equal (org-export-read-attribute :attr_html (or byte-code(\306\307!▒q\210\310\216\311 \312\216\313\314\315\316\3 ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc byte-code(\306\307!\211▒r\310\311!q\210\312 d\313\223)L\210\314\216 ert-run-test([cl-struct-ert-test test-org-export/read-attribute Tes ert-run-or-rerun-test([cl-struct-ert--stats \\(org\\|ob\\) [[cl-st ert-run-tests(\\(org\\|ob\\) #[(event-type rest event-args) \30 ert-run-tests-batch(\\(org\\|ob\\)) ert-run-tests-batch-and-exit(\\(org\\|ob\\)) (let ((org-id-track-globally t) (org-id-locations-file (convert-stan org-test-run-batch-tests() call-interactively(org-test-run-batch-tests nil nil) command-execute(org-test-run-batch-tests) command-line-1((--eval (add-to-list 'load-path \./lisp\) --ev command-line() normal-top-level() Test test-org-export/read-attribute condition: (wrong-number-of-arguments #[(limit optional granularity special structure) 313=\203:\314@A!\203`\30!\203\307y\210\202 \306\310!\203 b\210)\311\n\205(\n\312=? \317=\203T\320@!\202\332\311B\321 \211CD\322CPE\323 ,\203r\324@ \325=\203\326@!\202\332\306F!\203\235\327\330!G\232\203\226\331@!\202\332\332@!\202\332\323 \203\252\333@ \\202\332\306\334!\203\317\212\335\336\337\340\327\330!!\\307\311#)\203\310\341@!\202\332\342@!\202\332\306H!\203\327\330!I\212\335\343\307\311#)\204\354\342@!\202\376I\344\232\203\372\345@!\202\376\346@!)\202\332\306\347!\203\350@!\202\332\306\351!\203\213\352\225b\210\306\353!\203)\354 \210\355@!\202\332\306\356!\203Q\354 \210\357\327\330!\226J\\211K\203IKA@!\202M\360@!)\202\332\306\361!\203a\354 \210\362@!\202\332\306\363!\203q\354 \210\364@!\202\332\306\365!\203\201\354 \210\366@!\202\332\354 \210\355@!\202\332\307f\367=\203\231\355@!\202\332\306L!\203\247\370@!\202\332\306\371!\203\264\372@!\202\332\373\311!\203\301\374@!\202\332\306\375 !\203\326\376@A\206\322\377 \\202\332\342@!+\207 [org-element--affiliated-re opoint granularity raw-secondary-p case-fold-search special looking-at nil []*$ t ...] 7 (/home/gratz/lisp/org-mode/lisp/org-element.elc . 82655)] 0) FAILED 308/362 test-org-export/read-attribute --8---cut here---end---8--- --8---cut here---start-8--- Test test-org-export/unravel-code backtrace: org-element-current-element() (org-export-unravel-code (org-element-current-element)) (list (org-export-unravel-code (org-element-current-element)) (quote (let ((fn-4727 (function equal)) (args-4728 (list (org-export-unrave (should (equal (org-export-unravel-code (org-element-current-element (prog1 (should (equal (org-export-unravel-code (org-element-current- (progn (org-mode) (progn (insert #+BEGIN_EXAMPLE\n(+ 1 1)\n#+END_EX (unwind-protect (progn (org-mode) (progn (insert #+BEGIN_EXAMPLE\n( (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (with-current-buffer temp-buffer (unwind-protect (progn (org-mode) ( (let ((temp-buffer (generate-new-buffer *temp*))) (with-current-b (with-temp-buffer (org-mode) (progn (insert #+BEGIN_EXAMPLE\n(+ 1 1 (org-test-with-temp-text #+BEGIN_EXAMPLE\n(+ 1 1)\n#+END_EXAMPLE ( (let
[O] How to export or use org-mode data on Blackberry device?
I'm using Emacs org-mode for task and information management in a business environment dominated by Microsoft products (Windows, Office, ...). My mobile phone is a Blackberry and I wonder if it is possible to export my task list (agendas) in a format readable by the Blackberry and if there might be even a way to have a mobile application on the Blackberry sync'ed to my org-mode data. Kind regards Martin
[O] How to integrate org-mode in a MS Windows-/Office-based environment?
I'm using Emacs org-mode for task and information management in a business environment dominated by Microsoft products (Windows, Office, ...). I wonder how to create a set-up for maximum productivity and I'd like to know how you integrate org-mode in your work on MS Windows. Creating hyperlinks in my org-mode files/tasks, which let me jump directly to E-Mail in MS Outlook (Exchange-based), open Word-, Excel- or Powerpoint documents, etc. is a very helpful feature for integrating org-mode. Are there other techniques, tools or add-ons which are helpful for that purpose? Kind regards Martin
Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?
On Thu, Jul 12, 2012 at 4:06 PM, M elwood...@web.de wrote: I'm using Emacs org-mode for task and information management in a business environment dominated by Microsoft products (Windows, Office, ...). I wonder how to create a set-up for maximum productivity and I'd like to know how you integrate org-mode in your work on MS Windows. Creating hyperlinks in my org-mode files/tasks, which let me jump directly to E-Mail in MS Outlook (Exchange-based), open Word-, Excel- or Powerpoint documents, etc. is a very helpful feature for integrating org-mode. Are there other techniques, tools or add-ons which are helpful for that purpose? My personal technique is to let everyone /else/ use MS and to use org-mode as exclusively as I can. My management is fully used to me providing PDF Beamer presentations at project update meetings while everyone else has submitted PowerPoints. I can submit reports as a file upload to our central research document center, so I compose in org-mode, and then tweak/final-export in LaTeX. I made a project poster using beamerposter.sty once as well and it turned out well, though I think it took more time than if I had just used PowerPoint. I only use MS where I have to -- editing a team member's ppt slide for a larger presentation that multiple folks are contributing to. I have issues every once in a while with someone wanting to re-use my presentation material and obviously an org-file or the raw PDF wont' do them much good. Sometimes I've tried to re-package in ppt or sometimes I just say, I'll send you my presentation, but the format I have it in won't do you much good. I use a program that works awesome for me, but no one really uses it. In essence... I can share my data and information quite well without having to use MS Office. I happen to work in an environment where folks are usually interested in raw data (I can provide the same .csv or .xls export from LibreOffice that I use myself) or read only reference material. There's not a ton of collaborative document editing going on. Anyway, I was worried about this as well. I found that making it known I prefer to use fringe software because it's awesome and makes me more efficient has helped people just get used to that fact ;) John Kind regards Martin
Re: [O] Centering R babel plots in LaTeX/Beamer export?
On Mon, Jul 9, 2012 at 6:24 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: On Mon, Jul 9, 2012 at 4:26 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: I'm exporting a Beamer presentation with R babel blocks and my plots are not centered. This should be a reproducible example: - #+startup: beamer #+latex_class: beamer #+options: toc:nil latex:t tex:t #+latex_class_options: [presentation,bigger] #+beamer_frame_level: 1 * plot #+header: :width 8 :height 6 #+begin_src R :exports results :results output graphics :file file.pdf x - c(1:10) y - x^2 plot(x,y) #+end_src - I tried putting #+begin_center and #+end_center around the block, but it changes the LaTeX export to wrapping my R block in \begin/\end{verbatim}. Worg ob-R-doc has a :pagecentre option, but says it defaults to true, so I'm not sure that's my fix. This is pretty much brute-force, but seems to work: --8---cut here---start-8--- #+startup: beamer #+latex_class: beamer #+options: toc:nil latex:t tex:t #+latex_class_options: [presentation,bigger] #+beamer_frame_level: 1 * plot #+header: :width 8 :height 6 #+name: foo #+begin_src R :exports results :results output graphics :file file.pdf :pagecentre true x - c(1:10) y - x^2 plot(x,y) #+end_src #+LATEX: \begin{center} #+RESULTS: foo [[file:file.pdf]] #+LATEX: \end{center} --8---cut here---end---8--- I only get a #+results line if I do C-c C-c on the block. I'm primarily tweaking other stuff and just using C-c C-e p to export to LaTeX, which produces no #+results section and thus does not allow me to use a center environment around that bit. I suppose I can manually add them, but if I re-evaluate babel doesn't recognize it as the #+results section anymore and I wind up with this after the second eval: Not here: if you have a *named* code block (did you add the ``#+name: foo'' line to the code block?), the results block is named the same way the first time it is generated (as you say, C-c C-c on the block is necessary to produce it). But once it is produced, I can delete the link to file.pdf (but not the ``#+RESULTS: foo'' line), redo the C-c C-c and end up with exactly the same thing as before: no duplication of results blocks. Ah. I did not (and do not usually) use the #+name argument. I'll try that out. Thanks! John And this property of named blocks allows the results block to be separated from the code block by arbitrary intervening text: --8---cut here---start-8--- #+startup: beamer #+latex_class: beamer #+options: toc:nil latex:t tex:t #+latex_class_options: [presentation,bigger] #+beamer_frame_level: 1 * plot #+header: :width 8 :height 6 #+name: foo #+begin_src R :exports results :results output graphics :file file.pdf :pagecentre true x - c(1:10) y - x^2 plot(x,y) #+end_src foo bar * baz #+LATEX: \begin{center} #+RESULTS: foo #+LATEX: \end{center} --8---cut here---end---8--- The link will be placed after the ``#+RESULTS: foo'' line. Nick PS. Org-mode version 7.8.11 (release_7.8.11-139-g0442b9 @ /home/nick/elisp/org-mode/lisp/) (includes 3 local commits). - #+RESULTS: foo [[file:file.pdf]] #+LATEX: \begin{center} #+RESULTS: foo [[file:file.pdf]] #+LATEX: \end{center} - I still may consider it as an interim solution. I'm surprised there's no option to center resultant plots! PPS. There may be: I just don't know. John Nick
Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?
Von: John Hendy jw.he...@gmail.com Datum: Thu, 12 Jul 2012 16:16:34 -0500 An: M elwood...@web.de Cc: emacs-orgmode@gnu.org emacs-orgmode@gnu.org Betreff: Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment? On Thu, Jul 12, 2012 at 4:06 PM, M elwood...@web.de wrote: I'm using Emacs org-mode for task and information management in a business environment dominated by Microsoft products (Windows, Office, ...). I wonder how to create a set-up for maximum productivity and I'd like to know how you integrate org-mode in your work on MS Windows. Creating hyperlinks in my org-mode files/tasks, which let me jump directly to E-Mail in MS Outlook (Exchange-based), open Word-, Excel- or Powerpoint documents, etc. is a very helpful feature for integrating org-mode. Are there other techniques, tools or add-ons which are helpful for that purpose? My personal technique is to let everyone /else/ use MS and to use org-mode as exclusively as I can. My management is fully used to me providing PDF Beamer presentations at project update meetings while everyone else has submitted PowerPoints. I can submit reports as a file upload to our central research document center, so I compose in org-mode, and then tweak/final-export in LaTeX. Hi John, thanks for your detailed answer! Well, a large part of my work is sharing and editing Office documents together with other people and as meetings are planned with MS Outlook/MS Exchange etc, I can not avoid using MS Outlook and MS Office and it is not sufficient to distribute PDF documents. So unfortunately I'll have to find a way to integrate as good as possible. (I had tried to use MS Outlook 2007 for managing tasks for some weeks but I was missing a lot of features I got used to from org-mode, so I installed org-mode. One example of helpful integration: if I send or get an e-mail which I want to follow-up on later, I want to track that in org-mode and I want to have a way to quickly find the original message in Outlook again (to reply or forward it or whatever), which can be done with hyperlinks. I'm sure there are a lot more useful tricks which can help in daily work, e. g. a vba macro which copies the path to the currently open word or excel document into the clipboard or even directly opens org-capture to add some note or task which is linked to this document... So I'm hoping to get in contact with people with the same problems or solutions to them. :-) Kind regards Martin
[O] Update-persistent R library repo
I recently inquired with someone at an R meetup group about how to make an update-persistant repo for my R libraries. He suggested creating a file ~/.Renviron with the contents: .--- | R_LIBS=C:/Users/a1rwhzz/Documents/R `--- I did this and it works great from the R program via my Windows start shortcut, but not from Emacs/ESS which is what Org-mode looks for. I thought I'd ask here as surely some of you have done this. I think the primary issue is that Emacs defines ~/ as C:/Users/uname/AppData/Roaming whereas the R program seems to define it as C:/Users/uname/Documents (which is also C:/Users/uname/My Documents). Suggestions? Also, since I created this file, my CRAN mirror GUI picker no longer pops up with install.packages(). I'm thinking there has to be a more robust way. Do you typically start R in the same directory each time when using ESS/Org-mode? Thanks for any suggestions, John
Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?
On Thu, Jul 12, 2012 at 04:16:34PM -0500, John Hendy wrote: On Thu, Jul 12, 2012 at 4:06 PM, M elwood...@web.de wrote: My personal technique is to let everyone /else/ use MS and to use org-mode as exclusively as I can. My management is fully used to me providing PDF Beamer presentations at project update meetings while everyone else has submitted PowerPoints. I can submit reports as a file upload to our central research document center, so I compose in org-mode, and then tweak/final-export in LaTeX. I often will write technical documentation in Org, and export it to HTML. MS Word users can import it and immediately apply a company template, while the HTML preserves much of the formatting. Looks quite good in the end. Obviously it's a one way process though, I don't receive Word documents. Thanks. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?
On Thu, Jul 12, 2012 at 05:04:23PM -0500, Russell Adams wrote: I often will write technical documentation in Org, and export it to HTML. MS Word users can import it and immediately apply a company template, while the HTML preserves much of the formatting. Looks quite good in the end. Another quick useful tip for Org publishing: I do have to use Visio for making technical drawings, which are frequently a full page. I export from Visio directly to PDF using the built in publish method. When I compiled Org to PDF via Latex, I found that if I include the pdfpages package which I believe is included in texlive, I can insert the full Visio PDF page into the final output without having my normal headers and footers or disrupting the document. #+LATEX_HEADER: \usepackage{pdfpages} \includepdf[angle=90]{./diagram.pdf} Good luck! -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Re: [O] Byte compiler warnings in org-clock.el
Achim Gratz strom...@nexgo.de writes: The corresponding defvar should probably be moved: Done, thanks. -- Bastien
Re: [O] How to export or use org-mode data on Blackberry device?
Hi Martin, M elwood...@web.de writes: My mobile phone is a Blackberry and I wonder if it is possible to export my task list (agendas) in a format readable by the Blackberry What is the format you need? and if there might be even a way to have a mobile application on the Blackberry sync'ed to my org-mode data. Did you search the web? I did and I don't think there is such an application. Your only chance is to develop it yourself, to pay someone to develop it, or to wait for someone to do it for you. But let's fix the format issue above first. Best, -- Bastien
Re: [O] Bug: reftex omits everything = a closing } in a bib entry title [7.8.11
Hi Myles, Myles English mylesengl...@gmail.com writes: First of all, is this the right list? I don't think so -- better send this report to the AUCTeX people. I would expect that the whole of a bibtex entry would be inserted when asked to do so but sometimes what happens is that the entry is terminated at a closing }, depending on what comes after it. For what is worth, I can replicate the bug. Best, -- Bastien
Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?
M elwood...@web.de writes: So unfortunately I'll have to find a way to integrate as good as possible. (I had tried to use MS Outlook 2007 for managing tasks for some weeks but I was missing a lot of features I got used to from org-mode, so I installed org-mode. One example of helpful integration: if I send or get an e-mail which I want to follow-up on later, I want to track that in org-mode and I want to have a way to quickly find the original message in Outlook again (to reply or forward it or whatever), which can be done with hyperlinks. You can set up Gnus if Exchange server is available via IMAP otherwise see Q 3.10 [1]. With Gnus you can easily insert links right to your e-mail. Indeed the ability to bookmark an e-mail is something I would miss without Org mode. [1] http://gnus.org/manual/gnus_397.html#SEC446 I'm sure there are a lot more useful tricks which can help in daily work, e. g. a vba macro which copies the path to the currently open word or excel document into the clipboard or even directly opens org-capture to add some note or task which is linked to this document... You can use dired to navigate to your word document in the first place and make a link using dired. -- Mikhail