From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: recent changes to org files Date: Tue, 23 Oct 2007 22:50:03 -0400 Message-ID: References: <8D11CC21-71C6-4BCE-ACBC-090E429E311A@science.uva.nl> <86k5pe6t4e.fsf@lola.quinscape.zz> <1100BA17-7426-4C73-9EF0-FF90C1859B47@gmail.com> <86bqaq6pza.fsf@lola.quinscape.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193194384 21589 80.91.229.12 (24 Oct 2007 02:53:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2007 02:53:04 +0000 (UTC) Cc: johnw@newartisans.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, rgm@gnu.org, carsten.dominik@gmail.com To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 24 04:53:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IkWMg-0001uH-2Q for ged-emacs-devel@m.gmane.org; Wed, 24 Oct 2007 04:53:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkWMY-0004C0-1H for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 22:52:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkWJq-0001Ri-4W for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkWJp-0001RE-I0 for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkWJp-0001R0-5p for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:05 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkWJo-000638-Rj for emacs-devel@gnu.org; Tue, 23 Oct 2007 22:50:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IkWJn-0001CT-RS; Tue, 23 Oct 2007 22:50:03 -0400 In-reply-to: <86bqaq6pza.fsf@lola.quinscape.zz> (message from David Kastrup on Tue, 23 Oct 2007 13:16:09 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81610 Archived-At: If calling `next-line' is really correct in org-mode, it ought to be called inside (with-no-warnings ...) to (1) suppress the compiler warning and (2) show programmers "yes we really mean this, it wasn't a dumb mistake". Thus, the code that called `next-line' needed to be fixed one way or another. If not by changing to `forward-line' then by adding `with-no-warnings'. At the same time, this shows the need to look more closely at a program before changing `next-line' to `forward-line'. That change is only safe if point is at the beginning of a line. So you need to check that that is always so, before making the change.