From mboxrd@z Thu Jan 1 00:00:00 1970 From: talwrii talwrii Subject: Bug: org-map-tree behaves strangely if first heading before point is hidden [8.3.5 (8.3.5-elpa @ /home/tom/.emacs.d/elpa/org-20160725/)] Date: Fri, 29 Jul 2016 13:16:16 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a1138e17620c5bf0538ca3f97 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTCKa-00070D-3W for emacs-orgmode@gnu.org; Fri, 29 Jul 2016 14:16:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTCKY-00019Y-7L for emacs-orgmode@gnu.org; Fri, 29 Jul 2016 14:16:19 -0400 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:36709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTCKX-00019O-Vo for emacs-orgmode@gnu.org; Fri, 29 Jul 2016 14:16:18 -0400 Received: by mail-oi0-x231.google.com with SMTP id w18so117068643oiw.3 for ; Fri, 29 Jul 2016 11:16:17 -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" To: emacs-orgmode@gnu.org --001a1138e17620c5bf0538ca3f97 Content-Type: multipart/alternative; boundary=001a1138e17620c5ba0538ca3f95 --001a1138e17620c5ba0538ca3f95 Content-Type: text/plain; charset=UTF-8 Org mode file complete with code to reproduce the issue is attached. --001a1138e17620c5ba0538ca3f95 Content-Type: text/html; charset=UTF-8
Org mode file complete with code to reproduce the issue is attached.
--001a1138e17620c5ba0538ca3f95-- --001a1138e17620c5bf0538ca3f97 Content-Type: application/octet-stream; name="map-tree-repro.org" Content-Disposition: attachment; filename="map-tree-repro.org" Content-Transfer-Encoding: base64 X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