emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: BEGIN_SRC and BEGIN_EXAMPLE shortcuts? [9.1.14 (release_9.1.14-1035-gfeb442 @ /home/calvin/git/org-mode/lisp/)]
@ 2018-11-14 15:38 Calvin Beck
  2018-11-14 16:10 ` Diego Zamboni
  0 siblings, 1 reply; 4+ messages in thread
From: Calvin Beck @ 2018-11-14 15:38 UTC (permalink / raw)
  To: emacs-orgmode


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 <s and <e "Easy Templates" for source blocks
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/)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: BEGIN_SRC and BEGIN_EXAMPLE shortcuts? [9.1.14 (release_9.1.14-1035-gfeb442 @ /home/calvin/git/org-mode/lisp/)]
  2018-11-14 15:38 Bug: BEGIN_SRC and BEGIN_EXAMPLE shortcuts? [9.1.14 (release_9.1.14-1035-gfeb442 @ /home/calvin/git/org-mode/lisp/)] Calvin Beck
@ 2018-11-14 16:10 ` Diego Zamboni
  2018-11-14 16:25   ` hobbes
  0 siblings, 1 reply; 4+ messages in thread
From: Diego Zamboni @ 2018-11-14 16:10 UTC (permalink / raw)
  To: hobbes; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 1594 bytes --]

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 <hobbes@seas.upenn.edu> 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 <s and <e "Easy Templates" for source blocks
> 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/)
>
>

[-- Attachment #2: Type: text/html, Size: 2133 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: BEGIN_SRC and BEGIN_EXAMPLE shortcuts? [9.1.14 (release_9.1.14-1035-gfeb442 @ /home/calvin/git/org-mode/lisp/)]
  2018-11-14 16:10 ` Diego Zamboni
@ 2018-11-14 16:25   ` hobbes
  2018-11-14 20:04     ` Diego Zamboni
  0 siblings, 1 reply; 4+ messages in thread
From: hobbes @ 2018-11-14 16:25 UTC (permalink / raw)
  To: Diego Zamboni; +Cc: Org-mode


> 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 <hobbes@seas.upenn.edu> 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 <s and <e "Easy Templates" for source blocks
>  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/)


-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: BEGIN_SRC and BEGIN_EXAMPLE shortcuts? [9.1.14 (release_9.1.14-1035-gfeb442 @ /home/calvin/git/org-mode/lisp/)]
  2018-11-14 16:25   ` hobbes
@ 2018-11-14 20:04     ` Diego Zamboni
  0 siblings, 0 replies; 4+ messages in thread
From: Diego Zamboni @ 2018-11-14 20:04 UTC (permalink / raw)
  To: hobbes; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 2509 bytes --]

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 <hobbes@seas.upenn.edu> 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 <hobbes@seas.upenn.edu>
> 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 <s and <e "Easy Templates" for source blocks
> >  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/)
>
>
> --
>

[-- Attachment #2: Type: text/html, Size: 3428 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-14 20:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-14 15:38 Bug: BEGIN_SRC and BEGIN_EXAMPLE shortcuts? [9.1.14 (release_9.1.14-1035-gfeb442 @ /home/calvin/git/org-mode/lisp/)] Calvin Beck
2018-11-14 16:10 ` Diego Zamboni
2018-11-14 16:25   ` hobbes
2018-11-14 20:04     ` Diego Zamboni

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).