Subject: Re: bug#7281: 24.0.50; newline function inserts newline when the optional argument is 0

From: Glenn Morris <[email-masked]>
Date: Tue, 26 Oct 2010 03:45:39 -0400

Noorul Islam K M 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'?

Note that you have an error on post-command-hook (see below) that
could be doing anything.

> In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
>  of 2010-10-25 on noorul
[...]
> Company: An error occurred in post-command
> Company: Front-end company-pseudo-tooltip-unless-just-one-frontend error "Wrong type argument: number-or-marker-p, nil" on command post-command