unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <pankaj@codeisgreat.org>
To: Yuan Fu <casouri@gmail.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: valign.el
Date: Mon, 30 Nov 2020 13:13:41 +0530	[thread overview]
Message-ID: <m2wny3nvbm.fsf@codeisgreat.org> (raw)
In-Reply-To: <E8ADDC3B-3BCC-4816-8262-CCF84F61CF68@gmail.com> (Yuan Fu's message of "Sun, 29 Nov 2020 23:24:11 -0500")

Yuan Fu <casouri@gmail.com> writes:

> Text-based tables in Emacs has a problem when used with variable-pitch
> fonts and CJK characters: they don’t 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’ve updated the copyright header and I’ve signed the assignment. 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.



  reply	other threads:[~2020-11-30  7:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30  4:24 [ELPA] New package: valign.el Yuan Fu
2020-11-30  7:43 ` Pankaj Jangid [this message]
2020-11-30 14:55   ` Yuan Fu
2020-11-30 15:02   ` Alexander Adolf
2020-12-02  9:32     ` Lars Ingebrigtsen
2020-12-05 19:17     ` William Xu
2020-12-05 22:50       ` Yuan Fu
2020-12-02  3:39 ` 황병희
2020-12-02  4:24   ` Yuan Fu
2020-12-02  4:33     ` 황병희
2020-12-05 19:12 ` William Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wny3nvbm.fsf@codeisgreat.org \
    --to=pankaj@codeisgreat.org \
    --cc=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).