Hello, When set to t, org-hide-emphasis-markers doesn't seem to behave well with R in agenda mode, or C-c C-x C-r elsewhere, that is with dynamic blocks. The error is the following : org-do-emphasis-faces: Wrong type argument: integer-or-marker-p, nil I think it also acts strangely with column-mode, something about the fonts, but I can't be more precise. -- Nicolas Goaziou
On Jul 31, 2009, at 4:47 PM, Nicolas Goaziou wrote: > Hello, > > When set to t, org-hide-emphasis-markers doesn't seem to behave well > with R in agenda mode, or C-c C-x C-r elsewhere, that is with dynamic > blocks. > > The error is the following : > > org-do-emphasis-faces: Wrong type argument: integer-or-marker-p, nil I am unable to reproduce this bug. I do see that the table alignment is not correct when emphasis markers are hidden, but this is too hard to fix. > > I think it also acts strangely with column-mode, something about the > fonts, but I can't be more precise. I would need more information. - Carsten
Carsten Dominik <carsten.dominik@gmail.com> writes:
>> The error is the following :
>>
>> org-do-emphasis-faces: Wrong type argument: integer-or-marker-p, nil
>
> I am unable to reproduce this bug.
>
> I do see that the table alignment is not correct when emphasis
> markers are hidden, but this is too hard to fix.
>
>>
>> I think it also acts strangely with column-mode, something about the
>> fonts, but I can't be more precise.
>
> I would need more information.
Well, with some recent git pull, both problems disappeared. With column
mode, it was that fonts were sometimes huge, and sometimes so small it
was impossible to read anything.
Anyway, sorry for the noise.
--
Nicolas Goaziou
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
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 <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
>