From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: valign.el Date: Mon, 30 Nov 2020 13:13:41 +0530 Organization: Code Is Great Foundation Message-ID: References: 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="25560"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: "emacs-devel@gnu.org" To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 30 08:45:19 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kjds6-0006Vk-Lc for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 08:45:18 +0100 Original-Received: from localhost ([::1]:45888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjds5-0001eG-HT for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 02:45:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjdqe-00019T-0g for emacs-devel@gnu.org; Mon, 30 Nov 2020 02:43:48 -0500 Original-Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:35890) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjdqc-0007ew-A5 for emacs-devel@gnu.org; Mon, 30 Nov 2020 02:43:47 -0500 Original-Received: by mail-pl1-x631.google.com with SMTP id r2so6032352pls.3 for ; Sun, 29 Nov 2020 23:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:mail-followup-to:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=7wn7cbzuDm8NC9O+yxFMPsJHukE0m80wFrptwsbF40M=; b=NeR/LrA4qzV5AhugxPw7pna2Q1QfJ1HIJiBfCTlFLZq04B5iDVZULo/9yOiPeRrXWn QKLzpBu5vaJzOyWw5AX7FHADX/YqMcCzVTfMXMrPRxZo08pGc/zOptNAV/T61lIqmKVj /DgozQaNkc+a4nQtlVO89cdH7pKJca4Yxh4WFVSHl5nLMYzUCNpP2ctKxjbjzQq7GOEE rdNCrw8oM9h59orjMwyawUMeh4fJM0s1IgcfladsbhMV6AKgg8KAgc2RHXcIUZN9z/uA xilyYRpsQ6H4waEMoZ7sUY1DFZlCgDTV7YN4DIyCKR4tUEQZqOfSCLU0cs3tHzgyFsfR VneQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-followup-to:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=7wn7cbzuDm8NC9O+yxFMPsJHukE0m80wFrptwsbF40M=; b=rik2dSgJJh300G+3H3pcRbIb4yypns7N9sg7lTMaXjR53HvuSUldzGZ/BdlmS1UqRN 3Cub3EJzDDh2jtu9m0tflU2jIrIMrJiGXqjTd38tO0NHOHYd+FB3hKcjR6+rKtlYy7qF dmfskk62eAfUXVNXyUBDqW5rQiZPOtMd64GuA4xOhSR5D7ZEZde8TMI8OuVDXfdNgHW/ CWaK6rB0mv7BIp2C9Txeedz8lVbMtOnmkgMJHFzUFAAfU/N5FcyW35oRsUCYS/6f7u6f KJgvQkOUtZi/AMej2VyK9Nl7fQBsHdRV4+QMzkbXEbtyUyyL7OcL8wZm1N4g4PesBIAt 6gcA== X-Gm-Message-State: AOAM531MmZWVo6qKXf/6vL15P0w/FUZNe4g3YcCjEqHSfJkT1lOn9jl4 6ZrnEKnJF5WsW7SzUCWAo6DZ7LoAJJ4iFQ== X-Google-Smtp-Source: ABdhPJxJ8nrCTY0Ldo6oFKS1RlGWRsTM3v6u8RKdTdw0HIryAUBT1NVklec2cnJzRcS0v6GO7LPF3w== X-Received: by 2002:a17:90a:fd08:: with SMTP id cv8mr8098266pjb.29.1606722224784; Sun, 29 Nov 2020 23:43:44 -0800 (PST) Original-Received: from mb2.local ([2405:201:5c06:7812:d8e5:f909:782f:59c5]) by smtp.gmail.com with ESMTPSA id n21sm15776627pfo.182.2020.11.29.23.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2020 23:43:44 -0800 (PST) Mail-Followup-To: Yuan Fu , "emacs-devel\@gnu.org" In-Reply-To: (Yuan Fu's message of "Sun, 29 Nov 2020 23:24:11 -0500") Received-SPF: none client-ip=2607:f8b0:4864:20::631; envelope-from=pankaj@codeisgreat.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260053 Archived-At: Yuan Fu writes: > Text-based tables in Emacs has a problem when used with variable-pitch > fonts and CJK characters: they don=E2=80=99t align. To solve that problem= , I > wrote a package, vailgn.el, to provide automatic alignment for Org > Mode, Markdown, and table.el tables. Many people have been using it > (primarily the Chinese community) with success and many bugs have been > fixed. With the latest version, I am satisfied with the features > valign.el provides and its stability, so I want to see added to ELPA. > > I=E2=80=99ve updated the copyright header and I=E2=80=99ve signed the ass= ignment. What > should I do next? I wish to keep hosting the project on GitHub. Here > is the project homepage: https://github.com/casouri/valign This looks really good. I have a question. Is this package related to tables only or will this be a generic enhancement? I feel that this should be a generic enhancement. Following are the two cases where I see its appliation: *One:* A few days back I was tinkering with the ``Gnus Summary Line Format'' and I was thinking if it is possible to align the lines containing non-english multi-byte characters with the other lines containing ASCII names. Value of my `gnus-summary-line-format' is "%4P %U%R%z %-16&user-date; %(%[%4L(%4k):%*%-23,23f%]%) %B%s I have reserved 23 characters for name but it misaligns when there are multi-byte characters in it. *Two:* When I enable any of the `modus-' themes, org-mode tables with too many columns misaligns.