From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-hide-emphasis-markers problem Date: Sun, 23 Aug 2009 18:51:07 +0200 Message-ID: <5ED4A03F-B2F4-487A-A0AD-2E7B1B31B306@gmail.com> References: <86k51onc36.fsf@neuf.fr> <1751DD26-DC3B-4DA7-B35D-65CD5810FE13@gmail.com> <86tz0ipadn.fsf@neuf.fr> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfGHo-0000j0-PQ for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 12:51:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfGHj-0000fX-Bc for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 12:51:19 -0400 Received: from [199.232.76.173] (port=56915 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfGHj-0000fU-40 for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 12:51:15 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:47066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfGHi-0006S4-Ek for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 12:51:14 -0400 Received: by ewy7 with SMTP id 7so1829796ewy.31 for ; Sun, 23 Aug 2009 09:51:12 -0700 (PDT) In-Reply-To: <86tz0ipadn.fsf@neuf.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Hi Nicolas, first of all, hiding emphasis markers is poorly tested and maybe not fully functional. It is possible that there are problems associated with it. However, I cannot reproduce the problem you are describing. - Carsten On Aug 8, 2009, at 5:56 PM, Nicolas Goaziou wrote: > Carsten Dominik writes: > > My culprit wasn't the good one ! > > Here is the backtrace when using org-agenda-clockreport-mode : > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker- > p nil) > *(nil 2) > (setq b (1+ (point-at-eol)) n (* level org-indent-indentation-per- > level)) > (while (not exit) (setq e end) (if (not ...) (setq e ... exit t) > (setq e ...) (if ... ...) (setq level ...) (setq nstars ...) (add- > text-properties ... ... ...)) (when (and b ...) (add-text-properties > b e ...)) (setq b (1+ ...) n (* level org-indent-indentation-per- > level))) > (save-excursion (goto-char beg) (while (not exit) (setq e end) > (if ... ... ... ... ... ... ...) (when ... ...) (setq b ... n ...))) > (let ((buffer-undo-list t) before-change-functions after-change- > functions) (save-excursion (goto-char beg) > (while ... ... ... ... ...))) > (prog1 (buffer-modified-p) (let (... before-change-functions after- > change-functions) (save-excursion ... ...))) > (set-buffer-modified-p (prog1 (buffer-modified-p) (let ... ...))) > (org-unmodified (save-excursion (goto-char beg) > (while ... ... ... ... ...))) > (let (ov b e n level exit nstars) (org-unmodified (save- > excursion ... ...))) > (progn (let (ov b e n level exit nstars) (org-unmodified ...))) > (if (or t org-indent-mode) (progn (let ... ...))) > (when (or t org-indent-mode) (let (ov b e n level exit nstars) (org- > unmodified ...))) > org-indent-add-properties(1 3828) > > With a minimal init file, it appears that the variable > org-startup-indented set to t is to blame. > > Hoping someone is able to reproduce this. > > Regards, > > -- > Nicolas Goaziou >