From unknown Sat Aug 16 12:40:41 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#9371 <9371@debbugs.gnu.org> To: bug#9371 <9371@debbugs.gnu.org> Subject: Status: 24.0.50; wrong-type-arg integer-or-marker-p nil in `end-of-visible-line' Reply-To: bug#9371 <9371@debbugs.gnu.org> Date: Sat, 16 Aug 2025 19:40:41 +0000 retitle 9371 24.0.50; wrong-type-arg integer-or-marker-p nil in `end-of-vis= ible-line' reassign 9371 emacs submitter 9371 "Drew Adams" severity 9371 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 11:49:08 2011 Received: (at submit) by debbugs.gnu.org; 25 Aug 2011 15:49:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwcB1-0003ey-9b for submit@debbugs.gnu.org; Thu, 25 Aug 2011 11:49:08 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwcAx-0003ep-89 for submit@debbugs.gnu.org; Thu, 25 Aug 2011 11:49:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwc8M-0008UQ-QD for submit@debbugs.gnu.org; Thu, 25 Aug 2011 11:46:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:59772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwc8M-0008UM-Ol for submit@debbugs.gnu.org; Thu, 25 Aug 2011 11:46:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]:42566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwc8L-0007cp-R2 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 11:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qwc8K-0008T0-O7 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 11:46:21 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:33657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qwc8K-0008Qr-Hu for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 11:46:20 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p7PFkFOK026412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 25 Aug 2011 15:46:17 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p7PFkFhh027888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 25 Aug 2011 15:46:15 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p7PFk9xJ002102 for ; Thu, 25 Aug 2011 10:46:09 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 25 Aug 2011 08:46:09 -0700 From: "Drew Adams" To: Subject: 24.0.50; wrong-type-arg integer-or-marker-p nil in `end-of-visible-line' Date: Thu, 25 Aug 2011 08:46:08 -0700 Message-ID: <1A1E0F9F3213446F8470BCDD907F82DD@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcxjPht+ksZL4t3jQ6KeCn/7IxdvOQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4E566E49.00AE:SCFMA922111,ss=1,re=-4.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.2 (------) I do not have a recipe from emacs -Q, but this backtrace should help: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) goto-char(nil) (if (get-text-property (point) (quote invisible)) (goto-char (next-single-property-change (point) (quote invisible))) (goto-char (next-overlay-change (point)))) (while (and (not (eobp)) (save-excursion (skip-chars-forward "^\n") (let ((prop (get-char-property (point) (quote invisible)))) (if (eq buffer-invisibility-spec t) prop (or (memq prop buffer-invisibility-spec) (assq prop buffer-invisibility-spec)))))) (skip-chars-forward "^\n") (if (get-text-property (point) (quote invisible)) (goto-char (next-single-property-change (point) (quote invisible))) (goto-char (next-overlay-change (point)))) (end-of-line)) end-of-visible-line() (save-excursion (end-of-visible-line) (point)) (let ((end (save-excursion (end-of-visible-line) (point)))) (if (or (save-excursion (unless show-trailing-whitespace (skip-chars-forward " " end)) (= (point) end)) (and kill-whole-line (bolp))) (forward-visible-line 1) (goto-char end))) (if arg (forward-visible-line (prefix-numeric-value arg)) (if (eobp) (signal (quote end-of-buffer) nil)) (let ((end (save-excursion (end-of-visible-line) (point)))) (if (or (save-excursion (unless show-trailing-whitespace (skip-chars-forward " " end)) (= (point) end)) (and kill-whole-line (bolp))) (forward-visible-line 1) (goto-char end)))) (progn (if arg (forward-visible-line (prefix-numeric-value arg)) (if (eobp) (signal (quote end-of-buffer) nil)) (let ((end (save-excursion (end-of-visible-line) (point)))) (if (or (save-excursion (unless show-trailing-whitespace (skip-chars-forward " " end)) (= (point) end)) (and kill-whole-line (bolp))) (forward-visible-line 1) (goto-char end)))) (point)) (kill-region (point) (progn (if arg (forward-visible-line (prefix-numeric-value arg)) (if (eobp) (signal (quote end-of-buffer) nil)) (let ((end (save-excursion (end-of-visible-line) (point)))) (if (or (save-excursion (unless show-trailing-whitespace ...) (= ... end)) (and kill-whole-line (bolp))) (forward-visible-line 1) (goto-char end)))) (point))) kill-line(nil) apply(kill-line nil) ... The problematic code seems to be this part of `end-of-visible-line', near the end: (if (get-text-property (point) 'invisible) (goto-char (next-single-property-change (point) 'invisible)) (goto-char (next-overlay-change (point)))) In the case at hand, `point' has an `invisible' property, but `next-single-property-change' returns nil, which makes `goto-char' barf. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-08-22 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt' From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 22 04:09:29 2012 Received: (at 9371) by debbugs.gnu.org; 22 Mar 2012 08:09:29 +0000 Received: from localhost ([127.0.0.1]:60517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAd5M-0004vh-RZ for submit@debbugs.gnu.org; Thu, 22 Mar 2012 04:09:29 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55894) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAd5J-0004vZ-NA for 9371@debbugs.gnu.org; Thu, 22 Mar 2012 04:09:26 -0400 Received: from [155.69.17.60] (port=58590 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SAcbV-0002xL-KJ; Thu, 22 Mar 2012 03:38:38 -0400 From: Chong Yidong To: "Drew Adams" Subject: Re: bug#9371: 24.0.50; wrong-type-arg integer-or-marker-p nil in `end-of-visible-line' References: <1A1E0F9F3213446F8470BCDD907F82DD@us.oracle.com> Date: Thu, 22 Mar 2012 15:38:31 +0800 In-Reply-To: <1A1E0F9F3213446F8470BCDD907F82DD@us.oracle.com> (Drew Adams's message of "Thu, 25 Aug 2011 08:46:08 -0700") Message-ID: <87pqc5ccg8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 9371 Cc: 9371@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 (------) "Drew Adams" writes: > I do not have a recipe from emacs -Q, but this backtrace should help: Fixed, thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 22 04:09:39 2012 Received: (at control) by debbugs.gnu.org; 22 Mar 2012 08:09:40 +0000 Received: from localhost ([127.0.0.1]:60520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAd5W-0004w1-CP for submit@debbugs.gnu.org; Thu, 22 Mar 2012 04:09:39 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55906) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAd5S-0004vs-R0 for control@debbugs.gnu.org; Thu, 22 Mar 2012 04:09:35 -0400 Received: from [155.69.17.60] (port=58591 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SAcbg-0002z3-2r for control@debbugs.gnu.org; Thu, 22 Mar 2012 03:38:48 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 9371 Date: Thu, 22 Mar 2012 15:38:42 +0800 Message-ID: <87d385ozjx.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control 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 (------) close 9371 thanks From unknown Sat Aug 16 12:40:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 Apr 2012 11:24:04 +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