help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

config problems and bisecting an org-mode configuration file


From: Sharon Kimble
Subject: config problems and bisecting an org-mode configuration file
Date: Sat, 03 Jun 2017 14:00:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

I have three problems with my config at the moment -

- an inability to close emacs using its internal commands, and
- an inability to right-click on an url in gnus to either open that url
  in emacs-w3m, or copy it to the clipboard for use in another browser, and
- an inability to use +foo+ to strike-through something to effectively
  show that its commented out.

I know the theory behind 'bisecting my init file', except mine is held
in an org-mode file (called 'config.org') which is called by my init.el
which states -

--8<---------------cut here---------------start------------->8---
(package-initialize)
(require 'ob-tangle)
(org-babel-load-file "~/.emacs.d/config.org")

;; Don't load old .elc files when the .el file is newer
(setq load-prefer-newer t)
--8<---------------cut here---------------end--------------->8---

So do I bisect my 'config.org', or the 'config.el' please?

'config.org' is 570.7 kb, and its tangled config.el is 440.0 kb.

- 'config.org' has 17773 lines of active code (active means everything
  that is to be tangled)
- 'config.el' has 12024 lines of code.

So, which do I bisect please? And any hints/ideas which could make it
simpler/easier to do please?

Its further complicated by me using Debian which sets its own startup files 
before emacs is starting to load my config, so ideally I'd like to not use them 
at all.

I've run 'emacs -Q' which loaded and then was able to be closed via its 
internal closing command.
I've run 'emacs --debug-init' which loaded correctly but then wasn't able to be 
closed via the internal command.
I've run 'M-x bug-hunter-file' on 'config.el' which showed zero problems.

So all in all, its looking like something is wrong with my config, and
it needs to be sorted out this weekend, so any ideas please folks?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]