Re: [O] org-capture: keeping window visible during date entry
On Thu, Jun 14 2012, Christoph Groth wrote: Hello, I recently switched from remember to org's new capture facility which seems to work fine. However, an issue I already had with remember is still bothering me, perhaps someone knows a good solution: I often call org-capture from within a buffer containing some relevant context, for example an e-mail message displayed by gnus. The emacs window created by org-capture that allows to choose a template is created below the two Gnus windows showing the group and the message. My org-capture templates require entering a date. During the subsequent date entry, the gnus windows are not visible anymore (I only see the nascent buffer with the entry to be captured and a window showing the emacs calendar). This is impractical, because the e-mail message often contains the very date I would like to enter. How to ensure that the buffer which was active when org-capture was executed remains visible during date entry? Thanks, Christoph I've had the same annoyance. The attached patch is *not* a real solution to the problem, as it still produces some weird windowing, and I have no idea if it will wreck other uses of capture, but it does preserve gnus windows so you can see the information you're trying to capture. It's at least a pointer in the right direction… Eric diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 0e6ab2c..e53b430 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -873,7 +873,7 @@ it. When it is a variable, retrieve the value. Return whatever we get. (defun org-capture-place-template () Insert the template at the target location, and display the buffer. (org-capture-put :return-to-wconf (current-window-configuration)) - (delete-other-windows) +; (delete-other-windows) (org-switch-to-buffer-other-window (org-capture-get-indirect-buffer (org-capture-get :buffer) CAPTURE)) (widen) @@ -1347,8 +1347,8 @@ The template may still contain \%?\ for cursor positioning. (unless template (setq template ) (message No template) (ding) (sit-for 1)) (save-window-excursion - (delete-other-windows) - (org-pop-to-buffer-same-window (get-buffer-create *Capture*)) +; (delete-other-windows) + (org-switch-to-buffer-other-window (get-buffer-create *Capture*)) (erase-buffer) (insert template) (goto-char (point-min)) -- GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-06-11 on pellet 7.8.10
[O] [PATCH] fix typo in org.texi
The attached patch fixes a typo in the documentation. I hope I got the format of the commit message right. Best regards, Jan From 7daa1f794794d515624ab28310db81a0e4099ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6cker?= jan.boec...@jboecker.de Date: Sat, 16 Jun 2012 15:04:43 +0200 Subject: [PATCH] org.texi: fix typo * doc/org.texi (The spreadsheet): fix typo --- doc/org.texi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/org.texi b/doc/org.texi index 28d2a06..e1337c0 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -2706,7 +2706,7 @@ modified in order to still reference the same field. To avoid this from happening, in particular in range references, anchor ranges at the table borders (using @code{@@}, @code{@@}, @code{$}, @code{$}), or at hlines using the @code{@@I} notation. Automatic adaptation of field references does -of cause not happen if you edit the table structure with normal editing +of course not happen if you edit the table structure with normal editing commands---then you must fix the equations yourself. Instead of typing an equation into the field, you may also use the following -- 1.7.10.3
[O] Add the capture feature %(sexp) to org-feed
Hi all I am almost done with adding the capture feature %(sexp) to org-feed.el. Because for this I would like to use org-capture-escaped-% from org-capture.el in org-feed.el I renamed this function to org-template-escaped-% and call it in org-feed.el. The only thing what is missing is that unless I do some manual evaluations before, there is still Symbol's function definition is void: org-template-escaped-%. For this I would like to ask for some design and implementation guidance, if available also where I should read in the elisp reference manual or wherever. Michael
[O] Cannot use #+call correctly with babel
Hello everyone, I cannot understand the way to use #+name and #+call with babel. All the mixes on headers I tried have been failures. I just want something like : * Hello Word in C++ Here is the source code : #+call: cpp_hello_world [:exports code] and here is the result : #+call: cpp_hello_world [:results output :exports results] gives me * Hello Word in C++ Here is the source code : #include iostream int main() { std::cout hello world ! std::endl; } and here is the result : Hello World ! in the resulting HTML, ascii or Latex export. Here is my example source : http://pastebin.com/63uHDvZH Does anyone see why I cannot have the output of the code and the results in the last sections ? Thanks :) -- Benoît BAYOL benoit.ba...@gmail.com 0033 6 3353 1153
[O] export to pdf tags showing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! This is about exporting to pdf and tags showing. When exporting to pdf I use #+OPTIONS tags:not-in-toc Despite that tags are showing in toc in the resulting pdf file. How can I get rid of tag-in-toc in pdf? I use Emacs 24.1.1 on win7 and org mode 7.8.11. /Christina -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) iEYEARECAAYFAk/cwNgACgkQ2+bVj21Y+8mS1ACgzo7SSMrfFhjXrPUclnjVVnvz r58AmQGzful7U6wQDlAw7kS+hSRCawEU =I+Cs -END PGP SIGNATURE-
Re: [O] on the go capture
* Sample Hampton zaphod4...@aol.com wrote: Users, Feeling like Tron 1982 :-) What do you use to capture when away from orgmode (in the car, on the subway) and what system do you use to migrate those captures into orgmode? Right now I just use a notebook and a pen--and it works fairly well--but moving from notebook to org is certainly a pain, and I am sure I am losing information. I am using Mobile-Org on my Android phone. And I do use it for input only. I love the share with.../Mobile Org-feature that lets me easily share web pages, RSS feed entries, and such. Although plain text todos I prefer to write on my hipster PDA[1] which consists of a folded paper and a space pen. It is just faster than grabbing the phone, beat the lock screen, start up Mobile Org, hit the new task-button, hit the entry line to start up the keyboard, and then ... what was it I wanted to write down again? What do you use? And if you use mobileorg, then how well does it work? For sharing something which is already written, I love it. For having stuff from my desktop Org on the road I've had troubles: I do have /way/ too much stuff on my desktop to blindly add everything to Org Mobile. And I could not find the time to get a setup that exports only stuff I need such as contacts, current errands, ... yet. 1. http://en.wikipedia.org/wiki/Hipster_PDA -- Karl Voit
Re: [O] Org-mode as a Quantified Self platform
Hi! * John Hendy jw.he...@gmail.com wrote: I've really been getting into the Quantified Self movement recently, Same holds to me. I just wanted to post almost the same things you did. :-) and by getting into, I mean reading and watching videos and /thinking/ about things I'd like to track about myself. [1] I've been pondering what kind of platform to use for my data collection... Excel? Some time tracking application? Those were after-thoughts. I thought of Org-mode right away and it seemed like an obvious choice. I chose Org-mode before I got into QS. And it seems to me an almost perfect match. -- Sidemark: double-dash followed by a space will be interpreted as the start of your signature. At least in my newsreader (ML-Gmane) your posts consists of /awful/ long signatures :-) Has anyone done something like this? I did not /plan/ my QS/Org-mode setup thoroughly (yet): I am using habits to track some things that re-appear within five weeks or less. For tracking events, I am using todos that repeat every 20 years or so. Those todos I mark as done whenever an event occurs. This results in drawers like: :LOGBOOK: - State DONE from TODO [2011-10-05 Wed 00:16] - State DONE from TODO [2011-09-24 Sat 15:27] - State DONE from TODO [2011-09-08 Thu 08:49] - State DONE from TODO [2011-08-05 Fri 08:35] - State DONE from TODO 2011-07-03 Sun 14:28 :END: I admit that I did not know about org-collector.el before this thread. I will definitely look into that as well. I do not have anything useful for analyzing or visualizing Org-mode data yet. If org-collector.el does not turn out to be the solution, I plan to write my own Org-mode parser in Python. My brain is not «compatible» with LISP, I'm afraid. When I've got the time stamps in Python, I can do whatever I like. I'd love to see an Android app for quick input. Mobile Org for Android has to much overhead for this purpose. I want to have an app that I can start and touch one single button when I want to log a timestamp of an event. Optionally it should ask me for a text/number/amount. It'd be perfect when this QS-app is providing widgets so that I can put such «event XY happened»-icons on the main screen to be able to quickly log any event. One button type for each event I want to capture. I played around with Android apps that try to log my position using WiFi network, cell triangulation, or GPS. They all had their issues. Bad luck so far. (LifeLogger, GPSLogger, ...) -- On that note, what's the best way to get data out of org-habit/headlines and into something a bit more usable like csv? Sorry, nothing I know of so far. But something very nice I already did: Memacs[2] With Memacs, you can get many different data sources back into your possession, back into your agenda: emails, tweets, bookmarks, git-commits, text messages, phone calls, photographs, usenet postings, and so forth will appear in your agenda. I do like Memacs a *lot*. Once you have set up Memacs, it runs by its own and provides a diary that writes itself :-) Every Memacs-user reported very positive aspects she/he did not think of this before so far. I plan to write that Python-Parser also to fetch Memacs-data and generate (general) visualizations like: * events per day/week/month/year * average time between events * ... 2. https://github.com/novoid/Memacs -- Karl Voit
[O] Inhibit converting -- to ndash;
Hello everyone, When I export a org file to html, string -- in org file is converted to ndash; in html. I want to display -- verbatim, so could you tell me how to inhibit converting --? Thanks, sorry for stupid question -- Tsunenobu Kai
Re: [O] Inhibit converting -- to ndash;
When I export a org file to html, string -- in org file is converted to ndash; in html. I want to display -- verbatim, so could you tell me how to inhibit converting --? What happens if you enclose the two dashes in equal signs? As: =--= -- Mike
Re: [O] Add the capture feature %(sexp) to org-feed
Michael Brand michael.ch.br...@gmail.com wrote: I am almost done with adding the capture feature %(sexp) to org-feed.el. Because for this I would like to use org-capture-escaped-% from org-capture.el in org-feed.el I renamed this function to org-template-escaped-% and call it in org-feed.el. The only thing what is missing is that unless I do some manual evaluations before, there is still Symbol's function definition is void: org-template-escaped-%. For this I would like to ask for some design and implementation guidance, if available also where I should read in the elisp reference manual or wherever. Either require org-capture in org-feed or move the function to org.el, which both org-capture and org-feed require. Nick
Re: [O] Inhibit converting -- to ndash;
Thank you for your response, Mike. At Sat, 16 Jun 2012 18:03:03 -0700 (PDT), Michael Hannon wrote: What happens if you enclose the two dashes in equal signs? As: =--= I tried exporting =--=, then =--= is unfortunately converted to =ndash;= in html. Is there any other way? If possible, I want to control it with export options in a org file rather than markup rules. Best regards, Tsunenobu Kai
Re: [O] export to pdf tags showing
itm...@chrikro.net itm...@chrikro.net wrote: Hi! This is about exporting to pdf and tags showing. When exporting to pdf I use #+OPTIONS tags:not-in-toc Missing colon perhaps? #+OPTIONS: tags:not-in-toc Nick Despite that tags are showing in toc in the resulting pdf file. How can I get rid of tag-in-toc in pdf? I use Emacs 24.1.1 on win7 and org mode 7.8.11. /Christina
[O] [GSoC] org-merge-driver weekly update
Hi everyone, small weekly update; I'm almost finished creating the parser. Because of the nature of org mode grammar, the files are being parsed with regexs and (f)lex. Because Orgmode files can be written in any character encoding supported in Emacs, I am looking into using libiconv to support as many file encodings as possible. Sincerely, Andrew Young
Re: [O] Inhibit converting -- to ndash;
Tsunenobu Kai kbkbkb...@gmail.com wrote: Thank you for your response, Mike. At Sat, 16 Jun 2012 18:03:03 -0700 (PDT), Michael Hannon wrote: What happens if you enclose the two dashes in equal signs? As: =--= I tried exporting =--=, then =--= is unfortunately converted to =ndash;= in html. Is there any other way? Are you sure? In my case, both =--= and ~--~ get exported to HTML as code--/code with both the old and the new exporter. If possible, I want to control it with export options in a org file rather than markup rules. I don't think that's possible. Nick Best regards, Tsunenobu Kai
Re: [O] Inhibit converting -- to ndash;
(2012/06/17 11:18), Nick Dokos wrote: Are you sure? In my case, both =--= and ~--~ get exported to HTML as code--/code with both the old and the new exporter. I'm sorry I made a mistake. I exported =--=help by mistake, and then it was converted ndash;help. =--help= gets exported to HTML as --help and that's what I want to do. Thank you for your help, Kai
Re: [O] Inhibit converting -- to ndash;
Kai, With the old exporter, you could make your own special-string and convert it. In init.el: -- ;; For old exporter: C-c C-e h (eval-after-load org '(setq org-export-html-special-string-regexps (append org-export-html-special-string-regexps '((-nd- . --) -- I've not been able to get special-strings working with the new exporter, but it should be something like: -- ;; For new exporter (but not yet) (eval-after-load org '(setq org-e-html-special-string-regexps (append org-e-html-special-string-regexps '((-nd- . --) -- HTH -BC