unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: What is the use of "categories"?
Date: Sun, 26 Aug 2018 17:25:36 +0300	[thread overview]
Message-ID: <83zhx95hnj.fsf@gnu.org> (raw)
In-Reply-To: <877ekdmyfw.fsf@mbork.pl> (message from Marcin Borkowski on Sun,  26 Aug 2018 08:30:59 +0200)

> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Sun, 26 Aug 2018 08:30:59 +0200
> 
> I found out about "categories" today - see (info "(elisp) Categories").
> What is the use of them?  I noticed that filling functions use them
> (which makes sense), is there anything else in stock Emacs or packages
> that does?

You can use categories in regular expressions, via the \c escape.
This could allow you, for example, to find Katakana characters, or
characters that are consonants.



  reply	other threads:[~2018-08-26 14:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-26  6:30 What is the use of "categories"? Marcin Borkowski
2018-08-26 14:25 ` Eli Zaretskii [this message]
2018-08-27 18:29   ` Marcin Borkowski
2018-08-30  2:47   ` John Shahid
2018-08-30 13:12     ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83zhx95hnj.fsf@gnu.org \
    --to=eliz@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).