From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#45437: 27.1; make-temp-file parameter change in emacs 26 missing in documentation Date: Fri, 12 Feb 2021 18:14:01 +0000 Message-ID: <87o8gpaugb.fsf@tcd.ie> References: <874kk9h7vp.fsf@cert.kernkonzept.com> <87mty1czy2.fsf@gnus.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="18028"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Hendrik Tews , 45437@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 12 21:44:16 2021 Return-path: Envelope-to: geb-bug-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 1lAfIW-0004Zq-Db for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Feb 2021 21:44:16 +0100 Original-Received: from localhost ([::1]:38406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAfIV-0002vN-EP for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Feb 2021 15:44:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAfIH-0002si-Tp for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2021 15:44:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAfIH-0007JP-KL for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2021 15:44:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAfIH-0004xZ-I6 for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2021 15:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Feb 2021 20:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45437 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 45437-submit@debbugs.gnu.org id=B45437.161316259219002 (code B ref 45437); Fri, 12 Feb 2021 20:44:01 +0000 Original-Received: (at 45437) by debbugs.gnu.org; 12 Feb 2021 20:43:12 +0000 Original-Received: from localhost ([127.0.0.1]:33087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAfHT-0004wP-O8 for submit@debbugs.gnu.org; Fri, 12 Feb 2021 15:43:11 -0500 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:53059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAfHQ-0004w5-5F for 45437@debbugs.gnu.org; Fri, 12 Feb 2021 15:43:11 -0500 Original-Received: by mail-wm1-f52.google.com with SMTP id l17so835595wmq.2 for <45437@debbugs.gnu.org>; Fri, 12 Feb 2021 12:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:in-reply-to:date:references:user-agent :message-id:mime-version; bh=wpHS9xDKded/kFazfdFg6+cp/TO4/7epNYcS+tRDIzA=; b=FsIaPxoVWMJus3paTzrR0yqYMboJNkiX/6jFecAeQK4c0UR50CC6ZS/Ke2UOBGnzKd WRUCB05paPOwvnfLlsyVxjgIRepe6PtiOsAbnzW9KNRoUKoaMjbGt8eTUQI2aOL3OPk/ J7DJQl7W5mOZLUCH24l0iSBaQkbwtFq0vOjmZp5sfbedhFmQvjYS6GnA/3bGkAh1Q6j8 AURDIaHSjZQ2EYH4hHBVGjWKQzpfXm/8iYrUjzxyI0GWEjVuhLf5gkscy4OlCA6166CN P4cxEHgNjlzEc0+qIFB7pefRcnxYwrr9tdV20ioE+y0bcNoLBhVraHXkzdltOQ7w0Pmq l3xg== 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:in-reply-to:date:references :user-agent:message-id:mime-version; bh=wpHS9xDKded/kFazfdFg6+cp/TO4/7epNYcS+tRDIzA=; b=kHpx0eLEj5T/Y/n5YFZuo5LiaUCoYQ04QS3ekaS/HVyBUFE8CGod/h6rlBWa19BkjX WTiulczCpKU2uiMsodewx18P/sB8le8y5ZDLVdsdl5+cJR1FehLHCatP4ltIKBHlWhV/ QyONFY6+UrDcwZ98bRw8w+xIMpP5I2dw76u6rHLcQ8FQZ1Zrf+Eumk8N+/k35Kl/R6U1 UVyxcLWXSRt7bbgfB13rVC+i5WPCLMKrIet6wZbebW5ZDcXNyrtSZRTfWSTfL7UjqtDB cE8fAN4RLjX+uQzcdxcOCJhojd/AtjS0wJvsaR5wvrkPSiEV0p/IGj4rIeE6FVlfdYwO hbiw== X-Gm-Message-State: AOAM530+LpH8Kv4zo91Xjc/16epdASH2sbM/nJ9AElzjxavEy1yZ8/sr ZBa3zk5fmctDl5EQfuxYiofPhw== X-Google-Smtp-Source: ABdhPJwH6DoFJkNcBiz+IwUYZtsCr0sjg5mQaoIusdpn1cypFhy3vRIQpm7TBhSMTJQZxayirIH8jw== X-Received: by 2002:a05:600c:2351:: with SMTP id 17mr4283282wmq.2.1613162582161; Fri, 12 Feb 2021 12:43:02 -0800 (PST) Original-Received: from localhost ([2a02:8084:20e2:c380:f410:82e8:3a21:eedf]) by smtp.gmail.com with ESMTPSA id b15sm11494735wrr.47.2021.02.12.12.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Feb 2021 12:43:01 -0800 (PST) In-Reply-To: <87mty1czy2.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 25 Dec 2020 22:56:21 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199883 Archived-At: Lars Ingebrigtsen writes: > Hendrik Tews writes: > >> the function make-temp-file was extended in emacs 26 with the >> additional optional TEXT argument. However, describe-function >> says "Probably introduced at or before Emacs version 21.1.", >> leaving the impression that one can safely use the TEXT argument >> if one wants to write backward compatible code. > > The "probably" only talks about the function itself; not about the > parameters. And is an imperfect heuristic based on searching NEWS files, hence "probably". >> Please amend the documentation of make-temp-file to mention that >> the TEXT argument was added in emacs 26. Without such >> information, it is very difficult to write code that works in a >> variety of emacs major versions. > > Sorry; we don't keep track of added parameters in a systematic way, so > that would be unfeasible. You have to read the NEWS file to determine > this stuff (or use the VC functions, of you have a checked-out Emacs). See also: https://lists.gnu.org/r/emacs-devel/2020-12/msg00371.html -- Basil