emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: ishi soichi <soichi777@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Elisp code to insert a word in table
Date: Fri, 3 Dec 2010 19:52:44 +0900	[thread overview]
Message-ID: <AANLkTinWY8xMWbsz-KYr+xqVLCETYVRzUkHYTwea7YOS@mail.gmail.com> (raw)
In-Reply-To: <D8A106FD-DEB9-49EB-A07C-F6B97BBC1DCB@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 735 bytes --]

Thanks for such a quick response!

soichi

2010/12/3 Carsten Dominik <carsten.dominik@gmail.com>

> Hi Ishi,
>
>
> On Dec 3, 2010, at 10:00 AM, ishi soichi wrote:
>
>  Hi. I'm trying to write an elisp code to enter words into a table of
>> org-mode.
>>
>> after designating a buffer, which already contains a table, I simply
>> wrote,
>>
>>    '(insert "test!" @2$2)
>>
>> does not work obviously.
>>
>
> indeed.
>
>
>
>
>> Do I need to move the "point" to the particular cell before inserting?
>>
>
> You could to that, using the functions org-table-goto-line and then
> org-table-goto-column.
>
> However, it is easier to use, for programmatic access to fields, the
> functions
> `org-table-put' and `org-table-get'.
>
> - Carsten
>

[-- Attachment #1.2: Type: text/html, Size: 1400 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-12-03 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03  9:00 Elisp code to insert a word in table ishi soichi
2010-12-03  9:51 ` Carsten Dominik
2010-12-03 10:52   ` ishi soichi [this message]
2010-12-04 11:27     ` ishi soichi
2010-12-04 12:29       ` Nick Dokos
2010-12-04 23:08         ` ishi soichi

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=AANLkTinWY8xMWbsz-KYr+xqVLCETYVRzUkHYTwea7YOS@mail.gmail.com \
    --to=soichi777@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).