From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: [elpa] externals/debbugs c1934c0296: New option to prefer Magit over VC Date: Tue, 5 Sep 2023 13:30:41 -0700 Message-ID: References: <169385493568.10052.5329447591826946834@vcs2.savannah.gnu.org> <20230904191535.F097EC04DB0@vcs2.savannah.gnu.org> <87bkeg8qcx.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30493"; mail-complaints-to="usenet@ciao.gmane.io" To: Michael Albinus , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 05 22:31:15 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qdchf-0007lh-AO for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Sep 2023 22:31:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdchG-0004J0-Dc; Tue, 05 Sep 2023 16:30:50 -0400 Original-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 1qdchC-0004If-4w for emacs-devel@gnu.org; Tue, 05 Sep 2023 16:30:46 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdch9-0006iM-P2 for emacs-devel@gnu.org; Tue, 05 Sep 2023 16:30:45 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5007616b756so5094605e87.3 for ; Tue, 05 Sep 2023 13:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693945842; x=1694550642; darn=gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=Rlx8lvhctTDP209cCVeh2v8G4V9aovS0urYtp7JF53M=; b=JcRHqlMXMXZbmk2jcFMfgzsR/89ZmkrDgkHrl4ftDE5VN3GXBgiXWXRj0ig/eICCSr Qf1jv27XfiWUIQcZB90UsevbpANtnIYBrqNmo9N8rif+Tc6c438mmDvT8Lsvcm+NMDuF dLZStiwcwLYMd0KBkf1PlO8zosf76C1xRDVhocHBlJk7/xnOVsVM2ejbG5gXd1OyZ1wr F6ONtRwaHJZRdkr6E6ihPWwGAGqniFqtLI1JnTIH/2QLTjBuorPd8PiDS94ZvS4HqZV5 QRsZ1DTLNUgjB0Tx+StTLGWf7MQGl5QnnQKSwQ6Jv2RrJU42SPf50RFigfSjLxcOww7y LLcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693945842; x=1694550642; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Rlx8lvhctTDP209cCVeh2v8G4V9aovS0urYtp7JF53M=; b=YMLM3RLkpXkNZXEW0u7KDjfT/VgwXXTdXYAwCsAfSmViScjRhoD7zLlDnjqfFaWFhk 9d2dj6ylpIaDH9cLlhyzT2kiR5m9INQDfYVJtNr5EiJ0B+Tyr85OrtLDKNYyOgAl+DZG 1ktA8qrD6AbpRL8cZs9AxDKEN/0fj+HLHA6478JFUmWtWqmb8S8zdG6DjfMEjb3wrzNH kaTXPKxI/66g8jApQm57L5CcXzGAE319ltSJXlNIzJdzLxvivi5w7rpLGxS9Me4QaTIs ZDv+O4X85CrnKSuuW5VYF/cG30AiCYjco2O+U/Wzvsu7uzV9dT5v4tcsIk/jwHTyBOra o81w== X-Gm-Message-State: AOJu0Ywqgi1XpClVwqb6JV1DXtao2zOLyIE85u6o6vaHBIr+V/FI6TgB 4BsnPutcbflMKTWJpf1qQvPPsgCaBBOfDbaiVY31f48f7/0= X-Google-Smtp-Source: AGHT+IHpwjc7SkpqKq/xGbYcwcdMxnOJv5313L8aDdbFv9rnuN1teXbSnFkI7HTOf7rblrpTxfUWsm072jk5IvmlyTA= X-Received: by 2002:ac2:51af:0:b0:4fb:fe97:5e35 with SMTP id f15-20020ac251af000000b004fbfe975e35mr758609lfk.47.1693945841599; Tue, 05 Sep 2023 13:30:41 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 5 Sep 2023 13:30:41 -0700 In-Reply-To: <87bkeg8qcx.fsf@gmx.de> Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=stefankangas@gmail.com; helo=mail-lf1-x134.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310153 Archived-At: Michael Albinus writes: > Stefan Kangas writes: > > Hi Stefan, > >> New option to prefer Magit over VC >> >> * debbugs-gnu.el (debbugs-gnu-apply-patch-prefers-magit): New >> defcustom and helper function with the same name. >> (debbugs-gnu-apply-patch): Prefer Magit to VC when above new >> defcustom is non-nil. > > I believe this warrants to be mentioned in the debbugs-ug.texi manual. Thanks, I've added it. Feel free to tweak it if you think it could be made more clear. > Do you plan further patches to the debbugs package? I'm planning to teach it to use "git am" as an alternative to "patch". I think it would work better in the Magit workflow, which would basically be to apply the patch, and then inspect the result from the Magit status buffer. I'm not yet sure what to do with patches that are not formatted with "git format-patch", though. IIUC, the VC flow using "patch" handles that okay, but using "git am" would not. > Shall we release a new version? Sure, why not? Perhaps someone will find the above useful.