From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Newsgroups: gmane.emacs.bugs Subject: bug#37393: 26.2.90; [PATCH] Speed up 'csv-align-fields' Date: Wed, 18 Sep 2019 21:59:20 +0200 Message-ID: <5d828c99.1c69fb81.1ec00.8239@mx.google.com> References: <5d7a7b56.1c69fb81.c32f6.840d@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26460"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37393@debbugs.gnu.org, monnier@iro.umontreal.ca, sdl.web@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 18 22:00:31 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iAg7r-0006jx-1n for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Sep 2019 22:00:31 +0200 Original-Received: from localhost ([::1]:34820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAg7p-0006jy-K3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Sep 2019 16:00:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37079) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAg7Q-0006jR-K9 for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2019 16:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAg7P-0006zK-MA for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2019 16:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iAg7P-0006z5-Iy for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2019 16:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iAg7O-0005kD-Bt for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2019 16:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Sep 2019 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37393 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 37393-submit@debbugs.gnu.org id=B37393.156883677022002 (code B ref 37393); Wed, 18 Sep 2019 20:00:02 +0000 Original-Received: (at 37393) by debbugs.gnu.org; 18 Sep 2019 19:59:30 +0000 Original-Received: from localhost ([127.0.0.1]:54865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAg6s-0005io-JT for submit@debbugs.gnu.org; Wed, 18 Sep 2019 15:59:30 -0400 Original-Received: from mail-lf1-f67.google.com ([209.85.167.67]:35466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAg6q-0005iY-4z for 37393@debbugs.gnu.org; Wed, 18 Sep 2019 15:59:28 -0400 Original-Received: by mail-lf1-f67.google.com with SMTP id w6so591468lfl.2 for <37393@debbugs.gnu.org>; Wed, 18 Sep 2019 12:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:from:to:cc:subject:in-reply-to:date:mime-version; bh=QyFyLCrJRxFbPJBFk47udred3NFu3tGpaY9AF4u7r7A=; b=hVq7otV21kF5zSyVyN5kr1v9uYehbPzDfFXqKkG2JidBV4CK55uNKbFQgD8AKjWj76 0dkrDdlxFkD8eBACj5iK0Y45lA1FoOouIovPPNvEOhPZiCfhJNdOtcHsXXHxXdkTi6N5 jTJ8kKkM+6Fc3ui6BAVYY/9N8nR3brZPC2bhrVy9OX2D0rQMI5kHyyv51yT2b5i6hNQu Z9xScE8FgZtKbXg3s+T3NKqa5dmtUyBCrxAuDWzwvtr5XfdaQgO00RrWLxW5uVV9WXSW fIPk8Lf14TgdJLLl6nke5gLeQrvb6yBnKSE12Uj30KW0pIi1RBkiulxCjSiDUNo4kXGV PKUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:from:to:cc:subject:in-reply-to:date :mime-version; bh=QyFyLCrJRxFbPJBFk47udred3NFu3tGpaY9AF4u7r7A=; b=T8D1YrfAhjwDI9H4xbFy8P+Ey47IlWwTDHVMgTGVhl+EDy4v9E5PWa+JdOI58bqFXV d3pjFeb6YI8s7y8SWWaEj2T66m3ezeTTf22MqyhTLhaTxAmDaBCtl5eCpqUTzv49u5cH JNSOl2qO9FB8Gnn6XXhvFIcQzz25cfhrgamAH7tqygehaiWDaXeUy87189FLOgjm7QNp TD38NzZpPtt2agkZlc98N1TrDWb3p5yu4UmMwLsj/h7c89WJ8SPWpAafDUyhSwDzhuyC bWXI7mgn16dFcAPBF7Tsa2hGs+AV6LEwuag119RmeeCJdrpZOdQomt8awEsmuFB+K6PC UAVw== X-Gm-Message-State: APjAAAWI/GDaWvo0gAv13B89NJquccaqs0O4cy60jDfMARtR95z5eUBN vJAdOKka6EPX4tRybA7Tu5w= X-Google-Smtp-Source: APXvYqwAP+5Zc2LqZNA5sq766584/0N/IDWH2QZ4EUr8IZzW5ybIVD9eZJFDgJmPilwjhZ8RrDRZCw== X-Received: by 2002:ac2:483a:: with SMTP id 26mr2920000lft.188.1568836762045; Wed, 18 Sep 2019 12:59:22 -0700 (PDT) Original-Received: from ae25 (cm-84.210.143.4.getinternet.no. [84.210.143.4]) by smtp.gmail.com with ESMTPSA id f21sm1359031lfm.90.2019.09.18.12.59.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 12:59:21 -0700 (PDT) X-Google-Original-Message-ID: <875zlpfk9z.fsf@simenheg@gmail.com> In-Reply-To: <83o8ziuyb7.fsf@gnu.org> (message from Eli Zaretskii on Wed, 18 Sep 2019 05:34:52 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:166685 Archived-At: Eli Zaretskii writes: > What about posn-at-point? That one doesn't seem to take the display width of the characters into account. For instance, in a buffer with "" and point at the end, 'current-column' returns column 9 as expected, while 'posn-at-point' gives 3. -- Simen