From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +BvPEp63+WQJ9gAAauVa8A:P1 (envelope-from ) for ; Thu, 07 Sep 2023 13:44:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +BvPEp63+WQJ9gAAauVa8A (envelope-from ) for ; Thu, 07 Sep 2023 13:44:30 +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 14C7E3316C for ; Thu, 7 Sep 2023 13:44:30 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PLvrtkFO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694087070; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Z8scYHnzUUuq5pKC8JR2MNWUscVWPDoJTlizZwSCwHM=; b=tFyJT1dhS4FgPzBjJOBXTahUd9uXHi88iCRcGq/IP0RqzTZFUWs4TA2eNUFO+wnCJYw34G ZJk1RrRLywhriQfE8MSAL9jWx/81jVW62HIm3yiO7ZNzogSfbli2m4letIZ/ZJHGAiGDnr rOIfYUvmLk7dz2+j6OupjwuwgO+0L6Z1VRoI2Sl8I2DUW8TgXowPpDiIb+mGw6e91hLUTd W6H/4ex6IaYd4hGCiqfULFAV3Z+75UbPHjOGyYiIHRQLffobHHK1DO+TQJ+00l9d98h+AA hPC4LOWZlFsO3Fwm5Prx1eK3julegLgzTfCfEtC7fWBr/S7dLZ2SkSi31FiRFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694087070; a=rsa-sha256; cv=none; b=l7fg8mlmWOvqJGawofZ0ZuSvFpnUhbwtGxmkK6Vr23C9GKc/NqxiOKnlx/N6IHihEZ7G0n CI686IwCDdrSVJ+iQMAsEFyjAd3d6A8Upnb0Ndki6Z2GHSlS7MowXPD0L4Mggi3Wj9Jpll ue+in3+tT0Ce+2mhfcjCf0Y+z3BsxZm8+jPSqX3TTiSOLVTciPWVltPSo7dVKNsb0jJYAa p1WnN8oBsknfljqrA/h+dtsjVu7KdFOQJvcbThnMlm4MgGM4eAcNcDu1lM8D8Gw3krgCB/ VD6Sbb0U3vRRAPWoKDdVttqviHsrcWwzPf4p7zmmtW4tmTFKhhWUydoOa144BA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PLvrtkFO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeDQD-0004YI-9Q; Thu, 07 Sep 2023 07:43:41 -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 1qeDQB-0004Y7-W7 for emacs-orgmode@gnu.org; Thu, 07 Sep 2023 07:43:40 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeDQ9-0005IK-8F for emacs-orgmode@gnu.org; Thu, 07 Sep 2023 07:43:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9A7C9240028 for ; Thu, 7 Sep 2023 13:43:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694087014; bh=l06PT7hszuSylc1biZRHOgLXKOthIiaLdW4zlFQGR9k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=PLvrtkFO435nEc+t3wRF8o8JsGGdfBE40Rbo06h3WutY5YUaBVE2dgXP2E686RWLt gxVSXb8PkpB2zaLQnStxpxhgzrdarPOCNYYSz6ToTqqFg4j5eMBliH3s95hFJbFagu 9NuIO5IMWWprxunbJEWl2PDKTtwwAhi3MeOW0w8ssa/rzdfCsSLdA6AdzjTqduSbdT bJy9XNppZB7fufJlB0d8p7XA+QjMNKUul+W6paloGlf6uuYcSac14d2OFkoPcZNrO7 7K2ZWDMy2Db+jNp5lkh8rNoASE6NQQX7RyVylJ+oo8soqHCqERrf3qguDIn7tHFcKd wf2+Ml2XDbRdg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RhHSQ1DLXz6twP; Thu, 7 Sep 2023 13:43:34 +0200 (CEST) From: Ihor Radchenko To: Rens Oliemans Cc: emacs-orgmode@gnu.org Subject: Re: Tips on reproducing and bisecting bugs In-Reply-To: <87v8cn3w9c.fsf@rensoliemans.nl> References: <87v8cn3w9c.fsf@rensoliemans.nl> Date: Thu, 07 Sep 2023 11:44:24 +0000 Message-ID: <87il8mnr6v.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -8.20 X-Migadu-Queue-Id: 14C7E3316C X-Migadu-Spam-Score: -8.20 X-TUID: 5JLURflaAw7C Rens Oliemans writes: > Thanks for creating and maintaining Org mode, it's great. I tried helping out recently by > confirming and bisecting a reported bug > (https://list.orgmode.org/CAMJKaZz6sRDOxV6rhmdM97enhYsNTodtcTCZNn1ZbQUk3GH9Lw@mail.gmail.com/), > but am not sure if what I did was actually useful, and if so, how to do this more > efficiently. Thanks! Confirming bug reports is always helpful. Bisecting is also helpful, but usually requires more work that is not always necessary - some bugs may be fixed very quickly, quicker than the time needed to complete git bisect, using Elisp debugging tools. We usually use bisecting as the last resort, when it is not clear what is causing a particularly mysterious bug. > I have the orgmode repo cloned, and build orgmode with `make && make vanilla`. When > bisecting, I manually navigate to and load the required init.el and reproduce the bug per > commit. It seems that parameters passed to `make vanilla` are not passed to emacs. Is this > how you would do it, or do you have tips to improve this workflow? Additionally, how could > I do this for different emacs versions? You can use "make repro" command that, in addition to creating a clean Emacs environment, sets up some debugging tools. See https://orgmode.org/manual/Feedback.html#Feedback I usually reproduce things using make repro REPRO_ARGS="-l /path/to/init.el /path/to/bug.org" EMACS=/path/to/specific/emacs/version > If it wasn't all that useful, what can I do to improve this? I have a little bit of lisp > knowledge, but no experience with the orgmode source code (yet). You may also check out https://orgmode.org/worg/org-contribute.html And feel free to ask questions, if something is not clear. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at