unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Tina Russell <tinakellyrussell@gmail.com>
Cc: 30168@debbugs.gnu.org
Subject: bug#30168: 25.3.50; segfault when opening scratch buffer (GUI), other times
Date: Fri, 19 Jan 2018 11:28:21 -0500	[thread overview]
Message-ID: <CAM-tV--sO82XNdUS2=3vmtbmCGk_Q-bBub+0zEdHYTLmF5QOcQ@mail.gmail.com> (raw)
In-Reply-To: <CAJBHbT4K=XbCh=2xDjUnEO1iSFAr9wS-LXdMRmLE1SKP19tUow@mail.gmail.com>

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

tag 30168 unreproducible moreinfo
quit

On Fri, Jan 19, 2018 at 1:05 AM, Tina Russell
<tinakellyrussell@gmail.com> wrote:
> I did some more mucking in my config and it seems I no longer have this
> problem… I’m not even sure what it was. I’ve attached my init.el, from right
> after I noticed the problem was gone, in case you’re interested in figuring
> out what the critical difference was. (Personally, I’m just glad not to have
> this crash anymore!)

Diff attached. Assuming ergoemacs-package is just a trivial wrapper
around use-package, having :disabled does the same as commenting it
out, so that part should have no effect. The only thing left likely to
have any effect would be this part:

- '(custom-enabled-themes (quote (org-beautify-theme manoj-dark)))
+ '(custom-enabled-themes (quote (manoj-dark)))

Perhaps org-beautify-theme adds some problematic fonts?

[-- Attachment #2: init.el.diff --]
[-- Type: text/plain, Size: 4539 bytes --]

--- crashing-init.el	2018-01-19 09:48:16.291047100 -0500
+++ not-crashing-init.el	2018-01-19 09:48:25.204198300 -0500
@@ -6,9 +6,7 @@
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
- '(ansi-color-names-vector
-   ["#212526" "#ff4b4b" "#b4fa70" "#fce94f" "#729fcf" "#e090d7" "#8cc4ff" "#eeeeec"])
- '(custom-enabled-themes (quote (org-beautify-theme manoj-dark)))
+ '(custom-enabled-themes (quote (manoj-dark)))
  '(custom-safe-themes
    (quote
     ("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" "dcf7154867ba67b250fe2c5cdc15a7d170acd9cbe6707cc36d9dd1462282224d" "05fd42bef42991c45ecb17ecad1ff38c10e8faac51efea44f0782bdaebaf4211" default)))
@@ -64,7 +62,6 @@
    (quote
     (yasnippet extend-dnd volatile-highlights tabbar-ruler solarized-theme rainbow-mode magit linum-off keyfreq info+ flx-ido smex ido-vertical-mode ido-ubiquitous golden-ratio flycheck fill-column-indicator evil-numbers ess-smart-underscore electric-operator polymode ess dired+ auto-highlight-symbol anzu ergoemacs-status org-plus-contrib org-edna gnorb bbdb turing-machine org-sticky-header org-bookmark-heading org-bullets hyperbole hacker-typer all-the-icons all-the-icons-gnus all-the-icons-ivy dired-icon pc-bufsw helm auto-complete sx dashboard uimage xah-elisp-mode rainbow-delimiters async org-download yaoddmuse paradox use-package unbound ergoemacs-mode org-journal package-build shut-up epl git commander f dash s cask skeletor slime smartparens nov ahungry-theme twittering-mode hy-mode emms)))
  '(paradox-github-token t)
- '(red "#ffffff")
  '(save-place t nil (saveplace))
  '(send-mail-function (quote mailclient-send-it))
  '(show-paren-mode t)
@@ -712,37 +709,36 @@
   (inferior-lisp-program "sbcl")
   (slime-contribs '(slime-fancy)))
 
-(ergoemacs-package smartparens
-    :ensure t
-    :defer t
-    :disabled
-    (dolist (hook '(prog-mode-hook))
-      (add-hook hook 'smartparens-mode))
-
-    ;; enable smartparens-mode in `eval-expression'
-    (defun ergoemacs-conditionally-enable-smartparens-mode ()
-      "Enable `smartparens-mode' during `eval-expression'."
-      (if (eq this-command 'eval-expression)
-          (smartparens-mode)))
-    (add-hook 'minibuffer-setup-hook 'ergoemacs-conditionally-enable-smartparens-mode)
-
-    (require 'smartparens-config)
-    (setq sp-show-pair-delay 0
-          sp-show-pair-from-inside t ; fix paren highlighting in normal mode
-          sp-cancel-autoskip-on-backward-movement nil)
-    (define-key emacs-lisp-mode-map (kbd ")") 'sp-up-sexp)
-
-    (defun emacsmate-smartparens-emacs-mode-hook ()
-      "Change `sp-navigate-close-if-unbalanced' to be non-nil in emacs-buffers"
-      (set (make-local-variable 'sp-navigate-close-if-unbalanced) t))
+;; (ergoemacs-package smartparens
+;;     :ensure t
+;;     :defer t
+;;     (dolist (hook '(prog-mode-hook))
+;;       (add-hook hook 'smartparens-mode))
+
+;;     ;; enable smartparens-mode in `eval-expression'
+;;     (defun ergoemacs-conditionally-enable-smartparens-mode ()
+;;       "Enable `smartparens-mode' during `eval-expression'."
+;;       (if (eq this-command 'eval-expression)
+;;           (smartparens-mode)))
+;;     (add-hook 'minibuffer-setup-hook 'ergoemacs-conditionally-enable-smartparens-mode)
+
+;;     (require 'smartparens-config)
+;;     (setq sp-show-pair-delay 0
+;;           sp-show-pair-from-inside t ; fix paren highlighting in normal mode
+;;           sp-cancel-autoskip-on-backward-movement nil)
+;;     (define-key emacs-lisp-mode-map (kbd ")") 'sp-up-sexp)
+
+;;     (defun emacsmate-smartparens-emacs-mode-hook ()
+;;       "Change `sp-navigate-close-if-unbalanced' to be non-nil in emacs-buffers"
+;;       (set (make-local-variable 'sp-navigate-close-if-unbalanced) t))
     
-    (add-hook 'emacs-lisp-mode-hook
-              'emacsmate-smartparens-emacs-mode-hook)
-    (show-smartparens-global-mode +1)
+;;     (add-hook 'emacs-lisp-mode-hook
+;;               'emacsmate-smartparens-emacs-mode-hook)
+;;     (show-smartparens-global-mode +1)
     
-    ;; don't create a pair with single quote in minibuffer
-    (sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil)
-    (smartparens-global-mode 1))
+;;     ;; don't create a pair with single quote in minibuffer
+;;     (sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil)
+;;     (smartparens-global-mode 1))
 
 (ergoemacs-package smart-mode-line
     :ensure nil

  parent reply	other threads:[~2018-01-19 16:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-19  2:38 bug#30168: 25.3.50; segfault when opening scratch buffer (GUI), other times Tina Russell
2018-01-19  6:05 ` bug#30168: Bug no longer occurs Tina Russell
2018-01-19  8:24 ` bug#30168: 25.3.50; segfault when opening scratch buffer (GUI), other times Eli Zaretskii
2018-01-19 16:28 ` Noam Postavsky [this message]
2018-01-20  5:02 ` Noam Postavsky
2019-09-28 22:47 ` Stefan Kangas
2019-10-30 20:01   ` Stefan Kangas

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAM-tV--sO82XNdUS2=3vmtbmCGk_Q-bBub+0zEdHYTLmF5QOcQ@mail.gmail.com' \
    --to=npostavs@users.sourceforge.net \
    --cc=30168@debbugs.gnu.org \
    --cc=tinakellyrussell@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).