From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John ff Newsgroups: gmane.emacs.devel Subject: Re: Has enriched-mode become enriched? Date: Tue, 13 Jul 2021 18:12:21 +0100 Message-ID: <1711d9ee-6d43-484d-a233-63d2cd806b2a@codemist.co.uk> References: <87r1g4lzax.fsf@yandex.com> <87wnpurwjo.fsf@yandex.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="33760"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Android Cc: Stefan Monnier , "Andrea Corallo via Emacs development discussions." To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 13 19:14:32 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 1m3LzM-0008Zh-Fb for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Jul 2021 19:14:32 +0200 Original-Received: from localhost ([::1]:57948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3LzL-0007yA-Gp for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Jul 2021 13:14:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3Lyj-0006oU-Qj for emacs-devel@gnu.org; Tue, 13 Jul 2021 13:13:53 -0400 Original-Received: from codemist.co.uk ([217.155.197.248]:37462) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3Lyi-0002Xt-EC for emacs-devel@gnu.org; Tue, 13 Jul 2021 13:13:53 -0400 Original-Received: from [172.16.4.26] by codemist.co.uk with esmtp (Exim 4.94.2) (envelope-from ) id 1m3Ly2-0002Ao-Ly; Tue, 13 Jul 2021 18:13:11 +0100 In-Reply-To: <87wnpurwjo.fsf@yandex.com> X-Referenced-Uid: 136983 Thread-Topic: Re: Has enriched-mode become enriched? X-Is-Generated-Message-Id: true X-ACL-Warn: No reverse lookup Received-SPF: pass client-ip=217.155.197.248; envelope-from=jpff@codemist.co.uk; helo=codemist.co.uk X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:271200 Archived-At: J =E2=81=A3Sent from TypeApp =E2=80=8B On Jul 13, 2021, 17:55, at 17:55, = Colin Baxter wrote: >First, I wish to thank everyone = for their help and suggestions=2E > >Local variable should be 'enriched' an= d not 'enriched-mode' in emacs-27 >and also emacs-28=2E I hadn't noticed th= e warning in emacs-27 but I did >in >emacs-28 because I had set the latter = is set to debug on error=2E > >I'm sorry I didn't look properly at the outp= ut=2E However, I have learnt >that its better not to use 'mode: enriched' a= t all as a local variable >for the following reason=2E > >1=2E emacs -Q (works with emacs-28=2E0=2E50 and emacs-27=2E2) >2=2E C-x C-f test=2Etxt= >3=2E Enter some text=2E >4=2E M-x enriched-mode > Mode-line= reads 'Text Enriched' >5=2E Save the file and kill the buffer=2E >6=2E C-f= test=2Etxt > Mode-line reads 'Text Enriched' >7=2E Enter > # Loc= al Variables: > # mode: enriched > # End: > and save=2E > Mode-line= reads 'Text Enriched' >8=2E Kill the buffer and open test=2Etxt again > = Mode-line now reads 'Fundamental Enriched' >9=2E Remove the local variables= , save and kill buffer=2E >10=2E Open file test=2Etxt again > Mode-line = now restored to 'Text Enriched' > >Any text-only options such as flyspell w= ill be lost if 'mode: enriched' >is used=2E > >I have removed 'mode: enrich= ed' from all my enriched-mode files, >which are now well-behaved=2E > > >Th= anks again, > >Colin Baxter=2E