From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Fwd: How do I go about debugging my Elisp code? Date: Fri, 14 Jan 2022 19:58:51 +0100 Message-ID: <87ee5aw12x.fsf@gnu.org> References: <87czku1hon.fsf@gnu.org> <878rvi1d6j.fsf@gnu.org> <87ilumus54.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21871"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.5; emacs 29.0.50 Cc: Davin Pearson , help-gnu-emacs@gnu.org To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 14 20:49:00 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1n8SZH-0005VU-5U for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 20:48:59 +0100 Original-Received: from localhost ([::1]:54970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8SZF-00016R-TQ for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 Jan 2022 14:48:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8SYk-00016I-Om for help-gnu-emacs@gnu.org; Fri, 14 Jan 2022 14:48:26 -0500 Original-Received: from [2001:470:142:3::e] (port=54532 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8SYj-0006Li-Ss; Fri, 14 Jan 2022 14:48:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=usg9AO3JELu4bJL3vPkrpT5YfNv0lkHmsA41ZpYrnow=; b=DgNhgz2w8VsTn7 EFJn0NOl7eslVnvqA9DnvyAEOA1U7ypvRK2S4eXjAurtci6UFqC9RWINZc5SnchUxs4swl5C9DSmE Qgv8tozJUPDMVLsXUPW2AG67iqgrHWb/xcaCDEIJAjR57JugtB2HC9hFIBp6xMWkXj4G3SwceaaAM ZdiZtfh5aYVNJpwVmrMcZ2tY35X+uITCF4ljQj5vSTQp5xCwU7PEJ9Z7zxrrAlsIznJNzRMUK/dze uSnEChJY6oOtp1Fn5P7qSIbBPBdng5/HcwF7joAlqWKUUMXdDL4M/MnOnguOEOB8WD1sMFlFuC9F/ zlzQJwBTEX1vM/ONZIKQ==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:46377) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8SYk-0007cQ-5h; Fri, 14 Jan 2022 14:48:26 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id 1EA3F27C0054; Fri, 14 Jan 2022 14:48:25 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 14 Jan 2022 14:48:25 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtdehgdduvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnhepve evieekteekveeigfefffeivdetgeduvdffueeuudevgedttdehvdfhueevfffhnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Jan 2022 14:48:24 -0500 (EST) In-reply-to: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135296 Archived-At: Jean Louis writes: >> So if I want to give some help-searching user the hint to reproduce >> an error with debug-on-error set to t, I should write my reply as >> given in the below? > > I would assume that your minimal contributions to Emacs are under the > same license as Emacs and simply include it how it is in my code if I > wish, but then I would say it was authored by yourself. Then in case > of complaint from your side I could adapt it how you and me think it > is alright. > > It is good to be practical. I guess with elisp, it will never ever happen that the author of some code in some posting will complain. But noting down the author along the code is a very good idea because of copyright, i.e., when you later want to contribute your package to emacs or publish it on GNU ELPA. >> IMHO, modification is usually meant as copying and adapting code. >> Setting a variable is more or less configuration. An interesting >> aspect are advices which allow modifying existing functions without >> physically touching their source code. > > Your code can be nothing else but setting variables. If your program > cannot run without main part named Emacs, than such modification > represent new work, and is thus modification of Emacs and has to carry > the license. I guess there must be some degree of non-trivialness before licensing becomes important, no? Bye, Tassilo