emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: ndame <emacsuser@freemail.hu>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Automatic formatting of the table as you type
Date: Sun, 29 Mar 2020 07:09:33 +0000 (GMT)	[thread overview]
Message-ID: <AyZo3A.flElOyngPh77.friMoMK6ftpYlPwjEFD@freemail.hu> (raw)

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

> I suggest being very careful with this.  While it's a very nice feature,
> it's bound to be slow with large tables.  And it is very frustrating for
> users when typing becomes laggy.

The feature could be an optional minor mode first and then later made
default if it proves to work well in every situation.

With the techniques I suggested there should be no lag at all, because
for smaller tables emacs can handle automatic formatting instantly and
with bigger tables the code can introduce an automatic idle delay
(sit-for), so the automatic reformat will happen only when the user is
idle for a short while. The idle period length can depend on the size
and complexity of the table.

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

             reply	other threads:[~2020-03-29  7:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-29  7:09 ndame [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-27 16:27 Automatic formatting of the table as you type ndame
2020-03-27 18:55 ` Nicolas Goaziou
2020-03-27 20:49   ` ndame
2020-03-29  6:18     ` Adam Porter
2020-03-30  8:26       ` Eric S Fraga

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=AyZo3A.flElOyngPh77.friMoMK6ftpYlPwjEFD@freemail.hu \
    --to=emacsuser@freemail.hu \
    --cc=emacs-orgmode@gnu.org \


* 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


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).