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: Re: using window-screen-lines in window-adjust-process-window-size Date: Wed, 16 Jan 2019 09:10:03 -0500 Message-ID: <87tvi8r8w4.fsf@gmail.com> References: <87va64lguo.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547647730 9336 195.159.176.226 (16 Jan 2019 14:08:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2019 14:08:50 +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 Wed Jan 16 15:08:46 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjls3-0002Gf-8W for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2019 15:08:43 +0100 Original-Received: from localhost ([127.0.0.1]:33020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjlu9-0006al-Hf for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2019 09:10:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjltT-0006YP-S7 for emacs-devel@gnu.org; Wed, 16 Jan 2019 09:10:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjltS-00052o-VJ for emacs-devel@gnu.org; Wed, 16 Jan 2019 09:10:11 -0500 Original-Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:44735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjltS-0004uY-PQ for emacs-devel@gnu.org; Wed, 16 Jan 2019 09:10:10 -0500 Original-Received: by mail-qk1-x72e.google.com with SMTP id o8so3770077qkk.11 for ; Wed, 16 Jan 2019 06:10:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:date:message-id :mime-version; bh=5O4hNZvIbdnXWoi3tsA8GBvphZfi/K0s3PdCBcgwxJ0=; b=mJ8Hp15D40YhedJaN8l1wpMJJyJjbNgaqO8kJiBvVoPOOaO2fnA1QZ0J3kZS5vtf5i IcP9EAqtY+G61by/nVW8xJlaHwLpP1HTUXCXKSl1OewHX0RQY4u9p8vfVXEliJRei2fg Eo+IyxC2+2IWb3DcRv6WVbF1EDxGpPq3DZsTI+Bbnii8OaM4QUc87fgAKiEuCFt47ta7 9gOQfuIpkvKhX8iGVuWWQA80gJTn70x8wtYC5icXf6htgcCaG98fkxHWooSDva0zMB1u 46M9P/idv/2Ng2zLYJ6z8AvdQ0tMUMHxCX5BQMbmF7ZtEj2wZPquolohZMy3FQGQ/xs2 gnRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:date:message-id:mime-version; bh=5O4hNZvIbdnXWoi3tsA8GBvphZfi/K0s3PdCBcgwxJ0=; b=lCLcEAANckOl0KPzZDPv68A5cZzoGvU2ELigdH/7t9IAiUL3pASMNbaCxZuXbrMINm VEC4wC6tnovo9OcAoNgqSATstO6jB7jIAA+ICQljWOQm07ACppr/Je0Zr3eLpa6b34bf /FktDxJsd6Mv9A6k5IUMeOG4SAuecLJgKjbRP/LZlm37eac9z+AJuVI/iWpLbyg/h+oq dlOcClkXxr+S8cViIIvhgU91GwxV+MjoZdJQ+YeGziVAnytVyQ4uF+S5kkwEfXTKrOLn QJCcstlv1KqYnsPPn8tSFuOfWEoPPVKtolpn+o0xU95ElBmL2zN7QSHFZn7FWd92fXJ6 lyWA== X-Gm-Message-State: AJcUukfWhWdPb7PEztHdbhWZvkJv0SVn66XUmkr+kDpTWG5yeuaBZGvr OOaZSjMpPMCIQ9gGkhXLweOofBP1iN4= X-Google-Smtp-Source: ALg8bN6rytml+lgs/oidN0Wf6X5mYN1ZkaVB9P5ZS2Ufhhz2CrlGQW7TfKQjLyjyIk831OY96Vw7eA== X-Received: by 2002:a05:620a:1013:: with SMTP id z19mr6510055qkj.65.1547647808660; Wed, 16 Jan 2019 06:10:08 -0800 (PST) Original-Received: from amun ([142.154.219.2]) by smtp.gmail.com with ESMTPSA id m41sm67509539qtc.58.2019.01.16.06.10.06 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 06:10:07 -0800 (PST) In-reply-to: <87va64lguo.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::72e 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:232394 Archived-At: ping John Shahid writes: > 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