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:26:55 +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="36622"; 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:27:43 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 1l7Pgc-0009R8-VY for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 22:27:42 +0100 Original-Received: from localhost ([::1]:38546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7Pgb-0001VV-VV for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 03 Feb 2021 16:27:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Pfx-0001UX-Kj for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:27:01 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:49341) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Pft-0004lv-9O for help-gnu-emacs@gnu.org; Wed, 03 Feb 2021 16:27:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612387615; bh=Dm1aKp/I7AbUVtNqMakpkaYS6BJGxiLnkJGlCVVk0Vo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=RXS+CNdWi/7F0friozPttyOqta8W65dWhdcSygEcFAa1GSW76z6j99RTVet7pIjLK bt/LWiB0Ep40aBuwicPue/uBJBiIanS5/tXPlLOM02+zw4+TzUAo4Vjc0gQCwHxY4M aW442Kd7V+ySGNpRGmerP85svS5FH3dW0ZAXCF5o= 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:26:55 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Ub+hMFf2HXt6966uZlle1MNHPUrhnGzRI5kesW8QDNUgPCY/rhwV+WamR7ujsjGZty6bF AtCTBTx/K0NBTTwmEFS2wS7aWVaRk4hfezioGNQdXVJUEvuPusZeoWfrWSX7hU2aL1sNo4d3yf76 4v1u/DkgR9WYC6fKeqRmJJq6S+E96JXKQF1vsfpHvkJECqiqoH8ptocLEHT1iif/vJxDlOlDlolz f/r9QGP0hUOK6QHQhSVvcIVJtCWwD1EpiQMagAOzJVNFiCyCo7+pzuEpwy60yEtx+i9AQMaDJF9K gE= X-UI-Out-Filterresults: notjunk:1;V03:K0:PMev3cSUPVw=:9CObSr4eLDvVE7BDTxzDKP 5tCcmaORqDfPTriwV2gGFPfzs5UCV40JovJasFzW9zIuhO+JZAa9JmhVm5cUomgwAcSqjQeXx o4NrurD5GkunWbdMeaZ68x9e3cpW3iL0b0kNZsr63UdgarhD+MPHmEwz43GesGCL2wUwjIUb7 ihCPhMC0yz9KG6NCHaEwcQSVg347za7AHpiQs1HVyAjoOM8y/ECDpmnVjwAIwyrfeM8L64oYr 5XeaBeFTO7iAbn7dL6dEhw1U1Bx5Ro1XXmI3SVoBO5mQhN9jOI0XTbTOQKsXB4rdph1h6ERuO C9cEufbm6TpCEc7IasmvhVjbHVdP5nzLRzG5RReTLtHo6B2Zym+5GPF/2X0ZjdQElld0J/GSc vVnN9n1UCg6N3WoDDDabMI4jZ2GD8An3m6+3oDIHTE451tewCSioK15Dwe2oP4E4yYM/3ih0C bPz6Hz76IrwAzcrbXzrxYVhuu4+3e0R/fKy5l7nazHHKSjNDK+VVIhvPefE1tFsP5uO/DiFmC R/MumVcdNED87M5P3sR0fW/Q10UZ4VMlbMsQzbfjp7ijRIAo08swqGfiBiyunSv703T0CKrRo fhYj9/u1IPVTc= Received-SPF: pass client-ip=212.227.17.20; 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_H2=-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:127598 Archived-At: I am also trying to perform prettif when I have \alpha-\beta \alpha_n and ethor characters such as ^ : Have tried using "\\\\\\\\([\s+\,:;._^-]\\\\\\<[a-z]+\\>\\)?" But the prettify is not being executed. > Sent: Thursday, February 04, 2021 at 9:13 AM > From: "Gregory Heytings" > To: pietru@caramail.com > Cc: help-gnu-emacs@gnu.org > Subject: Re: Prettify keywords > > > > > > Thank you. Where can I find the code for it? Does it use prog-mode > > functionality? > > > > I don't understand your questions, nor how they are related to your > original question, but here's an attempt to answer them anyway: > > "Where can I find the code for it?" The "foo-mode-hook" variables are > evaluated when a buffer with a mode "foo" is entered. If you want to se= e > this for Texinfo, type C-h v texinfo-mode-hook RET, which will open a > window with a link to "texinfo.el", which you can follow: it will open t= he > "texinfo.el" file at the point where "texinfo-mode-hook" is defined. > > "Does it use prog-mode functionality?" No, "texinfo-mode" is a major mo= de > for Texinfo files, and it has no relation to "prog-mode", which is a maj= or > mode for source code files (Python, Java, C, ...). >