From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noorul Islam Newsgroups: gmane.emacs.bugs Subject: bug#7281: 24.0.50; newline function inserts newline when the optional argument is 0 Date: Tue, 26 Oct 2010 13:43:32 +0530 Message-ID: References: <87ocahh7id.fsf@noorul.maa.corp.collab.net> <19654.34733.5867.925228@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1288084192 6559 80.91.229.12 (26 Oct 2010 09:09:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2010 09:09:52 +0000 (UTC) Cc: 7281@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 26 11:09:50 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PAfXR-0008ON-Jz for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Oct 2010 11:09:49 +0200 Original-Received: from localhost ([127.0.0.1]:38261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAfXQ-0008MR-NU for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Oct 2010 05:09:48 -0400 Original-Received: from [140.186.70.92] (port=36318 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAf7U-00015n-0P for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2010 04:43:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PAf7R-0005Ru-Hx for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2010 04:42:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PAf7R-0005Rj-GE for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2010 04:42:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PAeba-0007U8-QS; Tue, 26 Oct 2010 04:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noorul Islam Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Oct 2010 08:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7281 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7281-submit@debbugs.gnu.org id=B7281.128808057228761 (code B ref 7281); Tue, 26 Oct 2010 08:10:02 +0000 Original-Received: (at 7281) by debbugs.gnu.org; 26 Oct 2010 08:09:32 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAeb4-0007Tq-UC for submit@debbugs.gnu.org; Tue, 26 Oct 2010 04:09:31 -0400 Original-Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAeb3-0007Ti-CI for 7281@debbugs.gnu.org; Tue, 26 Oct 2010 04:09:29 -0400 Original-Received: by gya6 with SMTP id 6so2777679gya.3 for <7281@debbugs.gnu.org>; Tue, 26 Oct 2010 01:13:32 -0700 (PDT) Original-Received: by 10.150.131.9 with SMTP id e9mr14685956ybd.92.1288080812461; Tue, 26 Oct 2010 01:13:32 -0700 (PDT) Original-Received: by 10.151.155.4 with HTTP; Tue, 26 Oct 2010 01:13:32 -0700 (PDT) In-Reply-To: <19654.34733.5867.925228@fencepost.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 26 Oct 2010 04:10:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41141 Archived-At: On Tue, Oct 26, 2010 at 1:17 PM, Glenn Morris wrote: > >> > On emacs 23 (insert 0) returns nil and cursor stays at the place where >> > the function is invoked. But in the case of bzr trunk (Emacs 24) the >> > same function call moves the cursor one line down from the current >> > position. >> >> I cannot reproduce this. Is this with `emacs -Q'? > > Maybe you meant to say (newline 0), like in your subject? > You are right. I am sorry about the typo. - Noorul