all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <ambrevar@gmail.com>
To: 27210@debbugs.gnu.org
Subject: bug#27210: 25.2; Recovering loaddefs.el with desktop-mode hangs when linum is on
Date: Sat, 3 Jun 2017 15:29:11 +0100	[thread overview]
Message-ID: <20170603142911.GB7275@gmail.com> (raw)

With the following init file:

	(desktop-save-mode 1)
	(global-linum-mode)

I visit "/usr/share/emacs/25.2/lisp/loaddefs.el" and everything is fine.
I save the desktop session with `desktop-save-in-desktop-dir' and kill
Emacs.

On next start, this displays in the terminal

	Warning: due to a long standing Gtk+ bug
	http://bugzilla.gnome.org/show_bug.cgi?id=85715
	Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.
	Using an Emacs configured with --with-x-toolkit=lucid does not have this problem.
	Note: file is write protected

and Emacs hangs for minutes at least, possibly forever, becoming a CPU hog. I
then have to kill Emacs.

The corresponding buffer entry in .emacs.desktop is the following:

	;; Buffer section -- buffers listed in same order as in buffer list:
	(desktop-create-buffer 208
	  "/usr/share/emacs/25.2/lisp/loaddefs.el"
	  "loaddefs.el"
	  'emacs-lisp-mode
	  '(linum-mode)
	  1
	  '(nil nil)
	  t
	  nil
	  '((buffer-file-coding-system . utf-8-unix))
	  '((mark-ring nil)))

If I remove the entry or if I disable linum-mode by commenting the corresponding
line in the init file, Emacs can start properly.





In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10)
 of 2017-04-22 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11903000
System Description:	Arch Linux

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' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Load-path shadows:
None found.





             reply	other threads:[~2017-06-03 14:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-03 14:29 Pierre Neidhardt [this message]
2017-06-03 14:56 ` bug#27210: 25.2; Recovering loaddefs.el with desktop-mode hangs when linum is on Eli Zaretskii
2017-06-03 16:22   ` Pierre Neidhardt
2017-06-03 17:43     ` npostavs
2017-06-03 18:02       ` Eli Zaretskii
2017-06-03 18:38         ` Eli Zaretskii
2017-06-03 19:52           ` npostavs
2017-06-03 23:07             ` npostavs
2017-06-04 14:15               ` Eli Zaretskii
2017-06-04 15:08                 ` npostavs
2017-06-04 16:31                   ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=20170603142911.GB7275@gmail.com \
    --to=ambrevar@gmail.com \
    --cc=27210@debbugs.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.