all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 11053@debbugs.gnu.org
Subject: bug#11053: 24.0.94; When run with --batch, Emacs seems to start with point on the second line of the given file
Date: Tue, 20 Mar 2012 21:29:07 +0000	[thread overview]
Message-ID: <CAOnWdohB-KHWUa3S+Ut97Geib_+N8ic9Nq27yh+nO96KtuDpOg@mail.gmail.com> (raw)
In-Reply-To: <p9vclzj78u.fsf@fencepost.gnu.org>

On 20 March 2012 21:24, Glenn Morris <rgm@gnu.org> wrote:
> Reuben Thomas wrote:
>
>> Here is an interactive test test.el:
>>
>> ; end-of-line backward-word backward-word a save-buffer save-buffers-kill-emacs
>> (execute-kbd-macro "\C-e\M-b\M-ba\C-x\C-s\C-x\C-c")
>
> I think a clearer test case is:
>
> (message "%s" (point))
> (what-line)
> (move-end-of-line 1)
> (message "%s" (point))
> (what-line)

Thanks for that!

> which gives the same result for me in 22.1 through to the current trunk;
>
> 1
> Line 1
> 45
> Line 2
>
> and the "right" result if inhibit-point-motion-hooks is non-nil:
>
> 1
> Line 1
> 23
> Line 1
>
>> Up to Emacs 24.0.50, it produces the correct output either way.

I was going on a single report that the expected result was obtained
in 24.0.50, which I didn't verify.

-- 
http://rrt.sc3d.org





  reply	other threads:[~2012-03-20 21:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 19:47 bug#11053: 24.0.94; When run with --batch, Emacs seems to start with point on the second line of the given file Reuben Thomas
2012-03-20 21:24 ` Glenn Morris
2012-03-20 21:29   ` Reuben Thomas [this message]
2012-04-18  7:04 ` Chong Yidong
2012-04-19  7:55   ` Stefan Monnier

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=CAOnWdohB-KHWUa3S+Ut97Geib_+N8ic9Nq27yh+nO96KtuDpOg@mail.gmail.com \
    --to=rrt@sc3d.org \
    --cc=11053@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /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.