From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UExjGYdmEmHSNQAAgWs5BA (envelope-from ) for ; Tue, 10 Aug 2021 13:44:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2AD5FIdmEmEpOgAAbx9fmQ (envelope-from ) for ; Tue, 10 Aug 2021 11:44:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A349614EB9 for ; Tue, 10 Aug 2021 13:44:06 +0200 (CEST) Received: from localhost ([::1]:36562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDQAv-0007AC-Es for larch@yhetil.org; Tue, 10 Aug 2021 07:44:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDQAr-00079w-Ux for guix-patches@gnu.org; Tue, 10 Aug 2021 07:44:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDQAr-0008Vr-P2 for guix-patches@gnu.org; Tue, 10 Aug 2021 07:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDQAr-0003tG-Na for guix-patches@gnu.org; Tue, 10 Aug 2021 07:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49976] [PATCH] gnu: Add emacs-filladapt. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Aug 2021 11:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49976 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49976@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162859578614849 (code B ref -1); Tue, 10 Aug 2021 11:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Aug 2021 11:43:06 +0000 Received: from localhost ([127.0.0.1]:58570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDQ9y-0003rR-IT for submit@debbugs.gnu.org; Tue, 10 Aug 2021 07:43:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:51490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDQ9w-0003rH-Vy for submit@debbugs.gnu.org; Tue, 10 Aug 2021 07:43:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDQ9w-0006Vo-Fe for guix-patches@gnu.org; Tue, 10 Aug 2021 07:43:04 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:41864 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDQ9u-0007ik-TY for guix-patches@gnu.org; Tue, 10 Aug 2021 07:43:04 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628595777; bh=da4YWO4PKu1Nb7YvDPxfn1L2M15Irvyb6wETIf/VRiQ=; h=From:To:Subject:Date; b=n1qe8EW3l/TprpJNjnTsCSpFGbNjXC8+vWnHTFphDvUxtghWDOOif5K9ULbhThPfj ul/P6ycJJFsYKB/hgTu5jsWsIfbEbdh8KII+wt0Fb/BmSOIdMCsBv84LPvOgfD7yO4 Ethws0PkbJ/90zvAfMO4QPX/Q1V2mg86KF+pbqlA= Message-Id: <657eb5212a5a9349c2890e04210d4b96cb723a28.1628595766.git.public@yoctocell.xyz> Date: Tue, 10 Aug 2021 13:42:57 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.8 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=0.386, PDS_OTHER_BAD_TLD=1.997, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628595846; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=wDBYMLUVHYqRHp41ZRSyT3M8MSIZjf13BSYgSJftIaU=; b=mKi8BcEP2k3BXOU+mej7UozI1yzOZwcPYRwVEzm+haRFV7fb6tFswRYACcfcfnyiIDI5P5 yeyH/giq4r9Yy+iwjlXe3MTfnIOuSlerG7TyDoQsyK0dexWrPCa+KG7BOlzJy5N0a7Ezzm siCUh53ywXngY8ezI9rhPLoMzBZPN9Z/zX3nEEAwYewVD1cgTTeMxdQ1DU0IzcZyGYkpZc OL3tv/l27FAqfnXUh8o0gsfGmtKbccFjoHD640Qusv3/fpEhIlhP1KxnCye0kQdlLId/jL tw9K59DvzgChOyqE68yDcQ2dUJNqKBx966VLYbTlx5xnhx6XHw8I40gjmAw0KA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628595846; a=rsa-sha256; cv=none; b=uEhf8zAnjTADZew7f6bF7QcyeNAOwMGOnwbyhQ7LyShjZ9ap+b8Ai2vG1FmXCT1K2Bu1jd wX3ueL3DR6GqjPTG8TqZci44+Bw0YJZJPj6L/X/ff+HyWEPgMKL0knHk1pF8YQNgEuumG1 3pRVyWl8KvDBh5MeCSyGDSn2I2SoURze8YJbeShr3HZBlfPbVcbLKp1pSfTdVlVw6J+WNW PRjo3YFhIz830jRq6rwaX8HdFNn2Jn1SkYfA1lKhRAthNkqdMCykSUMmgPc+l/x9Un39Ha xZlpUKzsdX68unHDQajAnaoN5KQWvIKb8onTNaDkFJp6rHoP4wSEyTRCdJgY4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=n1qe8EW3; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=n1qe8EW3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A349614EB9 X-Spam-Score: -0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: wxwXGYjXussg * gnu/packages/emacs-xyz.scm (emacs-filladapt): New variable. --- gnu/packages/emacs-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 172d620adc..2c561e5c57 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4418,6 +4418,40 @@ time. This information can be reviewed to determine what is causing the user interface to pause.") (license license:gpl3+)))) +(define-public emacs-filladapt + (package + (name "emacs-filladapt") + (version "2.12.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://elpa.gnu.org/packages/filladapt-" + version ".el")) + (sha256 + (base32 + "1cxyxfdjg1dsmn1jrl6b7xy03xr42fb6vyggh27s4dk417ils6yg")))) + (build-system emacs-build-system) + (home-page "http://elpa.gnu.org/packages/filladapt.html") + (synopsis "Adaptive fill for Emacs") + (description + "This package provides funtions which enhance the default behavior of +Emacs' Auto Fill mode and the commands @code{fill-paragraph}, +@code{lisp-fill-paragraph}, @code{fill-region-as-paragraph}, and +@code{fill-region}. + +The chief improvement is that the beginning of a line to be +filled is examined and, based on information gathered, an +appropriate value for fill-prefix is constructed. Also the +boundaries of the current paragraph are located. This occurs +only if the fill prefix is not already non-nil. + +The net result of this is that blurbs of text that are offset +from left margin by asterisks, dashes, and/or spaces, numbered +examples, included text from USENET news articles, etc. are +generally filled correctly with no fuss.") + (license license:gpl3+))) + (define-public emacs-fill-column-indicator (package (name "emacs-fill-column-indicator") base-commit: 1fa4485fb033874fd56b025e8ec998aebc245fe5 -- 2.32.0