From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: Suggest: dont declare interactive-p obsolete Date: Thu, 19 Nov 2015 09:32:29 -0800 Message-ID: References: <83wpte80t2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447954385 3883 80.91.229.3 (19 Nov 2015 17:33:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2015 17:33:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 18:33:00 2015 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 1ZzT4s-0001Dr-MR for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2015 18:32:58 +0100 Original-Received: from localhost ([::1]:43177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzT4r-0007E9-SU for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2015 12:32:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzT4Z-0007Dr-Dn for emacs-devel@gnu.org; Thu, 19 Nov 2015 12:32:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzT4V-0006Jq-BO for emacs-devel@gnu.org; Thu, 19 Nov 2015 12:32:39 -0500 Original-Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:34414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzT4V-0006Jg-4r for emacs-devel@gnu.org; Thu, 19 Nov 2015 12:32:35 -0500 Original-Received: by padhx2 with SMTP id hx2so87225943pad.1 for ; Thu, 19 Nov 2015 09:32:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=JoSn26V6QC4DywrDzodNtj6XJGM/WAW9wUyNT8EE/gY=; b=kM/lWc+WUPOVs++DYtdm5j7n5YNv8U4MON5XH2jzD/iF8+RvwnrjZ8/cmzD9+HOgm2 NS3sxfoOZNojF0nfv7FsdYCMl+UpSkSSQc5wg3sRWHWVjFcNzMRDD1tBC5KnTQ9tqVWC PQ+n0E9ky5ZIijJfqYJ6jeBTIEx1eK/jOso7MLnrtstZWb4eZ8hf5ojzCFlGyBKakYPJ 43r/tmVh4Znpqr3MgN1pYy1qQ0uD+OcSyQ3OTqqXyot1CSzm40trjGhU227j5xDaA5u7 naMqZTqv5230h2pA5xwI11e8f0YUi3epYZG5YYUVGss6Zny5sREUNZ8GsOV3hMv0Fk+H 7miA== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=JoSn26V6QC4DywrDzodNtj6XJGM/WAW9wUyNT8EE/gY=; b=nBH6L0mGNDyuvbBnICdMZ4y/REjplm76ffkerIXrrCEkccdzRKjB/eS/ZfebYX83Sd Jkwzw9tRIOfjkH5ewhVRF12S3yzoWCzBxoTaPYmLqDndcBCdntadMgIa9Ru4o2jDxR2a 7fiiOHxIVUYFZuT8OyB4C0eorwfbKuE62/zbbhGkmtlWEC46es/3lSIh9bPT4YJhEWk6 mMOEsLxWOK/SCon4VGraLmTkpcJA4/zLg6bD/eHCcHRn52B05/N3eWnEqwkoqwi+mJRW 2RB1OB81GHjIgtVTSO8MXuuSmc7HQFKMpjy71eXMq/YlVnpJI/GJsU3RR8OJe8tc5ifP CjIw== X-Gm-Message-State: ALoCoQnqnU1NZlwKpU/F4ZcfyJYCpwSjgGjF0U2O8Xsw93ahyedRVz1ao5szavEJwnA+C5WoN8tf X-Received: by 10.68.234.166 with SMTP id uf6mr12283940pbc.126.1447954354417; Thu, 19 Nov 2015 09:32:34 -0800 (PST) Original-Received: from raman-glaptop2 ([207.198.105.24]) by smtp.gmail.com with ESMTPSA id jj5sm12069857pac.4.2015.11.19.09.32.32 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 19 Nov 2015 09:32:32 -0800 (PST) In-Reply-To: (John Wiegley's message of "Thu, 19 Nov 2015 08:25:40 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194804 Archived-At: Cleaning up those places would be a good first step. Then we could nuke the definition in subr.el. At that point, we should still revisit what the right API to expose for this functionality is -- as others have pointed out-- the present option (called-interactively-p 'interactive ) is awkward and hard to discover as an elisp developer -- and even if you discovered it -- you'd run screaming in fear. The net/net of the documentation of called-interactively-p is that you should essentially only use it as (called-interactively-p 'interactive) -- if that is our intent -- why not provide that as a high-level call? Let me make it clear -- I'm not asking for this because any o fmy own code /libs depend on this -- they dont -- for the record, called-interactively-p as implemented does not work in any form for my own use-cases:-) --