From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#17942: 24.3.92; pos-visible-in-window-p with PARTIALLY is wrong for the first row only containing a single image Date: Sat, 05 Jul 2014 08:38:26 +0900 Organization: Faculty of Science, Chiba University Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1404517168 8079 80.91.229.3 (4 Jul 2014 23:39:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2014 23:39:28 +0000 (UTC) To: 17942@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 05 01:39:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X3D4X-0001EA-Pp for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jul 2014 01:39:17 +0200 Original-Received: from localhost ([::1]:38410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3D4X-0006xT-Fl for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jul 2014 19:39:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3D4O-0006wJ-ME for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:39:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3D4I-0002WX-K9 for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:39:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3D4I-0002WT-Gz for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X3D4I-0000cT-1B for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jul 2014 23:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17942 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14045171402371 (code B ref -1); Fri, 04 Jul 2014 23:39:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jul 2014 23:39:00 +0000 Original-Received: from localhost ([127.0.0.1]:43208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3D4F-0000c8-AB for submit@debbugs.gnu.org; Fri, 04 Jul 2014 19:38:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39508) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3D4D-0000bw-Lr for submit@debbugs.gnu.org; Fri, 04 Jul 2014 19:38:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3D42-0002VW-4h for submit@debbugs.gnu.org; Fri, 04 Jul 2014 19:38:52 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3D42-0002VR-1y for submit@debbugs.gnu.org; Fri, 04 Jul 2014 19:38:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3D3w-0006vg-FX for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:38:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3D3p-0002Tq-FU for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:38:40 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:65076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3D3p-0002TJ-4w for bug-gnu-emacs@gnu.org; Fri, 04 Jul 2014 19:38:33 -0400 Original-Received: from fermat.math.s.chiba-u.ac.jp (fermat [133.82.132.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 4841BC055D for ; Sat, 5 Jul 2014 08:38:26 +0900 (JST) User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?UTF-8?Q?Shij=C5=8D?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91194 Archived-At: Steps to reproduce: 1. $ emacs -Q & 2. Type the following expression and hit C-j in the *scratch* buffer. (save-excursion (goto-char (point-min)) (insert-image (create-image "splash.png")) (insert ?\n)) 3. Ditto. (pos-visible-in-window-p (point-min) nil t) Result: The expected one is (0 0), but the actual one is (608 188). As far as I tested, this happens at the first row (i.e., (window-start)) only containing a single image. If you remove (insert ?\n) in the first expression, then the result is (0 0) as expected. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp In GNU Emacs 24.3.92.1 (x86_64-apple-darwin13.2.0, GTK+ Version 3.12.2) of 2014-07-05 on YAMAMOTO-no-iMac.local Repository revision: 117350 stephen.berman@gmx.net-20140704190929-xpf743kwesgh2k4q Windowing system distributor `The X.Org Foundation', version 11.0.11406000 Configured using: `configure --without-imagemagick LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include'