emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Samuel Banya" <sbanya@fastmail.com>
To: "Sébastien Miquel" <sebastien.miquel@posteo.eu>, emacs-orgmode@gnu.org
Subject: Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)
Date: Mon, 24 May 2021 01:04:25 +0000	[thread overview]
Message-ID: <97d5e902-6800-4491-836a-7604747b74ac@www.fastmail.com> (raw)
In-Reply-To: <d5ff9ae7-e5c5-a180-a791-a7f1f4a9357c@posteo.eu>

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

Hey Sébastien,

Thanks for this insight.

Do you think that maybe changing the setting you had mentioned before, 'org-src-tab-acts-natively' to false (aka nil or '0' (zero) value) via a change in my configuration would make this error not happen within Org-Mode in that case?

On a related note, I use Emacs Org Mode every day for my support job, and am super thankful it exists. I have never been more productive in the last 2 years switching to Emacs than I ever have been in my entire life, so just wanted to say thanks to the best piece of software on earth.

Thanks again,

Sam

On Sun, May 23, 2021, at 9:18 PM, Sébastien Miquel wrote:
> Hi Samuel,
> 
> > I'm guessing its some kind of Org Mode vs Yasnippet issue where 
> > Org-mode is expanding it too fast, when it should wait for user input 
> > hence the "$1" section.
> 
> I guess yasnippet tries to indent the inside of the block (see
> =yas-indent-line=) before the lang part of the src block is specified.
> 
> In Emacs 27.2, the default value of =org-src-tab-acts-natively= was
> changed to `t`. With this setting, trying to indent a src block with
> no language results in this error.
> 
> -- 
> Sébastien Miquel
> 
> 

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

  reply	other threads:[~2021-05-24  1:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-23  4:51 Samuel Banya
2021-05-23 16:33 ` Greg Minshall
2021-05-24  1:09   ` Samuel Banya
2021-05-24  3:03     ` Greg Minshall
2021-05-23 21:18 ` Sébastien Miquel
2021-05-24  1:04   ` Samuel Banya [this message]
2021-05-24  5:51     ` Sébastien Miquel
2021-05-29 21:12       ` Samuel Banya

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=97d5e902-6800-4491-836a-7604747b74ac@www.fastmail.com \
    --to=sbanya@fastmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastien.miquel@posteo.eu \
    --subject='Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)' \
    /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

Code repositories for project(s) associated with this 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).