unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Luca Ferrari <fluca1978@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: yasnippet global mode not active when visiting a markdown buffer
Date: Fri, 11 Nov 2022 13:54:11 +0100	[thread overview]
Message-ID: <CAKoxK+7OmGS4+TzgVmZ0KdG6w+eM+WhX8gEQ1GBih0E4RD2_5g@mail.gmail.com> (raw)
In-Reply-To: <CAKoxK+6Y49LKcdn4cx-wkYmheeBOTYWYjKOQoQbyFi6WZ69A5Q@mail.gmail.com>

On Mon, Nov 7, 2022 at 5:01 PM Luca Ferrari <fluca1978@gmail.com> wrote:
>
> Hi all,
> in my configuration I've:
>
>   (use-package markdown-mode
>     :ensure t
>     :init
>     (setq markdown-command "multimarkdown"))
>
> (use-package yasnippet
>   :ensure t)
>
> (add-hook 'prog-mode-hook #'yas-minor-mode)
>
>
> (global-set-key (kbd "C-c s n") 'yas-new-snippet)
> (global-set-key (kbd "C-c s i") 'yas-insert-snippet)
> (global-set-key (kbd "C-c s v") 'yas-visit-snippet-file)
>
> (use-package yasnippet-snippets :ensure t)
> (yas-global-mode 1)

This is driving me crazy, is there a way to understand if
yas-global-mode is turned off whenever I enter the markdown-mode?

Thanks,
Luca



  reply	other threads:[~2022-11-11 12:54 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 [this message]
2022-11-11 20:06   ` Bruno Barbier
2022-11-14 13:09     ` Luca Ferrari
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+7OmGS4+TzgVmZ0KdG6w+eM+WhX8gEQ1GBih0E4RD2_5g@mail.gmail.com \
    --to=fluca1978@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).