From unknown Fri Jun 20 07:09:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11278 <11278@debbugs.gnu.org> To: bug#11278 <11278@debbugs.gnu.org> Subject: Status: 24.0.95; count-screen-lines wrong value for a corner case? Reply-To: bug#11278 <11278@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:09:42 +0000 retitle 11278 24.0.95; count-screen-lines wrong value for a corner case? reassign 11278 emacs submitter 11278 Leo severity 11278 minor tag 11278 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 19 11:01:04 2012 Received: (at submit) by debbugs.gnu.org; 19 Apr 2012 15:01:05 +0000 Received: from localhost ([127.0.0.1]:41900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsr2-0001S8-83 for submit@debbugs.gnu.org; Thu, 19 Apr 2012 11:01:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56486) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SKsqz-0001Rb-Kl for submit@debbugs.gnu.org; Thu, 19 Apr 2012 11:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKsqD-0006DK-6M for submit@debbugs.gnu.org; Thu, 19 Apr 2012 11:00:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKsqC-00067O-Tt for submit@debbugs.gnu.org; Thu, 19 Apr 2012 11:00:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKscn-0005UT-4X for bug-gnu-emacs@gnu.org; Thu, 19 Apr 2012 10:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKscb-0001mp-Vg for bug-gnu-emacs@gnu.org; Thu, 19 Apr 2012 10:46:20 -0400 Received: from mail-pz0-f52.google.com ([209.85.210.52]:40276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKscb-0001mZ-Nc for bug-gnu-emacs@gnu.org; Thu, 19 Apr 2012 10:46:09 -0400 Received: by dake40 with SMTP id e40so10558550dak.39 for ; Thu, 19 Apr 2012 07:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:x-debbugs-cc:date:message-id:mime-version :content-type; bh=nGBfgZo3FRbAGElihYw85OcUXaWJO8GmYUWQ7QapFQ4=; b=LmJb50P1IISRf5X4zMym9v228DTV6QdKTJEXol0XPFRlNzRZc1+YYdkdEmZWCI8+Ik xVnBWbz5cKg5ZO7EzsToJSneEpZlZBTqigUG7vGfx8D2GdM525PxCh3q7Cd3ONZf3pOg Of01ZyGRwq2keASSKgs4wU18OIoFBw1xuIcO1jD7XOb+DFpI6EsXfWpH3Ni3ObhFyjcs eozkSS9TYMiTJRLgPKcN/DLi7oG5fEJdtpkmo+ZxQxU7b+oYUs7tXL2ytKctJOcnPApX EHYaElvS038LhofwHX+4eMyI3Fo1cErh5ZiPq8wJNimEdadcsfupEysbDnyRSpyL9gOF TIyA== Received: by 10.68.203.41 with SMTP id kn9mr5202006pbc.75.1334846766887; Thu, 19 Apr 2012 07:46:06 -0700 (PDT) Received: from localhost ([123.123.251.161]) by mx.google.com with ESMTPS id qb10sm2413626pbb.75.2012.04.19.07.46.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Apr 2012 07:46:05 -0700 (PDT) From: Leo To: bug-gnu-emacs@gnu.org Subject: 24.0.95; count-screen-lines wrong value for a corner case? X-Debbugs-CC: martin rudalics Date: Thu, 19 Apr 2012 22:44:04 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Should (count-screen-lines (point) (point) t) return 1 instead of 0? Otherwise the return value of count-screen-lines when COUNT-FINAL-NEWLINE is non-nil takes 0, 2, 3, 4, 5... Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 21 06:02:15 2012 Received: (at 11278) by debbugs.gnu.org; 21 Apr 2012 10:02:15 +0000 Received: from localhost ([127.0.0.1]:45125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLX8w-00021p-4a for submit@debbugs.gnu.org; Sat, 21 Apr 2012 06:02:15 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48046 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SLX8t-00021i-Oc for 11278@debbugs.gnu.org; Sat, 21 Apr 2012 06:02:12 -0400 Received: from bb116-14-12-6.singnet.com.sg ([116.14.12.6]:39692 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SLX8O-0003Wa-2w; Sat, 21 Apr 2012 06:01:40 -0400 From: Chong Yidong To: Leo Subject: Re: bug#11278: 24.0.95; count-screen-lines wrong value for a corner case? References: Date: Sat, 21 Apr 2012 18:01:32 +0800 In-Reply-To: (Leo's message of "Thu, 19 Apr 2012 22:44:04 +0800") Message-ID: <877gx9pfnn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11278 Cc: 11278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Leo writes: > Should (count-screen-lines (point) (point) t) return 1 instead of 0? > > Otherwise the return value of count-screen-lines when > COUNT-FINAL-NEWLINE is non-nil takes 0, 2, 3, 4, 5... I don't think it matters much either way, but if you change it, you need to check that all the existing users of count-screen-lines won't break. (Not worth the trouble IMO.) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 15:52:55 2019 Received: (at 11278) by debbugs.gnu.org; 1 Nov 2019 19:52:56 +0000 Received: from localhost ([127.0.0.1]:57210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQcyd-0000Kc-LJ for submit@debbugs.gnu.org; Fri, 01 Nov 2019 15:52:55 -0400 Received: from host.gofardesign.uk ([208.79.239.190]:39190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQcyc-0000KM-LB; Fri, 01 Nov 2019 15:52:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OYD8yPUeAHT9V8rV/HTPKqZKLOme4CHTjpfjb2o9FBA=; b=BIcREGnGI3boGPvq5ogylFgyP5 hH89ESMaLoAhBZMjj6aBTrL5oTNNj7zF6qGK4tGTLO37VIDFhJr4P4TFZGTs7J/iIYfGpB4eO/XG3 h5yZu7gQmNd5gosirqB7aWfWvTc6bTt3LPFafn0aHhRCQD/iQ6ZMaFIp6objNShhz+cg=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:53690 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iQcyW-0006oi-Ml; Fri, 01 Nov 2019 14:52:49 -0500 From: Stefan Kangas To: Chong Yidong Subject: Re: bug#11278: 24.0.95; count-screen-lines wrong value for a corner case? In-Reply-To: <877gx9pfnn.fsf@gnu.org> (Chong Yidong's message of "Sat, 21 Apr 2012 18:01:32 +0800") References: <877gx9pfnn.fsf@gnu.org> Date: Fri, 01 Nov 2019 20:52:47 +0100 Message-ID: <87r22rxtkg.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 11278 Cc: Leo , 11278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 11278 + wontfix close 11278 thanks Chong Yidong writes: > Leo writes: > >> Should (count-screen-lines (point) (point) t) return 1 instead of 0? >> >> Otherwise the return value of count-screen-lines when >> COUNT-FINAL-NEWLINE is non-nil takes 0, 2, 3, 4, 5... > > I don't think it matters much either way, but if you change it, you need > to check that all the existing users of count-screen-lines won't break. > (Not worth the trouble IMO.) With the above reply, I'm closing this as wontfix. Best regards, Stefan Kangas From unknown Fri Jun 20 07:09:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Nov 2019 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator