emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Let emacs align all columns automatically on-the-fly within orgmode.
@ 2020-12-28  1:05 Hongyi Zhao
  2020-12-28  8:28 ` Diego Zamboni
  0 siblings, 1 reply; 7+ messages in thread
From: Hongyi Zhao @ 2020-12-28  1:05 UTC (permalink / raw)
  To: Org-mode

When editing a table in orgmode, the columns become no longer aligned.
How to let emacs align all columns automatically on-the-fly within
orgmode?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Let emacs align all columns automatically on-the-fly within orgmode.
  2020-12-28  1:05 Let emacs align all columns automatically on-the-fly within orgmode Hongyi Zhao
@ 2020-12-28  8:28 ` Diego Zamboni
  2020-12-28  9:11   ` Hongyi Zhao
  0 siblings, 1 reply; 7+ messages in thread
From: Diego Zamboni @ 2020-12-28  8:28 UTC (permalink / raw)
  To: Hongyi Zhao; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

Normally, pressing TAB in any cell will align the whole table and move  the
cursor to the next cell.

--Diego

On Mon, 28 Dec 2020 at 02:06, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:

> When editing a table in orgmode, the columns become no longer aligned.
> How to let emacs align all columns automatically on-the-fly within
> orgmode?
>
> Regards
> --
> Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
> Theory and Simulation of Materials
> Hebei Polytechnic University of Science and Technology engineering
> NO. 552 North Gangtie Road, Xingtai, China
> <https://www.google.com/maps/search/NO.+552+North+Gangtie+Road,+Xingtai,+China?entry=gmail&source=g>
>
>

[-- Attachment #2: Type: text/html, Size: 1100 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Let emacs align all columns automatically on-the-fly within orgmode.
  2020-12-28  8:28 ` Diego Zamboni
@ 2020-12-28  9:11   ` Hongyi Zhao
  2020-12-28  9:54     ` Ihor Radchenko
  0 siblings, 1 reply; 7+ messages in thread
From: Hongyi Zhao @ 2020-12-28  9:11 UTC (permalink / raw)
  To: Diego Zamboni; +Cc: Org-mode

On Mon, Dec 28, 2020 at 4:28 PM Diego Zamboni <diego@zzamboni.org> wrote:
>
> Normally, pressing TAB in any cell will align the whole table and move  the cursor to the next cell.

I use Chinese characters in some column, and it seems that pressing
TAB can't do the trick for this senario.

>
> --Diego
>
> On Mon, 28 Dec 2020 at 02:06, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>>
>> When editing a table in orgmode, the columns become no longer aligned.
>> How to let emacs align all columns automatically on-the-fly within
>> orgmode?
>>
>> Regards
>> --
>> Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
>> Theory and Simulation of Materials
>> Hebei Polytechnic University of Science and Technology engineering
>> NO. 552 North Gangtie Road, Xingtai, China
>>


-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Let emacs align all columns automatically on-the-fly within orgmode.
  2020-12-28  9:11   ` Hongyi Zhao
@ 2020-12-28  9:54     ` Ihor Radchenko
  2020-12-28 14:01       ` Hongyi Zhao
  0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2020-12-28  9:54 UTC (permalink / raw)
  To: Hongyi Zhao, Diego Zamboni; +Cc: Org-mode

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> I use Chinese characters in some column, and it seems that pressing
> TAB can't do the trick for this senario.

Take a look at https://github.com/casouri/valign

Best,
Ihor


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Let emacs align all columns automatically on-the-fly within orgmode.
  2020-12-28  9:54     ` Ihor Radchenko
@ 2020-12-28 14:01       ` Hongyi Zhao
  2021-01-01 22:49         ` Richard Kim
  0 siblings, 1 reply; 7+ messages in thread
From: Hongyi Zhao @ 2020-12-28 14:01 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Diego Zamboni, Org-mode

On Mon, Dec 28, 2020 at 5:50 PM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > I use Chinese characters in some column, and it seems that pressing
> > TAB can't do the trick for this senario.
>
> Take a look at https://github.com/casouri/valign

Wonderful. Thanks a lot. I'll take a look and try it.

Best,
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Let emacs align all columns automatically on-the-fly within orgmode.
  2020-12-28 14:01       ` Hongyi Zhao
@ 2021-01-01 22:49         ` Richard Kim
  2021-01-01 23:59           ` Hongyi Zhao
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Kim @ 2021-01-01 22:49 UTC (permalink / raw)
  To: emacs-orgmode


Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> On Mon, Dec 28, 2020 at 5:50 PM Ihor Radchenko <yantar92@gmail.com> wrote:
>>
>> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>>
>> > I use Chinese characters in some column, and it seems that pressing
>> > TAB can't do the trick for this senario.
>>
>> Take a look at https://github.com/casouri/valign
>
> Wonderful. Thanks a lot. I'll take a look and try it.

In my experience valign was a disaster in that it made org-mode pretty
much unusable. For details see
https://github.com/syl20bnr/spacemacs/issues/14223



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Let emacs align all columns automatically on-the-fly within orgmode.
  2021-01-01 22:49         ` Richard Kim
@ 2021-01-01 23:59           ` Hongyi Zhao
  0 siblings, 0 replies; 7+ messages in thread
From: Hongyi Zhao @ 2021-01-01 23:59 UTC (permalink / raw)
  To: emacs18; +Cc: Org-mode

On Sat, Jan 2, 2021 at 6:51 AM Richard Kim <emacs18@gmail.com> wrote:
>
>
> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>
> > On Mon, Dec 28, 2020 at 5:50 PM Ihor Radchenko <yantar92@gmail.com> wrote:
> >>
> >> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >>
> >> > I use Chinese characters in some column, and it seems that pressing
> >> > TAB can't do the trick for this senario.
> >>
> >> Take a look at https://github.com/casouri/valign
> >
> > Wonderful. Thanks a lot. I'll take a look and try it.
>
> In my experience valign was a disaster in that it made org-mode pretty
> much unusable. For details see
> https://github.com/syl20bnr/spacemacs/issues/14223

But for my case, it really does the trick and works like a charm.

BR,
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-01-02  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-28  1:05 Let emacs align all columns automatically on-the-fly within orgmode Hongyi Zhao
2020-12-28  8:28 ` Diego Zamboni
2020-12-28  9:11   ` Hongyi Zhao
2020-12-28  9:54     ` Ihor Radchenko
2020-12-28 14:01       ` Hongyi Zhao
2021-01-01 22:49         ` Richard Kim
2021-01-01 23:59           ` Hongyi Zhao

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).