emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sylvain Rousseau <thisirs@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org.texi: yasnippet nested snippet
Date: Sat, 8 Oct 2011 18:33:02 +0200	[thread overview]
Message-ID: <26B1B12E-455F-4CC0-87BB-72EAE03FB300@gmail.com> (raw)
In-Reply-To: <CAJ8n8331owExqpDW-+5KjOHcWX6uvwMNvdejzChgrMwh=QzFGg@mail.gmail.com>

Accepted, thanks.

- Carsten
On 26.8.2011, at 14:49, Sylvain Rousseau wrote:

> 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 do with the new function:
>                (make-variable-buffer-local 'yas/trigger-key)
>                (setq yas/trigger-key [tab])
>                (add-to-list 'org-tab-first-hook 'yas/org-very-safe-expand)
> -              (define-key yas/keymap [tab] 'yas/next-field)))
> +              (define-key yas/keymap [tab] 'yas/next-field-or-maybe-expand)))
>  @end lisp
>  
>  @item @file{windmove.el} by Hovav Shacham
> 
> 
> Sylvain.

      reply	other threads:[~2011-10-08 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 12:49 [PATCH] org.texi: yasnippet nested snippet Sylvain Rousseau
2011-10-08 16:33 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26B1B12E-455F-4CC0-87BB-72EAE03FB300@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=thisirs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).