From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: shorcut for #+BEGIN_xxx ... #+END_xxx Date: Thu, 14 Aug 2014 12:13:31 +0200 Message-ID: <87mwb7l6pg.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHs2c-0005Az-UW for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 06:14:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHs2V-0002k4-7r for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 06:13:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:35675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHs2V-0002jA-0v for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 06:13:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XHs2R-0006eh-Ez for emacs-orgmode@gnu.org; Thu, 14 Aug 2014 12:13:43 +0200 Received: from business-213-023-238-209.static.arcor-ip.net ([213.23.238.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Aug 2014 12:13:43 +0200 Received: from rasmus by business-213-023-238-209.static.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Aug 2014 12:13:43 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Joseph, Joseph Vidal-Rosset writes: > Hello the list, > > I am sorry to ask a so elementary question but I would be happy to get a > mean to have, like with CDlatex or like in LaTeX a shortcut to get > > #+BEGIN_my_choice_of_environment > > > #+END_my_choice_of_environment > > I know that there is it would maybe be useful to choice the environment, like with C-e in LateX > + auctex, or like with C { with CD latex. > > Help and suggestions are welcome. Not quite what you are asking for, but have you seen the variable `org-structure-template-alist'? It still requires you to add each completion. That being said, it probably wouldn't be too hard to write something like the prompt of cdlatex. —Rasmus -- And I faced endless streams of vendor-approved Ikea furniture. . .