emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@neuf.fr>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-hide-emphasis-markers problem
Date: Sat, 08 Aug 2009 17:56:36 +0200	[thread overview]
Message-ID: <86tz0ipadn.fsf@neuf.fr> (raw)
In-Reply-To: <1751DD26-DC3B-4DA7-B35D-65CD5810FE13@gmail.com> (Carsten Dominik's message of "Mon, 03 Aug 2009 15:34:17 +0200")

Carsten Dominik <carsten.dominik@gmail.com> 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

  parent reply	other threads:[~2009-08-08 15:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-31 14:47 org-hide-emphasis-markers problem Nicolas Goaziou
2009-08-03 13:34 ` Carsten Dominik
2009-08-05 15:54   ` Nicolas Goaziou
2009-08-08 15:56   ` Nicolas Goaziou [this message]
2009-08-23 16:51     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86tz0ipadn.fsf@neuf.fr \
    --to=n.goaziou@neuf.fr \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).