From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CDRYB1InVV/9XwAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 18:15:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EFk5A1InVV+8TQAAB5/wlQ (envelope-from ) for ; Sun, 06 Sep 2020 18:15:46 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1543C940390 for ; Sun, 6 Sep 2020 18:15:44 +0000 (UTC) Received: from localhost ([::1]:59064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEzCZ-0000Zh-Fi for larch@yhetil.org; Sun, 06 Sep 2020 14:15:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEzC3-0000Za-Hs for emacs-orgmode@gnu.org; Sun, 06 Sep 2020 14:15:11 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:42148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEzC1-0002Lz-R3; Sun, 06 Sep 2020 14:15:11 -0400 Received: by mail-ej1-x636.google.com with SMTP id q13so14979734ejo.9; Sun, 06 Sep 2020 11:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=9uxVdiA/0PoXYCaipifa20hqoQ7mUPfurmFQBiPWqJE=; b=Bt61sQz6VpqI45WdQ72EgeKDkflfl68wFSEhONQ8SI0cnLaciLsQzZhRxpN3Ng9WkN q/mwPko84O3DOrncfY7awOK+AUa2khC9Qk0DcQLudQYX3n5uDXA9TWOjqWzRhj3B1L6a r3c5FEsdtrRPEcDxtG91SVBEbrgUtNPtWMWILK3vP37qpP/Zq05nkTj+w60VnENUtmN0 vJHM3poKdDgCg93av9Gxpm539WlarCkgQPfRr3EDUk0QCye0nMwoaIlH3tXaej0P+F9y Vm41rHDuj2mESjgZOof96OpBrLGinJGFEKkmxo+V7bE9crYr6+CYeGQ8BfYsdfewTnHV EuQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=9uxVdiA/0PoXYCaipifa20hqoQ7mUPfurmFQBiPWqJE=; b=svhW6rOXZJS4mKVfa91LUUNDfprP70EcXQy2SSAiY4RxyXgppf8KA4OhT3HxsX7Pet vGc/sEuU9s7B0sKXlegf3Wd9L4f9s/rkYKBbJ3nMcs1B0epFvF6mmZjeGS571xBaELqa MUmcX85g9R0aN+pH4knXYqsGmkEmXSkd+Cu9SsrWKno9cpkzTvwN62FXYFySsRRNiuqA B/1IlpwKGw/o1b+sbCd+UoT+esK8A1CheJiAsXVp47EK6aFttWUjIBnvwtRbnK5XdRfT hrZEst9ABe45gA1WKcPl8AAxz1qlNTw9ZBeERwotm+XBgNDLlCC6zw9QpCb0G7JypbOI Y35A== X-Gm-Message-State: AOAM531UzO9Im9TfzSGGjavt05jno/pq3mC0DOVj7S2nFdIT4EgaSwtz rjwlGVsdZPp7tjl++rZnQXJmMf1H8cCml+ueweOdX8jH X-Google-Smtp-Source: ABdhPJzj2c0/xJYMLuFx9YppWX8yb6Hacbba8UJI/gEG+rLA0sSit9eBMeafNP+zl/L0LAhYKDwbHjcYFgEUL7gXY3Y= X-Received: by 2002:a17:906:6010:: with SMTP id o16mr17020929ejj.320.1599416107215; Sun, 06 Sep 2020 11:15:07 -0700 (PDT) MIME-Version: 1.0 References: <845zekiluk.fsf@gmail.com> <87tuwcaj5g.fsf@gnu.org> In-Reply-To: <87tuwcaj5g.fsf@gnu.org> From: Dmitrii Korobeinikov Date: Mon, 7 Sep 2020 00:14:56 +0600 Message-ID: Subject: Re: Preventing org-cycle from scrolling the buffer To: Bastien Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=dim1212k@gmail.com; helo=mail-ej1-x636.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-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marco Wahl , emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Bt61sQz6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: ceQWe1kzZLkd Hi Bastien, Thank you, both for accepting this and for the fix with the blank line fold= ing! Best, DK =D1=81=D0=B1, 5 =D1=81=D0=B5=D0=BD=D1=82. 2020 =D0=B3. =D0=B2 11:26, Bastie= n : > > Hi Dmitrii, > > Dmitrii Korobeinikov writes: > > > Nice, I see! > > > >> IDK. AFAICS you are right with your argumentation. I don't see the > >> need of that feature, though, yet. But that's just me. I think you a= re > >> the best candidate to try an implementation of the feature. > > > > I have attached a small patch, seems to be working! Of course, if this > > is to be merged, that defvar will have to turn into a defcustom. > > thanks for the patch, I applied a small variant of it as 056fc532b. > > I don't think we need an option (defcustom) for this, the current > behavior seems correct -- but I'm convinced some people would prefer > the previous behavior. If there are a lot of such people with strong > argument, perhaps we will have to revert the change. > > Thanks, > > -- > Bastien