From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MOf9JlC1oGFpBAEAgWs5BA (envelope-from ) for ; Fri, 26 Nov 2021 11:22:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WPbFIlC1oGFpBQAA1q6Kng (envelope-from ) for ; Fri, 26 Nov 2021 10:22: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 2DF9636E97 for ; Fri, 26 Nov 2021 11:22:08 +0100 (CET) Received: from localhost ([::1]:54242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqYMp-0002oP-D3 for larch@yhetil.org; Fri, 26 Nov 2021 05:22:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqYMM-0002ns-1i for emacs-orgmode@gnu.org; Fri, 26 Nov 2021 05:21:38 -0500 Received: from [2a00:1450:4864:20::32c] (port=44931 helo=mail-wm1-x32c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqYMK-0003dU-CU for emacs-orgmode@gnu.org; Fri, 26 Nov 2021 05:21:37 -0500 Received: by mail-wm1-x32c.google.com with SMTP id p27-20020a05600c1d9b00b0033bf8532855so6443105wms.3 for ; Fri, 26 Nov 2021 02:21:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=CCUf/ZV808DUXuJlpOHeRyJ1t84KX4dzLWzVuRW1b3A=; b=iqKFns7FWBBWwQ9e/49fB5NLD+auRtK1cqGT72mTCWDJQu1EKwF775ACZQwN4r3WwX HKipakOhpcmwKBhPgwLOu76qrLM5NmRN28RXze8nLI6+/oc2F14/ljU3F3lPxiU80mYT y3VjZJ3XZWglnVYInC4VQRPZfczzBQj3ivvafLM6WLXdhThjXIjATuFCdmOhXFbj+xLC mATPXMMDaGa/hM6Uy711+/K99qUKt4UXfWgKADvXZ+e21ftuh94H7sxiPbddjccIce20 fMmCR9kaGAZPjnEZnpn8SBRUjkwNL7aBMlp9XLaW0ttzP9XIUYjn0uYV24nf+WStbBFv RFNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=CCUf/ZV808DUXuJlpOHeRyJ1t84KX4dzLWzVuRW1b3A=; b=5G5HEAP5qsj5cl05fb8EqbWwfH17h198cHB2kO6q6eCHKN+6UViKEQZgR/kBqZT+l4 qFnAlMqJttpGHPU/kmxUCsrQf9vY5T8tUAjNvTieZgaTFRmlwOe1T1NgviHy80MOJnEw L+YHtRmlkrUYh96QwMijZohLSK37uCQzJo7MHUU/gkJOyF3aVWJg8uqU+SU7rfasWioB 5nTDdDY67FbI1Tc+OD6D8sA+rs1sSxckOGbnzY6lJdDznbM1koCDJSjuxNuTaPOoGNDv ybCGyOtkhRXHtt/rwppZu6vfzTevkmXvUdiqVoSIq+R8PnVibMYRJwq9yCqnjhT+3EEP HfWQ== X-Gm-Message-State: AOAM532YLW4BG98jGWUHTdTMeYveQ/O5QfBQb4jD5AJs6iYYNh3ld6em v6KYeI9wyEhYLMQxYWDPqmLpQB6/YYo= X-Google-Smtp-Source: ABdhPJy0Cs3W5vh/sgRQMMyGEU52SUK8lqvDSH1T7VEfBo5C98wIvFlz+FofR963NCiY/BQDRTiMLQ== X-Received: by 2002:a1c:7ed3:: with SMTP id z202mr14203664wmc.110.1637922093454; Fri, 26 Nov 2021 02:21:33 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb50:ebe2:f5e7:9e61:417f]) by smtp.gmail.com with ESMTPSA id j40sm6549912wms.16.2021.11.26.02.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 02:21:33 -0800 (PST) From: Robert Pluim To: Timothy Subject: Re: [Aside] Generating commit messages for Org References: <871r3a8svb.fsf@gmail.com> Gmane-Reply-To-List: yes Date: Fri, 26 Nov 2021 11:21:32 +0100 In-Reply-To: <871r3a8svb.fsf@gmail.com> (Timothy's message of "Sun, 21 Nov 2021 04:27:45 +0800") Message-ID: <878rxb43pv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637922128; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CCUf/ZV808DUXuJlpOHeRyJ1t84KX4dzLWzVuRW1b3A=; b=MZOjIX8ZV5Dwe3qwA0ig78A2G6Q9iJmqNanjaFsAnD6TPCZm8+JlbV9iBYmM8ZSl1F/DXV lileKXCdvg7p+WaKq7xfs6MAlzqUK3BbUV19dGrd8dv/WPLVFJSDS8wj8ze9t+7W7QNQZh BNoXFQ0lPf5wphnQx1QT0eSLSHSk8TzoWqBgz8JIakt0kKJX2pe/pxaGisD4Bm+Kp5vwka 41h9wxxdBlQtBXSLkqch0Ak5q3FzefdvXCkCJ8d7av7RHQqk0d47VrEtPr7OVUu6deUNni duvH51pz8QuPAOw5JXZ6x8fNji+MigXJYP7RsI70MjNSVjQDHmUssrEDJooLSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637922128; a=rsa-sha256; cv=none; b=cylpr2+XrOWVpuNhmKUPzzlxkNM/ig+e27UJ+0iGnmNCOBoOP+kqLsy5lb3gIY4ziu8w62 d7HxHjkEZwfhpSAPUQNLK5wHOJJ7GzvD+oXVdF7qom1rJ6/6lcF5f3nDHSwiK+AEKaGajh LhBdpqJXGC0EDCrJnDb5wodzrGl5UMxO+CbWWIh2GO/4R8N2uW7x129vjq5ogT8di2fZuJ iQNfsCK6TmfsMXjeHYG4HaGEvb99RZ4Fgn+AyTrJgHEKBY5hiy/tmqpms2R86W996/EN6z 6bhhCbUFUFxJXu85QCQwXVQ0BLcD3ullgyOt5FKYrofzepjSvpKMyUJVMr2sUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iqKFns7F; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iqKFns7F; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 2DF9636E97 X-Spam-Score: -4.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3R7DcKrYI/fx >>>>> On Sun, 21 Nov 2021 04:27:45 +0800, Timothy said: Timothy> Hi All, Timothy> A few hours ago I noticed that I=E2=80=99ve made a few very mi= nor mistakes in some of my Timothy> recent commit messages for Org. Realistically I don=E2=80=99t = think I=E2=80=99m going to stop Timothy> making occasional mistake any time soon, eve if they do become= rarer. So, I=E2=80=99ve Timothy> whipped up a magit hook that looks at the diff and fills in a = /correct/ skeleton Timothy> in the commit message buffer. Timothy> For example, here=E2=80=99s what I get if a queue a few of my = currently unstaged changes Timothy> =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Timothy> =E2=94=82 * lisp/org.el (org-place-formula-image, org-format-l= atex): Timothy> =E2=94=82=20 Timothy> =E2=94=82 * lisp/org-macs.el (org-compile-file, org-async-queu= e): Timothy> =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Timothy> This currently works with elisp functions/variables/etc. and h= eadings from Timothy> documentation files. I=E2=80=99m sure it has a few rough edges= , but it=E2=80=99s looking Timothy> promising so far. I suggest you look at `add-change-log-entry-other-window' and/or `magit-generate-changelog'. Robert --=20