From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Proposing to add express to ELPA Date: Mon, 21 Aug 2023 18:38:53 -0700 Message-ID: <90C1A37A-5522-4157-99B1-946C7CE353F0@gmail.com> References: <0C0218D1-6C00-4E5A-9E6E-6282F170126A@gmail.com> <0788786E-04DA-46DD-AA93-12603C09976F@gmail.com> <87y1i4223t.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10399"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 22 03:39:49 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 1qYGN1-0002QB-LT for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Aug 2023 03:39:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYGMQ-0000yl-Fh; Mon, 21 Aug 2023 21:39:10 -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 1qYGMP-0000yb-Jx for emacs-devel@gnu.org; Mon, 21 Aug 2023 21:39:09 -0400 Original-Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYGMN-0006dA-EU; Mon, 21 Aug 2023 21:39:09 -0400 Original-Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-68a3582c04fso1206432b3a.1; Mon, 21 Aug 2023 18:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692668345; x=1693273145; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Ta34NOhZOPRle+djbROfbeSjs7CEisejdUiB1rrz7RY=; b=VJnzB9nPyxxVjab2iN8wGn+/8LfrQrLpJAShRHGj+pEGDjtUHwpnfI4ubU3wTaCHiU j9qNU3TrBlNZO9JdTNK6ThuAAPVYle1CJizHeYhWyXbPgL0ATKlzth/yhnuDrhNCBuHI e3DIqupn+b09zT3YfJvAYGTuXH1vgfizphXZzFA4LOQvkj0IAtc8P/vXRWo4W6lWTli7 ckEjarmk6lOHSUfGg6gU5YDf8E+EmRCn1TPSvv1R/EONhAtKxOeVGmx0WBLpHkotATHa N0rQZpjx4iT2Zhvi3gl6z30uPiWtUianGjtzKFpOgTgaRK0h3eD+6YQ5Qv18hoegi53x paFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692668345; x=1693273145; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ta34NOhZOPRle+djbROfbeSjs7CEisejdUiB1rrz7RY=; b=lFMm9o6iaBYjyw2xFWBLWqwoxfOoKisRtuUpcCgc0/WRQeG6oD1Irp/ucaALI11F1K FmmpwCHWJF1Vyw5P+VWySsnlWdQl1zihEMmHhS3Rw5SXxNETP5Lp2QbsW+cWBX1avaek fsqrHkxSlyGtuLHVm183vyXv6ywm3B1hq2Pfg0+Gk6n+cpf+bWIC+E33CoWGyZY/a9VR yYe4qP+D6v/5iIxKPfJXU0qURzJHZ3X0aJxvA5677F1Odhw/lES8X28JOSy1GhtXp6S/ raOk+4JtzyxQZheCn3AHHr+PbUuHcokAvSyDvAd2wjDrrW2hOnJ73hMj7tXHxOGx2jTA O5Gg== X-Gm-Message-State: AOJu0Yw14xylePQYZzti36PqD/DVJjZFnKV86/785CSJcYtjcNOAAhpn hkW74Ml4/tZOKhhi03gm82ZtsMXrsyU= X-Google-Smtp-Source: AGHT+IG6OYJ/I/S7EBcptC25Pu2GXamk4tPNxJTYZVM4dpert59LJ40WwCuQShqyBsBKO9Z0yVghdg== X-Received: by 2002:a05:6a20:1606:b0:148:1e47:345e with SMTP id l6-20020a056a20160600b001481e47345emr7867229pzj.49.1692668345039; Mon, 21 Aug 2023 18:39:05 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id u2-20020a170902b28200b001b81a97860asm7660277plr.27.2023.08.21.18.39.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2023 18:39:04 -0700 (PDT) In-Reply-To: <87y1i4223t.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.600.7) Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=casouri@gmail.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:309099 Archived-At: > On Aug 21, 2023, at 2:04 AM, Tassilo Horn wrote: >=20 > Yuan Fu writes: >=20 >>> Would someone please explain to me what expreg does? I am not >>> against adding it -- if it meets the criteria and people like it, = why >>> not? -- but I'd like to know what feature we are adding. >>=20 >> It=E2=80=99s similar to expand-region, where repeatedly pressing a = key expands >> the active region to enclose larger and larger constructs, words, >> statements, defuns, etc. I guess the selling point is that it=E2=80=99s= >> simpler to configure and supports tree-sitter=E2=80=94weak = justifications, but >> people liked it and requested to have it on ELPA, so I happily >> followed suit. >=20 > I've just tried it and also like it. I've used expand-region in the > past but only its basic features so expreg works just as well for me. > The only thing which seems missing and so common to justify a default > expander is marking a complete sentence in prose text. Right now, it > immediately jumps from word to paragraph. I=E2=80=99ve bitten by the sentence expander in expand-region before, so = I didn=E2=80=99t add it. Anyway, I just added a sentence expander to = expreg, but it=E2=80=99s not enabled by default. You can add = expreg=E2=80=94sentence to expreg-functions in text modes yourself. Yuan=