all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Noorul Islam <noorul@noorul.com>
Cc: 7281@debbugs.gnu.org
Subject: bug#7281: 24.0.50; newline function inserts newline when the optional argument is 0
Date: Tue, 26 Oct 2010 11:12:59 -0400	[thread overview]
Message-ID: <E1PAlCt-00067F-TT@fencepost.gnu.org> (raw)
In-Reply-To: <AANLkTik3akt_4OAkfXcikOt9bj-BwnOS=bdhBf5Uza-v@mail.gmail.com> (message from Noorul Islam on Tue, 26 Oct 2010 13:43:32 +0530)

> Date: Tue, 26 Oct 2010 13:43:32 +0530
> From: Noorul Islam <noorul@noorul.com>
> Cc: 7281@debbugs.gnu.org
> 
> On Tue, Oct 26, 2010 at 1:17 PM, Glenn Morris <rgm@gnu.org> 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.

I think this happens because the modified function
internal_self_insert does not handle the case of n = 0.





  reply	other threads:[~2010-10-26 15:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-26  5:01 bug#7281: 24.0.50; newline function inserts newline when the optional argument is 0 Noorul Islam K M
2010-10-26  7:45 ` Glenn Morris
2010-10-26  7:47   ` Glenn Morris
2010-10-26  8:13     ` Noorul Islam
2010-10-26 15:12       ` Eli Zaretskii [this message]
2010-10-26 18:04         ` Eli Zaretskii
2010-10-26  8:10   ` Noorul Islam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1PAlCt-00067F-TT@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=7281@debbugs.gnu.org \
    --cc=noorul@noorul.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.