emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* function to select text of in a cell of a table
@ 2016-12-30 23:55 dmg
  2016-12-31  2:57 ` Charles C. Berry
  0 siblings, 1 reply; 4+ messages in thread
From: dmg @ 2016-12-30 23:55 UTC (permalink / raw)
  To: emacs-orgmode

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

hi everybody,

has anybody written a function to select the text in a cell of a table?

I needed to write a macro/command, but could not find one. Ideally it
should trim the whitespace in the ends.

Otherwise, I'll just write one.

thank you,

--daniel

-- 
--dmg

---
Daniel M. German
http://turingmachine.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: function to select text of in a cell of a table
  2016-12-30 23:55 function to select text of in a cell of a table dmg
@ 2016-12-31  2:57 ` Charles C. Berry
  2016-12-31  3:54   ` Kaushal Modi
  0 siblings, 1 reply; 4+ messages in thread
From: Charles C. Berry @ 2016-12-31  2:57 UTC (permalink / raw)
  To: dmg; +Cc: emacs-orgmode

On Fri, 30 Dec 2016, dmg wrote:

> hi everybody,
>
> has anybody written a function to select the text in a cell of a table?

If you mean like what ob-ref.el uses to support babel references, yes.

Also see org-table.el.

If you just want support for working with Babel src blocks, see

 	(info "(org) var")

HTH,

Chuck

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: function to select text of in a cell of a table
  2016-12-31  2:57 ` Charles C. Berry
@ 2016-12-31  3:54   ` Kaushal Modi
  2017-01-03 18:44     ` D M German
  0 siblings, 1 reply; 4+ messages in thread
From: Kaushal Modi @ 2016-12-31  3:54 UTC (permalink / raw)
  To: Charles C. Berry, dmg; +Cc: emacs-org list

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

Check out this earlier thread:
https://lists.gnu.org/archive/html/emacs-orgmode/2016-05/msg00240.html

You probably just need the org-table-mark-field definition from that.

On Sat, Dec 31, 2016, 8:28 AM Charles C. Berry <ccberry@ucsd.edu> wrote:

> On Fri, 30 Dec 2016, dmg wrote:
>
> > hi everybody,
> >
> > has anybody written a function to select the text in a cell of a table?
>
> If you mean like what ob-ref.el uses to support babel references, yes.
>
> Also see org-table.el.
>
> If you just want support for working with Babel src blocks, see
>
>         (info "(org) var")
>
> HTH,
>
> Chuck
>
> --

Kaushal Modi

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: function to select text of in a cell of a table
  2016-12-31  3:54   ` Kaushal Modi
@ 2017-01-03 18:44     ` D M German
  0 siblings, 0 replies; 4+ messages in thread
From: D M German @ 2017-01-03 18:44 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list, Charles C. Berry

 Kaushal Modi twisted the bytes to say:


 Kaushal> Check out this earlier thread:
 Kaushal> https://lists.gnu.org/archive/html/emacs-orgmode/2016-05/msg00240.html

 Kaushal> You probably just need the org-table-mark-field definition from that.

thank you both very much. Kaushal, your function is exactly what I
needed.

--daniel


 Kaushal> On Sat, Dec 31, 2016, 8:28 AM Charles C. Berry <ccberry@ucsd.edu> wrote:

 >> On Fri, 30 Dec 2016, dmg wrote:
 >> 
 >> > hi everybody,
 >> >
 >> > has anybody written a function to select the text in a cell of a table?
 >> 
 >> If you mean like what ob-ref.el uses to support babel references, yes.
 >> 
 >> Also see org-table.el.
 >> 
 >> If you just want support for working with Babel src blocks, see
 >> 
 >> (info "(org) var")
 >> 
 >> HTH,
 >> 
 >> Chuck
 >> 
 >> --

 Kaushal> Kaushal Modi

--
Daniel M. German                  "If Microsoft ever does applications
   Linus Torvalds ->               for Linux it means I've won."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-03 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-30 23:55 function to select text of in a cell of a table dmg
2016-12-31  2:57 ` Charles C. Berry
2016-12-31  3:54   ` Kaushal Modi
2017-01-03 18:44     ` D M German

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