[O] [PATCH] org.texi: yasnippet nested snippet

2011-08-26 Thread Sylvain Rousseau
Hi, The proposed workaround doesn't support nested snippet! (setq yas/triggers-in-field t) to enable it. Here is a patch to fix this: diff --git a/doc/org.texi b/doc/org.texi index 002ada1..2295fd0 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -14097,7 +14097,7 @@ Then, tell Org mode what to

Re: [O] org-toggle-checkbox does not work on entry with logbook entries

2011-03-23 Thread Sylvain Rousseau
Hi, It seems that org-toggle-checkbox doesn't skip the drawer because of the SCHEDULED line. So the reference item is the first one inside the drawer. A non-destructive workaround would be to move the SCHEDULED line after the drawer! Hope this helps! Sylvain.

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Sylvain Rousseau
Have a look at https://github.com/thisirs/org-context : Context agenda and capture for Org-mode It dynamically adds templates depending on the buffer you are currently editing. New templates are available with the key "c" or merged if there is no conflict with existing ones. Hope this helps, Sy

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Sylvain Rousseau
> One possible enhancement: allow using only the capture/agenda > template instead of the full template in `org-context-capture-alist' > and `org-context-agenda-alist'. Good idea! Adding it to my todo list with org-context ;-) If you think this addon deserves to be added to the contrib directory,

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Sylvain Rousseau
It is an org-capture issue. You have to specify the full path of the org file in the template even if this file is an agenda file. Otherwise org-capture assumes that the file is located in `org-directory'. > Can you advise further? (Looks great regardless btw!) Thank you, building on Bastien's s

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Sylvain Rousseau
2012/8/23 Carsten Dominik : > I am wondering if the following feature would be useful as well: Context > sensitivity sounds most interesting to me if the same key would do different > things in different contexts. I am not sure if this is possible with the > current implementation? For exampl

Re: [O] org-insert-link with HTML title as default description

2012-09-29 Thread Sylvain Rousseau
Hi Miro and Bastien, This can be done by setting the function `org-make-link-description-function'. However when set, the function is supposed to handle all type of links and return a string no matter what. There is no fallback mechanism. Here is a patch that fixes it: diff --git a/lisp/org.el b

Re: [O] org-insert-link with HTML title as default description

2012-09-29 Thread Sylvain Rousseau
This is definitely better! Your version is actually more faithful to the original one as it ignores `default-description' when `org-make-link-description-function' is set (and succeed). Cheers, Sylvain.

Re: [O] Is it possible to run shell script src blocks as root or to export individual blocks?

2012-03-04 Thread Sylvain Rousseau
Under Gnome, I'm using this at the beginning of a sh source block: echo -e "#! /bin/bash\n/usr/bin/gksudo -p -m Password" > /tmp/gksudo-stdout chmod +x /tmp/gksudo-stdout SUDO_ASKPASS="/tmp/gksudo-stdout" sudo -A -s Sylvain.

Re: [O] non-existent agenda file ~/file.txt. [R]emove from list or [A]bort?

2012-06-04 Thread Sylvain Rousseau
Hi, i have the same problem. It appears that `org-map-entries' fails if the file does not yet exist. A solution could be to add to `dmj/org-remove-redundant-tags' a `file-exists-p' condition but you will have to save twice to clean the file; another is to patch `org-map-entries' that should succee

[O] [bug] Refile to file when 'full-file-path

2012-06-20 Thread Sylvain Rousseau
Hi, i wanted to refile to files that have the same name so I set 'org-refile-use-outline-path to 'full-file-path. Targets as files are not available anymore! Here is a patch that fixes it. Sylvain. 0001-Refiling-Fix-targets-when-using-full-file-path.patch Description: Binary data

Re: [O] Setting a deadline in a template

2012-06-21 Thread Sylvain Rousseau
Something like: (format-time-string (car org-time-stamp-formats) (time-add (current-time) (seconds-to-time (* days 60 60 24 Sylvain.

Re: [O] helm and org-refile

2014-06-18 Thread Sylvain Rousseau
Here is the updated patch and config from my .emacs (when (and (boundp 'org-completion-handler) (require 'helm nil t)) (defun org-helm-completion-handler (prompt collection &optional predicate require-match initial-input hist def inherit-input-m

Re: [O] Using helm only for org refiling

2013-04-19 Thread Sylvain Rousseau
Hello, I use the following patch (against release_8.0) to refile with helm. Just set org-completion-handler to 'helm. 2013/4/18 Alan Schmitt > Hello, > > I tried using helm (the successor to anything) for everything, and it > was a bit too much. However, I really appreciated how it integrated

Re: [O] Using helm only for org refiling

2013-04-22 Thread Sylvain Rousseau
Glad to be of some help! I doubt this will be applied since helm is not bundled in emacs but we could definitely use a more general completion handler that may take a function and write that function outside of org's code. Sylvain.

Re: [O] Babel shell script issue

2016-04-25 Thread Sylvain Rousseau
Hi, I had the same problem. You actually need to use: #+begin_src shell :results drawer #+end_src Using sh loads an org function that comes with your emacs and is outdated... Btw could these functions be marked as deprecated but aliased to the new ones? Sylvain. 2016-04-25 10:04 GMT+0