From: Ruijie Yu via "Emacs development discussions." <emacs-devel@gnu.org>
To: emacs-devel <emacs-devel@gnu.org>
Subject: [NonGNU Elpa] New package: electric-french
Date: Sun, 04 Jun 2023 22:15:59 +0800 [thread overview]
Message-ID: <sdv7csjs2dc.fsf@netyu.xyz> (raw)
Hello,
I am proposing a new package called electric-french [1]. This stemmed
from a discussion on emacs-humanities [2], where Jean-Christophe
("l@tlo") outlined a few common practices on nonbreak spaces in the
French language. See near the end of the message for the commentary
section.
First of all, I want to know if any other French speakers are interested
in using this package -- in particular, whether this is beneficial in
general, more than only l@tlo.
Secondly, if people are indeed interested, I hope this can ultimately go
to GNU elpa, but since I am still trying to get an employer disclaimer
(without which I am very reluctant to making any FSF open source
contributions), I don't want to propose its inclusion into elpa.git at
this very moment, hence this proposal into nongnu.git as a "temporary
workaround".
Alternatively, we can also pretend it were proposed for elpa.git, and
postpone the actual inclusion until everything settles on my end -- of
course, only if enough people are interested in this package.
I welcome any type of comments. Anything, including the package name,
can change with a valid reason. Though fluent in English, I am not a
native speaker, so there may be occasional errors on wording. Nor am I
so much a French speaker, and most information present in the package
were either provided by l@tlo or obtained via some quick [search
engine]'ing around, so any correction on that is welcome. Thanks.
(And I know I need to add the part-of/not-part-of Emacs paragraph to the
header. I'll add it when I know which elpa we are looking at.)
--8<---------------cut here---------------start------------->8---
;;; Commentary:
;; This library facilitates adhering to various spacing
;; requirements of French literature. It provides a minor mode,
;; where when enabled, inserts nonbreak spaces before or after a
;; character whenever required. By default, this includes all
;; "two-part" punctuations (such as ?, !, etc.) and all quotation
;; punctuations.
;; There are three customizable options at the moment:
;; - `electric-french-nonbreak-space': the space character /
;; string to use for the nonbreak space. Apparently, different
;; locales use differenc space characters. See details at
;; <msgid:5FB8702E-0499-4231-AD2C-55906C27B60F@traduction-libre.org>
;; on emacs-humanities@gnu.org.
;; - `electric-french-prepend-space-puncts' and
;; `electric-french-append-space-puncts': which characters
;; should have nonbreak spaces prepended, or appended, to them,
;; respectively.
--8<---------------cut here---------------end--------------->8---
[1]: https://git.sr.ht/~ruijieyu/electric-french
[2]: https://lists.gnu.org/archive/html/emacs-humanities/2023-05/msg00000.html
--
Best,
RY
next reply other threads:[~2023-06-04 14:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-04 14:15 Ruijie Yu via Emacs development discussions. [this message]
2023-06-04 19:31 ` [NonGNU Elpa] New package: electric-french Matthias Meulien
2023-06-05 11:03 ` Eli Zaretskii
2023-06-05 18:20 ` Matthias Meulien
2023-06-05 18:55 ` Eli Zaretskii
2023-06-05 21:22 ` Matthias Meulien
2023-06-05 8:34 ` Philip Kaludercic
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=sdv7csjs2dc.fsf@netyu.xyz \
--to=emacs-devel@gnu.org \
--cc=ruijie@netyu.xyz \
/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 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).