Re: [O] calfw-org, view single org file; very ugly hack
On 04/19/2014 11:33 PM, Bastien wrote: Brady Trainor algeb...@uw.edu writes: Was there a better way (outside of joining development of calfw-org)? PS: Joining forces for development always seems like a good idea :) Of course, Bastien you have answered this question well in 2007. Link: http://lists.gnu.org/archive/html/help-gnu-emacs/2007-10/msg00708.html That is, I tried several things, and I'm ending up with pretty much the recipe you describe. I can use icalendar.el to simply convert .ics files to diary format. I can cut and paste between a diary and org-mode file if I want to. I can simply edit the .ics calendar from another app if I feel it's easier. I could even view the .ics file in Emacs with calfw-ical. I could compare these dates with plain text (diary and org-mode), calfw-ical, calfw-cal, calfw-org, and agenda-view. I found the org-caldav too limiting in the syntax, as I'd like the freedom to use more diary sexp in my org files (won't allow times with diary sexp at this time). My use of org-mode is just to organic right now, so I prefer less restrictions by my use of .ics files. There seem to be many ical2org scripts out there, but I think I'd prefer at this point to just shoot for a cleaner break between .ics and Emacs formats. I do find the conversion from .ics to diary to be sufficient, and will probably use this to empty out my .ics files from time to time and keep records in plain text diary format. I think this is more or less a simple enough and effective system for my needs for now. And it should be flexible enough as well, if I want to try a different calendaring system down the road. Brady #+BEGIN_SRC dot :file ./gv/caldiagram.png :cache yes :cmdline -Tpng digraph { { rank = same orgmode diary } gcal - ics [ dir = both label = GCALDaemon (sync) ] // owncloud - ics2 [ dir = both ] // ics2 - orgmode [ dir = both label = org-caldav ] // ics2 [ label = ics ] ics - diary [ dir = both label = icalendar.el (manual) ] diary - agendaview // orgmode - ics [ constraint = false // label = org-export-icalendar-combine-agenda-files // ] orgmode - agendaview // diary - calendar diary - calfw ics - calfw orgmode - calfw [ constraint = false ] } #+END_SRC
Re: [O] Insignificant typo re: `C-c / T' coded cases?
Hello, Brady Trainor algeb...@uw.edu writes: Org-mode version 8.2.5h (8.2.5h-106-gfaa170-elpa @ c:/Users/user-name/AppData/Roaming/.emacs.d/elpa/org-20140414/) TLDR version: Should `?T' not appear twice? This should be fixed. Thank you. Regards, -- Nicolas Goaziou
Re: [O] (org-insert-headline '(4)) should insert new headline before point
Hello, York Zhao gtdplatf...@gmail.com writes: I'm sorry that my bug report might not be clear enough. What I meant was that with one prefix argument, the command `org-insert-heading' should insert a new heading *before* the current heading, not after. In this regard the behavior should be exactly the same as when this command is executed with no prefix argument. C-u M-RET behaves exactly as C-RET, not as M-RET. It seems to be intended. Regards, -- Nicolas Goaziou
[O] beamer options on frame
How can I put options that would apply to a frame (e.g., \allowframebreaks)?
Re: [O] beamer options on frame
Hi Neal, Neal Becker ndbeck...@gmail.com writes: How can I put options that would apply to a frame (e.g., \allowframebreaks)? #+BIND: org-beamer-frame-default-options [allowframebreaks] for allowing frame breaks for the whole document, *** A very long slide :PROPERTIES: :BEAMER_env: [allowframebreaks] :END: for allowing on a frame by frame basis. -- Bastien
Re: [O] end-of-defun odd behaviour in org mode
Hi Leo, Leo Liu sdl@gmail.com writes: While adding support for org-mode in easy-killĀ¹ I have discovered C-M-a and C-M-e work asymmetrically. C-M-e moves forward 2 headlines while C-M-a move back 1. Commit 76fa97922 changed C-M-a and C-M-e to `org-backward-element' and `org-forward-element' but I know see it was wrong, so I partially reverted it, the old behavior makes more sense. Thanks for reporting this, http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=76fa97922 -- Bastien
Re: [O] Using Emacs Org-mode on a server with ssh on an iPad
Eric S Fraga e.fr...@ucl.ac.uk: However, the one recommendation I would make is that, if you can, you should run emacs within screen or byobu on the host so that disconnections keep the emacs instance running. I found it quite useful to have that emacs running continuously while I was out and about. mosh is really nice for remoting like this: http://mosh.mit.edu/ Don't know if there is a mosh implementation for iOs, though... none listed on the site (two applications implementing mosh listed for Android): http://mosh.mit.edu/#getting The wikipedia article mentions something called iSSH, which is said to have a mosh protocol plugin: http://en.wikipedia.org/wiki/Mosh_(software)#Supported_platforms A short summary of mosh behaviour: - An SSH connection is used to connect and authenticate the user - After the initial SSH connection mosh switches to an UDP protocol that tries to keep the local terminal emulator in sync with a terminal emulator process running on the host, automatically handling disconnects, suspend, new IP numbers, etc. When I had a working linux netbook I used mosh to connect to a couple of servers, and it worked perfectly from hotel WiFi all over Europe, and my ICE modem, as well as other places in the world: as soon as I had a connection, the mosh window was live again, and at the state where I left it (or the process on the server side had left it, actually).
Re: [O] beamer options on frame
By the way, I found this information in this thread: http://thread.gmane.org/gmane.emacs.orgmode/36413 Maybe worth reading entirely. -- Bastien
[O] Where to find complete org-mode mobile android documentation?
After running in circles, it seems that the documentation for the org-mode mobile android app is supposed to be here: https://github.com/matburt/mobileorg-android/wiki/Documentation However, all the images are missing on that page, and the images are pretty important. Is there a better page to use? Thanks, Mark
Re: [O] [PATCH] Fix: allow org-refile in goto mode from everywhere
Hi Bastien, I think you're right, sorry for any inconveniences ;) Bastien b...@gnu.org writes: Hi Markus, Markus Hauck markus1...@gmail.com writes: It seems like org-refile with the goto argument is no longer allowed From non org-mode buffers. I reverted your patch. In commit 49da67d the condition was changed from: (unless goto ...) to: (unless (and goto (listp goto)) ...) where the condition of unless is only true for non-empty lists. That's in fact on purpose. If you want to use org-refile to go to a location, use (org-refile '(4)), the '(4) emulates the universal prefix argument. Note that With your patch, the prompt for org-refile (as (org-refile nil)) was asking Goto: because (listp nil) is `t'. Let me know if I missed something. signature.asc Description: PGP signature
[O] Cool trick on how to eval bash/zsh babel blocks in emacs
Hi all Thanks to the always amazing sacha chua here is a neat way to evaluate/run bash/zsh command line commands inside the emacs term. i find this very useful for collecting multiple bash snippets and quickly running them here is the code #+begin_src emacs-lisp (defadvice org-babel-execute:sh (around sacha activate) (if (assoc-default :term (ad-get-arg 1) nil) (let ((buffer (make-term babel /bin/zsh))) (with-current-buffer buffer (insert (org-babel-expand-body:generic body params (org-babel-variable-assignments:sh params))) (term-send-input)) (pop-to-buffer buffer)) ad-do-it)) #+end_src i wonder if this would be of interest to other people and perhaps could be incorporated into org mode and babel note of warning: sacha says its very hackish..since i have zero coding knowledge i ill take her word for it even thought it works perfectly here ;-) would love to know if anyone else has interest in this and if people have improvements on this best Z
Re: [O] Cool trick on how to eval bash/zsh babel blocks in emacs
Xebar Saram zelt...@gmail.com writes: Hello, all! Thanks to the always amazing sacha chua here is a neat way to evaluate/run bash/zsh command line commands inside the emacs term. i find this very useful for collecting multiple bash snippets and quickly running them here is the code #+begin_src emacs-lisp (defadvice org-babel-execute:sh (around sacha activate) (if (assoc-default :term (ad-get-arg 1) nil) (let ((buffer (make-term babel /bin/zsh))) (with-current-buffer buffer (insert (org-babel-expand-body:generic body params (org-babel-variable-assignments:sh params))) (term-send-input)) (pop-to-buffer buffer)) ad-do-it)) #+end_src To use this: #+begin_src sh :term t ls -l echo Hello world #+end_src Probably good to replace the /bin/zsh call with (or explicit-shell-file-name (getenv ESHELL) (getenv SHELL) /bin/sh)) So the original context of this was that zeltak wanted a way to run sh babel blocks in a separate term so that he could interact with the results of the process instead of having the output go into a results block. I'm not sure if there's already a proper way to do this (didn't seem like it from org-babel-execute:sh), so I added a custom :term parameter and advised the execution of org-babel-execute.sh. Seems to work. Of course, proper implementation would get rid of the advice, and also maybe use :results term or something like that. Anyway, before we dig into implementation details and documentation updates: Is interacting with babel output something that might be interesting to include? If so, how should it behave? Sacha
Re: [O] Bug: Setting system command org-file-apps does not allow other settings to refer to it [8.2.5h (release_8.2.5h-620-g7fd183 @ /home/rrt/.emacs.d/el-get/package/elpa/org-20140210/)]
Hi Reuben, Reuben Thomas r...@sc3d.org writes: 1. I customize org-file-apps's system command to be xdg-open %s, then customize the default command to be the system command. Please share the value of `org-file-apps' (C-h v org-file-apps RET). What I've found is that, since .pdf documents can be opened in Emacs and since org-file-apps contains (auto-mode . emacs) as its first element, then changing the system's value to xdg-open after that will fail because (auto-mode . emacs) is applied first. Sure, the docstring needs a bit of simplification, thought. -- Bastien
[O] showing up twice in customize group, Org Agenda Match View
This shouldn't take any priority I imagine, but I am curious what causes it. If you execute M-x customize-group org-agenda RET at bottom you will find two appearances of subgroup `Org Agenda Match View', which I assume is not desired result. I think this must somehow result from Emacs' auto-documentation. Traveling through describe-function (for the contents org-agenda-tags-todo-honor-ignore-options), I arrive at agenda.el, and do some grepping. I found this, but I can't see anything wrong with it's lone appearance, / (defgroup org-agenda-match-view nil Options concerning the general tags/property/todo match agenda view. :tag Org Agenda Match View :group 'org-agenda) \ Maybe I should have been doing some grepping elsewhere, but I'm lazy to go digging through Emacs source, which is probably in compiled form on this install (Linux. In my Windows install, default is for the source to be conveniently (inefficiently?) adjacent to the compiled.). Brady
Re: [O] Where to find complete org-mode mobile android documentation?
Mark S. throa...@yahoo.com writes: After running in circles, it seems that the documentation for the org-mode mobile android app is supposed to be here: https://github.com/matburt/mobileorg-android/wiki/Documentation However, all the images are missing on that page, and the images are pretty important. Is there a better page to use? Probably, but if you have cloned the project locally, then the screenshots are under the src-img subdirectory: you can open them in emacs while reading the installation doc. Or you can navigate to the src-img directory on github and click on them. Not as nice as having them in the document, but it will do in a pinch. Nick
Re: [O] showing up twice in customize group, Org Agenda Match View
Brady Trainor algeb...@uw.edu writes: This shouldn't take any priority I imagine, but I am curious what causes it. If you execute M-x customize-group org-agenda RET at bottom you will find two appearances of subgroup `Org Agenda Match View', which I assume is not desired result. I think this must somehow result from Emacs' auto-documentation. Traveling through describe-function (for the contents org-agenda-tags-todo-honor-ignore-options), I arrive at agenda.el, and do some grepping. I found this, but I can't see anything wrong with it's lone appearance, / (defgroup org-agenda-match-view nil Options concerning the general tags/property/todo match agenda view. :tag Org Agenda Match View :group 'org-agenda) \ Maybe I should have been doing some grepping elsewhere, but I'm lazy to go digging through Emacs source, which is probably in compiled form on this install (Linux. In my Windows install, default is for the source to be conveniently (inefficiently?) adjacent to the compiled.). If you look at the subsequent lines, you'll see that the next group was probably cut-n-pasted from this one and has the wrong tag: , | (defgroup org-agenda-match-view nil | Options concerning the general tags/property/todo match agenda view. | :tag Org Agenda Match View | :group 'org-agenda) | (defgroup org-agenda-search-view nil | Options concerning the general tags/property/todo match agenda view. | :tag Org Agenda Match View | :group 'org-agenda) ` Nick
Re: [O] Where to find complete org-mode mobile android documentation?
Hi Nick, Unfortunately, those images aren't the right images. They don't match the text. The real images (by url) are on matburt.net, which is ... down. So, does anyone know where to find complete documentation? Thanks, Mark From: Nick Dokos Probably, but if you have cloned the project locally, then the screenshots are under the src-img subdirectory: you can open them in emacs while reading the installation doc. Or you can navigate to the src-img directory on github and click on them. Not as nice as having them in the document, but it will do in a pinch. Nick
[O] latex export of \ce question
Hi all, I often have to use the mhchem latex package to write chemical formulas, and I have teh following export issue. If I have this in an org file: \ce{ABO_3} \ce{ABO_{3-\delta}} this exports as \ce{ABO_3} \ce\{ABO$_{\text{3-}\delta}$\} The first one is fine, but the second one is not. The nested {} seems to mess it up. Is there a way to get this to export correctly? thanks, John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu
Re: [O] showing up twice in customize group, Org Agenda Match View
On 04/21/2014 01:28 PM, Nick Dokos wrote: If you look at the subsequent lines, you'll see that the next group was probably cut-n-pasted from this one and has the wrong tag: | (defgroup org-agenda-search-view nil | :tag Org Agenda Match View Nick Thank you! It's reassuring that I sort of was getting it. With your find, I've been able to view the missing org-agenda-search-view-* vars that I didn't yet have in my grouped list of agenda-view/sparse-tree relevant variables. (They did exist somewhere in my notes, as I made a list of such options a while back by looking through every custom-commands example on the internet.) I think these variables should also be missing from the Variable Index (a list I'm just rediscovering) in the info pages for Org. Just guessing that they should be there. Brady
Re: [O] end-of-defun odd behaviour in org mode
On 2014-04-21 19:26 +0200, Bastien wrote: Commit 76fa97922 changed C-M-a and C-M-e to `org-backward-element' and `org-forward-element' but I know see it was wrong, so I partially reverted it, the old behavior makes more sense. Thanks. Thanks for reporting this, http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=76fa97922 Seems there is another bug after this change: C-M-e moves forward 1 and C-M-a moves back 0. org-back-to-heading does not fully satisfy the protocol of beginning-of-defun-function. Leo
[O] org-hide-block-all
Not sure what's going on here. I can use org-show-block-all to show all of an Org file, but using org-hide-block-all to reverse it seems to do nothing. What is the proper way to open the outline completely and then close it completely up? -- David Masterson Programmer At Large
Re: [O] latex export of \ce question
Hi John, John Kitchin jkitc...@andrew.cmu.edu writes: If I have this in an org file: \ce{ABO_3} \ce{ABO_{3-\delta}} this exports as \ce{ABO_3} \ce\{ABO$_{\text{3-}\delta}$\} The first one is fine, but the second one is not. The nested {} seems to mess it up. Is there a way to get this to export correctly? Hmm. I've played around with this a little, and the best solution I've got is to use an explicit fallback to LaTeX, like: #+LATEX: \ce{ABO_{3-\delta}} ...or whatever literal LaTeX is the right output for your situation. (What is the correct export output in this case? In particular, should the contents of the subscript be in math mode?) The problem does indeed seem to be the embedded braces...I'm guessing this is an inherent limitation, resulting form the fact that Org uses regular expressions to recognize LaTeX expressions. If this is something you need to do all the time, and the #+LATEX syntax doesn't work for you (e.g. if you also need HTML export), you could look into an Org macro or an export filter. Best, Richard (If possible, please encrypt your reply to me using my PGP key: Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646. See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)