[O] org-mode in teaching

2014-12-18 Thread John Kitchin
Hi all, I wrote a blog post (http://kitchingroup.cheme.cmu.edu/blog/2014/12/18/org-mode-+-Python-+-git-in-a-graduate-engineering-course/) on how I used org-mode in teaching this past fall. Short summary: All the notes, assignments, quizzes, exams, etc... were in org-mode, students did all their wo

Re: [O] Naming of (indirect?) buffers opened by C-'

2014-12-18 Thread Grant Rettke
(defun gcr/org-edit-src-code-plus-name () "Edit the well-described source code block. Attribution: URL `https://lists.gnu.org/archive/html/emacs-orgmode/2014-09/msg00778.html'" (interactive) (let* ((eop (org-element-at-point)) (name (or (org-element-property :name (org-element-cont

[O] Word under cursor to internal link

2014-12-18 Thread Leu Zhe
You can use the function below to make it. But in order to replace it rightly, you need to put you cursor inside the word or at the beginning of the word. (defun word-to-link () (interactive) (let ((word (thing-at-point 'word))) (forward-word) (kill-word -1) (insert (format "[[%s]]

[O] new org-ref repo

2014-12-18 Thread John Kitchin
Hi all, I have finally put my org-ref code into its own git repo: https://github.com/jkitchin/org-ref The repo includes some handy utility functions on a doi and bibtex entries. I "improved" the cite link menu so it has a lot of new options to open a cite link bibtex key in web of science, pubmed

Re: [O] Word under cursor to internal link

2014-12-18 Thread John Kitchin
Something like this seems to do approximately what you want: #+BEGIN_SRC emacs-lisp (defun word-to-link () (interactive) (save-excursion (let (start end word) (backward-word) (setq start (point)) (forward-word) (setq end (point)) (setq word (buffer-subs

[O] Word under cursor to internal link

2014-12-18 Thread Chaitanya Krishna
Hello there, Is there a shortcut to change word under cursor to an internal link? Basically it is a pain trying to surround with two braces all the time! C-c C-l does not prompt me to create an internal link. Best regards, Chai

Re: [O] [bug, patch, ox] INCLUDE and footnotes

2014-12-18 Thread Rasmus
Hi, Thanks for the notes. Hopefully patch one if good now. Patch two needs tests, but I can write those if we agree to impose minlevel automatically. Nicolas Goaziou writes: > AFAICT, there's no reason to include a rule about whitespace separating > anything. Just make sure that any INCLUDE k

[O] Naming of (indirect?) buffers opened by C-'

2014-12-18 Thread Rainer M Krug
Hi I remember there was a discussion recently about the naming of the indirect buffers of source code block opened with C-' but I can't find it at the moment. Was there a solution on giving these buffers a useful name, i.e. the name of the code block? If this is included in org, it does not seem

Re: [O] [PATCH] getting calc-units working in table formulas

2014-12-18 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Michael Brand writes: > >> Hi Eric >> >> On Wed, Dec 17, 2014 at 2:09 AM, Eric Abrahamsen >> wrote: >>> Lastly, is there a way to both use output formatting, and retain the >>> unit name (if desired)? Right now I get this: >>> >>> | km| units | conversion | >>> |--

[O] org-agenda-todo-ignore-timestamp vs org-agenda-todo-ignore-with-date

2014-12-18 Thread Marcin Borkowski
Hello, I vaguely remember asking about this some time ago, but could not find that thread. It is not at all clear from the docstrings what is the difference between org-agenda-todo-ignore-with-date and org-agenda-todo-ignore-timestamp. I did a simple experiment on my agenda and found out that or