From: Stephen Berman <stephen.berman@gmx.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to detect end of buffer? [was: Deleting a word using keybinding]
Date: Fri, 16 Oct 2020 14:18:31 +0200 [thread overview]
Message-ID: <87v9faz7mw.fsf@gmx.net> (raw)
In-Reply-To: <jwvzh4mvmi8.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 16 Oct 2020 00:12:07 -0400")
On Fri, 16 Oct 2020 00:12:07 -0400 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> That regexp recognizes only ASCII letters. If you want any letters
>> supported by the current locale, use [[:alnum:]].
>
> Actually, Emacs's character classes aren't quite like POSIX's: they
> don't pay attention to the locale (at least, by and large).
Thanks, didn't know that. I'd just tested that [[:alnum:]] recognizes
non-ASCII characters and assumed it was because of the locale
(en_US.UTF-8), but now I checked the code and IIUC it uses
unicode-category-table without reference to the locale.
Steve Berman
next prev parent reply other threads:[~2020-10-16 12:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-15 21:46 How to detect end of buffer? [was: Deleting a word using keybinding] Drew Adams
2020-10-15 22:12 ` Christopher Dimech
2020-10-15 22:38 ` Stephen Berman
2020-10-16 4:12 ` Stefan Monnier
2020-10-16 12:18 ` Stephen Berman [this message]
2020-10-15 23:02 ` Drew Adams
2020-10-15 23:54 ` Christopher Dimech
2020-10-16 1:39 ` Drew Adams
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=87v9faz7mw.fsf@gmx.net \
--to=stephen.berman@gmx.net \
--cc=help-gnu-emacs@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).