From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: John Shahid Newsgroups: gmane.emacs.devel Subject: Using window-screen-lines in window-adjust-process-window-size (was: Re: using window-screen-lines in window-adjust-process-window-size) Date: Sat, 27 Apr 2019 06:43:08 -0400 Message-ID: <87wojfvidf.fsf@gmail.com> References: <87va64lguo.fsf@gmail.com> <87tvi8r8w4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="63167"; mail-complaints-to="usenet@blaine.gmane.org" 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 Sat Apr 27 12:43:54 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 esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hKKoE-000GJt-3w for ged-emacs-devel@m.gmane.org; Sat, 27 Apr 2019 12:43:54 +0200 Original-Received: from localhost ([127.0.0.1]:58535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKKoD-0001xV-48 for ged-emacs-devel@m.gmane.org; Sat, 27 Apr 2019 06:43:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKKnb-0001x5-UN for emacs-devel@gnu.org; Sat, 27 Apr 2019 06:43:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKKnb-0001K4-2W for emacs-devel@gnu.org; Sat, 27 Apr 2019 06:43:15 -0400 Original-Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:46884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKKna-0001Jt-Uy for emacs-devel@gnu.org; Sat, 27 Apr 2019 06:43:15 -0400 Original-Received: by mail-qt1-x833.google.com with SMTP id w26so1325717qto.13 for ; Sat, 27 Apr 2019 03:43:13 -0700 (PDT) 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=pytKVgYQraaWzuh1NqpW7qzpK3h20UkwjSgIbdLaEMo=; b=CRMx/UkaIkIA0AzaLsHuVATRqRNKJ+31GCqPfNVwLSuO+WOVq7AAiEDEzi+u8ieBlT iXk8hGDCN5rZO3MjRvHkYkgU8oRNnOgGMOJml32onJORXG3948483F5EGq2A1bsDCTGW dk4DU3okrQSlqc9woToiUJTdzH4dARlFcAI7zF2n6mOBg8QVxZJUCKEBU9msuti48TlG R8+hr7nPPQ1uxZqw5mKNbwMswziSd5Qzr1K2gW/u3xA8xnrswbOqWHN6Ikj6lJEMnVEC 7FtCe3XejU9cuxTj6/lXrtu7U8aSEZwXE6jgqP0hB3o+rLtpJHFWsHhbjDO7VjsDkxKa guLQ== 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=pytKVgYQraaWzuh1NqpW7qzpK3h20UkwjSgIbdLaEMo=; b=e/vFgcN0ohuoGF8GwsdfySL39eVVOAGIDDev2cHAgUbX3l5Lw+JMKwA4CYtI745IUt kdSCvpRYK/+DxIiORkn7+8X+V2Yfv00NsXcdcu0OhRxtMPLo7qmNbrC5FDxOVWHnx2wM 1Vk/rikWc9BIUkj2ZLGQG8JkkTxsuhCRYqfUO3dJHGohspQstvLpi6sMvtFfK6uqegAj bpvNXttkepD87eM6mak+aJvYkegMfUS7SlKf4u1oXYNAovgXUvmMKfzNPUIVcHFB7L7/ vwgBVSAG18Ur0ZNcxI1qd+g684mkaH9CpqIFYEuJF3AqGvIZ75pCBsQXpcMpUlUtW8Do YTvg== X-Gm-Message-State: APjAAAXGZogJZaw3vzos+9yXTTD/gGMvkcLXChLLvSrhDxv0faB+wOcA frbs4MwxnsfxSA/7N05K6bdu6DN4 X-Google-Smtp-Source: APXvYqypJ611DNc7xByGTj0poQOaG0xr6KSPHHu0f8dy3VazLpib0yHyLauAQ0rYcf+OFP8ObTiqJA== X-Received: by 2002:ac8:2413:: with SMTP id c19mr40283135qtc.348.1556361792891; Sat, 27 Apr 2019 03:43:12 -0700 (PDT) Original-Received: from amun (cpe-104-162-85-46.nyc.res.rr.com. [104.162.85.46]) by smtp.gmail.com with ESMTPSA id v8sm526842qkj.80.2019.04.27.03.43.11 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Apr 2019 03:43:11 -0700 (PDT) In-reply-to: <87tvi8r8w4.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::833 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:235985 Archived-At: It has been a while and I haven't heard from anyone. I am not sure if that's because no one can answer my question or if my previous two emails were lost in the ether. I decided to ask a more direct question. Does anyone object if I changed window-adjust-process-window-size to use window-screen-lines instead of window-body-height ? Cheers, JS John Shahid writes: > 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