emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-activate-plain-links assumes that 'face is a list [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/clement/.emacs.d/elpa/org-20160125/)]
@ 2016-01-26 14:36 Clément Pit--Claudel
  2016-01-31 22:07 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Clément Pit--Claudel @ 2016-01-26 14:36 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2648 bytes --]

Hi all,

Updating org a few days ago broke syntax highlighting. The function
org-activate-plain-links has this snippet:

    (memq 'org-tag
      (get-text-property
        (max (1- (match-beginning 0)) (point-min)) 'face))

However, the text property that gets returned on my machine is
'org-level-2 (which is not a list). This causes font-locking to
fail with the following message:

    Error during redisplay: (jit-lock-function 4968) signaled (wrong-type-argument listp org-level-2)

This started happening recently. Can I provide more information?
Clément.

Emacs  : GNU Emacs 25.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2016-01-08
Package: Org-mode version 8.3.3 (8.3.3-26-ge92a06-elpa @ /home/clement/.emacs.d/elpa/org-20160125/)

current state:
==============
(setq
 org-hide-leading-stars t
 org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-ellipsis " …"
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-log-done 'time
 org-confirm-shell-link-function 'yes-or-no-p
 org-support-shift-select t
 org-after-todo-state-change-hook '(org-clock-out-if-current init-org-todo-state-change)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all append local] 5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes init-add-org-line-spacing flyspell-mode)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-todo-keywords '((sequence "🌕(t)" "🌖(s)" "⏳(w)" "📅(l)" "|" "✓(d)" "✗(c)"))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-odd-levels-only t
 org-completion-use-ido t
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-after-todo-statistics-hook '(init-org-todo-update-summary)
 )


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: org-activate-plain-links assumes that 'face is a list [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/clement/.emacs.d/elpa/org-20160125/)]
  2016-01-26 14:36 Bug: org-activate-plain-links assumes that 'face is a list [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/clement/.emacs.d/elpa/org-20160125/)] Clément Pit--Claudel
@ 2016-01-31 22:07 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-01-31 22:07 UTC (permalink / raw)
  To: Clément Pit--Claudel; +Cc: emacs-orgmode

Hello,

Clément Pit--Claudel <clement.pitclaudel@live.com> writes:

> Updating org a few days ago broke syntax highlighting. The function
> org-activate-plain-links has this snippet:
>
>     (memq 'org-tag
>       (get-text-property
>         (max (1- (match-beginning 0)) (point-min)) 'face))
>
> However, the text property that gets returned on my machine is
> 'org-level-2 (which is not a list). This causes font-locking to
> fail with the following message:
>
>     Error during redisplay: (jit-lock-function 4968) signaled (wrong-type-argument listp org-level-2)
>
> This started happening recently. Can I provide more information?

This was fixed last Monday. ELPA is expected to contain the fix tomorrow.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-31 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-26 14:36 Bug: org-activate-plain-links assumes that 'face is a list [8.3.3 (8.3.3-26-ge92a06-elpa @ /home/clement/.emacs.d/elpa/org-20160125/)] Clément Pit--Claudel
2016-01-31 22:07 ` Nicolas Goaziou

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).