emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: "ZHUO QL (KDr2)" <zhuoql@yahoo.com>
Cc: Emacs-org List <emacs-orgmode@gnu.org>
Subject: Re: Easy Template does not expand
Date: Thu, 17 May 2018 09:41:02 -0400	[thread overview]
Message-ID: <87vabmpfgx.fsf@norang.ca> (raw)
In-Reply-To: <140395896.2272888.1526549921336@mail.yahoo.com> (ZHUO QL's message of "Thu, 17 May 2018 09:38:41 +0000 (UTC)")

"ZHUO QL (KDr2)" <zhuoql@yahoo.com> writes:

> I am on the bleeding edge and using the master branch of Org-mode. After updating the source of Org a few days ago, I found the easy template can be expanded by TAB key now, that is:
>
> When I press TAB after typing <s in an Org file, nothing happens.
>
> Version Info:
> GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.28) of 2018-02-19, modified by Debian
> Org mode version 9.0.5 (release_9.0.5-86-ga91eae @ /home/kdr2/Work/opensrc/org-mode/lisp/)
>
> Does anybody know what's wrong about this? Thanks.

It's not wrong - it's changed.

There is a new keybinding C-c C-, for inserting templates that replaces
the <eTAB and <sTAB old functionality.

The new binding is better as it handles regions and wraps them.

The old functionality can be restored by adding

(require 'org-tempo)

See ORG_NEWS for more details.

Regards,
Bernt

  reply	other threads:[~2018-05-17 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <140395896.2272888.1526549921336.ref@mail.yahoo.com>
2018-05-17  9:38 ` Easy Template does not expand ZHUO QL (KDr2)
2018-05-17 13:41   ` Bernt Hansen [this message]
2018-05-18  4:34     ` ZHUO QL (KDr2)
2018-05-17 14:46 Jon Snader
2018-05-21 23:40 ` Don Womick

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=87vabmpfgx.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=zhuoql@yahoo.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).