From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: EMACS_INT cleanup Date: Fri, 24 Sep 2010 02:07:26 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <83aan8uvy3.fsf@gnu.org> <8339t0uthi.fsf@gnu.org> <831v8kurwd.fsf@gnu.org> <83wrqctcha.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285287022 10203 80.91.229.12 (24 Sep 2010 00:10:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Sep 2010 00:10:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 24 02:10:21 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oyvro-0006Vg-QU for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2010 02:10:21 +0200 Original-Received: from localhost ([127.0.0.1]:55001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oyvro-0004pk-7k for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 20:10:20 -0400 Original-Received: from [140.186.70.92] (port=58451 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oyvrj-0004oC-1q for emacs-devel@gnu.org; Thu, 23 Sep 2010 20:10:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oyvrf-0000rj-IK for emacs-devel@gnu.org; Thu, 23 Sep 2010 20:10:15 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40706) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oyvrf-0000rd-7e for emacs-devel@gnu.org; Thu, 23 Sep 2010 20:10:11 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OyvrY-0006T5-G8 for emacs-devel@gnu.org; Fri, 24 Sep 2010 02:10:04 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Sep 2010 02:10:04 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Sep 2010 02:10:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX52L/+7dT+6NAuEgrq yq6JcEf+4sn+89nhn9eAAAACP0lEQVQ4jVWTQY/bIBCFUeRkrx2rXV/XKJv8AELPbBe8V6tmek6t lJ4tteXvdx7Y2XYOljUf7w0Mg/LeO3WPQ0rzrPVJ98ojnH8HSYAmWsFdgjxRS1n9a3QX9J0A8dkg 8kkERLkCp5oNiH0PJwGqkSJhXT9o/fhC1BWFRDOqw21M6cdO0/M5VyDlffDR772ffeMH31PeFC6I GYQsn9jlTqqrsiHJOaeux6f01Jy+l21J1jUorEvciB5flr7tqSpKj7T+6P1RxN7LHu5H1j3RB+8a NwiS01TF5gRK7QlqNVYwl07g1Gi6hLqUnpa1ukW/5YOWKeMUOqfRIQLVBWhlRtxBTx21/dHv5lJK nJW5rK0Wi2cTd6tAgB2qk5Aj27FeumzXmAgnVD4lZk7VDIAH/J8kP79O7OutA5h4KKtOKb0a5qEe E8DGGVmJvbF2LCADCEk1bvLP4pRzBYYLUYf9JP9fcLMrEIJZg8LYb825AJ4KwZC6a8Be/ANAPKiN 3Ni/QsJvABKhug035lBAzPkPQFPdopODYwXH89KUG2xcXSmBbTGfbwEAs1ntLIC1fA28Pop0XQtN Ai2HiWVEVT11IVYU00VKxXWm0OxSZ7LGCLBDcZrxKKgNq+RynPihjE5fRudO2IeYy7AhK40jCrUH 3n/NMMKT65YFtx7KAcf+Zy75bqEtpFnWRPQKBTpcgIQ8mBbd4TAKqP45L1TgLxArChSgDSI+Cfgs oG71npaYVgVy/7HfAt5g9V68xiKNHPNf+YX4Nx2y21MAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Kristin Hersh's _Cats and Mice_: "Pearl" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:d1CQhMgn28nNmNuyGx3SDx2Ho6k= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130719 Archived-At: Stefan Monnier writes: > Yes, but using ptrdiff_t will have the advantage that it's just right. > Using int requires a cast and an argument for why int is sufficiently > large in practice. Casts are bad, and human-arguments are only OK when > we can't argue directly with the compiler. Yes, I agree. It would be cleaner to fix the users to all be ptrdiff_t. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen