From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU Elpa] New package: electric-french Date: Mon, 05 Jun 2023 14:03:34 +0300 Message-ID: <83y1ky41dl.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ruijie@netyu.xyz, emacs-devel@gnu.org To: Matthias Meulien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 05 13:04:30 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q680k-0002lp-5r for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jun 2023 13:04:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6802-0006rV-U9; Mon, 05 Jun 2023 07:03:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q67zt-0006nV-CL for emacs-devel@gnu.org; Mon, 05 Jun 2023 07:03:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q67zs-00023q-3n; Mon, 05 Jun 2023 07:03:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZBanaxN7mnLnZ2NGf2ihsbQPo8yxPg2LTEsIWuELNA4=; b=H0l7oIvU6PKS XOxqT4UnczlgIyzo9Bz/k92HS+8qmULYISz6OwrI+9n2JrSnxiVOvdEtiHIC0vot6qv8/K0olGCTg VWMpCPeUTkeYH5GXE/HxXa7QMkQFuSBVIQoCYQwL/ozzTUinDrXxXlrOEJ+zzppej1LrR2oEvwWKK ArBKYY0sZt2pUkgS28kmv8tx60Q48RQsBd/TzYc0UkqZRvNRF44zZIpYeacySv25s5lfOe1uBTUCw 4TFhfCom/dcNIZyk0ApEQ1YZ+ePiCazybD9/jt0ARnb9zxGJrOcpG0cFbgIzDpQnKIgUtPgi/Ug2M n6jsUnkjzqFuBjcqnmoT3A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q67zr-0003KT-Ih; Mon, 05 Jun 2023 07:03:35 -0400 In-Reply-To: (message from Matthias Meulien on Sun, 4 Jun 2023 21:31:42 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306644 Archived-At: > From: Matthias Meulien > Date: Sun, 4 Jun 2023 21:31:42 +0200 > Cc: emacs-devel > > I am a native french speaker and I would expect such a feature to replace the previous space with a > non breaking space or insert a non breaking space. This is the behaviour implemented in Libre Office > Writer AutoCorrection feature, Microsoft Word, etc. People are used to this and for a good reason: It > doesn't interfere with their habit to enter space before most punctuation. Is this to avoid breaking lines where they shouldn't be? If so, we already have fill-french-nobreak-p; see fill.el. If this is for some other purpose, i.e. if typing French text needs to insert no-break-space character for a purpose other than filling the text correctly, then would someone please explain the needs, before presenting solutions? Thanks.