emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Pascal Wittmann <PascalWittmann@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: orgtbl-insert-radio-table forbid blanks in the table name
Date: Thu, 11 Oct 2012 14:35:55 +0200	[thread overview]
Message-ID: <87fw5l4250.fsf@gmail.com> (raw)
In-Reply-To: <5073CC9D.8030100@gmx.net> (Pascal Wittmann's message of "Tue, 09 Oct 2012 09:05:01 +0200")

Hello,

Pascal Wittmann <PascalWittmann@gmx.net> writes:

> I noticed that its possible to enter a name containing blanks when
> calling orgtbl-insert-radio-table. I don't think that this is intended,
> because blanks are used as separators in the "#+ORGTBL" line.
>
> Entering a the name "first table" will result in the following error
> message:
>
> 	"No such transformation function table"
>
> For me (as a novice) it was at first not obvious what I did wrong. My
> suggestion is to chose an other input method that forbids blanks.

Documentation uses table_name in order to describe the name of the
table, implying there shouldn't be any space in that name. Maybe it
could be made more explicit, with, i.e. a footnote somewhere.

> I fixed this locally with the attached patch, but I'm sure there are
> better solutions (I find it unintuitive that blanks terminate the
> input).

Another possibility is to return an error if the string read contains
any whitespace character.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2012-10-11 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09  7:05 orgtbl-insert-radio-table forbid blanks in the table name Pascal Wittmann
2012-10-11 12:35 ` Nicolas Goaziou [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=87fw5l4250.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=PascalWittmann@gmx.net \
    --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).