From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Barbier Newsgroups: gmane.emacs.help Subject: Re: yasnippet global mode not active when visiting a markdown buffer Date: Fri, 11 Nov 2022 21:06:11 +0100 Message-ID: <636ea9c8.5d0a0220.378bd.6b4a@mx.google.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39969"; mail-complaints-to="usenet@ciao.gmane.io" To: Luca Ferrari , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 11 21:00:48 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1otaCm-000ABk-4o for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Nov 2022 21:00:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otaCF-0001mf-W1; Fri, 11 Nov 2022 15:00:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otaCE-0001mD-1b for help-gnu-emacs@gnu.org; Fri, 11 Nov 2022 15:00:14 -0500 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1otaCB-0001Tw-Ct for help-gnu-emacs@gnu.org; Fri, 11 Nov 2022 15:00:13 -0500 Original-Received: by mail-wr1-x42e.google.com with SMTP id h9so7816186wrt.0 for ; Fri, 11 Nov 2022 12:00:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :from:to:cc:subject:date:message-id:reply-to; bh=p6oQHABKdfHSvp9lWcOA4bsUauxQYK2WB0Ol6Er5MTw=; b=NtWAbRUMU52q4QvXawPKP4I7yg16w9jLWIEKUxAKPuzovvQPg0Z+XXf63xHqoh5lYJ OAGAeP1xJwDytviznZJJIMODeVSrXAT3Z7q7h98fYMdZpnJPP0mRyOrntrOvyBFImXcU Yn1C550OPHbkVKpztjxJehNl3J/9WstYNOsaAlI/qL1WwSz4LtjkuQ4pnMkK3G6OXAHX 2qtlzBJ6A6FSZLkyrmPTYSPvnI7UaUWrWMZ3oo/GdBk74UJrki5g7QqkvmaMcuuOSD/u e0GFmcha/nQEMKAEuYW2fywI9jh6QOaDuCQ0vxASI6o3kSC78V/NnAtn27Xqo9hbpw2b TgsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:date:references:in-reply-to:subject:to:from:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p6oQHABKdfHSvp9lWcOA4bsUauxQYK2WB0Ol6Er5MTw=; b=KuDPum/D0Y5Hd1r2imoe68BIW+Q10G0pJDUnCj1WSZbpbP2O/c9rrBx7Q7slYFLdme NAkRiMZoLW6Cuv7uEBFS6DuzC1X6Q+admdqaxufhbfRPe8oxQoZAcb6EVoUau/umNPp5 Y49eVCByLe8mey8GYm+Fh/W6VQ3Jd4eaQ/TM7b/StYK/A+uztok+pkVoIWayJkEcypeW AYPCYd2H3V9FVGQeTQpFwgMP+UGrPLZ8zKpsHSV2HX+liUjkGXP0075cnAzR+1zrT9y4 WuFovA6AR0eKn/qS9TcIduSTpJDWUeerp8XAQGWKRqVsZ9USCVDiqdw1b4tjzReDl2CI Kruw== X-Gm-Message-State: ANoB5pnCMZtnImWFciyXinuwVaFJVPQE7GF2n1+LsfPoJPuV5QDbni1n MQd7mlN7fAyucSrZetDNM7o= X-Google-Smtp-Source: AA0mqf6QKRTNwaS406Ujt+KCRciNa2auBPwesnvF7SFJ9O0SlEB550+zPvgXwGm/4CYQALm3XDJiBA== X-Received: by 2002:a5d:526d:0:b0:238:3fcb:31ce with SMTP id l13-20020a5d526d000000b002383fcb31cemr2211592wrc.655.1668196809324; Fri, 11 Nov 2022 12:00:09 -0800 (PST) Original-Received: from tosh-laptop ([2a01:e0a:505:3460:1a16:a0c4:3f89:c0d9]) by smtp.gmail.com with ESMTPSA id g13-20020a5d554d000000b002366e3f1497sm2714133wrw.6.2022.11.11.12.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 12:00:08 -0800 (PST) Original-Received: by tosh-laptop (sSMTP sendmail emulation); Fri, 11 Nov 2022 21:06:12 +0100 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=brubar.cs@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140903 Archived-At: 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. IOW, I would try: (add-hook 'text-mode-hook #'yas-minor-mode) or something like that. Bruno