From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: org-element-at-point fails in programming-modes Date: Fri, 22 Aug 2014 12:28:28 +0200 Message-ID: <87ha147r8z.fsf@gmail.com> References: <87zjez9xqc.fsf@gmail.com> <87vbpn9x6u.fsf@gmail.com> <87ppfvxslz.fsf@pierrot.dokosmarshall.org> <86ppfvjpwk.fsf@somewhere.org> <87tx57me13.fsf@alphaville.bos.redhat.com> <87d2btxjbn.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKm5Q-0000fR-6D for emacs-orgmode@gnu.org; Fri, 22 Aug 2014 06:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKm5J-0003Rh-PU for emacs-orgmode@gnu.org; Fri, 22 Aug 2014 06:28:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:56141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKm5J-0003Qm-JU for emacs-orgmode@gnu.org; Fri, 22 Aug 2014 06:28:41 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XKm5H-0003sB-VJ for emacs-orgmode@gnu.org; Fri, 22 Aug 2014 12:28:39 +0200 Received: from e178058053.adsl.alicedsl.de ([85.178.58.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Aug 2014 12:28:39 +0200 Received: from tjolitz by e178058053.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Aug 2014 12:28:39 +0200 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: emacs-orgmode@gnu.org Nick Dokos writes: > Nick Dokos writes: > >> Sebastien Vauban >> writes: >> >>> Nick Dokos wrote: >>>> Thorsten Jolitz writes: >>>>> Thorsten Jolitz writes: >>>>> >>>>> As a side-remark, I did send these blocks with emptly lines >>>>> between them, >>>>> and when I look at my post in gmane the format looks alright, however >>>>> when I open it in gnus the empty lines are gone and it looks like >>>>> this: >>>>> >>>>>> * ORG SCRATCH >>>>>> >>>>>> #+BEGIN_QUOTE >>>>>> hallo world >>>>>> #+END_QUOTE >>>>>> #+BEGIN_COMMENT >>>>>> hallo world >>>>>> #+END_COMMENT >>>>>> #+BEGIN_EXAMPLE >>>>>> hallo world >>>>>> #+END_EXAMPLE >>>>>> #+BEGIN_SRC emacs-lisp >>>>>> hallo world >>>>>> #+END_SRC >>>>> >>>>> Am I the only one seeing this? Bug in gnus/message mode? >>>> >>>> I see empty lines between the blocks in gnus. >>> >>> I don't see the empty lines, like Thorsten. >>> >> >> ... and on a different machine, I don't see them either. >> Now I have to figure out what's different between them. >> > > One machine is running Gnus v. 5.13: that one smooshes the code > blocks together. > > The other is running Ma Gnus v. 0.12: that one leaves empty > lines between blocks. Maybe they switched to the new parser between versions, that parses a src-block with :post-blank's, but does not take them into account when interpreting? ,----[ C-h f mm-display-inline-fontify RET ] | mm-display-inline-fontify is a compiled Lisp function in `mm-view.el'. | | (mm-display-inline-fontify HANDLE &optional MODE) | | Insert HANDLE inline fontifying with MODE. | If MODE is not set, try to find mode automatically. `---- is responsable here, and if we would find the place where 'handle' is parsed (I couldn't in reasonable time) we would probably know what is the problem ('handle' is the src-block in this case, 'mode' is 'org'). -- cheers, Thorsten