From mboxrd@z Thu Jan 1 00:00:00 1970 From: dmg Subject: function to select text of in a cell of a table Date: Fri, 30 Dec 2016 15:55:08 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c056316ecc0840544e8f01b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN71a-0006Jy-Ox for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 18:55:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cN71Z-00033Q-SI for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 18:55:50 -0500 Received: from mail-ua0-x22e.google.com ([2607:f8b0:400c:c08::22e]:33266) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cN71Z-00032v-NJ for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 18:55:49 -0500 Received: by mail-ua0-x22e.google.com with SMTP id i68so159070473uad.0 for ; Fri, 30 Dec 2016 15:55:49 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --94eb2c056316ecc0840544e8f01b Content-Type: text/plain; charset=UTF-8 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 --94eb2c056316ecc0840544e8f01b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hi everybody,
<= br>
has anybody written a function to select the te= xt in a cell of a table?

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

Otherwise, I'll just write one.

thank you,

=
--daniel

--
--dmg

---
Daniel M.= German
http://tu= ringmachine.org
--94eb2c056316ecc0840544e8f01b-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: function to select text of in a cell of a table Date: Fri, 30 Dec 2016 18:57:08 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN9rC-0001nO-T4 for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 21:57:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cN9r9-0000AC-SM for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 21:57:18 -0500 Received: from iport-acv6-out.ucsd.edu ([132.239.0.13]:10470) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cN9r9-00007W-Dm for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 21:57:15 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: function to select text of in a cell of a table Date: Sat, 31 Dec 2016 03:54:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1919de8922070544ec470a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNAkq-0006Vw-Js for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 22:54:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNAkp-0001PU-Ok for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 22:54:48 -0500 Received: from mail-ua0-x22a.google.com ([2607:f8b0:400c:c08::22a]:34697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNAkp-0001P5-JD for emacs-orgmode@gnu.org; Fri, 30 Dec 2016 22:54:47 -0500 Received: by mail-ua0-x22a.google.com with SMTP id 34so226411389uac.1 for ; Fri, 30 Dec 2016 19:54:47 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Charles C. Berry" , dmg Cc: emacs-org list --94eb2c1919de8922070544ec470a Content-Type: text/plain; charset=UTF-8 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 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 --94eb2c1919de8922070544ec470a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Check out this earlier thread:=C2=A0https://lists.gnu.org/archive/h= tml/emacs-orgmode/2016-05/msg00240.html

--94eb2c1919de8922070544ec470a-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: D M German Subject: Re: function to select text of in a cell of a table Date: Tue, 03 Jan 2017 10:44:51 -0800 Message-ID: <87eg0kvv8c.fsf@mn.cs.uvic.ca> References: Reply-To: dmg@turingmachine.org Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOU4x-0001dn-4s for emacs-orgmode@gnu.org; Tue, 03 Jan 2017 13:45:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOU4u-00059j-HK for emacs-orgmode@gnu.org; Tue, 03 Jan 2017 13:44:59 -0500 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:33502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cOU4u-00058i-Ay for emacs-orgmode@gnu.org; Tue, 03 Jan 2017 13:44:56 -0500 Received: by mail-pg0-x241.google.com with SMTP id g1so34312305pgn.0 for ; Tue, 03 Jan 2017 10:44:54 -0800 (PST) In-Reply-To: (Kaushal Modi's message of "Sat, 31 Dec 2016 03:54:35 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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 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 .