* Re: master a1ffee1e82: Add textsec-restriction-level function
[not found] ` <20220117152430.59980C0DA2E@vcs2.savannah.gnu.org>
@ 2022-01-17 17:27 ` Robert Pluim
2022-01-17 17:29 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Robert Pluim @ 2022-01-17 17:27 UTC (permalink / raw)
To: emacs-devel; +Cc: Lars Ingebrigtsen
>>>>> On Mon, 17 Jan 2022 10:24:30 -0500 (EST), Lars Ingebrigtsen <larsi@gnus.org> said:
Lars> branch: master
Lars> commit a1ffee1e82b7152772da86a3adc7513128ffefdf
Lars> Author: Lars Ingebrigtsen <larsi@gnus.org>
Lars> Commit: Lars Ingebrigtsen <larsi@gnus.org>
Lars> Add textsec-restriction-level function
Lars> * lisp/international/textsec.el (textsec-restriction-level): New
Lars> function.
Lars> ---
Lars> lisp/international/textsec.el | 52 ++++++++++++++++++++++++++++++++
Lars> test/lisp/international/textsec-tests.el | 12 ++++++++
Lars> 2 files changed, 64 insertions(+)
Lars> diff --git a/lisp/international/textsec.el b/lisp/international/textsec.el
Lars> index 884425d492..fc809d52c1 100644
Lars> --- a/lisp/international/textsec.el
Lars> +++ b/lisp/international/textsec.el
Lars> @@ -97,6 +97,58 @@ Not that a string may have several different minimal cover sets."
Lars> (setq set (seq-union set (seq-difference s set))))
Lars> (sort (delq 'common (delq 'inherited set)) #'string<)))
Lars> +(defun textsec-restriction-level (string)
Lars> + "Say what restriction level STRING qualifies for.
Lars> +Levels are (in order of restrictiveness) `ascii-only',
Lars> +`single-script', `highly-restrictive', `moderately-restrictive',
Lars> +`minimally-restrictive' and `unrestricted'."
I assume this is 'decreasing order of restrictiveness'? If so we
should perhaps say so.
Robert
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: master a1ffee1e82: Add textsec-restriction-level function
2022-01-17 17:27 ` master a1ffee1e82: Add textsec-restriction-level function Robert Pluim
@ 2022-01-17 17:29 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-17 17:29 UTC (permalink / raw)
To: Robert Pluim; +Cc: emacs-devel
Robert Pluim <rpluim@gmail.com> writes:
> I assume this is 'decreasing order of restrictiveness'? If so we
> should perhaps say so.
Yup; now done.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-17 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <164243307005.8397.4723179728390796462@vcs2.savannah.gnu.org>
[not found] ` <20220117152430.59980C0DA2E@vcs2.savannah.gnu.org>
2022-01-17 17:27 ` master a1ffee1e82: Add textsec-restriction-level function Robert Pluim
2022-01-17 17:29 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).