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: Sat, 28 Sep 2024 16:21:52 +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="21994"; 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 Sat Sep 28 18:27:31 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 1suaI6-0005Xa-Ih for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 28 Sep 2024 18:27:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suaHf-0007Ay-B2; Sat, 28 Sep 2024 12:27:03 -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 1suYL5-0006fp-6R for help-gnu-emacs@gnu.org; Sat, 28 Sep 2024 10:22:27 -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 1suYL2-0000kJ-TK for help-gnu-emacs@gnu.org; Sat, 28 Sep 2024 10:22:26 -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 7AC3626963A1 for ; Sat, 28 Sep 2024 16:21:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1727533312; 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=RSrYXMDk4Gvn1i9vaHdYrVUNr+0IS2TYXdzlupA/FEk=; b=PSHA64riIS9OqHk1sUlLBm0e+YX2u69n/RjxUbs+hFHgzGf/k2ndWYlmJ5XLuCdq VMgs1VCRoYaRW/ctxD+ThboP16GPV2L0orpglkZHHuyd6hxw8VAotjZEkcyf8DU6IVi lsHtcR3w7OCDN3wjmRtH8RzCeEqJixKZmIJY2stoQEJueQU/DhMqzjzFHrOP6nrOi1f AVgRKZa5qO9xUkSHdvSR+qLtLl7wB+mCPUTgXW8HCxQXjsfy9FaemeM3PfY3anV5TNp jMcBOUeQjsPZCW2c8u53c7/rNaTjrQTMT1lUe5UNE+U7Sp82m4SWRxept8QFFv70KKE awVbf6Qz+Q== 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-Mailman-Approved-At: Sat, 28 Sep 2024 12:27:02 -0400 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:148087 Archived-At: 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)) ``` --=20 Sent with Tuta; enjoy secure & ad-free emails:=20 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 >