From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lamppilutti--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58712: =?UTF-8?Q?=D0=9E=D1=82=D0=B2=D0=B5=D1=82:?= Re: bug#58712: Incorrect vtable edges recognizing Date: Fri, 25 Nov 2022 13:08:44 +0000 Message-ID: References: Reply-To: =?UTF-8?Q?L=C3=A4mppi_?= =?UTF-8?Q?L=C3=BCtti?= 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="17910"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58712@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 25 15:34:40 2022 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 1oyZmq-0004Q7-JM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Nov 2022 15:34:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyZmS-0005RE-VR; Fri, 25 Nov 2022 09:34:17 -0500 Original-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 1oyZmG-0005LO-2E for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 09:34:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyZmF-0001NU-Jt for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 09:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyZmF-00035S-Gb for bug-gnu-emacs@gnu.org; Fri, 25 Nov 2022 09:34:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?L=C3=A4mppi_?= =?UTF-8?Q?L=C3=BCtti?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Nov 2022 14:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58712 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58712-submit@debbugs.gnu.org id=B58712.166938682511808 (code B ref 58712); Fri, 25 Nov 2022 14:34:03 +0000 Original-Received: (at 58712) by debbugs.gnu.org; 25 Nov 2022 14:33:45 +0000 Original-Received: from localhost ([127.0.0.1]:33917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyZlw-00034H-Mq for submit@debbugs.gnu.org; Fri, 25 Nov 2022 09:33:45 -0500 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]:59983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyYRt-0007Dr-1o for 58712@debbugs.gnu.org; Fri, 25 Nov 2022 08:08:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1669381730; x=1669640930; bh=RwBIsAOVDkKpoR+JWpQidRE99t8JRD7nqrFJb5Onpbo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=m0Ro3XkPwMbc0iCMuoTqfgQZsYQyxVT1ZFGtuLMuxfbz0Q/wbVhkb4ebLe4leGcod fAhgrDNUpXchPqETvctYo/eH/wCdRLCoZtsBMhOINULfQdjjBphnF+2cqfXA7REg4D aXRUfUTC8LbWPf/9fWWCBQ6dkDcDhwL5Q85LEBP6ICgBxpfl9Me1Xh4ZKmNsr8CiWz xOrqhf0RiLsd7bDc3attq414RsnBnAL6E+ChCSEZnVz4g0Lr1NwCZua12ntFwhkIyV N3ou4BMyPNLj1dt9d0beeOFYPSLqXkl8Xor7GbtzWb6hvnQ39P7AsKT0lMALPs93vj Cm7xdEPpi/ghw== In-Reply-To: Feedback-ID: 40479523:user:proton X-Mailman-Approved-At: Fri, 25 Nov 2022 09:33:40 -0500 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249004 Archived-At: > L=C3=A4mppi L=C3=BCtti lamppilutti@protonmail.com writes: >=20 > > Functions `vtable-beginning-of-table' and` vtable-beginning-of-table' r= ecognize > > edges incorrectly. Because of this `vtable-narrow-current-column',` vta= ble-widen-current-column', `vtable-sort-by-current-column' and` vtable-head= er-line-sort' remove all text before and after the table. > >=20 > > There is small patch to fix this. >=20 >=20 > Do you have a recipe to reproduce this issue? That would make it easier > to test the patch. Thanks in advance. Steps for reproduce the bag: 1. Open buffer and insert some lines in it. 2. With cursor between the lines do M-x eval-expression RET (make-vtable :objects '(("Foo" 1034) ("Gazonk" 45))). 3. With cursor on the table do M-x vtable-sort-by-current-collumn several times (or any other function listed in first letter). Without the patch lines above and below the table will be removed.