From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pietru@caramail.com Newsgroups: gmane.emacs.help Subject: Re: Prettify keywords Date: Wed, 3 Feb 2021 22:48:21 +0100 Message-ID: References: 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="15738"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Gregory Heytings Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 03 22:49:28 2021 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 1l7Q1f-00040A-DW for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 22:49:27 +0100 Original-Received: from localhost ([::1]:59634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7Q1e-0003UG-Fr for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 16:49:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Q0f-0003Sd-Lu for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:48:25 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:44825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Q0d-0004NO-Po for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:48:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612388901; bh=XZmnODgPZzeDrCW5MBN/zokKEhHWus0TwEKPJ/uJbaI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ZhayvAv7WWxf8JOJGO+YnTh2VXCEo0O7ATfD51mkyyglPu9nLS+YeB3LKJhkX6r2K Rff0Q227VH73a9X9rr2Xh7KtLwRrXS1PFFM/1orpXG7LOHfxaJCdUEBlaQ4oXsYp8W SfTroiw2jIQhVCdsU3X7/I0Qwh1FfpNdIjsHYhEE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Wed, 3 Feb 2021 22:48:21 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Neg/VNLYmPDg+1tSShiFJzPjsJ0hHRGXNp31FyHbTkC+JgNmF9lF3gexMr19DKBHiNtAG j83GT7KNSrwt2vJebUvjnz/0UmvBl+Xxktvr6siRFl6I8rSBobkRU4LEritx8hNjvlYVzrBT30n/ jCzawTPJpnMkdOQ2y7fXwUP5scQ2r2eQ92t/rc64atXf/Dv3mhKdL5d7vi2gYUoKmCBfB8hEncHf khRDFlfym26bP55GjM9YRCsQbRGsR+TTwQD7F/nTA7ZUcfET3CbVLqA65yz9NaWJ2lx384fvmepo SY= X-UI-Out-Filterresults: notjunk:1;V03:K0:bPq8n5wvZsU=:C7ajbWKEmLcnjr+hnyFhjZ 0INVQZ56Ia75frtLAbDPKdzlN1hIYrr2q9wf6So8D72XWwYXmMC754o38b4sc+aMEha2W+Ac+ +ItnqRdQcybpiISj/fkZm5vq3nkzpnPlAlEE7LaZzcJQT+ZZ2gSBx3nUOh+Jg+CPwJ1OYq3W2 QxFaLIMypenmzjZGFtedsWDi3eI3jHLDkOwP5G0ju7OZUbQ8EQ9SCWaQlXA+87Zi3pHM2jagJ zPUy507li7ckiCtMqO/lQbcl2QYMH7ZcMENbVFQLMpjWxdo20AXXZC3KXFDm3FAPNdaC8RK30 QEw8c+yBjf8FRKTmvyWWXFZd+RNznj+ezehln5xUjfNeHuk7GrN75wEG/u1q3TDxZEvkWsAu/ GWbG+wEtX5pgAm32kSqGqfQYEoDedAQryG2RwZ0qJQEKyJbXlf1ei+scifol2BYFODE/COinm 9atj4ZGFUMBcAIco1IkR4dL+go21Jl3rW5NwGlHPQ1MFZhSE6KymLnYNL+HTM1Qz2I6vjxgDr uaYdh6ARbIbrua2XL6gDc+WRD8PcCeeCpXAldsz/jFZpANHNu4uvmXpajZ4JFtBTF0LdMAcFj 3wOYtM+rgwuew= Received-SPF: pass client-ip=212.227.15.18; envelope-from=pietru@caramail.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 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" Xref: news.gmane.io gmane.emacs.help:127604 Archived-At: > Sent: Thursday, February 04, 2021 at 9:41 AM > From: "Gregory Heytings" > To: pietru@caramail.com > Cc: help-gnu-emacs@gnu.org > Subject: Re: Prettify keywords > > > > > > Have looked at prettify-symbols-mode and it is defined in prog-mode.el= . > > This gets me quite confused > > > > I understand, but it shouldn't confuse you. It happens to be defined in > the file prog-mode.el, but it is nonetheless independent from prog-mode. > > > > > as I thought that I can only activate a single major mode at a time on= a > > particular buffer. > > > > That's correct indeed. But as you have said, one can define an independent minor mode that can still be defined within an elisp file implementing a minor mode. My original problem started when I decided to integrate the functionalitie= s in plain-tex-mode (in tex-mode.el) within texinfo-mode. Did not realise the minor mode prettify-mode existed, that is separate from tex-mode.el.