emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: C-0 C-c | throws emacs into infinite loop
Date: Sat, 19 Mar 2011 18:03:08 +0800	[thread overview]
Message-ID: <AANLkTi=w-o2WgrGObf469DOJx=BKoX6jEGVzENg4vkiX@mail.gmail.com> (raw)
In-Reply-To: <AE91F903-9A28-426F-8827-F2CE8CE0E028@gmail.com>

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

On Sat, Mar 19, 2011 at 2:43 PM, Carsten Dominik
<carsten.dominik@gmail.com>wrote:

>
> On 18.3.2011, at 15:29, Le Wang wrote:
>
> > The doc-string of `org-table-convert-region' doesn't specifically address
> 0 as SEPARATOR, but 0 is an integer.  It shouldn't hang in any case.  When I
> C-g out of the loop, my undo limit was exceeded because the line filled with
> hundreds of thousands of empty cells.
> >
> > I think the correct behavior is to convert region into table using 0
> spaces as a separator -- so each character forms its own column.
>
> While this might be nice, it is such a border case that, for now, I have
> only added an
> error message to prevent the converter from going into an infinite loop.
>
> Or do you have a *really* goo use case for this?
>

No, I don't have a use case for this.  IMO, a reasonable argument should
result in some reasonable non-surprising behaviour.  We can argue whether 0
is a reasonable argument, though.  I'm okay as long as it doesn't hang.



> - Carsten
>
>


-- 
Le

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

      reply	other threads:[~2011-03-19 10:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 14:29 C-0 C-c | throws emacs into infinite loop Le Wang
2011-03-19  6:43 ` Carsten Dominik
2011-03-19 10:03   ` Le Wang [this message]

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.orgmode.org/

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

  git send-email \
    --in-reply-to='AANLkTi=w-o2WgrGObf469DOJx=BKoX6jEGVzENg4vkiX@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@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/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).