GNU bug report logs - #68402
[elpa/csv-mode] [PATCH] Add option to turn off the "Region OK?" prompt

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Simen Heggestøyl <simenheg@HIDDEN>; Keywords: patch; dated Fri, 12 Jan 2024 13:53:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 68402 <at> debbugs.gnu.org:


Received: (at 68402) by debbugs.gnu.org; 19 Jan 2024 13:03:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 19 08:03:55 2024
Received: from localhost ([127.0.0.1]:57818 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rQoXK-0000w8-UR
	for submit <at> debbugs.gnu.org; Fri, 19 Jan 2024 08:03:55 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:5713)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1rQoXJ-0000vh-1h
 for 68402 <at> debbugs.gnu.org; Fri, 19 Jan 2024 08:03:53 -0500
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 33C69100068;
 Fri, 19 Jan 2024 08:03:45 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1705669424;
 bh=sFs3sWgD1WY0nB9TcCpRGXEDhi7O4yb+/w6DrwGiF6o=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=UqGzBWd5ZMcJDybwwCn0BHhLHOa2PTBz2hXAd3wPxc6dlcnSn4ChJbzmH8yJmn5f3
 pZbrwvuOxldKejqOy3nN7uUqFUj7u/ifqWJeCZN2EBOhF3nGbvqXRcS9aPAz81ygDm
 oRvw0TSNUTsX+fS6cCD54KOeuwoGS47/neYPz5BCBoV/mcx3BNactXaK01M4qp5yl8
 JBdsXZBDtpmIQG9oOBVhQfwNj0xZzLaAcnJ0XZoQk5fRtnV3zKmuXxBlEeGSZR3lZU
 lcc+Zd4H0UBU69LMiU0u7TFrPvrGXc/yks1DL/Q4ejHnlF331xSqmGZnu4s1FbTDvL
 vkYNyuLfrHWWw==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4A1D910004C;
 Fri, 19 Jan 2024 08:03:44 -0500 (EST)
Received: from pastel (104-222-114-253.cpe.teksavvy.com [104.222.114.253])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 24312120A44;
 Fri, 19 Jan 2024 08:03:44 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#68402: [elpa/csv-mode] [PATCH] Add option to turn off the
 "Region OK?" prompt
In-Reply-To: <83h6j9wxjj.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 19 Jan
 2024 10:13:36 +0200")
Message-ID: <jwv8r4l5ve6.fsf-monnier+emacs@HIDDEN>
References: <87jzoeveu8.fsf@HIDDEN> <83r0imiqpa.fsf@HIDDEN>
 <87bk9qblki.fsf@HIDDEN> <83frz2im6w.fsf@HIDDEN>
 <87a5p121yx.fsf@HIDDEN> <83h6j9wxjj.fsf@HIDDEN>
Date: Fri, 19 Jan 2024 08:03:43 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.431 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 68402
Cc: Simen =?windows-1252?Q?Heggest=F8yl?= <simenheg@HIDDEN>,
 68402 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> As far as I can tell, :version denotes the Emacs version. But maybe
>> :package-version would have been appropriate to use here? I don't see it
>> used for any of the other defcustoms in csv-mode, though.
>
> Stefan, how does customize-changed deal with defcustoms of ELPA
> packages?

As Simen found out, there's `:package-version` for that.
Many packages don't bother to use it, tho.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.

Message received at 68402 <at> debbugs.gnu.org:


Received: (at 68402) by debbugs.gnu.org; 19 Jan 2024 08:13:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 19 03:13:50 2024
Received: from localhost ([127.0.0.1]:57404 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rQk0c-0006Dc-GD
	for submit <at> debbugs.gnu.org; Fri, 19 Jan 2024 03:13:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:53016)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rQk0a-0006DQ-Sy
 for 68402 <at> debbugs.gnu.org; Fri, 19 Jan 2024 03:13:49 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rQk0S-0007OQ-BB; Fri, 19 Jan 2024 03:13:40 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=kfLhVOUwteglpXiVhT60Lig1IQm2YlI8RFPU5Rzcmto=; b=T5CVrdQI0dsGfkzTye6u
 q6ZOtyxjJjMAYBxJrgcc7Vfv8GYyLCy/qlKdqvSF8TwjIoipVjXmcArg4Uu36O4+hOiyY4UlPGqPw
 cXvJhHVd9FtTFatOMeTFbOt3bQC6HbRfOVOoS+E2IJOkqclTQ/JYQ87Kr/sZr9YyJSeFihIfkRDbZ
 LJQc7jN3Q0YGaIKFiLihM7XeNVUzNiSnimt3KUEBeCIBdzuw02uKz0BLLOFX8eOE6bM5r2IiPj4wh
 9RMTbeQ+d5o5OrabjyGf9UBvrSeIUAECcVi2PXvSQRcpN19foO4Sli+SPJa6qdQ40RHF+r9Tamnzi
 8xqOer/8y3ciXA==;
Date: Fri, 19 Jan 2024 10:13:36 +0200
Message-Id: <83h6j9wxjj.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Simen =?utf-8?Q?Heggest=C3=B8yl?= <simenheg@HIDDEN>
In-Reply-To: <87a5p121yx.fsf@HIDDEN> (message from Simen =?utf-8?Q?Heg?=
 =?utf-8?Q?gest=C3=B8yl?= on Fri, 19 Jan 2024 08:53:42 +0100)
Subject: Re: bug#68402: [elpa/csv-mode] [PATCH] Add option to turn off the
 "Region OK?" prompt
References: <87jzoeveu8.fsf@HIDDEN> <83r0imiqpa.fsf@HIDDEN>
 <87bk9qblki.fsf@HIDDEN> <83frz2im6w.fsf@HIDDEN>
 <87a5p121yx.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 68402
Cc: monnier@HIDDEN, 68402 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Simen Heggestøyl <simenheg@HIDDEN>
> Cc: 68402 <at> debbugs.gnu.org,  monnier@HIDDEN
> Date: Fri, 19 Jan 2024 08:53:42 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> From: Simen Heggestøyl <simenheg@HIDDEN>
> >> Cc: 68402 <at> debbugs.gnu.org,  monnier@HIDDEN
> >> Date: Fri, 12 Jan 2024 16:47:25 +0100
> >> 
> >> Eli Zaretskii <eliz@HIDDEN> writes:
> >> 
> >> > New defcustoms should have a :version tag.
> >> 
> >> Even in GNU ELPA?
> >
> > I thought ELPA packages have their versions?
> >
> > Is there a way to tell customize-changed that a defcustom of an ELPA
> > package is new or changed since the last version?
> 
> As far as I can tell, :version denotes the Emacs version. But maybe
> :package-version would have been appropriate to use here? I don't see it
> used for any of the other defcustoms in csv-mode, though.

Stefan, how does customize-changed deal with defcustoms of ELPA
packages?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.

Message received at 68402 <at> debbugs.gnu.org:


Received: (at 68402) by debbugs.gnu.org; 19 Jan 2024 07:54:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 19 02:54:12 2024
Received: from localhost ([127.0.0.1]:57385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rQjhc-00033Q-0a
	for submit <at> debbugs.gnu.org; Fri, 19 Jan 2024 02:54:12 -0500
Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:59244)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simenheg@HIDDEN>) id 1rQjhZ-00033C-1G
 for 68402 <at> debbugs.gnu.org; Fri, 19 Jan 2024 02:54:10 -0500
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
 by mailtransmit04.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <simenheg@HIDDEN>)
 id 1rQjhQ-004tbo-4y; Fri, 19 Jan 2024 08:54:00 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=selector1;
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:
 Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From;
 bh=AhQNEDuU7uF61IB3cWAAj6TPszpk3kEVsm58AFba9FE=; b=VrCcyqDJpkR8nrNxk14GDNo9tX
 wub+C0xQ39hVJpnd83J/C5zhnGenJZcxp3Fxc6d5VVBkPcMF4veNg6+SezwkaPqJLY3uCR7G/jil8
 kS8gq44YXDcGwQ04H3fRpPaIiGY1gr2ETDAPJiLwxUA8ewihjb3unMELfXo44FHjCI4jRF8LimMhZ
 d1s2OZFfZ6NbRWLJXZ3CN7zUfhI8b04LVLOEc6UgZs6UHII703pHxQqbfABoZ9RvkiD3VwVLOvtYR
 S3rQsj7/WVOKFrfn+2GkqZGhLuEWN+JNqewWk61Iea/x+ucqrSfhOEj599txycii4pL9oF82Rg7Ib
 PkRQNiTA==;
Received: from [10.9.9.72] (helo=submission01.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <simenheg@HIDDEN>)
 id 1rQjhP-0007f8-H6; Fri, 19 Jan 2024 08:53:59 +0100
Received: by submission01.runbox with esmtpsa [Authenticated ID (963757)]
 (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93)
 id 1rQjh9-0030mm-Q1; Fri, 19 Jan 2024 08:53:43 +0100
From: =?utf-8?Q?Simen_Heggest=C3=B8yl?= <simenheg@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#68402: [elpa/csv-mode] [PATCH] Add option to turn off the
 "Region OK?" prompt
In-Reply-To: <83frz2im6w.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 12 Jan
 2024 17:52:07 +0200")
References: <87jzoeveu8.fsf@HIDDEN> <83r0imiqpa.fsf@HIDDEN>
 <87bk9qblki.fsf@HIDDEN> <83frz2im6w.fsf@HIDDEN>
Date: Fri, 19 Jan 2024 08:53:42 +0100
Message-ID: <87a5p121yx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 68402
Cc: monnier@HIDDEN, 68402 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Simen Heggest=C3=B8yl <simenheg@HIDDEN>
>> Cc: 68402 <at> debbugs.gnu.org,  monnier@HIDDEN
>> Date: Fri, 12 Jan 2024 16:47:25 +0100
>>=20
>> Eli Zaretskii <eliz@HIDDEN> writes:
>>=20
>> > New defcustoms should have a :version tag.
>>=20
>> Even in GNU ELPA?
>
> I thought ELPA packages have their versions?
>
> Is there a way to tell customize-changed that a defcustom of an ELPA
> package is new or changed since the last version?

As far as I can tell, :version denotes the Emacs version. But maybe
:package-version would have been appropriate to use here? I don't see it
used for any of the other defcustoms in csv-mode, though.

-- Simen




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jan 2024 01:38:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 14 20:38:29 2024
Received: from localhost ([127.0.0.1]:44401 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPBvp-0006sP-AM
	for submit <at> debbugs.gnu.org; Sun, 14 Jan 2024 20:38:29 -0500
Received: from lists.gnu.org ([2001:470:142::17]:48418)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1rPBvn-0006s9-Kp
 for submit <at> debbugs.gnu.org; Sun, 14 Jan 2024 20:38:28 -0500
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 <monnier@HIDDEN>)
 id 1rPBvi-0000Za-Hn
 for bug-gnu-emacs@HIDDEN; Sun, 14 Jan 2024 20:38:22 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <monnier@HIDDEN>)
 id 1rPBvg-0006GF-BC
 for bug-gnu-emacs@HIDDEN; Sun, 14 Jan 2024 20:38:22 -0500
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 02EA310007D;
 Sun, 14 Jan 2024 20:38:18 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1705282693;
 bh=mg2e/WKeVworTcfJ+mshwai4Uikm/IfweAmSHFKKbAA=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=NYis1F4DVLY+f0i4BjZ0dhYKveoOFa4d7OvpNhH9xrvsVD+UixrVaABTyCCsF3zVz
 /wkzfCG8vcmbBZtKvdevwLH9/kr4h4L2nXc4kfzpNmpZomF1+i3+A3jEUxlISCT4Tj
 bIlCXJ4qEjgACXyUBxSfNwPX1QnhTiHiEyP8eiYohs72g3ikfTHhiQTFAdcqrwlgla
 8Wc8NHJXkj9gpztcAJJV4BQpmVPV/XBon9Hn+kFxNZdlGUzNhoHgWi7nU0Ci71Wu+k
 Gv3i2ARYB5JoOFthr4rifj8Zg4uKrf/biNy0CPH6pypLm6MXpTgwW5iM6Bx4mycwaa
 m9asXCchyAdnA==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 05B1C10001D;
 Sun, 14 Jan 2024 20:38:13 -0500 (EST)
Received: from milanesa (65-110-221-238.cpe.pppoe.ca [65.110.221.238])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id CF658120283;
 Sun, 14 Jan 2024 20:38:12 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Simen =?windows-1252?Q?Heggest=F8yl?= <simenheg@HIDDEN>
Subject: Re: [elpa/csv-mode] [PATCH] Add option to turn off the "Region OK?"
 prompt
In-Reply-To: <87jzoeveu8.fsf@HIDDEN> ("Simen =?windows-1252?Q?Heggest?=
 =?windows-1252?Q?=F8yl=22's?= message of
 "Fri, 12 Jan 2024 14:52:31 +0100")
Message-ID: <jwvwmsbcr6b.fsf-monnier+emacs@HIDDEN>
References: <87jzoeveu8.fsf@HIDDEN>
Date: Sun, 14 Jan 2024 20:38:04 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL 0.150 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
Received-SPF: pass client-ip=132.204.25.50;
 envelope-from=monnier@HIDDEN; helo=mailscanner.iro.umontreal.ca
X-Spam_score_int: -42
X-Spam_score: -4.3
X-Spam_bar: ----
X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: bug-gnu-emacs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> Attached is a proposed patch adding a new option to turn off the
> "Region OK?" prompt in interactive csv-mode commands.

Thanks, pushed,


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.

Message received at 68402 <at> debbugs.gnu.org:


Received: (at 68402) by debbugs.gnu.org; 12 Jan 2024 15:52:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 10:52:23 2024
Received: from localhost ([127.0.0.1]:37278 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOJpW-00081E-JC
	for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 10:52:22 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:44038)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rOJpS-00080z-Ct
 for 68402 <at> debbugs.gnu.org; Fri, 12 Jan 2024 10:52:21 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rOJpN-0000L5-W2; Fri, 12 Jan 2024 10:52:14 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=JM0QjnOvsqNzdLYhiCX9Y5RPOrXs3LydwHVZOs8ObQo=; b=ne7c9BiS+r6GbY9wp/f9
 mR1O8RK3gifvnjED67OvqECr+xDn5ilAIkw4cHuOzq9nf1gHJXh7iiFsXQW9uW2LiRNQBEW0e1F4F
 cmMpQFaVJG0JsA63d16nUnaK1OYOFzhSmo6ZgG8Fnc7QSv7oIR/50/QZj+5uZjuy0GOsjMlOwkZV0
 AwPp6kNdZsErhhFAGh/DIARdGMF2utE9RUp+M8MV3AP4nEompyl4C6Cz6+jirq0FaaiINhtJy3LmY
 1Kj9jZ9ysEgw2vULMIC+OqC8rjDH3NubeAoR+jNWbINsLVNF8T9R+4u4xoaLN+lsnu+IPBkr3lkQX
 J0/vgYe2OgsA2A==;
Date: Fri, 12 Jan 2024 17:52:07 +0200
Message-Id: <83frz2im6w.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Simen =?utf-8?Q?Heggest=C3=B8yl?= <simenheg@HIDDEN>
In-Reply-To: <87bk9qblki.fsf@HIDDEN> (message from Simen =?utf-8?Q?Heg?=
 =?utf-8?Q?gest=C3=B8yl?= on Fri, 12 Jan 2024 16:47:25 +0100)
Subject: Re: bug#68402: [elpa/csv-mode] [PATCH] Add option to turn off the
 "Region OK?" prompt
References: <87jzoeveu8.fsf@HIDDEN> <83r0imiqpa.fsf@HIDDEN>
 <87bk9qblki.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 68402
Cc: monnier@HIDDEN, 68402 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Simen Heggestøyl <simenheg@HIDDEN>
> Cc: 68402 <at> debbugs.gnu.org,  monnier@HIDDEN
> Date: Fri, 12 Jan 2024 16:47:25 +0100
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > New defcustoms should have a :version tag.
> 
> Even in GNU ELPA?

I thought ELPA packages have their versions?

Is there a way to tell customize-changed that a defcustom of an ELPA
package is new or changed since the last version?

> > Do we need to call this out in NEWS?
> 
> I don't think so, given that csv-mode lives in GNU ELPA?

Right, sorry.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.

Message received at 68402 <at> debbugs.gnu.org:


Received: (at 68402) by debbugs.gnu.org; 12 Jan 2024 15:47:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 10:47:45 2024
Received: from localhost ([127.0.0.1]:37273 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOJl2-0007pB-QJ
	for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 10:47:45 -0500
Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:57112)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simenheg@HIDDEN>) id 1rOJkz-0007oK-DR
 for 68402 <at> debbugs.gnu.org; Fri, 12 Jan 2024 10:47:43 -0500
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
 by mailtransmit05.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <simenheg@HIDDEN>) id 1rOJku-004Ujb-IB
 for 68402 <at> debbugs.gnu.org; Fri, 12 Jan 2024 16:47:36 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=selector1;
 h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From;
 bh=U5SG2bRuzangyrnX8Kubz/rqoM8nvn58hjQptdbTFGg=; b=t6nmmjGbt7KRGVcWJlbFJVO7bw
 aQjwSILQhA+nGgnz/bGIylsnS/QGwDjkVIRMh1eRFMZcTIhdTWdkYAY0YxEuD7nMDmjhg2Yo3x3qF
 qQ6a28jMUfzjsNBi4QSdZGH9Ow/fbo+usbRJwXnW8uov7K5Iwt6QCksSDdclPqUIEcEae97dIPPIX
 B25l2IPGbmNPpj6AvRiUpoZyxQstHactUtNN91ye5z9uVHweFX28BvF720BKJmuo1voyC4+6okg1r
 PnM2bB1OXpGCIenH7zeaUw82pblBXg0oyeolJ+pcmCSi6b+QBZfKqAWURPT7mEy55islVKfWC9GdY
 NXog5JSw==;
Received: from [10.9.9.73] (helo=submission02.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <simenheg@HIDDEN>)
 id 1rOJkt-0004LE-Q9; Fri, 12 Jan 2024 16:47:35 +0100
Received: by submission02.runbox with esmtpsa [Authenticated ID (963757)]
 (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93)
 id 1rOJkl-00GEXq-31; Fri, 12 Jan 2024 16:47:27 +0100
From: =?utf-8?Q?Simen_Heggest=C3=B8yl?= <simenheg@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#68402: [elpa/csv-mode] [PATCH] Add option to turn off the
 "Region OK?" prompt
In-Reply-To: <83r0imiqpa.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 12 Jan
 2024 16:14:41 +0200")
References: <87jzoeveu8.fsf@HIDDEN> <83r0imiqpa.fsf@HIDDEN>
Date: Fri, 12 Jan 2024 16:47:25 +0100
Message-ID: <87bk9qblki.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 68402
Cc: monnier@HIDDEN, 68402 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> New defcustoms should have a :version tag.

Even in GNU ELPA?

> Do we need to call this out in NEWS?

I don't think so, given that csv-mode lives in GNU ELPA?

-- Simen




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.

Message received at 68402 <at> debbugs.gnu.org:


Received: (at 68402) by debbugs.gnu.org; 12 Jan 2024 14:15:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 09:15:02 2024
Received: from localhost ([127.0.0.1]:35255 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOIJK-00034P-Bk
	for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 09:15:02 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50376)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rOIJI-00033n-ET
 for 68402 <at> debbugs.gnu.org; Fri, 12 Jan 2024 09:15:01 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1rOIJD-0003hg-Pq; Fri, 12 Jan 2024 09:14:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=nExyJMgF+/eR/CIAnHykGMPSQAAoyDYS8Krgf9kO6tI=; b=Jk5GRfCeyKnVReMRRWOi
 XNsstboHPoFpINCligLhr9mA86hltzOIGQdNhile3Wl1r06Y9jSlVx59XesrA2r+kez2iy/i4GLRc
 yhNsZ0iUmZhi58Zp2FxwfunNgmhsWRdFEuMK3hs+PHREdDgBkgs0pj5Ngq/rBYrmwXuSfbFdnTxs8
 ZM63R8yh7lm3cll4Sz87+B0z7gOgd0n1XZpikwv39+FOyuH9Q68tu1CceRBWVqQZieX/ZeJf2hn7v
 pp2mFDfSG8uRNcD3SfR7SW+cwwfoYNAwA0V7RqWq2LrXgkzj+ysC59YtAigk5HMgJ6QLT2xg4nn+w
 ikuapeDWcRx/Yg==;
Date: Fri, 12 Jan 2024 16:14:41 +0200
Message-Id: <83r0imiqpa.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Simen =?utf-8?Q?Heggest=C3=B8yl?= <simenheg@HIDDEN>
In-Reply-To: <87jzoeveu8.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#68402: [elpa/csv-mode] [PATCH] Add option to turn off the
 "Region OK?" prompt
References: <87jzoeveu8.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 68402
Cc: monnier@HIDDEN, 68402 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: Stefan Monnier <monnier@HIDDEN>
> Date: Fri, 12 Jan 2024 14:52:31 +0100
> From:  Simen Heggestøyl via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> Attached is a proposed patch adding a new option to turn off the
> "Region OK?" prompt in interactive csv-mode commands.

Thanks.

> +(defcustom csv-confirm-region t
> +  "If non-nil, confirm that region is OK in interactive commands."
> +  :type 'boolean)
> +

New defcustoms should have a :version tag.

Do we need to call this out in NEWS?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jan 2024 13:52:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 08:52:57 2024
Received: from localhost ([127.0.0.1]:35210 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOHxw-0008Dj-OS
	for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 08:52:57 -0500
Received: from lists.gnu.org ([2001:470:142::17]:43968)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simenheg@HIDDEN>) id 1rOHxt-0008DQ-OJ
 for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 08:52:55 -0500
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 <simenheg@HIDDEN>)
 id 1rOHxm-00053M-PQ
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jan 2024 08:52:47 -0500
Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <simenheg@HIDDEN>)
 id 1rOHxi-0000iO-Hc
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jan 2024 08:52:45 -0500
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
 by mailtransmit05.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <simenheg@HIDDEN>) id 1rOHxc-004Fbx-49
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jan 2024 14:52:36 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=selector1;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:Cc:To:From; 
 bh=rv9WgUBG9mAC7/6VQExpYXbmKvdGvaxLLFDN+G5fw+o=; b=mfMrs4+Jr/4NaGUHtruPuJdvE
 j8HoQz3o8wapNGpWCZV+Alkbo6IdrVrzacvPW/k73HzGYyJfs0ZWlaGgqR084KPi4ouptoJeeJAGU
 haelvMQKw2w6+/KQpIT1c/dRhXY6KQ1HY6GVna9MF3lo9KW4/96TgM3PFuasIyYILGEe5mS4kUr0m
 Fa3Jgbe1ugBzJf54uYTkSFN2Kir7VpfsZmdHjDDQmguzH+xW3AnAgcfY08kcv8staUmFpfIWjZXhq
 J1NRK+s1rrMZNA4ZCYkmlLVwQSCshMc3Vu7WQi5kc8zwoU7RZ5MpRtp9ktSCLkzcsqvTWJYC9ZAVI
 jhd9JPstw==;
Received: from [10.9.9.74] (helo=submission03.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <simenheg@HIDDEN>)
 id 1rOHxb-0001zb-GJ; Fri, 12 Jan 2024 14:52:35 +0100
Received: by submission03.runbox with esmtpsa [Authenticated ID (963757)]
 (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93)
 id 1rOHxY-00FPk6-DF; Fri, 12 Jan 2024 14:52:32 +0100
From: =?utf-8?Q?Simen_Heggest=C3=B8yl?= <simenheg@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [elpa/csv-mode] [PATCH] Add option to turn off the "Region OK?" prompt
Date: Fri, 12 Jan 2024 14:52:31 +0100
Message-ID: <87jzoeveu8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2a0c:5a00:149::26;
 envelope-from=simenheg@HIDDEN; helo=mailtransmit05.runbox.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Stefan Monnier <monnier@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

--=-=-=
Content-Type: text/plain

Hi.

Attached is a proposed patch adding a new option to turn off the
"Region OK?" prompt in interactive csv-mode commands.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-Add-option-to-turn-off-the-Region-OK-prompt.patch

From 359ef9582e0c30c18a7c30086f93d69b35120337 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= <simenheg@HIDDEN>
Date: Fri, 12 Jan 2024 12:06:20 +0100
Subject: [PATCH] Add option to turn off the "Region OK?" prompt

* csv-mode.el (csv-confirm-region): New option to turn off the
"Region OK?" prompt in interactive commands.
---
 csv-mode.el | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/csv-mode.el b/csv-mode.el
index 574050aa94..f639dcf59a 100644
--- a/csv-mode.el
+++ b/csv-mode.el
@@ -4,7 +4,7 @@
 
 ;; Author: "Francis J. Wright" <F.J.Wright@HIDDEN>
 ;; Maintainer: emacs-devel@HIDDEN
-;; Version: 1.22
+;; Version: 1.23
 ;; Package-Requires: ((emacs "27.1") (cl-lib "0.5"))
 ;; Keywords: convenience
 
@@ -110,6 +110,7 @@
 ;; Since 1.21:
 ;; - New command `csv-insert-column'.
 ;; - New config var `csv-align-min-width' for `csv-align-mode'.
+;; - New option `csv-confirm-region'.
 
 ;; Since 1.9:
 ;; - `csv-align-mode' auto-aligns columns dynamically (on screen).
@@ -271,6 +272,10 @@ after separators."
   "If non-nil, make separators in aligned records invisible."
   :type 'boolean)
 
+(defcustom csv-confirm-region t
+  "If non-nil, confirm that region is OK in interactive commands."
+  :type 'boolean)
+
 (defface csv-separator-face
   '((t :inherit escape-glyph))
   "CSV mode face used to highlight separators.")
@@ -557,9 +562,10 @@ The default field when read interactively is the current field."
 		    (exchange-point-and-mark)
 		    (sit-for 1)
 		    (exchange-point-and-mark))
-		  (or (y-or-n-p "Region OK? ")
-		      (error "Action aborted by user"))
-		  (message nil)		; clear y-or-n-p message
+                  (when csv-confirm-region
+                    (or (y-or-n-p "Region OK? ")
+                        (error "Action aborted by user"))
+                    (message nil))      ; clear y-or-n-p message
 		  (list (region-beginning) (region-end))))
 	    ;; Use region set by user:
 	    (list (region-beginning) (region-end)))))
-- 
2.39.2


--=-=-=--




Acknowledgement sent to Simen Heggestøyl <simenheg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#68402; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 30 Jan 2024 01:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.