From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.0.04: Feature Request: Make called-interactively-p's argument optional Date: Tue, 28 Jun 2016 12:09:23 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1467141620 19979 80.91.229.3 (28 Jun 2016 19:20:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 19:20:20 +0000 (UTC) Cc: rswgnu@gmail.com, emacs-devel To: Robert Weiner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 21:20:11 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bHyYM-0006k7-Jz for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 21:20:10 +0200 Original-Received: from localhost ([::1]:39012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyYL-0008N0-Fj for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 15:20:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyQb-00005y-0Y for emacs-devel@gnu.org; Tue, 28 Jun 2016 15:12:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHyQW-0006Zx-LT for emacs-devel@gnu.org; Tue, 28 Jun 2016 15:12:07 -0400 Original-Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:35645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHyQW-0006Zq-DJ; Tue, 28 Jun 2016 15:12:04 -0400 Original-Received: by mail-pa0-x22f.google.com with SMTP id hl6so9072542pac.2; Tue, 28 Jun 2016 12:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version; bh=oQ4IR+8sl46K/fohjqla+c3W9r9uOX7xwOg2nkVB43Y=; b=zhxe+SVCJqDZ4N/RJCTdbiloNg8/y8bWyTQWr/dehfiVPwXaTijDgAW/QEfuO6JsRd vzbBNzMWr0Vug8uZF8TGv9z+aZ6zyfJVdie4ITAHacJXuC/NSs/ZCJFiTEDeWA4xLVNX BbYcSt9F2NIyhlsk5AtFZKYh8fGxlKRjZxUvIYqCUXfLYUebQEDP2dooT6h/QD2bR1BM w1bDZ4YEiZazmsLans1UCXRLEZALMfLOhQo85ng4pQMoYr/qo0w6il2xZe1KmwLoMcNr bTAfDh2KRhDUpKKFyfD7hFyZ8lsfMqs7BYCsYZXCVdGPDkxA4WtY2LgRN+2lbjFV0Q5t FaCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mail-followup-to:mime-version; bh=oQ4IR+8sl46K/fohjqla+c3W9r9uOX7xwOg2nkVB43Y=; b=Q7Y0HwUYfJFbCbxdngS9TPtLE6oY7t+WWHgvzp9Y903PfYjBRYnzwIpCQpqYvHa2HH NxICDXNGwbOyRE53+3OHkWs08whRMj2f/N5tKI2rE+8pVvq+I9S2FR3YaNlkn313wGRP zHTN4sEdiZoLHD+lqTD0disyKTIeB4jUYAizJ1uiC92okz1D7ZJnuSLaxyZYMBMgXnqn BzjtPXBasOY2xqqT76rjl3zJHS5vLnQiGqAZKDVTfXTJTfjKrSH/sO90GsVY4+xp1hK5 Sshc8kHwjU4RaPg/b9CF+x/zciDxxforvqjPzCJ5oGVts7+UxVVl+iWuE3PW+xnl5vNt DcDg== X-Gm-Message-State: ALyK8tJ5izbRo3wJwvVlvOIViCOgVrHTeouVYKLDBVXzs+WWkGbbeg0vk1tbiynvGRTkYg== X-Received: by 10.66.171.173 with SMTP id av13mr4507379pac.117.1467141122240; Tue, 28 Jun 2016 12:12:02 -0700 (PDT) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id o193sm1402460pfo.12.2016.06.28.12.12.00 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 28 Jun 2016 12:12:00 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 340F6D02F22; Tue, 28 Jun 2016 12:12:00 -0700 (PDT) In-Reply-To: (Robert Weiner's message of "Mon, 27 Jun 2016 16:35:18 -0400") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.95 (darwin) Mail-Followup-To: Robert Weiner , emacs-devel , rswgnu@gmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204893 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>>>> Robert Weiner writes: > I have some older code with a lot of calls to (interactive-p) for which I= am > having to substitute (called-interactively-p 'interactive) to get the same > behavior with a non-obsoleted call. Visually, this does not read well to = me > and I imagine others. What do people think of making the argument optional > and defaulting it to the behavior of (interactive-p) which I believe equa= tes > to the 'interactive argument value? I like this suggestion; especially since (called-interactively-p 'interacti= ve) seems needlessly repetitive. =2D-=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBCgAGBQJXcstkAAoJEMFE2PTxn+YwYlIL/RFbLpe0lgjO65WpB+vXpF6c rRbOnFPM1w4rUtyIqBnELkYs9bDJs1XYxJQ1tbkHzDB+Rc4FT9PiaVybiAWrUAnY s332Wer5707NPfo1IMGWCK/UDvrHaTZMtI/UezcXfnYHRhxKmFtfQM5IfXrIEpEd c1IoPLhwcxjL4MFlE5oTG1cTFvyDKzU3IaLWoGb7QCsNepdt02nCN8sdGb49//hD 1LDdarXUeKicSW5HPHcToWakXpXqV7ttvxtV/ms/OCpBkNhuYum2lB1m+vFnKjUb rKgnV/fDJIbDA7sVVr+q2uI5x+hllHNILumLxstaen/PDsMZDaJj9TMOFrFV7BMK y7oXijjsyuQczRGmkquKENBVYkNsZ5wJ3ZKVp075p/LkZmHeKjNGXKfKZFCwwmQB 6Wov76leFZP4HI7FTIGa28Xf6OHQjhF7J+r7Spk/WPsG5cnjN3fv2vGejlJgcTh4 6/YZWD6ZyUVbkE2YpN562uTqqgAre1E9cFWS+HmhGw== =Yf6O -----END PGP SIGNATURE----- --=-=-=--