unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Luca Ferrari <fluca1978@gmail.com>
To: Bruno Barbier <brubar.cs@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: yasnippet global mode not active when visiting a markdown buffer
Date: Mon, 14 Nov 2022 14:09:27 +0100	[thread overview]
Message-ID: <CAKoxK+7PMetuoJntYJrab6RBq1sk+BH7azL9=q26qmdeFYwbdQ@mail.gmail.com> (raw)
In-Reply-To: <636ea9c8.5d0a0220.378bd.6b4a@mx.google.com>

On Fri, Nov 11, 2022 at 9:00 PM Bruno Barbier <brubar.cs@gmail.com> wrote:
>
>
>
> I'm not using use-package nor markdown-mode.
>
> But why would this:
>
> >> (add-hook 'prog-mode-hook #'yas-minor-mode)
>
> be relevant here ?
>
>
> markdown-mode is not about programs, it's about text.
>

Thanks, yes, my idea is to load yas-minor-mode whenever a programming
mode is there.
I know markdown-mode is not about programming, and I think there's a
reason why it is not working with my setup: markdown-mode binds a set
of commands to C-c C-s as I'm trying to do.
I will report back once I've configured it, also testing your idea.

Thanks,
Luca



  reply	other threads:[~2022-11-14 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 16:01 yasnippet global mode not active when visiting a markdown buffer Luca Ferrari
2022-11-11 12:54 ` Luca Ferrari
2022-11-11 20:06   ` Bruno Barbier
2022-11-14 13:09     ` Luca Ferrari [this message]
2022-11-15  2:50       ` Emanuel Berg

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKoxK+7PMetuoJntYJrab6RBq1sk+BH7azL9=q26qmdeFYwbdQ@mail.gmail.com' \
    --to=fluca1978@gmail.com \
    --cc=brubar.cs@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).