From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Shahid Newsgroups: gmane.emacs.devel Subject: using window-screen-lines in window-adjust-process-window-size Date: Sun, 14 Oct 2018 10:54:04 -0400 Message-ID: <87va64lguo.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1539528792 32228 195.159.176.226 (14 Oct 2018 14:53:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 14 Oct 2018 14:53:12 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 14 16:53:08 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBhlT-0008IK-OA for ged-emacs-devel@m.gmane.org; Sun, 14 Oct 2018 16:53:07 +0200 Original-Received: from localhost ([::1]:48625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBhna-0007Vu-Dx for ged-emacs-devel@m.gmane.org; Sun, 14 Oct 2018 10:55:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBhmm-0007Vm-0j for emacs-devel@gnu.org; Sun, 14 Oct 2018 10:54:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBhmV-0007SW-CQ for emacs-devel@gnu.org; Sun, 14 Oct 2018 10:54:20 -0400 Original-Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:38102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gBhmT-0007RE-Ev for emacs-devel@gnu.org; Sun, 14 Oct 2018 10:54:09 -0400 Original-Received: by mail-qt1-x832.google.com with SMTP id l9-v6so18831942qtf.5 for ; Sun, 14 Oct 2018 07:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:message-id:date:mime-version; bh=iNURO+hImGHpXNpuk2lxqpMlf/kCYRV/V4l0cfVADdM=; b=DVsuIXpcKTT8yKn9N/iR/ki4k01CNqDW4gBz2S+2d5qZok1vg82mktW5jNN5LxKAU9 GN2yd/dTakPZewouzPTVnHl9y6lW3BHILH7hwMhiDNVbZpEQHxpi/ZqgrchyAbwA7xG3 Yz1IEpwlSrDFBe86C8KMCQ2Hy2Dgm5zod20K3Kjp4kEu0KKqIMbFvzHSPf+0j+VL4HYO 9ajFZQaet5xxVKkNG2OPCR54HtaBAKSNtVLYIksNVjLloolNHRr1WqfYNErzcQY03/Er q8bVSeaz63GkEHVdoul435FUiNyEdosiLVuf9og7T5aHIPaGxM4zLVictTN5u6qApOEx C0lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=iNURO+hImGHpXNpuk2lxqpMlf/kCYRV/V4l0cfVADdM=; b=fsX7nUTuIKGeKIkbu92sdTKwZVcWP8tlvYGKq/pEzmLAvpKNhuHx/59UTaJYy+qQAn kW3IAWic8dSagqYM2vSjkkYjzHnuABdrAxpUctpVzQywiD1oNy2TJGc9LOuj4s5MNdpW 16oJiHBtp2ucttMvuJKBVU3hJ/VHcJiNZfM+eqKOle2KrGYSSIj8jNs9CiddRlldO2Rm qStPtofrqekhtHRYUVHofjynWYgHh3IX0T3YGHRSZW7a20HE8LRm22+JcnsUz3WFzH5T SHAWnzZF+WHgKMdE4/zrnSR7uUJEP1NWVa38FFrHqKmBUhMF62ojIxcwS6M9WeNGqwvt YJvA== X-Gm-Message-State: ABuFfoiPF6NVSc9LSrunQ8tCEQ3HZ5/7v8Qp/0sFzl4w6IgMtP1yhDoG YO2liaj7su/h93lDHewY45SZuT4D X-Google-Smtp-Source: ACcGV63I/lTLSNQsBoy36CngsgyT7/qZln8qc1Jblf3nw60dwX4wua2iXmG0c5UdVrr702dRy5cvBw== X-Received: by 2002:aed:3024:: with SMTP id 33-v6mr8598422qte.29.1539528847457; Sun, 14 Oct 2018 07:54:07 -0700 (PDT) Original-Received: from amun (cpe-104-162-86-217.nyc.res.rr.com. [104.162.86.217]) by smtp.gmail.com with ESMTPSA id s52-v6sm6679748qts.5.2018.10.14.07.54.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Oct 2018 07:54:06 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::832 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230378 Archived-At: Hi all, I noticed with line-spacing turned on (i.e. larger than 0) that `ansi-term' doesn't report the right number of text rows to the shell. This causes scrolling to get messed up. It is the result of using `window-body-height' instead of `window-screen-lines' in `window-adjust-process-window-size'. Can anyone think of a reason for not using `window-screen-lines' ? Thanks, JS