emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: emacs-orgmode@gnu.org
Subject: proposal for improved integration of cdlatex
Date: Fri, 25 Jul 2014 18:31:26 +0200	[thread overview]
Message-ID: <CAKrPhPOUQ2M4hsw587TgSx2mAKktN19XiEVLsBvRGY1X3eB8_A@mail.gmail.com> (raw)


when you enable org-cdlatex and insert a LaTeX environment by pressing
M-{, the new environment is inserted ignoring indentation. To correct
for that it is not enough to press TAB as TAB is locally bound to
cdlatex-tab and moves the cursor to the next "interesting" part of the

For this reason I would like to propose an improved default binding to
the org-cdlatex-mode-map M-{ as follows:

(defun org-cdlatex-environment-indent (&optional environment item)
  (cdlatex-environment environment item)
    (org-indent-region (point) (mark))))

(org-defkey org-cdlatex-mode-map "\C-c{"


             reply	other threads:[~2014-07-25 16:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-25 16:31 Federico Beffa [this message]
2014-07-28 14:44 ` Bastien
2014-07-29  7:24   ` Federico Beffa
2014-07-29 14:28     ` Bastien
2014-07-29 14:44       ` Federico Beffa
2014-07-29 14:54         ` Bastien
2014-07-30 19:48           ` Federico Beffa
2014-07-30 20:25             ` Nicolas Goaziou
2014-07-31  9:12               ` Federico Beffa
2014-08-08 16:23 Federico Beffa
2014-08-09  7:54 ` Nicolas Goaziou

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:

  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=CAKrPhPOUQ2M4hsw587TgSx2mAKktN19XiEVLsBvRGY1X3eB8_A@mail.gmail.com \
    --to=beffa@ieee.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: proposal for improved integration of cdlatex' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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