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
[-- 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 --]
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
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
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
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
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