Subject: bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

From: Gregor Zattler <[email-masked]>
Date: Thu, 19 Jun 2014 00:07:37 +0200

Hi Eli,
* Eli Zaretskii <[email-masked]> [18. Jun. 2014]:
> > * Stefan Monnier <[email-masked]> [07. Jun. 2014]:
> > > BTW, I would also point out that people who do not actively develop
> > > Emacs should ideally use the emacs-24 (i.e. 24.3.9x) branch now rather
> > > than the trunk (24.4.50), so as to help us fix problems before the
> > > 24.4 release.
> > 
> > I'd love to.  But the emacs-24 branch gives emacs version 24.4.50,
> 
> No, the emacs-24 branch's version is 24.3.91.  If you have 24.4.50,
> you've got the trunk there, not the emacs-24 branch.
> 
> How did you checkout what you think is the emacs-24 branch?

like so:
$ cd ~/src/emacs/; rm -rf * ; git co -f emacs-24
Checking out files: 100% (3525/3525), done.
Previous HEAD position was 0f0917d... Regenerate AUTHORS and ldefs-boot.el
Switched to branch 'emacs-24'

then I do
$ ./autogen.sh && ./configure  --prefix=/usr/local/stow/emacs-snapshot --enable-checking --enable-link-time-optimization --without-toolkit-scroll-bars  --with-x-toolkit=gtk3

when I now do (long output ahead)
$ rgrep -- "24\.4\.50"
configure.ac:AC_INIT(GNU Emacs, 24.4.50, [email-masked])
lib/Makefile:PACKAGE_STRING = GNU Emacs 24.4.50
lib/Makefile:PACKAGE_VERSION = 24.4.50
lib/Makefile:VERSION = 24.4.50
lib/Makefile:version = 24.4.50
doc/misc/Makefile:version=24.4.50
doc/lispintro/Makefile:version=24.4.50
doc/lispref/Makefile:version=24.4.50
doc/man/emacs.1:.TH EMACS 1 "2007 April 13" "GNU Emacs 24.4.50"
doc/emacs/Makefile:version=24.4.50
doc/emacs/emacsver.texi:@set EMACSVER 24.4.50
ChangeLog:	* configure.ac: Bump version to 24.4.50.
README:This directory tree holds version 24.4.50 of GNU Emacs, the extensible,
nt/makefile.w32-in:VERSION		= 24.4.50
nt/Makefile:version=24.4.50
nt/config.nt:#define VERSION "24.4.50"
configure:# Generated by GNU Autoconf 2.69 for GNU Emacs 24.4.50.
configure:PACKAGE_VERSION='24.4.50'
configure:PACKAGE_STRING='GNU Emacs 24.4.50'
configure:\`configure' configures GNU Emacs 24.4.50 to adapt to many kinds of systems.
configure:     short | recursive ) echo "Configuration of GNU Emacs 24.4.50:";;
configure:GNU Emacs configure 24.4.50
configure:It was created by GNU Emacs $as_me 24.4.50, which was
configure: VERSION='24.4.50'
configure:This file was extended by GNU Emacs $as_me 24.4.50, which was
configure:GNU Emacs config.status 24.4.50
Makefile:version=24.4.50
autom4te.cache/traces.1:m4trace:configure.ac:26: -1- AC_INIT([GNU Emacs], [24.4.50], [[email-masked]])
autom4te.cache/output.1:@%:@ Generated by GNU Autoconf 2.69 for GNU Emacs 24.4.50.
autom4te.cache/output.1:PACKAGE_VERSION='24.4.50'
autom4te.cache/output.1:PACKAGE_STRING='GNU Emacs 24.4.50'
autom4te.cache/output.1:\`configure' configures GNU Emacs 24.4.50 to adapt to many kinds of systems.
autom4te.cache/output.1:     short | recursive ) echo "Configuration of GNU Emacs 24.4.50:";;
autom4te.cache/output.1:GNU Emacs configure 24.4.50
autom4te.cache/output.1:It was created by GNU Emacs $as_me 24.4.50, which was
autom4te.cache/output.1: VERSION='24.4.50'
autom4te.cache/output.1:This file was extended by GNU Emacs $as_me 24.4.50, which was
autom4te.cache/output.1:GNU Emacs config.status 24.4.50
autom4te.cache/output.2:@%:@ Generated by GNU Autoconf 2.69 for GNU Emacs 24.4.50.
autom4te.cache/output.2:PACKAGE_VERSION='24.4.50'
autom4te.cache/output.2:PACKAGE_STRING='GNU Emacs 24.4.50'
autom4te.cache/output.2:\`configure' configures GNU Emacs 24.4.50 to adapt to many kinds of systems.
autom4te.cache/output.2:     short | recursive ) echo "Configuration of GNU Emacs 24.4.50:";;
autom4te.cache/output.2:GNU Emacs configure 24.4.50
autom4te.cache/output.2:It was created by GNU Emacs $as_me 24.4.50, which was
autom4te.cache/output.2: VERSION='24.4.50'
autom4te.cache/output.2:This file was extended by GNU Emacs $as_me 24.4.50, which was
autom4te.cache/output.2:GNU Emacs config.status 24.4.50
autom4te.cache/traces.2:m4trace:configure.ac:26: -1- AC_INIT([GNU Emacs], [24.4.50], [[email-masked]])
autom4te.cache/output.0:@%:@ Generated by GNU Autoconf 2.69 for GNU Emacs 24.4.50.
autom4te.cache/output.0:PACKAGE_VERSION='24.4.50'
autom4te.cache/output.0:PACKAGE_STRING='GNU Emacs 24.4.50'
autom4te.cache/output.0:\`configure' configures GNU Emacs 24.4.50 to adapt to many kinds of systems.
autom4te.cache/output.0:     short | recursive ) echo "Configuration of GNU Emacs 24.4.50:";;
autom4te.cache/output.0:GNU Emacs configure 24.4.50
autom4te.cache/output.0:It was created by GNU Emacs $as_me 24.4.50, which was
autom4te.cache/output.0: VERSION='24.4.50'
autom4te.cache/output.0:This file was extended by GNU Emacs $as_me 24.4.50, which was
autom4te.cache/output.0:GNU Emacs config.status 24.4.50
lib-src/Makefile:version=24.4.50
msdos/sed2v2.inp:/^#undef VERSION/s/^.*$/#define VERSION "24.4.50"/
config.log:It was created by GNU Emacs configure 24.4.50, which was
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:| #define PACKAGE_VERSION "24.4.50"
config.log:| #define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:| #define VERSION "24.4.50"
config.log:This file was extended by GNU Emacs config.status 24.4.50, which was
config.log:PACKAGE_STRING='GNU Emacs 24.4.50'
config.log:PACKAGE_VERSION='24.4.50'
config.log:VERSION='24.4.50'
config.log:version='24.4.50'
config.log:#define PACKAGE_VERSION "24.4.50"
config.log:#define PACKAGE_STRING "GNU Emacs 24.4.50"
config.log:#define VERSION "24.4.50"
config.status:This file was extended by GNU Emacs $as_me 24.4.50, which was
config.status:GNU Emacs config.status 24.4.50
config.status:S["version"]="24.4.50"
config.status:S["VERSION"]="24.4.50"
config.status:S["PACKAGE_STRING"]="GNU Emacs 24.4.50"
config.status:S["PACKAGE_VERSION"]="24.4.50"
config.status:D["PACKAGE_VERSION"]=" \"24.4.50\""
config.status:D["PACKAGE_STRING"]=" \"GNU Emacs 24.4.50\""
config.status:D["VERSION"]=" \"24.4.50\""
src/Makefile:version = 24.4.50
src/config.h:#define PACKAGE_STRING "GNU Emacs 24.4.50"
src/config.h:#define PACKAGE_VERSION "24.4.50"
src/config.h:#define VERSION "24.4.50"
src/epaths.h:#define PATH_LOADSEARCH "/usr/local/stow/emacs-snapshot/share/emacs/24.4.50/lisp"
src/epaths.h:#define PATH_SITELOADSEARCH "/usr/local/stow/emacs-snapshot/share/emacs/24.4.50/site-lisp:/usr/local/stow/emacs-snapshot/share/emacs/site-lisp"
src/epaths.h:#define PATH_EXEC "/usr/local/stow/emacs-snapshot/libexec/emacs/24.4.50/i686-pc-linux-gnu"
src/epaths.h:#define PATH_DATA "/usr/local/stow/emacs-snapshot/share/emacs/24.4.50/etc"
src/epaths.h:#define PATH_DOC "/usr/local/stow/emacs-snapshot/share/emacs/24.4.50/etc"

now I do 
$ make
[...]

$ ls -Altr src/emacs-24*
-rwxr-xr-x 3 grfz grfz 23799208 Jun 18 23:29 src/emacs-24.4.50.1

$ src/emacs -Q -nw -f version

GNU Emacs 24.4.50.1 (i686-pc-linux-gnu, GTK+ Version 3.12.2) of 2014-06-18 on boo

Git still thinks I'm on branch emacs-24:
$ git branch
* emacs-24
  master

I cloned this repo from savannah:

cd .git ; cat config
$ cat config 
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git://git.savannah.gnu.org/emacs.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

I thought emacs-24 was the branch which track the release but...

Thanks for asking back.  Perhaps this is a quirk in this git repo?

Ciao; Gregor