From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Zamboni Subject: Re: Bug: BEGIN_SRC and BEGIN_EXAMPLE shortcuts? [9.1.14 (release_9.1.14-1035-gfeb442 @ /home/calvin/git/org-mode/lisp/)] Date: Wed, 14 Nov 2018 21:04:13 +0100 Message-ID: References: <87wopf7jpb.fsf@seas.upenn.edu> <87tvkj7hig.fsf@seas.upenn.edu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d5b0fa057aa57064" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN1Oq-0007uD-8V for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 15:04:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN1Oo-0001AJ-8K for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 15:04:32 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:35216) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gN1Ol-00015Y-OL for emacs-orgmode@gnu.org; Wed, 14 Nov 2018 15:04:28 -0500 Received: by mail-ed1-x529.google.com with SMTP id x30so10025237edx.2 for ; Wed, 14 Nov 2018 12:04:25 -0800 (PST) In-Reply-To: <87tvkj7hig.fsf@seas.upenn.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: hobbes@seas.upenn.edu Cc: Org-mode --000000000000d5b0fa057aa57064 Content-Type: text/plain; charset="UTF-8" The new org-format manual in the git repo ( https://code.orgmode.org/bzg/org-mode/raw/master/doc/org-manual.org) already documents the new templates (search for "Structure Templates"), but I'm not sure if this is already available in rendered form somewhere. The manual at https://orgmode.org/manual/ still seems to be the old version. Best, --Diego On Wed, Nov 14, 2018 at 5:26 PM wrote: > > > The new shortcuts have the advantage of being able to wrap text - if you > have a region selected, it will be wrapped in the new block. > > Oh brilliant! I've always wanted to do that. Thanks! > > I think the manual might still have the old easy-templates thing > described? That or I somehow have the old version of the manual in emacs > still :). > > Diego Zamboni writes: > > > Hi Calvin, > > > > This changed in recent versions - the default keyboard shortcut now C-c > C-, followed by a letter to choose the type of block (s for src, e for > example, etc.). I think there's still a way > > to enable the old tab expansions, but I have gotten used to the new ones > by now. > > > > The new shortcuts have the advantage of being able to wrap text - if you > have a region selected, it will be wrapped in the new block. > > > > Best, > > --Diego > > > > On Wed, Nov 14, 2018 at 4:39 PM Calvin Beck > wrote: > > > > Remember to cover the basics, that is, what you expected to happen and > > what in fact did happen. You don't know how to make a good report? See > > > > https://orgmode.org/manual/Feedback.html#Feedback > > > > Your bug report will be posted to the Org mailing list. > > ------------------------------------------------------------------------ > > > > I recently upgraded org-mode to the most recent commit on the git > > development branch. Are > and example blocks no longer working? I type those, hit tab, and then > > nothing happens. The shortcuts do not get expanded to blocks. > > > > Thanks! I understand that this is the development version so it might > > not be stable, but the other issue I was having on the stable release > > (capture templates ruining headings) made it unusable for me. I > > apologize if this version is too new and spiffy to complain about :). > > > > Emacs : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu) > > of 2018-09-29 > > Package: Org mode version 9.1.14 (release_9.1.14-1035-gfeb442 @ > /home/calvin/git/org-mode/lisp/) > > > -- > --000000000000d5b0fa057aa57064 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The new org-format manua= l in the git repo (https://code.orgmode.org/bzg/org-mode/raw/master/do= c/org-manual.org) already documents the new templates (search for "= ;Structure Templates"), but I'm not sure if this is already availa= ble in rendered form somewhere. The manual at=C2=A0https://orgmode.org/manual/ still seems to be the old v= ersion.

Best,
--Diego
<= div>

O= n Wed, Nov 14, 2018 at 5:26 PM <hobbes@seas.upenn.edu> wrote:

> The new shortcuts have the advantage of being able to wrap text - if y= ou have a region selected, it will be wrapped in the new block.

Oh brilliant! I've always wanted to do that. Thanks!

I think the manual might still have the old easy-templates thing described?= That or I somehow have the old version of the manual in emacs still :).
Diego Zamboni writes:

> Hi Calvin,
>
> This changed in recent versions - the default keyboard shortcut now C-= c C-, followed by a letter to choose the type of block (s for src, e for ex= ample, etc.). I think there's still a way
> to enable the old tab expansions, but I have gotten used to the new on= es by now.
>
> The new shortcuts have the advantage of being able to wrap text - if y= ou have a region selected, it will be wrapped in the new block.
>
> Best,
> --Diego
>
> On Wed, Nov 14, 2018 at 4:39 PM Calvin Beck <hobbes@seas.upenn.edu> wrote: >
>=C2=A0 Remember to cover the basics, that is, what you expected to happ= en and
>=C2=A0 what in fact did happen.=C2=A0 You don't know how to make a = good report?=C2=A0 See
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0https://orgmode.org/= manual/Feedback.html#Feedback
>
>=C2=A0 Your bug report will be posted to the Org mailing list.
>=C2=A0 ----------------------------------------------------------------= --------
>
>=C2=A0 I recently upgraded org-mode to the most recent commit on the gi= t
>=C2=A0 development branch. Are <s and <e "Easy Templates&quo= t; for source blocks
>=C2=A0 and example blocks no longer working? I type those, hit tab, and= then
>=C2=A0 nothing happens. The shortcuts do not get expanded to blocks. >
>=C2=A0 Thanks! I understand that this is the development version so it = might
>=C2=A0 not be stable, but the other issue I was having on the stable re= lease
>=C2=A0 (capture templates ruining headings) made it unusable for me. I<= br> >=C2=A0 apologize if this version is too new and spiffy to complain abou= t :).
>
>=C2=A0 Emacs=C2=A0 : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu)
>=C2=A0 =C2=A0of 2018-09-29
>=C2=A0 Package: Org mode version 9.1.14 (release_9.1.14-1035-gfeb442 @ = /home/calvin/git/org-mode/lisp/)


--
--000000000000d5b0fa057aa57064--