unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* What is the use of "categories"?
@ 2018-08-26  6:30 Marcin Borkowski
  2018-08-26 14:25 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Marcin Borkowski @ 2018-08-26  6:30 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

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?

TIA,

--
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the use of "categories"?
  2018-08-26  6:30 What is the use of "categories"? Marcin Borkowski
@ 2018-08-26 14:25 ` Eli Zaretskii
  2018-08-27 18:29   ` Marcin Borkowski
  2018-08-30  2:47   ` John Shahid
  0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2018-08-26 14:25 UTC (permalink / raw)
  To: help-gnu-emacs

> 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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the use of "categories"?
  2018-08-26 14:25 ` Eli Zaretskii
@ 2018-08-27 18:29   ` Marcin Borkowski
  2018-08-30  2:47   ` John Shahid
  1 sibling, 0 replies; 5+ messages in thread
From: Marcin Borkowski @ 2018-08-27 18:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


On 2018-08-26, at 16:25, Eli Zaretskii <eliz@gnu.org> wrote:

>> 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.

Thanks!

-- 
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the use of "categories"?
  2018-08-26 14:25 ` Eli Zaretskii
  2018-08-27 18:29   ` Marcin Borkowski
@ 2018-08-30  2:47   ` John Shahid
  2018-08-30 13:12     ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: John Shahid @ 2018-08-30  2:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs


Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

Should the Elisp manual be updated to link to `Emacs (Regexp Backslack)' ?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: What is the use of "categories"?
  2018-08-30  2:47   ` John Shahid
@ 2018-08-30 13:12     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2018-08-30 13:12 UTC (permalink / raw)
  To: help-gnu-emacs

> From: John Shahid <jvshahid@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> Date: Wed, 29 Aug 2018 22:47:02 -0400
> 
> > 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.
> 
> Should the Elisp manual be updated to link to `Emacs (Regexp Backslack)' ?

It should be the other way around, and that link already exists.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-30 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-26  6:30 What is the use of "categories"? Marcin Borkowski
2018-08-26 14:25 ` Eli Zaretskii
2018-08-27 18:29   ` Marcin Borkowski
2018-08-30  2:47   ` John Shahid
2018-08-30 13:12     ` Eli Zaretskii

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).