[O] paste from clip to code block

2015-04-17 Thread Xebar Saram
Hi all i was wondering if anyone has every created a function to auto paste what in the sysclip/emas clip into org but as a formatted code block? any clue anyone? best Z

Re: [O] paste from clip to code block

2015-04-17 Thread Xebar Saram
thx john that are very helpful tips! Z On Fri, Apr 17, 2015 at 4:56 PM, John Kitchin jkitc...@andrew.cmu.edu wrote: I like this kind of keyboard shortcut: For python: p TAB C-w For emacs-lisp el TAB C-w What else would you want? If you like yasnippets, you could do this: # -*-

Re: [O] paste from clip to code block

2015-04-17 Thread John Kitchin
I like this kind of keyboard shortcut: For python: p TAB C-w For emacs-lisp el TAB C-w What else would you want? If you like yasnippets, you could do this: # -*- mode: snippet; require-final-newline: nil -*- # -- #+begin_src python `(yank)` #+end_src $0 Or some kind of lisp function like:

Re: [O] Org to ics calendar with location links?

2015-04-17 Thread Nick Dokos
Eric Abrahamsen e...@ericabrahamsen.net writes: Eric Abrahamsen e...@ericabrahamsen.net writes: I've been exporting some agenda files to iCalendar, then uploading them to my server and getting them into the calendar app on my Android tablet, by means of Radicale and DAVDroid. It all works

Re: [O] agenda view of state changes

2015-04-17 Thread Ken Mankoff
v l (ell) and v L in agenda view shows logged items. Doesn't work for notes. Work around is to not use notes but instead state change to the current state. -k. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. On Apr 17, 2015, at 06:44, grewil3 .

[O] agenda view of state changes

2015-04-17 Thread grewil3 .
Hi, is there a way to create a customised agenda view that will list all my recent timestamped activities? I would like a chronologically ordered list, where each line corresponds to a timestamp found in the current agenda file. I have set my configuration to add timestamps whenever I change

Re: [O] paste from clip to code block

2015-04-17 Thread Jorge A. Alfaro-Murillo
John Kitchin writes: I like this kind of keyboard shortcut: For python: p TAB C-w For emacs-lisp el TAB C-w I agree, this is the best method. Although probably you mean C-y instead of C-w. For the record, this requires you to set up `org-structure-template-alist' to include python

Re: [O] paste from clip to code block

2015-04-17 Thread John Kitchin
you are right, I meant C-y ;) I have these templates defined in my setup: ;; * Expansions for blocks ;; add p for python expansion (add-to-list 'org-structure-template-alist '(p #+BEGIN_SRC python\n?\n#+END_SRC src lang=\python\\n?\n/src)) ;; add por for python expansion with raw

Re: [O] Resume: Squeezing lines tighter in LaTeX output?

2015-04-17 Thread John Hendy
On Fri, Apr 17, 2015 at 12:28 PM, Peter Davis p...@pfdstudio.com wrote: Hi I'm trying to get a single .org file I can use to general PDF, HTML or even (gasp!) Word format versions of my resume. The problem I'm having now is that the PDF is 7 pages, compared with the 4 pages I get from my

[O] Resume: Squeezing lines tighter in LaTeX output?

2015-04-17 Thread Peter Davis
Hi I'm trying to get a single .org file I can use to general PDF, HTML or even (gasp!) Word format versions of my resume. The problem I'm having now is that the PDF is 7 pages, compared with the 4 pages I get from my directly editing LaTeX file. One big difference is that individual jobs,

Re: [O] Bug: HTML export ignoring CUSTOM_ID properties

2015-04-17 Thread T.F. Torrey
Hi Rasmus, As someone with all my personal and work files in Org, I sincerely appreciate all the work you do to improve Org. But... Rasmus ras...@gmx.us writes: With the latest from Git master, the HTML export ignores CUSTOM_ID properties for subtrees. I've seen list traffic that the names

[O] How to deal with conflicting org-toc?

2015-04-17 Thread Leo Ufimtsev
Hello, There is a build-in org-toc in contrib, that shows a dynamic toc on right side. And there is org-toc that generates a toc from an org file: https://github.com/snosov1/org-toc They have a name conflict. Is three any way to resolve this without forking and renaming the variables? Thank

Re: [O] Org to ics calendar with location links?

2015-04-17 Thread Eric S Fraga
On Friday, 17 Apr 2015 at 13:43, Eric Abrahamsen wrote: [...] Nevermind, I'm an idiot! It looks like it's supposed to be geo:latitude,longitude, which matches up nicely with Org link formats. I'll go experiment for a bit. Keep us posted. I would love to have this functionality as well.

Re: [O] How to deal with conflicting org-toc?

2015-04-17 Thread Rasmus
Leo Ufimtsev lufim...@redhat.com writes: Is three any way to resolve this without forking and renaming the variables? Not that I know of. Perhaps you can fix the github package? —Rasmus -- Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio

Re: [O] Org to ics calendar with location links?

2015-04-17 Thread Eric Abrahamsen
Nick Dokos ndo...@gmail.com writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Eric Abrahamsen e...@ericabrahamsen.net writes: I've been exporting some agenda files to iCalendar, then uploading them to my server and getting them into the calendar app on my Android tablet, by means of

Re: [O] Resume: Squeezing lines tighter in LaTeX output?

2015-04-17 Thread Peter Davis
On 4/17/15 2:13 PM, John Hendy wrote: Definitely look at paralist and enumitem for tweaking spacing as a starting point. Hope that helps. John Thanks, John. This #+LATEX_HEADER: \usepackage{enumitem} #+LATEX_HEADER: \setlist{nolistsep} produced nice tight lists, though there is still a lot

Re: [O] Resume: Squeezing lines tighter in LaTeX output?

2015-04-17 Thread John Hendy
On Fri, Apr 17, 2015 at 2:13 PM, Peter Davis p...@pfdstudio.com wrote: On 4/17/15 2:13 PM, John Hendy wrote: Definitely look at paralist and enumitem for tweaking spacing as a starting point. Hope that helps. John Thanks, John. This #+LATEX_HEADER: \usepackage{enumitem} #+LATEX_HEADER:

Re: [O] agenda view of state changes

2015-04-17 Thread Samuel Wales
i do not recommend this: ;; (eval-after-load 'org-agenda ;; '(pushnew 'state org-agenda-log-mode-items :test 'eq)) ;; (setq org-agenda-log-mode-items '(closed clock)) === i do this: (setq org-agenda-include-inactive-timestamps t) and this [i am not signed with fsf]: === alpha make

[O] org-collector bug

2015-04-17 Thread Charles Millar
I have attempted to use org-collector. Each time, including the example at [Search domain orgmode.org] https://duckduckgo.com/?q=org%2Dcollector%20worg+site:orgmode.orgorgmode.org/worg/org-contrib/org-collector-example.html http://orgmode.org/worg/org-contrib/org-collector-example.html all

Re: [O] Org to ics calendar with location links?

2015-04-17 Thread Eric Abrahamsen
Eric S Fraga e.fr...@ucl.ac.uk writes: On Friday, 17 Apr 2015 at 13:43, Eric Abrahamsen wrote: [...] Nevermind, I'm an idiot! It looks like it's supposed to be geo:latitude,longitude, which matches up nicely with Org link formats. I'll go experiment for a bit. Keep us posted. I would

[O] Error when using org-ctrl-c-ctrl-c to add tags

2015-04-17 Thread Vicente Vera
Hello. This shows up when trying to add tags to a headline with org-ctrl-c-ctrl-c: apply: Wrong type argument: listp, org-tags-completion-function Org-mode version 8.3beta (release_8.3beta-1045-gd8494b @ /usr/local/share/emacs/site-lisp/org/) GNU Emacs 24.5.50.1 (i686-pc-linux-gnu, GTK+ Version

Re: [O] Resume: Squeezing lines tighter in LaTeX output?

2015-04-17 Thread Peter Davis
Thanks. I've had some success with these headers: #+LATEX_HEADER: \setlength{\parskip}{0pt} #+LATEX_HEADER: \setlength{\parsep}{6pt} #+LATEX_HEADER: \setlength{\headsep}{0pt} #+LATEX_HEADER: \setlength{\topskip}{0pt} #+LATEX_HEADER: \setlength{\topmargin}{0pt} #+LATEX_HEADER:

[O] Sparse tree for undated TODOs, or hierachical agenda?

2015-04-17 Thread Nikolaus Rath
Hello, I'm starting to like orgmode more and more. Thanks for working on this! However, for me the global todo list in the Agenda very hard to digest (even when excluding sublevels), so I'd rather have a view that conserves the document structure. Is there a way to create a sparse tree that

Re: [O] Resume: Squeezing lines tighter in LaTeX output?

2015-04-17 Thread Marcin Borkowski
On 2015-04-17, at 20:13, John Hendy jw.he...@gmail.com wrote: Everything you'll do in Org will simply involve passing the right parameters to LaTeX via Org. In other words, you should start by Personally, I prefer configuring on the LaTeX side, but this is because I find it much easier.