From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uI7mGPwGDWGEXQEAgWs5BA (envelope-from ) for ; Fri, 06 Aug 2021 11:55:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wOWVFPwGDWEWHAAAB5/wlQ (envelope-from ) for ; Fri, 06 Aug 2021 09:55:08 +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 931F61626C for ; Fri, 6 Aug 2021 11:55:07 +0200 (CEST) Received: from localhost ([::1]:50910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBwZG-0007YH-QN for larch@yhetil.org; Fri, 06 Aug 2021 05:55:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBwZC-0007Y8-CC for guix-patches@gnu.org; Fri, 06 Aug 2021 05:55:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBwZC-0005uU-5L for guix-patches@gnu.org; Fri, 06 Aug 2021 05:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBwZC-0004Eu-2s for guix-patches@gnu.org; Fri, 06 Aug 2021 05:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49909] [PATCH] gnu: Add emacs-placeholder. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Aug 2021 09:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49909 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49909@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162824366316243 (code B ref -1); Fri, 06 Aug 2021 09:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2021 09:54:23 +0000 Received: from localhost ([127.0.0.1]:49122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBwYZ-0004Dv-KL for submit@debbugs.gnu.org; Fri, 06 Aug 2021 05:54:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:38312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBwYX-0004Dn-0h for submit@debbugs.gnu.org; Fri, 06 Aug 2021 05:54:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBwYW-0007R7-Mq for guix-patches@gnu.org; Fri, 06 Aug 2021 05:54:20 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:51882 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 1mBwYV-0005Rf-5W for guix-patches@gnu.org; Fri, 06 Aug 2021 05:54:20 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628243654; bh=eBs3thehtZQNtxYQxXGzERjEXlnEhymSVDfoC0N4jRE=; h=From:To:Subject:Date; b=N2ekpJO/v8yefdAMrN46Ox34tgBVHcim/lbvqc+AGJj1b/kLUZOZQDXPy2QXWyHmh 9JpwTTT7cMM4qVXQr670CYkjdixPMCS0BzBxPDw0iHFGpGGdiXNjQGbFhrOfA+cxYl iZEhdb3eTsGtVd8fb5cDqHjlUb/D+jQtDUmFN3mI= Message-Id: Date: Fri, 06 Aug 2021 11:54:13 +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: 23 X-Spam_score: 2.3 X-Spam_bar: ++ X-Spam_report: (2.3 / 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.499, FROM_SUSPICIOUS_NTLD_FP=0.924, 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=1628243708; 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=JlnRVhFArQNGZ8ELCsi78FIZi8qYBeVOCbTdgDuaMTM=; b=iRLRoajB3mFfbcaHMr73PAz+C99sHJhXoBP+/rXqTP8fHF8yXAxvFapBSrCBRXUIwXtfdA 90Wn7nPcnK2s6DnDGpAZlv9sO/YlBfZjYUoS15eNPCSp1C/dz2HkdannS9QLW0IE6ZXrGm 6hAsqGDt78I7XRgcidQh1p8flo6fKA0XMaNzbUUoHW6OSqvQe1hPHcQ2w0MhL/J+fVxaA+ 2hN/qDCyh1C5pr9OL2KSGikXxw7eGOJxYHqKWzEHDqfOa3bufW6rjwUbCcgcxPHH8BPbQC xs7gQNox40W4XraNk11Gnhj7bA5WadGFvg3InmIYlfYnc0WeMqMiCZRw2C78yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628243708; a=rsa-sha256; cv=none; b=eMLpnwvRdYsnFy5gDTP1lLk76FseaQiYRz614V7zLNcOao/2g5dHz8WeoeOFkPq4qvCHwZ muCA7681rBneSywyceiVrxonzShgM1JnbEYBmWBXwwbztyG9VS/JNhLzf0kggQWVY8oH4F UStsfzHeOuo8bXeGq/htarczxzAZ5b6NyfveyaR3AeVgm6AkihYw+xD+QbuvXjrF4qPq1F 1IJNGcsMJHIl/Bt9P8yySY7sfm0V4bGkmdaH5lUgP4ealsxwUK9d6XPWF/E73Maq4QzZzD wRa1uFZsnWMHq3DCick1t1PzlBfPq6Rej691NAT3uSoshAnSH0+tBcmV0/bLuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="N2ekpJO/"; 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.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="N2ekpJO/"; 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: 931F61626C X-Spam-Score: -0.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 51bybAxH8DiU * gnu/packages/emacs-xyz.scm (emacs-placeholder): New variable. --- gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9cbd99b7b1..2f275fad9b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -28156,6 +28156,35 @@ provides a simple but convenient user interface to manage those trashed files.") (license license:gpl3+))) +(define-public emacs-placeholder + ;; No tags. + (let ((commit "b80cb152ddd63db40cc581eafee9d2ac08328df8")) + (package + (name "emacs-placeholder") + (version "0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/oantolin/placeholder") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ifiaxrp7inj70a3zf5137dih4b1sw38zmkp3h7dj79k2bv7h34h")))) + (build-system emacs-build-system) + (home-page "https://github.com/oantolin/placeholder") + (synopsis "Treat any buffer as a template with placeholders to fill-in") + (description + "This package provides a simple way to treat text in a buffer as a template +with placeholders where text needs to be filled in. Any occurrence of +@code{<++>} in the buffer is a placeholder. You can navigate among the +placeholder with the placeholder-forward and placeholder-backward commands. +They move the point to the next placeholder in the specified direction and +delete the placeholder so you can immediately start typing the text that +should replace it. However, if you call them again immediately after, they +restore that occurrence of the placeholder and move to the next.") + (license license:gpl3+)))) + (define-public emacs-plantuml-mode (package (name "emacs-plantuml-mode") base-commit: ead6cc03c66ed31f0ab7300fab11cef3a1e459f0 -- 2.32.0