From unknown Fri Jun 20 05:30:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#42022 <42022@debbugs.gnu.org> To: bug#42022 <42022@debbugs.gnu.org> Subject: Status: --print-data-base should be unambiguous and more easily machine-read Reply-To: bug#42022 <42022@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:30:05 +0000 retitle 42022 --print-data-base should be unambiguous and more easily machi= ne-read reassign 42022 emacs submitter 42022 "Daniel Colascione" severity 42022 normal tag 42022 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 23 11:43:41 2020 Received: (at submit) by debbugs.gnu.org; 23 Jun 2020 15:43:41 +0000 Received: from localhost ([127.0.0.1]:36981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnl5J-000717-1E for submit@debbugs.gnu.org; Tue, 23 Jun 2020 11:43:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:50436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnl5F-00070y-Lm for submit@debbugs.gnu.org; Tue, 23 Jun 2020 11:43:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnl5F-0005F5-2U for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2020 11:43:37 -0400 Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:50850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnl5D-0001Rg-7f for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2020 11:43:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:To:From:Subject: Date:Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=xFIEBlZ5Ydi0J7KH0MTozJUJV2tmdT5CBJ86gMwG9l4=; b=O BjQQDEUHykZhZDLgKkv/nMVQTghppJrfevKldaN9tWjVpWKa5e8KOiTypmmsu0M+dB2tNpSp7wj7n 1sGdjOtaXErz2AWwGe6cyJT4jgG+3OIuiD44jMmLjiX5nThQHsCuButx+tHuv+pEMXxSLTJX45f5k qJSl+AO6/PWCnQvvYI7HGTDAVnELdhagJsoLQfBTRZNjCX1XLfrcOQRUSc4fL8zzkP7e+E5qVE0ID qgNdkCTmeux3Bu2+Kx5M5rL5OzaMouxG81mAL/6u2qshVHYcPp7PNCQtCYAeV4YVwNp1AU8eDyoR/ fX69VQGYJ4EuqfaDpOx6xEhD0ZmRCXjQA==; Received: from localhost ([127.0.0.1] helo=dancol.org) by dancol.org with esmtp (Exim 4.89) (envelope-from ) id 1jnl58-0007aA-KH for bug-gnu-emacs@gnu.org; Tue, 23 Jun 2020 08:43:30 -0700 Received: from 127.0.0.1 (SquirrelMail authenticated user dancol) by dancol.org with HTTP; Tue, 23 Jun 2020 08:43:30 -0700 Message-ID: Date: Tue, 23 Jun 2020 08:43:30 -0700 Subject: --print-data-base should be unambiguous and more easily machine-read From: "Daniel Colascione" To: bug-gnu-emacs@gnu.org User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Received-SPF: pass client-ip=2600:3c01::f03c:91ff:fedf:adf3; envelope-from=dancol@dancol.org; helo=dancol.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's occasionally useful to parse the output of make --print-data-base, e.g., for tab completion. Unfortunately, the current (well, 4.2, but I don't see that it's changed in 4.3) output format prints [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=dancol%40dancol.org; ip=209.51.188.17; r=debbugs.gnu.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2600:3c01:0:0:f03c:91ff:fedf:adf3 listed in] [zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.3 XPRIO Has X-Priority header X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's occasionally useful to parse the output of make --print-data-base, e.g., for tab completion. Unfortunately, the current (well, 4.2, but I don't see that it's changed in 4.3) output format prints [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2600:3c01:0:0:f03c:91ff:fedf:adf3 listed in] [zen.spamhaus.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=dancol%40dancol.org;ip=209.51.188.17;r=debbugs.gnu.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders It's occasionally useful to parse the output of make --print-data-base, e.g., for tab completion. Unfortunately, the current (well, 4.2, but I don't see that it's changed in 4.3) output format prints newlines in variable definitions verbatim, making it possible for variable contents to appear (from the point of view of a --print-data-base output parser) to be makefile directive. For example: # Begin spoof.mk define nl endef spoof:=$(nl)$(nl)\# Files$(nl)$(nl)foo: bar$(nl) # End spoof.mk Make should emit variable variables in a form that cannot be confused with makefile directives. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 24 09:34:20 2020 Received: (at 42022) by debbugs.gnu.org; 24 Jun 2020 13:34:20 +0000 Received: from localhost ([127.0.0.1]:38002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5Xg-000318-FC for submit@debbugs.gnu.org; Wed, 24 Jun 2020 09:34:20 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:41833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jo5Xd-00030u-FF for 42022@debbugs.gnu.org; Wed, 24 Jun 2020 09:34:18 -0400 Received: by mail-qt1-f193.google.com with SMTP id g13so1631766qtv.8 for <42022@debbugs.gnu.org>; Wed, 24 Jun 2020 06:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Sv5u6DcqzlMzdNVCpbTxFZpNKIW5hG8L6gATN3wkix0=; b=CX0hh+CdWvvUgpSxuR3gHr+ZA4OBOMzP15/cWkL1SrqcalZTOw+P0q5xFHvWlA/XcY WE4PLZmUSlK08RxuaQHdFxLdC9OtZrJudWLvGxynCDRRUBwIteh7cRLSMRhFntRpGhtA 7Ye3ibDmjMWLaPAT+cAzFe2HDFHTeEJqSoJY4uIuV7cBMilt2n4Hik9TUvn4USKE3KVt Awulv2ewaJaVhT23MaCIR8/5QhieLly6y9pGlx3zveFZwONDoZQhyGvXJiG7axLrKLv3 hCrl7f+olqQHhmuI7LOv18FmexwiudUJOP1pFoWQrAgOCYu/VgKMeoYqwpFMQF+6c5nT HMQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Sv5u6DcqzlMzdNVCpbTxFZpNKIW5hG8L6gATN3wkix0=; b=kHHp9LXvDAy2NfgiDNifkc8Gs7VIat+MM20HXUtTjgSfLS8z2+iyy6nKnAPFJFf1Jk Nmi0c1BJRU8ApfuJtokc2Saj+XCFOSl6N2B2BYfKUmvLZZIXwEp1LyYggFhL1pwEvJQ5 H14TCg6UTUuACRzwVi6rmfzloNbDIWQQdJnxF8wsw6jkcNfWbxM7/sVX9cAX1s7aBpYt hXu59rSdtKmnfBZNimvC865gv7raLOFa2cmpLPQOAFIfHjUdKviBLNl3lMGRmD1NJucD xQontCtn+Tx0DsMWiUGoyDtRhPe9QOndGsaN4fNBNQukLTjB9sz+xaSpty+dOfVM/1PF HjRQ== X-Gm-Message-State: AOAM530xTX6hIH+xV5z2m2mtlB/zeWTZY2dPFt98XlMRi5B4MSpwdDiD ZLFuJHm5uKlLvgENEbISPT8cGlqb X-Google-Smtp-Source: ABdhPJzL0UUOUwW4giEAwY2wbPUZT9jbaX1OTqIeI37SabHwSSNBMeymtR6ElioFv5uIOjrAxFrIJg== X-Received: by 2002:ac8:7768:: with SMTP id h8mr548952qtu.232.1593005651651; Wed, 24 Jun 2020 06:34:11 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id k26sm3186800qki.98.2020.06.24.06.34.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jun 2020 06:34:10 -0700 (PDT) From: Noam Postavsky To: "Daniel Colascione" Subject: Re: bug#42022: --print-data-base should be unambiguous and more easily machine-read References: Date: Wed, 24 Jun 2020 09:34:08 -0400 In-Reply-To: (Daniel Colascione's message of "Tue, 23 Jun 2020 08:43:30 -0700") Message-ID: <85r1u4fuzz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42022 Cc: 42022@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Daniel Colascione" writes: > It's occasionally useful to parse the output of make > --print-data-base, e.g., for tab completion. Unfortunately, the > current (well, 4.2, but I don't see that it's changed in 4.3) output I guess this report is intended for GNU Make, you can create it at https://savannah.gnu.org/bugs/?func=additem&group=make From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 07 14:25:11 2020 Received: (at control) by debbugs.gnu.org; 7 Oct 2020 18:25:11 +0000 Received: from localhost ([127.0.0.1]:58049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQE7j-0006g3-7w for submit@debbugs.gnu.org; Wed, 07 Oct 2020 14:25:11 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:41727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQE7h-0006fp-MZ for control@debbugs.gnu.org; Wed, 07 Oct 2020 14:25:10 -0400 Received: by mail-qt1-f174.google.com with SMTP id j22so2791541qtj.8 for ; Wed, 07 Oct 2020 11:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=cPKJ6ONuwVb50aYqRQaANBj07hh5GyOuyNvqeAuzVSY=; b=owHWzAcDpmNoJJIXWh2PQd/ed/iw70a3HglrpSYy20wdgN0GcgNMpoKTeouDeI2chU 6gol3k5biSsI1eBNZal/3FI+CSmnq2KX/xkwTALpkJ2ymZMNho22FBkiR5HCht7bH5uT 3HHlOicPKa712y6SGsG6Tgol2lzhdKNQFnI5pF5FaeQsfUB01tPYZY22ofnvSSGIXmKc jyVwVzyvOFaEbRhsU8TA3WI8AGGYCDcp9TsZr030tNG7zgUEAQCaSV7AZuzdLiDo1REw Y3N4GsOPwgUARb+VaqDlYAM/rulALDHCOfZQaid9r0bWWiLHxb7Ino1lyt5MU/wogo9j h2Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=cPKJ6ONuwVb50aYqRQaANBj07hh5GyOuyNvqeAuzVSY=; b=jvaBrMxnZgC1zdK2HYdHakYYqFwYQ/YYg61veyQaMJPh2kwwYsZM5A3q3YXi7RSwve VjGIKqlCEriXnC7mwofqtauzgIekMvJhxk7xLm5HAWG9mwVGiqdfEeeJcWjqSAfBRvcX KTY3jOJEMrH4havtk7VwDvSaQasxO9kQ6Qme8xKa1tdjrFysmWlhtBDZGlOSSVFOr73s ZsgUkNbFht4g1+jcPTWo9YIG4e/wmcX3STLx9CLCmHSleuFTmXVDE3Qr+UJVR1WWlA96 Ht3JXZMd9IZh1zcZuJ7ViUO/e94MvJADLYjmX3/q59pmtPdv+Lb/w8QR856GdezQDNa7 4/fg== X-Gm-Message-State: AOAM532WthWYyeGsnOWrgy9LW672GhlfQtEwKFCd2woSNuUJ9BXymu1w XbW/RmWZIwHjgVmZtpZcO2iosh8XdsE= X-Google-Smtp-Source: ABdhPJxDlTG6uVjb6Gn4Ad6ckBt/z5pXllJacwkktiKj9uD1+De6NijFKSsnHbDJzRtZxwvl1znGHg== X-Received: by 2002:ac8:743:: with SMTP id k3mr4717309qth.182.1602095104073; Wed, 07 Oct 2020 11:25:04 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id x5sm1321447qtk.68.2020.10.07.11.25.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Oct 2020 11:25:03 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #42022 Date: Wed, 07 Oct 2020 14:25:01 -0400 Message-ID: <85imblyjuq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) # Not an Emacs bug tags 42022 notabug close 42022 quit From unknown Fri Jun 20 05:30:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Nov 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator