From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19102: 24.4; outline-move-subtree-up/down error at last and second-last subtree Date: Wed, 19 Nov 2014 20:56:12 +0200 Message-ID: <83tx1v6mur.fsf@gnu.org> References: <87lhn7s522.fsf@rosalinde.fritz.box> <83lhn789tq.fsf@gnu.org> <87h9xvruan.fsf@rosalinde.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416423444 31400 80.91.229.3 (19 Nov 2014 18:57:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2014 18:57:24 +0000 (UTC) Cc: paul@tilk.co, 19102@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 19 19:57:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XrARI-0002T2-Vi for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Nov 2014 19:57:17 +0100 Original-Received: from localhost ([::1]:60209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrARI-0007UU-MT for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Nov 2014 13:57:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrAR9-0007Lp-Bf for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2014 13:57:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrAR3-0007kS-Tj for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2014 13:57:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrAR3-0007kO-Rg for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2014 13:57:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XrAR3-0007Jx-Ky for bug-gnu-emacs@gnu.org; Wed, 19 Nov 2014 13:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Nov 2014 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19102 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19102-submit@debbugs.gnu.org id=B19102.141642337828074 (code B ref 19102); Wed, 19 Nov 2014 18:57:01 +0000 Original-Received: (at 19102) by debbugs.gnu.org; 19 Nov 2014 18:56:18 +0000 Original-Received: from localhost ([127.0.0.1]:38598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XrAQM-0007Ik-EG for submit@debbugs.gnu.org; Wed, 19 Nov 2014 13:56:18 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:53484) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XrAQK-0007Ic-Q0 for 19102@debbugs.gnu.org; Wed, 19 Nov 2014 13:56:17 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NFA00F00V3G3900@mtaout29.012.net.il> for 19102@debbugs.gnu.org; Wed, 19 Nov 2014 20:54:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFA00BOGV6O7U30@mtaout29.012.net.il>; Wed, 19 Nov 2014 20:54:24 +0200 (IST) In-reply-to: <87h9xvruan.fsf@rosalinde.fritz.box> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:96262 > From: Stephen Berman > Cc: paul@tilk.co, 19102@debbugs.gnu.org > Date: Wed, 19 Nov 2014 18:09:52 +0100 > > On Wed, 19 Nov 2014 17:54:41 +0200 Eli Zaretskii wrote: > > Thanks. Can you explain why the problem happened in the first place? > > The error occurs when the sexp `(= (char-after) ?\n)' in > outline-move-subtree-down is evaluated at eob. Wouldn't using eolp instead of the comparison solve that problem more easily?