From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: verbatim/code text and line breaks with auto fill mode Date: Mon, 10 Mar 2014 12:09:04 +0100 Message-ID: <86siqqfgz3.fsf@somewhere.org> References: <87y50l91i7.fsf@alphaville.bos.redhat.com> 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 Alan Schmitt wrote: > I've continued looking into this, and it seems that what I want is use > `fill-nobreak-predicate'. This is what I ended up doing: > > #+begin_src emacs-lisp > (add-hook 'org-mode-hook > (lambda () > (add-hook 'fill-nobreak-predicate 'org-in-verbatim-emphasis))) > #+end_src > > All the pieces were already there, it just took me a while to put them > together ;-) Shouldn't this be standard in Org, as it breaks LaTeX compilation otherwise? Best regards, Seb -- Sebastien Vauban