From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Trouble with autofill mode Date: Mon, 3 Aug 2015 00:24:50 +0530 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLyPW-00035O-7M for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 14:55:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLyPR-0001Ph-9Q for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 14:55:02 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLyPR-0001Oy-45 for emacs-orgmode@gnu.org; Sun, 02 Aug 2015 14:54:57 -0400 Received: by pacgq8 with SMTP id gq8so7370089pac.3 for ; Sun, 02 Aug 2015 11:54:56 -0700 (PDT) Received: from [192.168.1.35] ([59.176.42.82]) by smtp.gmail.com with ESMTPSA id ex13sm15055231pac.17.2015.08.02.11.54.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Aug 2015 11:54:55 -0700 (PDT) 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: org-mode mailing list I am inserting LaTeX \index{} commands in an org document to create an = index. Almost everything works fine. But I am having trouble with = auto-fill-mode. It often puts a line break in the middle of an index = entry, and then it does not work.=20 That is, \index{my name} is sometimes broken into \index{my name}. This creates a problem for LaTeX. I have disabled auto-fill-mode for now, but that is clearly a = sub-optimal thing to do. Is there a way to tell it not to put line = breaks in the middle of \index{} entries? Vikas=