[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-element-at-point fails in programming-modes
From: |
Nicolas Richard |
Subject: |
Re: [O] org-element-at-point fails in programming-modes |
Date: |
Fri, 22 Aug 2014 16:20:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) |
Nicolas Richard <address@hidden> writes:
> I would like to blame (mm-uu-dissect) but I didn't look into it.
I now blame (mm-uu-dissect). The following patch fixes it, but that part
of the code must be there for a reason... and I don't know what it is.
Modified lisp/gnus/mm-uu.el
diff --git a/lisp/gnus/mm-uu.el b/lisp/gnus/mm-uu.el
index 423324a..2200caa 100644
--- a/lisp/gnus/mm-uu.el
+++ b/lisp/gnus/mm-uu.el
@@ -668,10 +668,7 @@ value of `mm-uu-text-plain-type'."
(setq end-point (point)))))
(or (not (setq func (mm-uu-function-2 entry)))
(funcall func)))
- (if (and (> start-point text-start)
- (progn
- (goto-char text-start)
- (re-search-forward "." start-point t)))
+ (if (> start-point text-start)
(push
(mm-make-handle (mm-uu-copy-to-buffer text-start start-point)
mm-uu-text-plain-type)
--
Nico.
- Re: [O] org-element-at-point fails in programming-modes, (continued)
- Re: [O] org-element-at-point fails in programming-modes, Thorsten Jolitz, 2014/08/20
- Re: [O] org-element-at-point fails in programming-modes, Nick Dokos, 2014/08/20
- Re: [O] org-element-at-point fails in programming-modes, Sebastien Vauban, 2014/08/20
- Re: [O] org-element-at-point fails in programming-modes, Nick Dokos, 2014/08/20
- Re: [O] org-element-at-point fails in programming-modes, Nick Dokos, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes, Nicolas Richard, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes, Nick Dokos, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes, Thorsten Jolitz, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes, Nick Dokos, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes, Nicolas Richard, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes,
Nicolas Richard <=
- [O] Article Mode eats newlines between src-blocks (was Re: org-element-at-point fails in programming-modes), Thorsten Jolitz, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes, Nick Dokos, 2014/08/22
- Re: [O] org-element-at-point fails in programming-modes, Rasmus, 2014/08/22
Re: [O] org-element-at-point fails in programming-modes, Nicolas Richard, 2014/08/20
Re: [O] org-element-at-point fails in programming-modes, Rasmus, 2014/08/21
Re: [O] org-element-at-point fails in programming-modes, Nicolas Richard, 2014/08/20