From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Dallas Gray Newsgroups: gmane.emacs.bugs Subject: bug#15886: 24.3.50; Incorrect window-text-height with non-zero line-spacing Date: Wed, 13 Nov 2013 19:23:19 +0000 Message-ID: <8D614196-65E4-4F20-AAFE-CCFDC32D9898@robertdallasgray.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384370656 12948 80.91.229.3 (13 Nov 2013 19:24:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2013 19:24:16 +0000 (UTC) To: 15886@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 13 20:24:21 2013 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 1Vgg32-0006rF-3J for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 20:24:20 +0100 Original-Received: from localhost ([::1]:50445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgg31-0003JM-MC for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 14:24:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgg2r-000377-H0 for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 14:24:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgg2l-0006kc-9U for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 14:24:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgg2l-0006kY-4B for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 14:24:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vgg2k-0006eL-KR for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Dallas Gray Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2013 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15886 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.138437063425545 (code B ref -1); Wed, 13 Nov 2013 19:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Nov 2013 19:23:54 +0000 Original-Received: from localhost ([127.0.0.1]:50514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vgg2b-0006du-Mo for submit@debbugs.gnu.org; Wed, 13 Nov 2013 14:23:54 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37946) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vgg2V-0006dW-Pj for submit@debbugs.gnu.org; Wed, 13 Nov 2013 14:23:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgg2K-0006g8-PL for submit@debbugs.gnu.org; Wed, 13 Nov 2013 14:23:42 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgg2K-0006g4-Jn for submit@debbugs.gnu.org; Wed, 13 Nov 2013 14:23:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgg2E-00026K-FG for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 14:23:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgg26-0006e0-Vw for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 14:23:30 -0500 Original-Received: from mail-wg0-x22d.google.com ([2a00:1450:400c:c00::22d]:53123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgg26-0006cp-IF for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 14:23:22 -0500 Original-Received: by mail-wg0-f45.google.com with SMTP id a1so901238wgh.24 for ; Wed, 13 Nov 2013 11:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=robertdallasgray.com; s=google; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=uNeAxKKto/vfiOqcdBrEGIPZQSN/oJdPTSyH53GuInw=; b=Jr4l17sQmZZAUuNizvTMrsRwn1+JmWODjtESkYctTrtbrjRGuVfe+vYetkr8rrVecy vo7aKLMUqLr69dH5dYWn3TVq1u6lxJFgBaeCruovXmH0+gbk2pBu2g+oXs3UWZ4WYyj3 YC8SYi1cJDQKEw6x7mEzNme2Iv+GqcPXyU4Vo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=uNeAxKKto/vfiOqcdBrEGIPZQSN/oJdPTSyH53GuInw=; b=hodsROY43F9suIePK6jsJY2vHPVgUk0Cn2AcgnUSjJ3kqLy/x78dNocTUFCMKJGcE9 GzRM1Lsw00lL6ZlubrFK0SQ/wN2hGCxDQeku1Y/IrGOA6kOoqwxwX0anj3vAtiQj2N+i ejkhfeqUsEgDhxRi1ybfTE+s86nK6ODltQR5vHng6JVDpeh+1r3Ac5wrwVwFFFvjCU3O CvnBSnnIE/DRJiOoOvFonH9hySt2Bay7GSbxWYU10uuvgfOfT0n0cVXRa7uxm0KjVil4 lFauyN8tp9k9ijs0obYGQwK9+pRNdxK1XedkTiw9UDQyKIbTbjYQqbsEFDDbcjm2f+IA yEJQ== X-Gm-Message-State: ALoCoQlhSy7cXGwKC2WytfMoR04mU/CWipEeiYh1yJ5PnzIE/8JoJSI6D1lzssvyEpqWaKtghuAY X-Received: by 10.180.208.49 with SMTP id mb17mr22016370wic.64.1384370600761; Wed, 13 Nov 2013 11:23:20 -0800 (PST) Original-Received: from [192.168.1.203] ([2.28.52.80]) by mx.google.com with ESMTPSA id dj8sm58096883wid.2.2013.11.13.11.23.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 Nov 2013 11:23:20 -0800 (PST) X-Mailer: Apple Mail (2.1822) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:80375 Archived-At: On a graphical display, when `line-spacing' is non-zero, `window-text-height' reports an incorrect number; equally, `set-window-text-height' can't be used properly. This impacts on libraries which use `set-window-text-height' e.g. to attempt to size a window accurately. To reproduce: In a graphical display, `M-: (setq line-spacing 5)', then `M-: (window-text-height)'. Note the incorrect result.=20 In GNU Emacs 24.3.50.1 (x86_64-apple-darwin13.0.0, NS = apple-appkit-1265.00) of 2013-11-10 on Pud.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --prefix=3D/usr/local/Cellar/emacs/HEAD --without-dbus --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/HEAD/share/info/emacs --without-gnutls --with-ns --disable-ns-self-contained' Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: flycheck-mode: t show-smartparens-mode: t smartparens-mode: t global-auto-complete-mode: t auto-complete-mode: t linum-mode: t shell-dirtrack-mode: t project-persist-mode: t global-auto-revert-mode: t ido-everywhere: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t global-visual-line-mode: t visual-line-mode: t transient-mark-mode: t Recent input: C-x C-s =20 =20 C-c C-c . d e l e t e =20 =20 ; ; SPC=20 p a c k a g e - d e l e t e SPC h a s SPC d i f f e=20 r e n t SPC s i g n a t u r e s SPC d e p e d i n =20 n d i n g SPC o n SPC e m a=20 c s SPC v e r s i o n , ; ; SPC b u t SPC=20 u s i n g SPC t h e SPC f i r s t SPC a r g SPC s h=20 o u l d SPC h a n d l e SPC b o t h =20 =20 =20 =20 =20 t=20 a k i n g SPC =20 =20 SPC f r o m SPC a d v i c e=20 C-x C-s C-c C-c C-c C-s=20 a d v C-s =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 M-x r e=20 p o Recent messages: FlyC: You should have a section marked ";;; Commentary:" FlyC: You should have a section marked ";;; Code:" FlyC: The first line should be of the form: ";;; package --- Summary" FlyC: You should have a section marked ";;; Commentary:" FlyC: You should have a section marked ";;; Code:" Saving file = /Users/robertdallasgray/.emacs.d/pallet/test/pallet-test.el... Wrote /Users/robertdallasgray/.emacs.d/pallet/test/pallet-test.el Saving file = /Users/robertdallasgray/.emacs.d/pallet/test/pallet-test.el... Wrote /Users/robertdallasgray/.emacs.d/pallet/test/pallet-test.el Mark saved where search started scroll-down-command: Beginning of buffer [18 times] Load-path shadows: = /Users/robertdallasgray/.emacs.d/.cask/24.3.50.1/elpa/flycheck-20131108.13= 37/.dir-locals hides = /Users/robertdallasgray/.emacs.d/.cask/24.3.50.1/elpa/fringe-helper-201305= 19.1641/.dir-locals ~/.emacs.d/custom hides = /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/custom = /Users/robertdallasgray/.emacs.d/.cask/24.3.50.1/elpa/flycheck-20131108.13= 37/.dir-locals hides = /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/gnus/.dir-locals Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils jka-compr misearch multi-isearch pallet loadhist debug macrostep pp shell-pop term ehelp electric windmove hl-line sr-speedbar speedbar sb-image ezimage dframe dired org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-info org-gnus gnus-util org-docview org-bibtex bibtex org-bbdb org-mobile org-agenda org byte-opt bytecomp byte-compile cconv ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs format-spec cal-menu calendar cal-loaddefs markdown-mode noutline outline easy-mmode make-mode vc-git desktop frameset flycheck find-func help-mode easy-kill graphene-smartparens-config smartparens-config smartparens-html smartparens thingatpt auto-complete-config auto-complete popup linum imenu-anywhere imenu graphene-theme solarized-light-theme solarized-definitions uniquify readline-complete shell pcomplete comint ansi-color ring graphene graphene-look graphene-osx-defaults exec-path-from-shell graphene-keys graphene-projects project-persist edmacro kmacro graphene-speedbar graphene-env autorevert filenotify smex ido graphene-editing web-mode disp-table delsel graphene-helper-functions advice noflet rx info easymenu cask help-fns cl-macs gv cl cask-bootstrap epl git commander f dash s cl-loaddefs cl-lib package server time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs)