From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: feature/icomplete-vertical Date: Mon, 05 Oct 2020 20:19:22 +0100 Message-ID: <87r1qceb0l.fsf@gmail.com> References: <83lfh4zfml.fsf@gnu.org> <838sd4z6lz.fsf@gnu.org> <20201001164804.mqqyxtet4ttweuyv@Ergus> <83blhhdy3w.fsf@gnu.org> <87d01xghmt.fsf@gmail.com> <83sgatc8er.fsf@gnu.org> <83mu11c78j.fsf@gnu.org> <87tuv9eygk.fsf@gmail.com> <83k0w5c4yt.fsf@gnu.org> <87mu10gbjs.fsf@gmail.com> <83h7r8dhfv.fsf@gnu.org> <87a6x0ga5v.fsf@gmail.com> <83ft6sdgjq.fsf@gnu.org> <875z7og6ti.fsf@gmail.com> <83a6x0dcup.fsf@gnu.org> <871ricfqbf.fsf@gmail.com> <83wo04bi6t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6609"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: ghe@sdf.org, spacibba@aol.com, juri@linkov.net, casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 05 21:20:17 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPW1v-0001Yo-NW for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 21:20:15 +0200 Original-Received: from localhost ([::1]:57270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPW1u-0008PU-PT for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Oct 2020 15:20:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPW1A-0007ry-Jj for emacs-devel@gnu.org; Mon, 05 Oct 2020 15:19:28 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPW18-000334-W4; Mon, 05 Oct 2020 15:19:28 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id n15so5098453wrq.2; Mon, 05 Oct 2020 12:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ZTHdfMS/Xl/vc8KfcMFgv8rBn4s4IkaEe0Tfm2JiYlE=; b=sGi6kSOELlTokEA9TIJtS4FSE3lflPUR5j1S2s4kAatRhpC90VRQEouirkiENLrsJj oSj3KCYRHelZFtN+Uc3URienV5sQwxm9msIBPxGlYYmaqo4sJcDYd5LRJl0zObWyT7kZ shdYrEKKoiXPIYwd4Qkp7uwenosCfrMfLryyNHdSK/HivCLiZGH4Ov+DL0pi51MWPn7A Aq3hQ8cEYj0fJp8+MJgdVHFypnL6AvHD1wA6RzyHKn6sNE9KOyk+Xf5CcZ6rMbp6JQC3 DG3W5++6PYy3ZHmoZseX5qs3iDunh+7cgluaXqEb5/DSS4oxsWwslesgNIthEQovZPt3 oqwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ZTHdfMS/Xl/vc8KfcMFgv8rBn4s4IkaEe0Tfm2JiYlE=; b=m4GA2uP3QAsnUIkHyMIY/ubGN/61y4rADEBJqW/mmzh6mqEB1EALRYseyHVF3bqQKN tmzVFXMEfJjPHKtWZrOpEKzhUXa5ywA0RmPNlq09YR5BMFbAM4w52dArIZFttKCmVIxh U3uOmmB4OoTAvM1s6SwN0lbzfVtx0qWXZDTMPdvRXDeiZwggSg4+S0SKMKLdcc9FBz7R N9hhvML9Npka+4l9DhZj32YEzl7JIRlUp3zXbJKhW2dzoYt8CW3UvAVNoU8hKV8IN211 RDDn+hBpKnSc0x7Ef/rnNr0y9e1BG2CGnkxcR6jyWXO4UEY51jVugjMMAL4qtFU9auFX +XVQ== X-Gm-Message-State: AOAM530XGfDyY1R/JOpY4lGt4u7emmXqDOMaSrM10fN9WXuieagM/I3z vSiTxR3G/BJCm+WS2ouZuK0= X-Google-Smtp-Source: ABdhPJyyl/t+9O6ZwL4IQXoHlWPO/xFkglBK+tdNIIvkKOsjxim8aaYF0Bmb0WJ8esGQlRYrEJrFBg== X-Received: by 2002:a5d:420d:: with SMTP id n13mr909269wrq.196.1601925564901; Mon, 05 Oct 2020 12:19:24 -0700 (PDT) Original-Received: from krug ([89.180.149.37]) by smtp.gmail.com with ESMTPSA id q15sm1209936wrr.8.2020.10.05.12.19.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2020 12:19:24 -0700 (PDT) In-Reply-To: <83wo04bi6t.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Oct 2020 22:12:42 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x432.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257140 Archived-At: Eli Zaretskii writes: >> From: Jo=C3=A3o T=C3=A1vora >> Cc: ghe@sdf.org, spacibba@aol.com, emacs-devel@gnu.org, >> casouri@gmail.com, juri@linkov.net >> Date: Mon, 05 Oct 2020 20:03:32 +0100 >>=20 >> >> I think the easiest way to make this function is to give it a buffer >> >> where text exists as buffer text and truncate-lines is what it it. T= hen >> >> it can say exactly where it _would_ cut off. >> > >> > That doesn't work for displaying text with continuation lines, does >> > it? >>=20 >> I'm not sure what you mean. Maybe? Can you provide an example? The >> idea is to use this buffer to "stage" what needs to be displayed, and >> gather guiding information from that, not necessarily to _do_ that >> displaying on that particular "stage". > > If the real buffer will be displayed without truncating lines, then > each physical line might take more than one screen line. You need to > account for that when you decide where to truncate. Yes, but presumably, the (vapourware) function we are talking about would interpret the value of truncate-lines "in the stage", and you'd set that to the same value that you plan to use in the "real buffer". Jo=C3=A3o