--- Begin Message ---
Subject: |
Crash when visiting an org file from within Dired. |
Date: |
Wed, 31 Oct 2018 23:29:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
1. Have a directory with an org file containing:
#+BEGIN_SRC shell :results output
printf "Hello World!\n"
#+END_SRC
2. Start: emacs -Q
3. eval-buffer containning:
(defun set-buffer-variable-pitch () (variable-pitch-mode t))
(add-hook 'org-mode-hook 'set-buffer-variable-pitch)
4. Visit the directory containing the org file. In the Dired buffer that
opened up put the point on the org file and press enter. Emacs CRASH!
With C-x C-f the file opens OK, and after that it will re-open OK from
the Dired buffer too.
In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
of 2018-07-05 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12003000
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
eval-buffer: End of file during parsing
Making completion list... [2 times]
Configured using:
'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
--localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2
Important settings:
value of $LC_COLLATE: en_US.UTF-8
value of $LC_CTYPE: en_US.UTF-8
value of $LC_MESSAGES: en_US.UTF-8
value of $LC_MONETARY: en_US.UTF-8
value of $LC_NUMERIC: en_US.UTF-8
value of $LC_TIME: en_US.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)
Memory information:
((conses 16 95761 10075)
(symbols 48 20352 1)
(miscs 40 46 168)
(strings 32 28340 1110)
(string-bytes 1 741948)
(vectors 16 14646)
(vector-slots 8 496692 7940)
(floats 8 51 272)
(intervals 56 321 154)
(buffers 992 12)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#33222: Crash when visiting an org file from within Dired. |
Date: |
Fri, 02 Nov 2018 15:20:54 +0200 |
> Cc: address@hidden
> From: vordoo <address@hidden>
> Date: Fri, 2 Nov 2018 13:05:54 +0200
>
> On 11/2/18 12:11 PM, Eli Zaretskii wrote:
> > Should be fixed now on the emacs-26 branch. (Who TF came with the
> > crazy idea that one can turn on a major mode, which defines new faces,
> > from a function registered to be run by JIT font-lock???)
>
> Confirming the fixed on GNU Emacs 26.1.50 (build 1, x86_64-pc-linux-gnu,
> GTK+ Version 3.24.1) of 2018-11-02
Thanks for testing, I'm therefore closing the bug.
--- End Message ---