From unknown Wed Sep 10 15:50:37 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#11528 <11528@debbugs.gnu.org> To: bug#11528 <11528@debbugs.gnu.org> Subject: Status: 24.0.97; [PATCH] enriched-next-annotation: wrong-type-argument number-or-marker-p nil Reply-To: bug#11528 <11528@debbugs.gnu.org> Date: Wed, 10 Sep 2025 22:50:37 +0000 retitle 11528 24.0.97; [PATCH] enriched-next-annotation: wrong-type-argumen= t number-or-marker-p nil reassign 11528 emacs submitter 11528 Leo severity 11528 normal tag 11528 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 20 23:12:23 2012 Received: (at submit) by debbugs.gnu.org; 21 May 2012 03:12:23 +0000 Received: from localhost ([127.0.0.1]:36002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SWJ2l-0007X6-Bs for submit@debbugs.gnu.org; Sun, 20 May 2012 23:12:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41630) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SWJ2R-0007WJ-2J for submit@debbugs.gnu.org; Sun, 20 May 2012 23:12:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWJ1k-0008Nh-S4 for submit@debbugs.gnu.org; Sun, 20 May 2012 23:11:22 -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]:44751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWJ1k-0008Nd-MB for submit@debbugs.gnu.org; Sun, 20 May 2012 23:11:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWJ1i-0004oS-VQ for bug-gnu-emacs@gnu.org; Sun, 20 May 2012 23:11:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWJ1h-0008NJ-2r for bug-gnu-emacs@gnu.org; Sun, 20 May 2012 23:11:18 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:39146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWJ1g-0008N4-Pf for bug-gnu-emacs@gnu.org; Sun, 20 May 2012 23:11:17 -0400 Received: by dakp5 with SMTP id p5so6583645dak.0 for ; Sun, 20 May 2012 20:11:14 -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=6Ks0Z0YP5xQ3c2a9UAu5Ajc9v/pS6j5gG6hZWZbB0zs=; b=lgZjF0Jh6QPnMUdbVatpGyPjfbUybPAkY4PFRmiD/wDVFssjlJ+47plusgF0B1DDxF xUU8NeXYJPcdcbLO2lknpJ2Ilx5y6lo9wkYEvgUf338JhE4nIzdF0oUiNqjv8/jw28E8 IE8ZbszF/LyZ5SFcmLIUnj6o1wfIeM6TddDY/gPvUbXOqHl1G+15hWZY/pdR4+sf4+vC T2uRvmRLIHCZuKB7JLDNzSSdrQFjTpobf+LPNjGXLhklDI//milJW/htpIQfPMXoPER/ 6W5v+ZOjj51OghigQtimrUIim1i/WjMPtCoUHy8dYh6LzNNGJqhaXL4AwKdkZsPK5AS3 EZwQ== Received: by 10.68.129.72 with SMTP id nu8mr7204967pbb.56.1337569874741; Sun, 20 May 2012 20:11:14 -0700 (PDT) Received: from Shidais-iMac.local ([119.255.41.67]) by mx.google.com with ESMTPS id pu5sm21544128pbc.28.2012.05.20.20.11.11 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 May 2012 20:11:13 -0700 (PDT) From: Leo To: bug-gnu-emacs@gnu.org Subject: 24.0.97; [PATCH] enriched-next-annotation: wrong-type-argument number-or-marker-p nil X-Debbugs-CC: Chong Yidong Date: Mon, 21 May 2012 11:10:50 +0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 (------) --=-=-= Content-Type: text/plain Yidong, could this buglet be fixed in emacs-24? This could stop people from opening malformed enriched text files. Emacs -q bug-enriched.txt | Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) | enriched-next-annotation() | ...... --=-=-= Content-Type: text/enriched Content-Disposition: inline; filename=bug-enriched.txt Content-Description: bug-enriched.txt Content-Type: text/enriched Text-Width: 70 09:30 -DarkGoldenrodEMACS- [ 2012-05-21 ] 09:32 *** Firebrickbobbysmith0071 QUIT Quit: Leaving. 09:32 *** Firebrickcmatei QUIT Ping timeout: 246 seconds 09:33 *** Firebrickbobbysmith007 JOIN 09:34 *** Firebrickfukushima QUIT Ping timeout: 265 seconds 09:34 *** Firebrickcmatei JOIN 09:37 *** Firebrickfukushima JOIN 09:37 <<DarkGoldenrodreplsos> It's more on the "secret weapon" side of Paul Graham's programming language taxonomy 09:38 *** Firebrickarrsim JOIN 09:43 *** Firebricklars_t_h JOIN 09:43 <<DarkGoldenrodhomie> what ? 09:45 *** Firebricktali713` JOIN 09:46 *** Firebricktali713 QUIT Ping timeout: 240 seconds < --=-=-= Content-Type: text/plain diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el index 68a99b0e..a28fcfc7 100644 --- a/lisp/textmodes/enriched.el +++ b/lisp/textmodes/enriched.el @@ -437,7 +437,7 @@ (defun enriched-next-annotation () (progn (goto-char (match-beginning 0)) (not (looking-at enriched-annotation-regexp)))) (forward-char 1) - (if (= ?< (char-after (point))) + (if (eq ?< (char-after (point))) (delete-char 1) ;; A single < that does not start an annotation is an error, ;; which we note and then ignore. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 23 09:43:25 2012 Received: (at 11528-done) by debbugs.gnu.org; 23 Jun 2012 13:43:25 +0000 Received: from localhost ([127.0.0.1]:53735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiQcX-0002w7-C6 for submit@debbugs.gnu.org; Sat, 23 Jun 2012 09:43:25 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:35896) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiQcV-0002vz-PZ for 11528-done@debbugs.gnu.org; Sat, 23 Jun 2012 09:43:24 -0400 Received: by pbcwy7 with SMTP id wy7so4510373pbc.3 for <11528-done@debbugs.gnu.org>; Sat, 23 Jun 2012 06:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=ohVYax8lIe3zD7XHkNSgSPjOPgN2FRCP6c5dFbTc47U=; b=H8jQaI/6XehWYc2eYF6rtd5durxLIKcK9iSrqjw9vTFlCbjmWtc7kTUMFwPe6bbfvm MREmIYY4RZVC261vd61XXQ1BsFd1HtbgMBiL7x/ynWaWXsNtpTiRHnh68RW5z3Y/8Pyo c7rmXXvV5y1RpOzERo0r7nawyReqymOjb1RoZMYImD0To1l/ssyCkbHIGu4LHXgrInk0 hLXPvC1QkiUkRlj7n4NXml0zUuJVXPi9hROXL3qQTpG37Xt6o1AMW7XEW0xADIJb3rkX d2QpjdLcbHdGMU8FYRcRco+3m4F493b+zfwZIabPBusHui/QoxtH2n5DrSoktf3cbCAI KJOA== Received: by 10.68.194.201 with SMTP id hy9mr20825321pbc.69.1340458778964; Sat, 23 Jun 2012 06:39:38 -0700 (PDT) Received: from localhost ([222.130.134.41]) by mx.google.com with ESMTPS id hz10sm2370850pbc.32.2012.06.23.06.39.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Jun 2012 06:39:38 -0700 (PDT) From: Leo To: 11528-done@debbugs.gnu.org Subject: Re: bug#11528: 24.0.97; [PATCH] enriched-next-annotation: wrong-type-argument number-or-marker-p nil References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= Date: Sat, 23 Jun 2012 21:39:27 +0800 In-Reply-To: (Leo's message of "Mon, 21 May 2012 11:10:50 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (Mac OS X 10.6.8) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11528-done 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: -2.6 (--) Fixed in emacs-24. From unknown Wed Sep 10 15:50:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 22 Jul 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