From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#52855: vc-shrink-buffer Date: Wed, 29 Dec 2021 17:45:48 +0200 Message-ID: References: <867dbosit6.fsf@mail.linkov.net> <86tuer3jhb.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15051"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: 52855@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 29 16:49:35 2021 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 1n2bCp-0003mz-QM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 16:49:35 +0100 Original-Received: from localhost ([::1]:50980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2bCn-0000ZN-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Dec 2021 10:49:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2bBK-0006zm-GF for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 10:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2bBK-0005yL-60 for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 10:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2bBJ-0002kY-Vk for bug-gnu-emacs@gnu.org; Wed, 29 Dec 2021 10:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Dec 2021 15:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52855 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52855-submit@debbugs.gnu.org id=B52855.16407928298533 (code B ref 52855); Wed, 29 Dec 2021 15:48:01 +0000 Original-Received: (at 52855) by debbugs.gnu.org; 29 Dec 2021 15:47:09 +0000 Original-Received: from localhost ([127.0.0.1]:49977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2bAT-0002DN-7M for submit@debbugs.gnu.org; Wed, 29 Dec 2021 10:47:09 -0500 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:42690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2bAR-00028x-Tl for 52855@debbugs.gnu.org; Wed, 29 Dec 2021 10:47:08 -0500 Original-Received: by mail-wm1-f51.google.com with SMTP id a83-20020a1c9856000000b00344731e044bso11939003wme.1 for <52855@debbugs.gnu.org>; Wed, 29 Dec 2021 07:47:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=nXmjVP+y+s/DM9CM50jD4iqsUpZGEebzrdfvAThMmDs=; b=CMX3ZJSW+MxC+IlZQSyg1iFKXUZTe66VbWJiwF+DLv6hA/vkJE4G4q9ZbbbOuqaS+q /hn1M7bmxrBAxylDUk/OFWfNvdPW7AP5foJMyG2BHBP/X5FV4EVhLs7yYpx70vQFjta+ vnVyL0IBzoTNawdx7ICoUJr+//KP7HvXKw5GRXTLL3V6RPzankm9XYrUo69sycTw2C/C LgAIMMyheMWN0ZSr3nYwQpMeBuFaSVQwYR3S2DONrkLeksPkr5+euGtGuEczpxw1JfyA ky5JpIjRoxOLuyS2V1Koscz9/0mN6nkRPHMjDJIIO9qmHQqrzcEbFRRlyZymydfj4IEO gtAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=nXmjVP+y+s/DM9CM50jD4iqsUpZGEebzrdfvAThMmDs=; b=hz9qpcc5bg5a3pNtvyPtmk9n7shX7izzHlPjEeExwULtUYnt7SUs0AiCQu4+i1kAYS gld5q3piN1OqzBEwM16FpaThZxyUYmaUcEKLFVaNV8BTQ8x5J/wAvokkC9NYonOgUZzU /sSeq8ukUSBzPJoFtvcIu2ciK3QssYuWEeXvJ1XN91trCGhULwYJFeRDShkoRE8v3HGW 2QBhhAOiHHxHaDR1iCgfQhw98GCW/TZBg9Z1TCpcgJh17mv4YsOQqjZCuLYvs4RzQEXC m8WKkueeHrNHnMqkTc3GlzPoMJpt5bc3/gNaRK+yBo+akLX68ZvTE7kMiWCgOJnvFAMG jElQ== X-Gm-Message-State: AOAM533Qt31tN8uBTawY+KinzG4P/sBQ9yFTcCxYmthVENzhATREno15 1M/e1kfnQCnMxl1ip1qRmlrj9S/zh2w0hA== X-Google-Smtp-Source: ABdhPJwqdckIgZmbJ/S8AT36r9VMc9uI5rbBs9tp1W757NRxKcq+X5MGrMJ2BxTY2eclTTn6cD4WyA== X-Received: by 2002:a1c:4406:: with SMTP id r6mr22307604wma.42.1640792821883; Wed, 29 Dec 2021 07:47:01 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id r11sm24432688wrz.78.2021.12.29.07.47.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 07:47:01 -0800 (PST) In-Reply-To: <86tuer3jhb.fsf@mail.linkov.net> Content-Language: en-US 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:223347 Archived-At: On 29.12.2021 11:23, Juri Linkov wrote: > Maybe it should be in window.el and renamed to > > shrink-buffer-if-larger-than-buffer Depends on whether we have similar code anywhere in Emacs, I guess? So it can reuse the new function.