From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#8657: 24.0.50; Emacs code that seems to use `*-single-char-property-change' incorrectly Date: Tue, 07 Feb 2012 15:34:01 +0900 Organization: Emacsen advocacy group Message-ID: References: <87bopcnjt6.fsf@gnu.org> <87obtbxk12.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1328596455 5823 80.91.229.3 (7 Feb 2012 06:34:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2012 06:34:15 +0000 (UTC) Cc: 8657@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 07 07:34:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rued4-0007yy-6O for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2012 07:34:14 +0100 Original-Received: from localhost ([::1]:60103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rued3-0003sv-JH for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2012 01:34:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rued1-0003sd-1S for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2012 01:34:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ruecz-0004tc-7b for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2012 01:34:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ruecz-0004tY-69 for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2012 01:34:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ruedq-0000Rb-Pt for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2012 01:35:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2012 06:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8657 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 8657-submit@debbugs.gnu.org id=B8657.13285964761674 (code B ref 8657); Tue, 07 Feb 2012 06:35:02 +0000 Original-Received: (at 8657) by debbugs.gnu.org; 7 Feb 2012 06:34:36 +0000 Original-Received: from localhost ([127.0.0.1]:58105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuedN-0000Qu-Lu for submit@debbugs.gnu.org; Tue, 07 Feb 2012 01:34:35 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]:42829) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuedE-0000Qe-Kv for 8657@debbugs.gnu.org; Tue, 07 Feb 2012 01:34:31 -0500 Original-Received: from localhost ([127.0.0.1]:50571) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1RuecD-0001MC-UP; Tue, 07 Feb 2012 00:33:23 -0600 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130002 (=?UTF-8?Q?=E7=9C=9F?= Gnus v0.2) Emacs/24.0.93 (i686-pc-cygwin) Cancel-Lock: sha1:ZeDjsCOS+RuwQkqvDZjJXyNzWg8= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56626 Archived-At: Chong Yidong wrote: > Katsumi Yamaoka writes: >> But in XEmacs next-single-char-property-change will return nil >> if no property change is found. > Ah OK, thanks for checking. >> So I've modified the gnus-sum.el code into: >> >> (if (featurep 'xemacs) >> (or (next-single-char-property-change end 'invisible) >> (point-max)) >> (next-single-char-property-change end 'invisible)) > I suggest just restoring the old code, and adding a comment about why > the `or' is there. Ok. Done.