From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#43572: Feature request: make it possible to choose whether the first lines of the minibuffer should be displayed instead of the last ones Date: Mon, 28 Sep 2020 12:56:59 -0400 Message-ID: References: <834knnuugm.fsf@gnu.org> <83h7rnt8s3.fsf@gnu.org> <833633nqru.fsf@gnu.org> <83r1qmmnxu.fsf@gnu.org> <838scum30r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32280"; 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, 43572@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 28 18:58:27 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kMwTq-0008Ex-BA for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Sep 2020 18:58:26 +0200 Original-Received: from localhost ([::1]:59362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMwTp-0004Cm-A8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Sep 2020 12:58:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMwTZ-00047t-FV for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 12:58:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMwTS-0003ii-Hq for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 12:58:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMwTS-0002ls-G8 for bug-gnu-emacs@gnu.org; Mon, 28 Sep 2020 12:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Sep 2020 16:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43572 X-GNU-PR-Package: emacs Original-Received: via spool by 43572-submit@debbugs.gnu.org id=B43572.160131223110582 (code B ref 43572); Mon, 28 Sep 2020 16:58:02 +0000 Original-Received: (at 43572) by debbugs.gnu.org; 28 Sep 2020 16:57:11 +0000 Original-Received: from localhost ([127.0.0.1]:53854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMwSd-0002kc-2k for submit@debbugs.gnu.org; Mon, 28 Sep 2020 12:57:11 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:2347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMwSZ-0002kD-D6 for 43572@debbugs.gnu.org; Mon, 28 Sep 2020 12:57:10 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id EC91380B96; Mon, 28 Sep 2020 12:57:01 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E2A3F80A93; Mon, 28 Sep 2020 12:57:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1601312220; bh=LpYLfabTrU3lyNoGzVfIWbJMva7QMBW11ZsMKpUyiVo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ROr9h/CGeFUtRUV/ZN42rb9D0gRaBeRz1XfZXCebuU/TTCSEeXOOH7XYH3HDrW6uA uE0dBj/kV8AyP5SpYEuyXuJQj0ahgy35MnpHX4+s++425tqtyV80ae2pAHmcok56WV 4ydFc8RcLGKX+EiB8WLy3r+PbKtZmXpsqY4Egfiyd1lDwbB6qOa8QykYIFwmmItgMM f6dnWKhGL8IYaisVbysWHp0/wk4SRu8WWmLemJ8tKzvJuE9pdNidVuHToSrlMAcd/m vk3UoBp+fu+bzZJMXZEIe+Af2uOArI8lisK1rb3oWjS2NgjLEZm3+dOwG8vjO5npNw uYnalCsdQC8pw== Original-Received: from alfajor (unknown [45.72.232.131]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B9523120604; Mon, 28 Sep 2020 12:57:00 -0400 (EDT) In-Reply-To: <838scum30r.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Sep 2020 16:42:12 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189214 Archived-At: >> The overlay I proposed carries fundamentally 2 pieces of info: the >> beginning position and the end position of the "scroll focus". > We could still put this on the first character, Indeed, that's an option, but it doesn't seem particularly handy. Not necessarily worse than a window-property or a buffer-local value, admittedly. > and have the value of the property be a cons cell with these two > positions, no? An overlay is a handy abstraction for "pair of two positions in the same buffer", with extra niceties such as the `evaporate` property. Stefan