From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Behavior of M-q on comments in code blocks Date: Thu, 13 Feb 2014 15:46:59 +0100 Message-ID: <867g8z6pek.fsf@somewhere.org> References: <86fvnxg7o9.fsf@somewhere.org> <87r47hahnq.fsf@bzg.ath.cx> 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 Hi Bastien, Bastien wrote: > Sebastien Vauban writes: > >> Though, I can't say whether the fact it does not work anymore is due to >> changes in Org or in my Emacs configuration. Any hint? > > Works fine here, surely something in your configuration. Fond the culprit: --8<---------------cut here---------------start------------->8--- ;; automatically fill comments (but not code) in programming modes (add-hook 'prog-mode-hook (lambda () (auto-fill-mode 1) (set (make-local-variable 'fill-nobreak-predicate) (lambda () (not (eq (get-text-property (point) 'face) 'font-lock-comment-face)))))) --8<---------------cut here---------------end--------------->8--- Weird. Best regards, Seb -- Sebastien Vauban