emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [patch] structure snippet completions
Date: Fri, 08 Dec 2017 00:49:42 +0100	[thread overview]
Message-ID: <87d13q3xpl.fsf@gmx.us> (raw)
In-Reply-To: 87h8t23yag.fsf@gmx.us

Rasmus <rasmus@gmx.us> writes:

> Hi,
>
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> It looks like a typo, but the two lines above are commented.
>
> Indeed.  Thanks.
>
>> Also, would it make sense to add a few tests?
>
> I never feel very creative about tests but I have added some.
>
> I have also pushed the code.  "<s"-like snippet expansion should be
> enabled by requiring org-tempo.
>
> Let me know about any issues.

One possible "bug" that I discovered is illustrated by the following
example.

* foo
  suggested indention
    <s|

  When I tab at point ("|") extra indention will be stripped.  I don’t
  know if this is something that should be fixed.
 
Rasmus

-- 
I almost cut my hair, it happened just the other day

  reply	other threads:[~2017-12-07 23:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-04 16:22 [patch] structure snippet completions Rasmus
2017-12-04 20:55 ` Nicolas Goaziou
2017-12-05 10:22   ` Rasmus
2017-12-05 20:29     ` Nicolas Goaziou
2017-12-07 23:37       ` Rasmus
2017-12-07 23:49         ` Rasmus [this message]
2017-12-08  2:38           ` Kaushal Modi
2017-12-08 20:16             ` Rasmus
2017-12-08 21:07         ` Berry, Charles
2017-12-08 21:20           ` Rasmus
2017-12-09 13:42             ` numbchild
2017-12-09 16:22               ` Rasmus
2017-12-09 17:23             ` Berry, Charles
2017-12-10 11:09               ` Rasmus
2017-12-04 21:37 ` Eric Abrahamsen
2017-12-05 10:24   ` Rasmus
2017-12-05 19:14     ` Eric Abrahamsen
  -- strict thread matches above, loose matches on Subject: below --
2017-12-04 16:20 Rasmus

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=87d13q3xpl.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).