emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [POLL] Syntax change: make \[...\] non-inline (+1)
Date: Thu, 31 Jul 2014 10:03:10 +0100	[thread overview]
Message-ID: <877g2t3nox.fsf@gmx.us> (raw)
In-Reply-To: CAKrPhPPnO_SGuBuvL7ZoDprHRmHm5HVX+H=29DERU1pTH2BJXw@mail.gmail.com

Federico Beffa <beffa@ieee.org> writes:

> Who is entitled to vote? If I am then here is my vote in favor for the
> following reasons:
>
> 1. the construct \[...\] has been defined in LaTeX for equations which
> must stand out and therefore belong on separate lines. It would
> therefore make sense to conform to the borrowed syntax.

Background:

It works sensibly in latex-mode.  If your text is

   My displayed \[equation\]
   is here

M-q will make it 

   My displayed \[equation\] is here

But 

   My displayed
   \[equation\]
   is here

Is unaltered by M-q (though it was not obvious to me how tex-mode.el
implemented this).

I didn't read the other thread is details, but it seems the most
sensible thing to do is alter the org fill function(s).  These seems
to rely on org-element, though, and I'm guessing that is why a syntax
change is necessary, yes?

—Rasmus

-- 
You people at the NSA are becoming my new best friends!

  parent reply	other threads:[~2014-07-31  9:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 16:50 [POLL] Syntax change: make \[...\] non-inline (+1) Federico Beffa
2014-07-30 17:17 ` Nick Dokos
2014-07-31  9:03 ` Rasmus [this message]
2014-08-02 19:12   ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2014-07-30 20:19 Federico Beffa
2014-08-01  8:22 Federico Beffa
2014-08-03 16:32 Federico Beffa
2014-08-03 18:19 ` Nick Dokos
2014-08-03 20:05 Federico Beffa
2014-08-03 20:48 ` Nick Dokos
2014-08-04  8:55 ` Rasmus

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=877g2t3nox.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).