emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: turn-on-font-lock breaks org-mode in recent emacs [7.9.3e (7.9.3e-3-gb07a9b @ /usr/share/emacs/24.3.50/lisp/org/)]
@ 2013-02-25 13:33 Gijs Hillenius
  2013-02-26 10:49 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Gijs Hillenius @ 2013-02-25 13:33 UTC (permalink / raw)
  To: emacs-orgmode



Until today, I had have these two (legacy) lines in my orgmode configuration

;; (global-font-lock-mode 1)                     ; for all buffers

which is already a default in emacs. This is also noted in the manual
http://orgmode.org/manual/Activation.html

However: it is still recommended in the Org-Mode Beginners Customization
Guide http://orgmode.org/worg/org-configs/org-customization-guide.html

The second line made a bit of a mess of my .org files with the
20130224 version of emacs-snapshot 

;; (add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers only

org files would still open, but show up as (imaginary example)
[[gnus:982.3334][link]] instead of the nice underlined clickable links.








Emacs  : GNU Emacs 24.3.50.1 (i486-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2013-02-24 on dex, modified by Debian
Package: Org-mode version 7.9.3e (7.9.3e-3-gb07a9b @ /usr/share/emacs/24.3.50/lisp/org/)

current state:
==============
(setq
 org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t)
		     (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil))
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-reverse-note-order t
 org-agenda-skip-scheduled-if-done t
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-refile-targets '((org-agenda-files :level . 1))
 org-modules '(org-bbdb org-bibtex org-crypt org-docview org-gnus org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-log-done 'time
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-reveal-start-hook '(org-decrypt-entry)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-crypt-key nil
 org-agenda-include-diary t
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207" [add-hook before-save-hook org-encrypt-entries nil t] 5]
		 #[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)
 org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . gnus) (file . find-file-other-window))
 org-agenda-start-on-weekday nil
 org-tags-exclude-from-inheritance '("crypt")
 org-directory "~/d/org"
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames
			       org-beamer-place-default-actions-for-lists)
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-confirm-shell-link-function 'yes-or-no-p
 )
-- 
BOFH excuse #94:

Internet outage

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

* Re: Bug: turn-on-font-lock breaks org-mode in recent emacs [7.9.3e (7.9.3e-3-gb07a9b @ /usr/share/emacs/24.3.50/lisp/org/)]
  2013-02-25 13:33 Bug: turn-on-font-lock breaks org-mode in recent emacs [7.9.3e (7.9.3e-3-gb07a9b @ /usr/share/emacs/24.3.50/lisp/org/)] Gijs Hillenius
@ 2013-02-26 10:49 ` Bastien
  2013-02-28 20:00   ` Fixed Re: Bug: turn-on-font-lock b Gijs Hillenius
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2013-02-26 10:49 UTC (permalink / raw)
  To: Gijs Hillenius; +Cc: emacs-orgmode

Hi Gijs,

Gijs Hillenius <gijs@hillenius.net> writes:

> Until today, I had have these two (legacy) lines in my orgmode configuration
>
> ;; (global-font-lock-mode 1)                     ; for all buffers
>
> which is already a default in emacs. This is also noted in the manual
> http://orgmode.org/manual/Activation.html

You have a cached version of this page, `global-font-lock-mode' is not
mentioned in the current one (refresh the page to check.)

> However: it is still recommended in the Org-Mode Beginners Customization
> Guide http://orgmode.org/worg/org-configs/org-customization-guide.html

It is not anymore, fixed, thanks.

> The second line made a bit of a mess of my .org files with the
> 20130224 version of emacs-snapshot 
>
> ;; (add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers only
>
> org files would still open, but show up as (imaginary example)
> [[gnus:982.3334][link]] instead of the nice underlined clickable links.

Mhh... you mean that, with `global-font-lock-mode' already turned on
and (add-hook 'org-mode-hook 'turn-on-font-lock), then the links are
not clickable anymore?  If so, please try ~$ emacs -Q test.org and
report the problem, together with your Emacs and Org versions.

Thanks!

-- 
 Bastien

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

* Fixed Re: Bug: turn-on-font-lock b
  2013-02-26 10:49 ` Bastien
@ 2013-02-28 20:00   ` Gijs Hillenius
  2013-03-01  9:58     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Gijs Hillenius @ 2013-02-28 20:00 UTC (permalink / raw)
  To: emacs-orgmode

On 26 Feb 2013, Bastien wrote:


[...]

>> The second line made a bit of a mess of my .org files with the
>> 20130224 version of emacs-snapshot 
>>
>> ;; (add-hook 'org-mode-hook 'turn-on-font-lock) ; org-mode buffers
>>    only
>>
>> org files would still open, but show up as (imaginary example)
>> [[gnus:982.3334][link]] instead of the nice underlined clickable
>> links.
>
> Mhh... you mean that, with `global-font-lock-mode' already turned on
> and (add-hook 'org-mode-hook 'turn-on-font-lock), then the links are
> not clickable anymore?  If so, please try ~$ emacs -Q test.org and
> report the problem, together with your Emacs and Org versions.

Finally had some time to investigate further.

But!

The problem has gone away, with GNU Emacs 24.3.50.1 (i486-pc-linux-gnu,
GTK+ Version 3.4.2), the Debian Snapshot from 2013-02-26 

whether I have (add-hook 'org-mode-hook 'turn-on-font-lock) on or off
(;;), org files are fully functional.

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

* Re: Fixed Re: Bug: turn-on-font-lock b
  2013-02-28 20:00   ` Fixed Re: Bug: turn-on-font-lock b Gijs Hillenius
@ 2013-03-01  9:58     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2013-03-01  9:58 UTC (permalink / raw)
  To: Gijs Hillenius; +Cc: emacs-orgmode

Hi Gijs,

Gijs Hillenius <gijs@hillenius.net> writes:

> The problem has gone away, with GNU Emacs 24.3.50.1 (i486-pc-linux-gnu,
> GTK+ Version 3.4.2), the Debian Snapshot from 2013-02-26 
>
> whether I have (add-hook 'org-mode-hook 'turn-on-font-lock) on or off
> (;;), org files are fully functional.

Thanks for confirming the bug is gone, best regards,

-- 
 Bastien

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

end of thread, other threads:[~2013-03-01 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-25 13:33 Bug: turn-on-font-lock breaks org-mode in recent emacs [7.9.3e (7.9.3e-3-gb07a9b @ /usr/share/emacs/24.3.50/lisp/org/)] Gijs Hillenius
2013-02-26 10:49 ` Bastien
2013-02-28 20:00   ` Fixed Re: Bug: turn-on-font-lock b Gijs Hillenius
2013-03-01  9:58     ` Bastien

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