From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: table export to same buffer Date: Fri, 02 Aug 2013 21:22:11 +0200 Message-ID: <867gg3rj8c.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Rustom Mody wrote: > Is it possible to export an orgmode table not to a new file but overwriting > the org table in the same buffer? > > Context is editing source code which contains a largeish table of (say) > constants. > Editing is done with orgtbl minor mode. > When done it should become back the table in the natural format of the > programming language > [For simplicity lets just say csv will do] Using an Org Babel code block (which you have to write, of course) taking as input your table, and outputting your constants in the wished format should do what you're looking for, right? Best regards, Seb -- Sebastien Vauban