From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tfed--- via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: bug#73530: GNU Emacs 29.4; Opens scripts in Markdown Mode, if the path mentions `md` Date: Sun, 29 Sep 2024 09:13:33 +0200 (CEST) Message-ID: References: Reply-To: tfed@tutamail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13775"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 29 09:14:52 2024 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 1suo8q-0003Su-My for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Sep 2024 09:14:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suo8B-0005Xu-Sd; Sun, 29 Sep 2024 03:14:11 -0400 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 1suo88-0005XP-1I for help-gnu-emacs@gnu.org; Sun, 29 Sep 2024 03:14:08 -0400 Original-Received: from mail.w13.tutanota.de ([185.205.69.213]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suo86-0006SH-1l for help-gnu-emacs@gnu.org; Sun, 29 Sep 2024 03:14:07 -0400 Original-Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w13.tutanota.de (Postfix) with ESMTP id 7A0D726C51A2 for ; Sun, 29 Sep 2024 09:13:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1727594013; s=s1; d=tutamail.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=Mg99bA/47dKX+e1ViDqoVGlQN/+3Bi58QzdGRa3ZxrY=; b=15Xwv9uT6pPY6fNp69pX/p343t/92mCZJZfpM2Ba21lDCNGRqzop7rsfbDAotoMK Kfu2o60+ZwRWJKG07TmUaLfAIhyls123y2qDW7NUXa15KcxKfcCTKCEKivToJ0HiqJu 7iPpDqTQjC6p7ISCKuGfxIbBuUcC6HT53cXmiOCLZtNCWzqJSByoBGUB1Go2U9KtYsh a6FLoWn3cKOBLboOUlamB/pBnIHc12g+mRaBkmOb2hoOvQGhj/XqqI9Qk5znIvOu5mL 6aCJJ5gdBnsR+0Az+n/7L6zm1siGnrmAQ7o602lsoiFrJsF7aAfmtLGjNG0tdh8NQve PoPXiTiTbA== In-Reply-To: Received-SPF: pass client-ip=185.205.69.213; envelope-from=tfed@tutamail.com; helo=mail.w13.tutanota.de 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:148096 Archived-At: <3 Yup, it works, thanks a lot <3 --=20 Sent with Tuta; enjoy secure & ad-free emails:=20 https://tuta.com Sep 28, 2024, 16:21 by tfed@tutamail.com: > Nope, it was my mistake... > I've added this extra code into my `.emacs` config: > > ```el > ;; My Extra Code > > ;; Markdown Mode > (autoload 'markdown-mode "markdown-mode.el" > =C2=A0=C2=A0 "Major mode for editing Markdown files" t) > (setq auto-mode-alist > =C2=A0=C2=A0 (cons '("\.md" . markdown-mode) auto-mode-alist)) > ``` > > -- > Sent with Tuta; enjoy secure & ad-free emails: > https://tuta.com > > > Sep 28, 2024, 15:33 by tfed@tutamail.com: > >> Mistook all files that are including `md` two characters in the path, >> as a markdown files. >> >> foo.py =3D opens in python-mode >> cmd.py, cmds.py =3D opened within markdown-mode >> >> -- >> Sent with Tuta; enjoy secure & ad-free emails: >> https://tuta.com >> > >