From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MIotLGx8AmV0dgEA9RJhRA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 05:22:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MIotLGx8AmV0dgEA9RJhRA (envelope-from ) for ; Thu, 14 Sep 2023 05:22:20 +0200 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 6C94359A23 for ; Thu, 14 Sep 2023 05:22:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=AyaR+jWU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694661740; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DlzG5AJ3r9Hqx8fYha5QAMcOMdRPf1yS/TCZyeVjBcc=; b=so6yKaSlzxYZKTI3iw/y4KSRN8+IKov0StuY9sJ8PBAIfv+2J3eeweFI4JIbzuiU/svbik oApBt30sLsZ4TcGncP2mvW6afQU4Nb08DKFhcUjoHZPskGr/gZxrNmeAcpk9gKPgvj8C7z 6+BK2Cxhc3UrOOrC1yE8LxNqKcrIC8tj6mvZM2lGfOZJf9WBJ4XXRzNC8JVaxRTcAmKkU+ xx+STmPY/wqmdQ4XLI5NKgc7VJrDTrj2zXfs9DWtzTuiSWiCGlyuY53xsZkT8IhsKwhTMk phk7DXzu9o99FAdO64p1+sU2ir2mG1e0wBQR/mH0GJIXBn93kBX21ObWfzNTrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694661740; a=rsa-sha256; cv=none; b=NheyltVPnk2hHVZGvLhpaZqBmVDxwZa+bzEJSnKrmb6YdXo2091CmyoRR4p5fmNv02vmpJ oLzK+ulQai7xZxaOfezAcbcgXSPJ76O2hoiAyXf3w7TmsXbyLcZLZPeVAqEpq+SXl58eDq ldAdYNwyuHUDEmKQBjOE7+2cCnYWV2Q7tM6uN4C+QAxzUDg83trnS+WTvKjehcSBBn0AXv DdbVQTaf4p/Y/Vqub0bbqBrkT9OEtKGNhZfKcZtT37A5p7yweAQoO6cVnu0xYOFbzpD+dg TDxZU5uDbOOsJL4A3484vnCg2dFDzFIIH7sM3PKFMoO+85HWNo4BEunsVIUltw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=AyaR+jWU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgcvW-0000ig-2x; Wed, 13 Sep 2023 23:21:58 -0400 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 1qgcvU-0000iT-TF for guix-patches@gnu.org; Wed, 13 Sep 2023 23:21:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgcvU-0001fN-LW for guix-patches@gnu.org; Wed, 13 Sep 2023 23:21:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgcvZ-0006Na-SC for guix-patches@gnu.org; Wed, 13 Sep 2023 23:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65883] [PATCH] .dir-locals.el: Update bug-reference configuration and document it. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Sep 2023 03:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65883 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 65883@debbugs.gnu.org Received: via spool by 65883-submit@debbugs.gnu.org id=B65883.169466167224460 (code B ref 65883); Thu, 14 Sep 2023 03:22:01 +0000 Received: (at 65883) by debbugs.gnu.org; 14 Sep 2023 03:21:12 +0000 Received: from localhost ([127.0.0.1]:36434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgcum-0006MS-54 for submit@debbugs.gnu.org; Wed, 13 Sep 2023 23:21:12 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:59601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgcuk-0006M0-3D for 65883@debbugs.gnu.org; Wed, 13 Sep 2023 23:21:10 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-76dbe786527so33927685a.2 for <65883@debbugs.gnu.org>; Wed, 13 Sep 2023 20:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694661658; x=1695266458; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=DlzG5AJ3r9Hqx8fYha5QAMcOMdRPf1yS/TCZyeVjBcc=; b=AyaR+jWUi6g0KKt89LIo8deQ/2ld/NNYnawtVYClNAcha24SCmkohJ2bguJfd91070 fs6+eXwk/PB9gOy4WYXxwKPniCmHm884+YN1//0cGsnnpYWUoJtS83Q0Bh5B5aysM/h/ CZz3FRO2m82YigwM/l6Is6uKmsTr/uH5vLC+HpOUKldvVDHauCMyO6qyMWQVxo1XST3Z w8+ugcgMzr6ojdXIP+NSN3gqpz/kn3mAWLXPkOELbVZqS4qdKNXn7atINtMsjKv6psw1 ZVilWyovuywGQeDa0bm/hZR2hC0Nh+8nx34vTLryfbLIe1ehmM7euCmfAjkq0GDTdQcN U9VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694661658; x=1695266458; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DlzG5AJ3r9Hqx8fYha5QAMcOMdRPf1yS/TCZyeVjBcc=; b=ErzCnUZ+EmGjEzWe4ePTUaicqezEsNXPEUfqjA8n8QVduIvtFS/XGmTMWHEuuxjjJe gJB7lbB/VmK+33QVm1PnBDXstT0468wOS0XHTLGNjPWG2XPi2GmsYgSANADLC/uzj7ps Yr1Gk959vI9bA5WhrBTrnF6ngHqLNtk7UWlWGfNYzQbomNzDyXh09usjb+whhZKFPMIP FGkkv7PoLpXTfu1c8APFBEmEgkdlZns5oyNIYpjBPUwUWXKUymtoF2OUGc5UaOXGzXYN wbu0VVctJ6NC+OpetfD6wgjIhsPfbYY993yaSlXN90w/G9T5nU3+tRAsgawdt9IPyerI 9LHQ== X-Gm-Message-State: AOJu0YyuPoxE8DHSLbPiQKsz9HVHs6rZCkarWri/0VepdU+9RkKeufIv nkYB70twhrhfPKPzTCYFIQX+Y1rlZII= X-Google-Smtp-Source: AGHT+IEdPDNFyz8/793tvbRX+Ls9u4pC7ZN51oUcUTpnSmgbOBdIKuhDLgM9Rh2wOEIHegWKh8+wwQ== X-Received: by 2002:a05:620a:24d2:b0:76f:22f7:4093 with SMTP id m18-20020a05620a24d200b0076f22f74093mr5042958qkn.3.1694661658213; Wed, 13 Sep 2023 20:20:58 -0700 (PDT) Received: from hurd (dsl-149-165.b2b2c.ca. [66.158.149.165]) by smtp.gmail.com with ESMTPSA id q16-20020ae9e410000000b00767d4a3f4d9sm193754qkc.29.2023.09.13.20.20.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 20:20:57 -0700 (PDT) From: Maxim Cournoyer References: <0f74c4468dae139ae2406b8200d0ba6bdc374455.1694490271.git.maxim.cournoyer@gmail.com> <87msxpke73.fsf@gnu.org> Date: Wed, 13 Sep 2023 23:20:56 -0400 In-Reply-To: <87msxpke73.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 13 Sep 2023 22:31:28 +0200") Message-ID: <87ttrxtp7r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 5.72 X-Spam-Score: 5.72 X-Migadu-Queue-Id: 6C94359A23 X-Migadu-Scanner: mx0.migadu.com X-TUID: 8yMWNYHq0DXK Hi, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> (nil) : Update URL. Add comment. >> * doc/contributing.texi (The Perfect Setup): New "Viewing bugs within Em= acs" >> subsection. > > [...] > >> + ;; For use with 'bug-reference-prog-mode'. Extra bug-reference >> + ;; configuration should be done in your Emacs user configuration f= ile; >> + ;; refer to (info (guix) The Perfect Setup). > > Nitpick: (info "(guix) The Perfect Setup=E2=80=9C), so one can C-x C-e it= . :-) Neat! I was wondering what's the trick to get them turn into links in Emacs. >> (bug-reference-bug-regexp >> . "\\(\\)") > > Should we add issues.guix here? No, because issues.guix ones are already URLs, opened in a browser. For Emacs users who prefer to have them open in Debbugs, that's what the documented debbugs-browse-url-regexp is for. > > [...] > >> +(setq bug-reference-bug-regexp >> + (concat >> + "\\(" >> + "\\(?:\\b\\(?:[Bb]ug ?#?\\|[Pp]atch ?#\\|[Ff]ixes:? ?#\\|\ > > I second Brian=E2=80=99s suggestion to use =E2=80=98rx=E2=80=99. That looks nicer indeed. Will review it soon. > Other than that, I think it=E2=80=99s wonderful, well done! Thanks! --=20 Maxim