all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: pietru@caramail.com
To: Gregory Heytings <gregory@heytings.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Prettify keywords
Date: Wed, 3 Feb 2021 22:26:55 +0100	[thread overview]
Message-ID: <trinity-5b3f3fc6-e773-4389-986b-d77f7d09ed34-1612387615021@3c-app-mailcom-bs06> (raw)
In-Reply-To: <bc6326ff83ddd9df4f8a@heytings.org>

I am also trying to perform prettif when I have \alpha-\beta
\alpha_n and ethor characters such as ^ :

Have tried using

"\\\\\\<alpha+\\>\\([\s+\,:;._^-]\\\\\\<[a-z]+\\>\\)?"
But the prettify is not being executed.

> Sent: Thursday, February 04, 2021 at 9:13 AM
> From: "Gregory Heytings" <gregory@heytings.org>
> 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 see
> 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 the
> "texinfo.el" file at the point where "texinfo-mode-hook" is defined.
>
> "Does it use prog-mode functionality?"  No, "texinfo-mode" is a major mode
> for Texinfo files, and it has no relation to "prog-mode", which is a major
> mode for source code files (Python, Java, C, ...).
>



  parent reply	other threads:[~2021-02-03 21:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 13:19 Prettify keywords pietru
2021-02-03 16:23 ` Stefan Monnier
2021-02-03 17:07   ` pietru
2021-02-03 17:40     ` Stefan Monnier
2021-02-03 17:45       ` pietru
2021-02-03 19:57         ` Stefan Monnier
2021-02-03 19:58           ` pietru
2021-02-03 20:27             ` Stefan Monnier
2021-02-03 20:36               ` pietru
2021-02-03 20:39                 ` Gregory Heytings
2021-02-03 20:56                   ` pietru
2021-02-03 21:13                     ` Gregory Heytings
2021-02-03 21:21                       ` pietru
2021-02-03 21:27                         ` Gregory Heytings
2021-02-03 21:31                           ` pietru
2021-02-03 21:37                             ` Gregory Heytings
2021-02-03 21:42                               ` pietru
2021-02-03 22:05                                 ` Gregory Heytings
2021-02-03 22:12                                   ` pietru
2021-02-03 22:16                               ` Stefan Monnier
2021-02-03 22:33                                 ` Gregory Heytings
2021-02-03 21:37                           ` pietru
2021-02-03 21:41                             ` Gregory Heytings
2021-02-03 21:48                               ` pietru
2021-02-03 22:26                               ` pietru
2021-02-03 21:26                       ` pietru [this message]
2021-02-03 22:11                 ` Stefan Monnier
2021-02-03 22:17                   ` pietru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-5b3f3fc6-e773-4389-986b-d77f7d09ed34-1612387615021@3c-app-mailcom-bs06 \
    --to=pietru@caramail.com \
    --cc=gregory@heytings.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.