From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Has enriched-mode become enriched? Date: Tue, 13 Jul 2021 15:20:11 +0300 Message-ID: <83v95e8kxw.fsf@gnu.org> References: <87r1g4lzax.fsf@yandex.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="772"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 13 14:21:05 2021 Return-path: Envelope-to: ged-emacs-devel@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 1m3HPN-000AdT-2Y for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Jul 2021 14:21:05 +0200 Original-Received: from localhost ([::1]:50724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3HPL-00060s-T9 for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Jul 2021 08:21:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3HOg-00058t-0X for emacs-devel@gnu.org; Tue, 13 Jul 2021 08:20:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58124) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3HOf-0003Ck-Pg; Tue, 13 Jul 2021 08:20:21 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3062 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3HOc-00052v-2r; Tue, 13 Jul 2021 08:20:21 -0400 In-Reply-To: <87r1g4lzax.fsf@yandex.com> (message from Colin Baxter on Mon, 12 Jul 2021 09:19:18 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271196 Archived-At: > From: Colin Baxter > Cc: > Date: Mon, 12 Jul 2021 09:19:18 +0100 > > 1. It used to be the case that I could set a local variable as > > #+begin_src elisp > # Local Variables: > # mode: enriched-mode > # End: > #+end_src > > Now the addition of mode after the hyphen gives a File local-variables > error: (void-function enriched-mode-mode). I now have to use > > #+begin_src elisp > # Local Variables: > # mode: enriched > # End: > #+end_src > > 2. It seems I now have to set flyspell explicitly, as in > > #+begin_src elisp > (add-hook 'enriched-mode-hook 'turn-on-flyspell) > #+end_src > > It used to be the case that > > #+begin_src elisp > (add-hook 'text-mode-hook > (lambda () > (flyspell-mode))) > #+end_src > > was sufficient for enriched-mode too. > > I am wondering if these changes are intended. I don't think so. Could the reason be that enriched.el nowadays uses lexical-binding?