From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oBucOd90NmQnmwAASxT56A (envelope-from ) for ; Wed, 12 Apr 2023 11:07:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wMKiOd90NmRmewAA9RJhRA (envelope-from ) for ; Wed, 12 Apr 2023 11:07:43 +0200 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 AF10F17D9B for ; Wed, 12 Apr 2023 11:07:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmWRJ-0005X3-Kv; Wed, 12 Apr 2023 05:06:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmWRH-0005WJ-4Q for emacs-orgmode@gnu.org; Wed, 12 Apr 2023 05:06:51 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmWR3-0002d6-56 for emacs-orgmode@gnu.org; Wed, 12 Apr 2023 05:06:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 67344240145 for ; Wed, 12 Apr 2023 11:06:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681290394; bh=MhNtIl/iLa3xjgHRSS8aDkYlXTIqFSXNi9LXVhRCbxQ=; h=From:To:Cc:Subject:Date:From; b=CsewE9g50mhlavOvhq+XJxBpcQKInXiSOfzUtnhBE038iWq/pTOu6uk8fl38KqD8R snCQ/W+Mto/bxvyJzt1FneGTCGunuB5H5t6yHG7UfluTwuYTsZJ2mpQ13LNYdO9qKE 30bG27F7IMTWgODDg9wYicPYKbinqk3wafQQG9u1VdESTIKqDSAqjQ/6yTrYKZqUAI Et1EBQM6wq0xy/qVlg/biEzU6/pf1yBhWgtcPZjkW7TEXgkdoI7vhpQneXQyXZ7S4K k9Ek2co9ee5zGwCzszdziV6yLTpGOZEQZvYol+WKUd2lucA7wKzbyTxFGfGRa+WIwk k6cl6wlDngeUA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PxGzY66rYz6tn4; Wed, 12 Apr 2023 11:06:33 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?Q?S=C5=82awomir?= Grochowski Cc: emacs-orgmode@gnu.org Subject: Re: [RFC] [feat] org-colview/org-columns: 'column view' moving rows up/down In-Reply-To: References: <87lej51frx.fsf@gmail.com> <87355ckl7d.fsf@localhost> <877culo1pb.fsf@localhost> Date: Wed, 12 Apr 2023 09:09:03 +0000 Message-ID: <8735558o28.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681290463; a=rsa-sha256; cv=none; b=LhA9CSkmf7cpbFTMW9twI1ZUatmWqMUkkraSkEUPUyVclVcnDP97njILb9K/Rz+0Nd1GPg gNi4zjOg1Ves4NVzHI0A+MWNjBnjpR+abwxefU7TIL8l/mUBDfDIjd0S9Sr9YTP7TUx9X0 cYgFV50QU6P3bwxC8foi6Cr40wYxlo4PyQfrq6IXlI73DQmjV1wob4dt+n/7gAXtu+ukhT mIPI03HJKq5WWcHC0iToeIFWQBrujLVAcFFAU8iqa4MabnckXQTWz2NQQjAqpv7ZA7tY26 jyjJy052FjS0yGpMldh+CHUObSBk7FYlD+inO3wHaTlU7e4ZiWulz8LhCs8Lmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CsewE9g5; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681290463; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MhNtIl/iLa3xjgHRSS8aDkYlXTIqFSXNi9LXVhRCbxQ=; b=CbWQyOAXaohLJAqwHZysd/USAtHPpEty59QJt2l936J0/qCkMU98RLRKZeAk4nqzna3xRh Y31R2+8CHBmF03swNJRDt3uNHCxW9Jxc02w9y5NcbD6B4/OSOVYHmcHuCP5zUCgkoUcANO WNaFnxj2ZBPbgpB2/R4hQ530gJ+aGBPIUAi5IrEbVSDZ4kB5OkMcmqzeaHmmhFVELSeNzh LTQCoVvP1PK9Is656dlBvm2fCEKrt+CXtO+n3Gd2thRKRHBFFwTPLAHV3rGgKNEn87hFJI ssKNt/CHpR9Yj+gJv/tCm8mKdMRAwjCa3+pdU1VY5fLZA5AzA8QSaM2CnODgeQ== X-Migadu-Queue-Id: AF10F17D9B Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CsewE9g5; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.52 X-Spam-Score: -11.52 X-TUID: hoPfh4iCccub S=C5=82awomir Grochowski writes: > As I understand it something with overlay. Which try to jump before the > first line of the buffer. Most likely. > And that makes some kind of overflow? > I will try to simplify the example and create a simple overlay without > org-columns. > If anyone has some ideas how to debug it I will be grateful for the hints. I suspect that it is something with overlay boundaries. AFAIR, some org subtree motion functions use `insert-before-markers', which may be tricky when we insert right at the beginning/end of an overlay. I suggest using M-x debug-on-entry and stepping through the code. You may also add a random colour to colview overlays to track how they behave visually. You can also examine `org-columns-overlays' variable that holds all the active colview overlays. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at