From patchwork Wed Jan 2 16:03:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Hondet X-Patchwork-Id: 647 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3B918169F7; Wed, 2 Jan 2019 21:10:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id CA671169F6 for ; Wed, 2 Jan 2019 21:10:12 +0000 (GMT) Received: from localhost ([127.0.0.1]:47384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1genmG-0008AV-8v for patchwork@mira.cbaines.net; Wed, 02 Jan 2019 16:10:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1genm7-0008AJ-KB for guix-patches@gnu.org; Wed, 02 Jan 2019 16:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1genm6-0003XF-Hw for guix-patches@gnu.org; Wed, 02 Jan 2019 16:10:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1genm6-0003VV-7y for guix-patches@gnu.org; Wed, 02 Jan 2019 16:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1genm6-0005Cy-1R for guix-patches@gnu.org; Wed, 02 Jan 2019 16:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33956] [PATCH] gnu: Add emacs-tldr. Resent-From: Gabriel Hondet Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Jan 2019 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33956@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154646340120013 (code B ref -1); Wed, 02 Jan 2019 21:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2019 21:10:01 +0000 Received: from localhost ([127.0.0.1]:45020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1genm5-0005Cc-3D for submit@debbugs.gnu.org; Wed, 02 Jan 2019 16:10:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1genm2-0005CU-Nr for submit@debbugs.gnu.org; Wed, 02 Jan 2019 16:09:58 -0500 Received: from lists.gnu.org ([208.118.235.17]:33247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1genm2-0003Ki-6n for submit@debbugs.gnu.org; Wed, 02 Jan 2019 16:09:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1genm1-00087w-1d for guix-patches@gnu.org; Wed, 02 Jan 2019 16:09:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1genlz-0003B6-To for guix-patches@gnu.org; Wed, 02 Jan 2019 16:09:56 -0500 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:43541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1genlv-0002Xr-TF for guix-patches@gnu.org; Wed, 02 Jan 2019 16:09:52 -0500 Received: by mail-ed1-x544.google.com with SMTP id f9so27292565eds.10 for ; Wed, 02 Jan 2019 13:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=8MOzlIHo7zv0Ina2wPO54XHMfGTMH38E54BQoTJbRik=; b=bY4Qs7LLRXWbxX+VMlgmuHxHtJ9d853yZvBpFdGHu2c0+pn8UDmiDJH7ml6RJ38HIW ENY9o+4+l0VqPl7zY2kubT8pv2ML55hqDdnj0gOtjBY0W1Ti649Y0PBEow9McpdEojQ5 qgglM53OB4PJikt49JcawyKxHjuhwzdqP98VM4Mqm9v5dT5qJngHIZved1Mbmhvq1He2 Bq8NLxGrOOzMWQbrJA3EmEaEZ9K7EGFHtCITsvwjxHsFfm3Ymfd0PPHL05IHp61h0Gfv lPFR0K99XhSy0cbO4pGO9tyHfJ9BKv+RD76OyzLLZajUDVK52DQDDnUtvGiEzQDBXx0i 0bjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=8MOzlIHo7zv0Ina2wPO54XHMfGTMH38E54BQoTJbRik=; b=DX6nF1kBWTSu4eksZLlg2M8QVVUb2/auVC245hxz3AtQhs1Wxne7JolX/xpF6Kjf/q Eml0TV555tJKb+l6nr6zPUYf4RbIRa5LCkqkHfyhIsGzxI7yzzJ75v02UOqyHV2fCnNR /cMMM9LNCSp5L7ZqLeuF1skBjVSDOaFoECYicTAZQDviJT8q2yl56UEdz+rVhxLvpqrF isQlC77iI/puTj/U+9WrHw+3O4mvNKnUoOPRZcJ7Slsrcq/vwd01SooXwDpQ9wk2W5/G sV3rnrHJDauVeoTOVveFc302wJSHpbQehANE2mMAp1kqpnWmkBvCSI1Pcyjje+gluHA/ nfXQ== X-Gm-Message-State: AA+aEWYQ4ujWsiPq2UrKH0mYx2MNJo9qmvcjlQrYPUG4XFYn10Usxv6j mWtkCBDjwMrdmKfD2fTpiV2U8xbx X-Google-Smtp-Source: AFSGD/XP6d2WF/J7aJnbOHoPg6DLZLuZCU9s6s/CaMfgievLsDkc6WNsBkU9O6Q5cUs+FyH8XnNi0w== X-Received: by 2002:a50:acc3:: with SMTP id x61mr40100064edc.76.1546463382783; Wed, 02 Jan 2019 13:09:42 -0800 (PST) Received: from glht-x240.gmail.com (2a01cb04062c860044e3e8429e102378.ipv6.abo.wanadoo.fr. [2a01:cb04:62c:8600:44e3:e842:9e10:2378]) by smtp.gmail.com with ESMTPSA id u7-v6sm12264849ejb.65.2019.01.02.13.09.41 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Jan 2019 13:09:41 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Gabriel Hondet Date: Wed, 2 Jan 2019 17:03:32 +0100 Message-ID: <87ftuaix63.fsf@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs.scm (emacs-tldr): New variable. --- gnu/packages/emacs.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index ffb5a1518..58c6e718c 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -12961,3 +12961,25 @@ other frame parameters.") (description "Emacs major mode for editing Arduino sketches.") (home-page "https://github.com/bookest/arduino-mode") (license license:gpl3+)))) + +(define-public emacs-tldr + (let ((commit "398b197c8d2238628b07e1b32d0f373876279f4c")) + (package + (name "emacs-tldr") + (version (git-version "0" "0" commit)) + (home-page "https://github.com/kuanyui/tldr.el") + (source (origin + (method git-fetch) + (uri (git-reference + (url (string-append home-page ".git")) + (commit commit))) + (sha256 + (base32 + "0iq7qlis6c6r2qkdpncrhh5vsihkhvy5x4y1y8cjb7zxkh62w33f")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (synopsis "Simplified and community-driven man pages for emacs") + (description "@code{emacs-tldr} allows the user to access tldr pages +from within emacs. The @code{tldr} pages are a community effort to simplify +the man pages with practical examples.") + (license license:wtfpl2))))