emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* <s TAB not expanding
@ 2019-12-12  7:51 Justin Vallon
  2019-12-12  9:13 ` Marco Wahl
  0 siblings, 1 reply; 5+ messages in thread
From: Justin Vallon @ 2019-12-12  7:51 UTC (permalink / raw)
  To: emacs-orgmode

When I use "emacs --no-init-file", I get the default distribution org
packages, and "<s" TAB expands to "#+BEGIN_SRC\n#+END_SRC\n".  However,
in my downloaded-melpa-install of org, it does not work.

Distro org-version is 9.1.9, melpa is 9.3.  describe-key TAB shows
org-cycle, which is a kitchen-sink function.  The docs of the function
has not changed between the versions.

I believe "<s" TAB worked in a melpa version before 9.3 (maybe 9.2.6),
but I don't have any version besides 9.3 in ~/.emacs.d/elpa.

-- 
-Justin
JustinVallon@gmail.com

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

* Re: <s TAB not expanding
  2019-12-12  7:51 <s TAB not expanding Justin Vallon
@ 2019-12-12  9:13 ` Marco Wahl
  2019-12-12 15:24   ` Tim Visher
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Wahl @ 2019-12-12  9:13 UTC (permalink / raw)
  To: Justin Vallon; +Cc: emacs-orgmode

Justin Vallon <justinvallon@gmail.com> writes:

> When I use "emacs --no-init-file", I get the default distribution org
> packages, and "<s" TAB expands to "#+BEGIN_SRC\n#+END_SRC\n".  However,
> in my downloaded-melpa-install of org, it does not work.
>
> Distro org-version is 9.1.9, melpa is 9.3.  describe-key TAB shows
> org-cycle, which is a kitchen-sink function.  The docs of the function
> has not changed between the versions.
>
> I believe "<s" TAB worked in a melpa version before 9.3 (maybe 9.2.6),
> but I don't have any version besides 9.3 in ~/.emacs.d/elpa.

Possibly you want to switch to the new feature (accessible C-c C-,)
which BTW allows to wrap regions.

The "<s" TAB mechanism is still available but you need to enable it.
See the documentation in section Structure Templates.

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

* Re: <s TAB not expanding
  2019-12-12  9:13 ` Marco Wahl
@ 2019-12-12 15:24   ` Tim Visher
  2019-12-12 18:15     ` Marco Wahl
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Visher @ 2019-12-12 15:24 UTC (permalink / raw)
  To: Marco Wahl; +Cc: emacs-orgmode, Justin Vallon

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

On Thu, Dec 12, 2019 at 4:14 AM Marco Wahl <marcowahlsoft@gmail.com> wrote:

> Justin Vallon <justinvallon@gmail.com> writes:
>
> > When I use "emacs --no-init-file", I get the default distribution org
> > packages, and "<s" TAB expands to "#+BEGIN_SRC\n#+END_SRC\n".  However,
> > in my downloaded-melpa-install of org, it does not work.
> >
> > Distro org-version is 9.1.9, melpa is 9.3.  describe-key TAB shows
> > org-cycle, which is a kitchen-sink function.  The docs of the function
> > has not changed between the versions.
> >
> > I believe "<s" TAB worked in a melpa version before 9.3 (maybe 9.2.6),
> > but I don't have any version besides 9.3 in ~/.emacs.d/elpa.
>
> Possibly you want to switch to the new feature (accessible C-c C-,)
> which BTW allows to wrap regions.
>
> The "<s" TAB mechanism is still available but you need to enable it.
> See the documentation in section Structure Templates.
>

What feature are you referring to, Marco? My `C-c C-,` sets the heading
priority.

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

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

* Re: <s TAB not expanding
  2019-12-12 15:24   ` Tim Visher
@ 2019-12-12 18:15     ` Marco Wahl
  2019-12-12 18:27       ` Tim Visher
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Wahl @ 2019-12-12 18:15 UTC (permalink / raw)
  To: Tim Visher; +Cc: Marco Wahl, emacs-orgmode, Justin Vallon

Tim Visher <tim.visher@gmail.com> writes:

> On Thu, Dec 12, 2019 at 4:14 AM Marco Wahl <marcowahlsoft@gmail.com> wrote:
>
>> Justin Vallon <justinvallon@gmail.com> writes:
>>
>> > When I use "emacs --no-init-file", I get the default distribution org
>> > packages, and "<s" TAB expands to "#+BEGIN_SRC\n#+END_SRC\n".  However,
>> > in my downloaded-melpa-install of org, it does not work.
>> >
>> > Distro org-version is 9.1.9, melpa is 9.3.  describe-key TAB shows
>> > org-cycle, which is a kitchen-sink function.  The docs of the function
>> > has not changed between the versions.
>> >
>> > I believe "<s" TAB worked in a melpa version before 9.3 (maybe 9.2.6),
>> > but I don't have any version besides 9.3 in ~/.emacs.d/elpa.
>>
>> Possibly you want to switch to the new feature (accessible C-c C-,)
>> which BTW allows to wrap regions.
>>
>> The "<s" TAB mechanism is still available but you need to enable it.
>> See the documentation in section Structure Templates.
>>
>
> What feature are you referring to, Marco? My `C-c C-,` sets the heading
> priority.

This is a reference to the feature announced in ORG-NEWS
e.g. https://code.orgmode.org/bzg/org-mode/src/master/etc/ORG-NEWS.

    Org 9.2 comes with a new template expansion mechanism, combining
    ~org-insert-structure-template~ bound to ~C-c C-,~.

And also the feature is described in the info documentation in section
"Structure Templates".

Possibly you have defined your personal "C-c C-," Tim?


HTH

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

* Re: <s TAB not expanding
  2019-12-12 18:15     ` Marco Wahl
@ 2019-12-12 18:27       ` Tim Visher
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Visher @ 2019-12-12 18:27 UTC (permalink / raw)
  To: Marco Wahl; +Cc: emacs-orgmode, Justin Vallon

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

On Thu, Dec 12, 2019 at 1:15 PM Marco Wahl <marcowahlsoft@gmail.com> wrote:

> Tim Visher <tim.visher@gmail.com> writes:
>
> > On Thu, Dec 12, 2019 at 4:14 AM Marco Wahl <marcowahlsoft@gmail.com>
> wrote:
> >
> >> Justin Vallon <justinvallon@gmail.com> writes:
> >>
> >> > When I use "emacs --no-init-file", I get the default distribution org
> >> > packages, and "<s" TAB expands to "#+BEGIN_SRC\n#+END_SRC\n".
> However,
> >> > in my downloaded-melpa-install of org, it does not work.
> >> >
> >> > Distro org-version is 9.1.9, melpa is 9.3.  describe-key TAB shows
> >> > org-cycle, which is a kitchen-sink function.  The docs of the function
> >> > has not changed between the versions.
> >> >
> >> > I believe "<s" TAB worked in a melpa version before 9.3 (maybe 9.2.6),
> >> > but I don't have any version besides 9.3 in ~/.emacs.d/elpa.
> >>
> >> Possibly you want to switch to the new feature (accessible C-c C-,)
> >> which BTW allows to wrap regions.
> >>
> >> The "<s" TAB mechanism is still available but you need to enable it.
> >> See the documentation in section Structure Templates.
> >>
> >
> > What feature are you referring to, Marco? My `C-c C-,` sets the heading
> > priority.
>
> This is a reference to the feature announced in ORG-NEWS
> e.g. https://code.orgmode.org/bzg/org-mode/src/master/etc/ORG-NEWS.
>
>     Org 9.2 comes with a new template expansion mechanism, combining
>     ~org-insert-structure-template~ bound to ~C-c C-,~.
>
> And also the feature is described in the info documentation in section
> "Structure Templates".
>
> Possibly you have defined your personal "C-c C-," Tim?
>

Ah. Apparently I can't press `C-,` in the terminal. So emacs was receiving
`C-c ,`. That makes sense.

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

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

end of thread, other threads:[~2019-12-12 18:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-12  7:51 <s TAB not expanding Justin Vallon
2019-12-12  9:13 ` Marco Wahl
2019-12-12 15:24   ` Tim Visher
2019-12-12 18:15     ` Marco Wahl
2019-12-12 18:27       ` Tim Visher

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