From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.devel Subject: Is it time to remove INTERNAL_FIELD? Date: Thu, 23 Apr 2015 11:55:29 +0200 Message-ID: <87lhhjuq26.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429783309 31083 80.91.229.3 (23 Apr 2015 10:01:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 10:01:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 23 12:01:38 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 1YlDwv-0007Hw-0u for ged-emacs-devel@m.gmane.org; Thu, 23 Apr 2015 12:01:37 +0200 Original-Received: from localhost ([::1]:39218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlDwu-0004iS-3y for ged-emacs-devel@m.gmane.org; Thu, 23 Apr 2015 06:01:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlDwc-0004iF-Gb for emacs-devel@gnu.org; Thu, 23 Apr 2015 06:01:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlDwX-0001XY-DE for emacs-devel@gnu.org; Thu, 23 Apr 2015 06:01:18 -0400 Original-Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:35364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlDwX-0001WV-5S for emacs-devel@gnu.org; Thu, 23 Apr 2015 06:01:13 -0400 Original-Received: by wgyo15 with SMTP id o15so12741749wgy.2 for ; Thu, 23 Apr 2015 03:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=YiRcD5Y0fF7ASLFxlFGiJbWMdxVWZIM5yvQ88Od7YpI=; b=wL4NWPmi5/IYqZVONnV02qvSHj9Z9RzgFgOobgoYnM28xMNR4xF7vI1EXngflG2Ws7 K6g4LyTpg5dWEHBteErEq9dsMHP04Tg4eCSUsOgM0dbsSNtGlC75LRdTwmWgLIAOYMfK 29aMa7HlTLAXh5g73LD/X2CqfHx5DflIe+IyLrxGmCOG1qiy2EwIssjQyKmXSWhZ/7G4 XMDoPxFHKuDBJsIPaFayHvJmfu5UxckU0pvuupgw0KBjIhSNNYUGp6lmXZdTzDSZl3CG TsSn8ARWWN2boDWotmpn5Rw7xZLI5MxMPi1+qO0loDxQmoEmUgsJbw872O+fzpdacbU5 q6Qw== X-Received: by 10.180.84.65 with SMTP id w1mr13655003wiy.20.1429783271371; Thu, 23 Apr 2015 03:01:11 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id jq3sm11335365wjc.22.2015.04.23.03.01.10 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 23 Apr 2015 03:01:10 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::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:185795 Archived-At: Hi all, In an effort to make the mark and mark-active be window-local (like the point) and not buffer-local, I've started learning the way that the Emacs C code is organized. This macro looks to me as more confusing than useful: #define INTERNAL_FIELD(field) field ## _ It's got <200 uses, and this comment, dated 2012: /* Deprecated and will be removed soon. */ Can I remove it? I suppose the way to do it is just to expand all occurences? Oleh