all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
@ 2016-06-16 14:04 ` Jiajie Chen
  2016-06-17  3:51   ` Noam Postavsky
                     ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jiajie Chen @ 2016-06-16 14:04 UTC (permalink / raw)
  To: 23777


I can't reproduce it using 'emacs -Q'. But I can't locate where the bug
is and I haven't tried it in Emacs 24.5. The backtrace is :

Debugger entered--Lisp error: (error "Selecting deleted buffer")
  #[257 "r\211q\210\303 \304\211\x19\304\305\306\307\310\311!\312\"\313$\216\314ed\315#,\262)\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks buffer-modified-p t make-byte-code 0 "\300?\205\b\301\302!\207" vconcat vector [restore-buffer-modified-p nil] 2 remove-text-properties (fontified)] 9 "\n\n(fn BUF)"](#<killed buffer>)
    debugger-may-continue = t
    inhibit-redisplay = nil
    inhibit-debugger = t
  apply(#[257 "r\211q\210\303 \304\211\x19\304\305\306\307\310\311!\312\"\313$\216\314ed\315#,\262)\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks buffer-modified-p t make-byte-code 0 "\300?\205\b\301\302!\207" vconcat vector [restore-buffer-modified-p nil] 2 remove-text-properties (fontified)] 9 "\n\n(fn BUF)"] #<killed buffer>)
    [no locals]
  timer-event-handler([t 22370 43881 349941 nil #[257 "r\211q\210\303 \304\211\x19\304\305\306\307\310\311!\312\"\313$\216\314ed\315#,\262)\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks buffer-modified-p t make-byte-code 0 "\300?\205\b\301\302!\207" vconcat vector [restore-buffer-modified-p nil] 2 remove-text-properties (fontified)] 9 "\n\n(fn BUF)"] (#<killed buffer>) nil 0])
    timer = [t 22370 43881 349941 nil #[257 "r\211q\210\303 \304\211\x19\304\305\306\307\310\311!\312\"\313$\216\314ed\315#,\262)\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks buffer-modified-p t make-byte-code 0 "\300?\205\b\301\302!\207" vconcat vector [restore-buffer-modified-p nil] 2 remove-text-properties (fontified)] 9 "\n\n(fn BUF)"] (#<killed buffer>) nil 0]
    inhibit-quit = nil
    cell = ([t 22370 43881 349941 nil #[257 "r\211q\210\303 \304\211\x19\304\305\306\307\310\311!\312\"\313$\216\314ed\315#,\262)\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks buffer-modified-p t make-byte-code 0 "\300?\205\b\301\302!\207" vconcat vector [restore-buffer-modified-p nil] 2 remove-text-properties (fontified)] 9 "\n\n(fn BUF)"] (#<killed buffer>) nil 0] [t 22370 43881 350391 nil #[257 "r\211q\210\303 \304\211\x19\304\305\306\307\310\311!\312\"\313$\216\314ed\315#,\262)\207" [buffer-undo-list inhibit-read-only inhibit-modification-hooks buffer-modified-p t make-byte-code 0 "\300?\205\b\301\302!\207" vconcat vector [restore-buffer-modified-p nil] 2 remove-text-properties (fontified)] 9 "\n\n(fn BUF)"] (#<buffer *elfeed-search*>) nil 0] [nil 22370 43942 174784 5 auto-revert-buffers nil nil 0] [nil 22370 43956 589559 30 ycmd--keepalive nil nil 950636] [nil 22370 43956 750560 60 savehist-autosave nil nil 61097] [nil 22370 44377 646128 600 keyfreq-autosave--do nil nil 892898] [nil 22370 46777 646765 3600 url-cookie-write-file nil nil 842651])
    retrigger = nil

This is what I got using `disassemble`:

byte code:
  doc:   ...
  args: (arg1)
0       save-current-buffer
1       dup
2       set-buffer
3       discard
4       constant  buffer-modified-p
5       call      0
6       constant  t
7       dup
8       varbind   buffer-undo-list
9       varbind   inhibit-read-only
10      constant  t
11      varbind   inhibit-modification-hooks
12      constant  make-byte-code
13      constant  0
14      constant  "\300?\205\b\301\302!\207"
15      constant  vconcat
16      constant  vector
17      stack-ref 5
18      call      1
19      constant  [restore-buffer-modified-p nil]
20      call      2
21      constant  2
22      call      4
23      unwind-protect
24      constant  remove-text-properties
25      point-min
26      point-max
27      constant  (fontified)
28      call      3
29      unbind    4
30      stack-set 1
32      unbind    1
33      return

I have grepped my elpa directory and emacs soruce but found no
clue. This is really annoying and makes me turn off `debug-on-error`. I
tried and failed to disassemble the inner byte code above.



In GNU Emacs 25.0.95.1 (x86_64-apple-darwin15.5.0, NS appkit-1404.47 Version 10.11.5 (Build 15F34))
 of 2016-06-11 built on MacBookAirs-MacBook-Air.local
Windowing system distributor 'Apple', version 10.3.1404
Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs/25.0.95/share/info/emacs
 --prefix=/usr/local/Cellar/emacs/25.0.95 --with-xml2 --without-dbus
 --without-gnutls --with-rsvg --with-imagemagick --with-ns
 --disable-ns-self-contained'

Configured features:
JPEG RSVG IMAGEMAGICK NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

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

Major mode: Debugger

Minor modes in effect:
  semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode)  S)))
  recentf-mode: t
  pyvenv-mode: t
  smartparens-global-mode: t
  global-nlinum-mode: t
  nlinum-mode: t
  dtrt-indent-mode: t
  pdf-occur-global-minor-mode: t
  evil-escape-mode: t
  volatile-highlights-mode: t
  global-ycmd-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  diff-auto-refine-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  global-flycheck-mode: t
  which-key-mode: t
  global-aggressive-indent-mode: t
  aggressive-indent-mode: t
  editorconfig-mode: t
  region-state-mode: t
  company-quickhelp-mode: t
  company-statistics-mode: t
  global-company-mode: t
  company-mode: t
  super-save-mode: t
  ivy-mode: t
  global-whitespace-cleanup-mode: t
  whitespace-cleanup-mode: t
  keyfreq-autosave-mode: t
  keyfreq-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  evil-mode: t
  evil-local-mode: t
  savehist-mode: t
  xterm-mouse-mode: t
  global-auto-revert-mode: t
  show-paren-mode: t
  minibuffer-depth-indicate-mode: t
  delete-selection-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent messages:
ls does not support --dired; see ‘dired-use-ls-dired’ for more details.
Type y, n, ! or SPC (the space bar):
Please type y, n, ! or SPC (the space bar):
evil-backward-char: Beginning of buffer
mwheel-scroll: Beginning of buffer [5 times]
Mark set
Mark saved where search started
Quit
Type "q" in help window to restore its previous buffer.
mwheel-scroll: Beginning of buffer [8 times]
previous-line: Beginning of buffer

Load-path shadows:
/Users/macbookair/.emacs.d/elpa/helm-20160615.2152/helm-multi-match hides /Users/macbookair/.emacs.d/elpa/helm-core-20160614.123/helm-multi-match
/Users/macbookair/.emacs.d/elpa/general-20160614.1348/elpa hides /Users/macbookair/.emacs.d/elpa/lispy-20160613.513/elpa
/Users/macbookair/.emacs.d/elpa/org-eww-20160521.1458/org-eww hides /Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-eww
/Users/macbookair/.emacs.d/elpa/org-bullets-20140918.1137/org-bullets hides /Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-bullets
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-texinfo hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-texinfo
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-publish hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-publish
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-org hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-org
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-odt hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-odt
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-md hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-md
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-man hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-man
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-latex hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-latex
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-icalendar hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-icalendar
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-html hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-html
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-beamer hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-beamer
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-ascii hides /Users/macbookair/.emacs.d/elpa/org-20160613/ox-ascii
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org hides /Users/macbookair/.emacs.d/elpa/org-20160613/org
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-w3m hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-w3m
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-version hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-version
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-timer hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-timer
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-table hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-table
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-src hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-src
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-rmail hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-rmail
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-protocol hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-protocol
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-plot hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-plot
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-pcomplete hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-pcomplete
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-mouse hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-mouse
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-mobile hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-mobile
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-mhe hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-mhe
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-macs hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-macs
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-macro hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-macro
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-loaddefs hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-loaddefs
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-list hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-list
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-lint hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-lint
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-irc hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-irc
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-install hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-install
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-inlinetask hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-inlinetask
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-info hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-info
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-indent hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-indent
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-id hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-id
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-habit hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-habit
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-gnus hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-gnus
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-footnote hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-footnote
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-feed hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-feed
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-faces hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-faces
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-eshell hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-eshell
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-entities hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-entities
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-element hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-element
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-docview hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-docview
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-datetree hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-datetree
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-ctags hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-ctags
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-crypt hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-crypt
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-compat hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-compat
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-colview hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-colview
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-clock hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-clock
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-capture hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-capture
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-bibtex hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-bibtex
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-bbdb hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-bbdb
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-attach hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-attach
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-archive hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-archive
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-agenda hides /Users/macbookair/.emacs.d/elpa/org-20160613/org-agenda
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-tangle hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-tangle
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-table hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-table
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-stan hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-stan
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-sqlite hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-sqlite
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-sql hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-sql
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-shen hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-shen
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-shell hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-shell
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-sed hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-sed
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-screen hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-screen
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-scheme hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-scheme
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-scala hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-scala
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-sass hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-sass
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ruby hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-ruby
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ref hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-ref
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-R hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-R
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-python hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-python
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-processing hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-processing
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-plantuml hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-plantuml
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-picolisp hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-picolisp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-perl hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-perl
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-org hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-org
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-octave hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-octave
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ocaml hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-ocaml
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-mscgen hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-mscgen
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-maxima hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-maxima
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-matlab hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-matlab
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-makefile hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-makefile
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-lob hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-lob
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-lisp hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-lisp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-lilypond hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-lilypond
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ledger hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-ledger
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-latex hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-latex
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-keys hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-keys
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-js hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-js
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-java hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-java
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-J hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-J
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-io hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-io
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-haskell hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-haskell
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-groovy hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-groovy
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-gnuplot hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-gnuplot
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-fortran hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-fortran
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-forth hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-forth
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-exp hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-exp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-eval hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-eval
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-emacs-lisp hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-emacs-lisp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ebnf hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-ebnf
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-dot hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-dot
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ditaa hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-ditaa
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-css hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-css
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-core hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-core
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-coq hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-coq
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-comint hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-comint
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-clojure hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-clojure
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-calc hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-calc
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-C hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-C
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-awk hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-awk
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-asymptote hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-asymptote
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-abc hides /Users/macbookair/.emacs.d/elpa/org-20160613/ob-abc
/Users/macbookair/.emacs.d/elpa/inf-ruby-20160423.837/inf-ruby hides /usr/local/share/emacs/site-lisp/ruby/inf-ruby
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-texinfo hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-texinfo
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-publish hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-publish
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-org hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-org
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-odt hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-odt
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-md hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-md
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-man hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-man
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-latex hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-latex
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-icalendar hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-icalendar
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-html hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-html
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-beamer hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-beamer
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ox-ascii hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-ascii
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-w3m hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-w3m
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-version hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-version
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-timer hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-timer
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-table hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-table
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-src hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-src
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-rmail hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-rmail
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-protocol hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-protocol
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-plot hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-plot
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-pcomplete hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-pcomplete
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-mouse hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mouse
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-mobile hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mobile
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-mhe hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mhe
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-macs hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-macs
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-macro hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-macro
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-loaddefs hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-loaddefs
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-list hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-list
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-irc hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-irc
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-install hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-install
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-inlinetask hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-inlinetask
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-info hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-info
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-indent hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-indent
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-id hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-id
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-habit hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-habit
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-gnus hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-gnus
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-footnote hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-footnote
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-feed hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-feed
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-faces hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-faces
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-eshell hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-eshell
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-entities hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-entities
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-element hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-element
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-docview hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-docview
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-datetree hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-datetree
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-ctags hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-ctags
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-crypt hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-crypt
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-compat hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-compat
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-colview hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-colview
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-clock hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-clock
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-capture hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-capture
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-bibtex hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-bibtex
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-bbdb hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-bbdb
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-attach hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-attach
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-archive hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-archive
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/org-agenda hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-agenda
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-tangle hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-tangle
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-table hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-table
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-sqlite hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-sqlite
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-sql hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-sql
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-shen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-shen
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-screen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-screen
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-scheme hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-scheme
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-scala hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-scala
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-sass hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-sass
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ruby hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ruby
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ref hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ref
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-R hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-R
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-python hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-python
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-plantuml hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-plantuml
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-picolisp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-picolisp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-perl hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-perl
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-org hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-org
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-octave hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-octave
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ocaml hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ocaml
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-mscgen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-mscgen
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-maxima hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-maxima
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-matlab hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-matlab
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-makefile hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-makefile
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-lob hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-lob
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-lisp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-lisp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-lilypond hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-lilypond
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ledger hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ledger
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-latex hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-latex
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-keys hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-keys
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-js hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-js
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-java hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-java
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-io hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-io
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-haskell hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-haskell
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-gnuplot hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-gnuplot
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-fortran hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-fortran
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-exp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-exp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-eval hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-eval
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-emacs-lisp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-emacs-lisp
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-dot hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-dot
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-ditaa hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ditaa
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-css hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-css
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-core hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-core
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-comint hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-comint
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-clojure hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-clojure
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-calc hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-calc
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-C hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-C
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-awk hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-awk
/Users/macbookair/.emacs.d/elpa/org-plus-contrib-20160613/ob-asymptote hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-asymptote
/Users/macbookair/.emacs.d/elpa/seq-20151121.1017/seq hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/emacs-lisp/seq

Features:
(shadow sort bbdb-message mail-extr emacsbug novice disass elfeed-show
elfeed-db elfeed-lib elfeed-search elfeed xml-query tabify tempo
helm-files image-dired dired-aux helm-tags helm-bookmark helm-adaptive
helm-info helm-external helm-buffers helm-elscreen helm-locate
helm-types help-macro geiser-eval geiser-connection geiser-syntax scheme
geiser-log geiser-popup view geiser-impl geiser-custom geiser-base
inf-lisp lispy iedit iedit-lib lispy-inline avy semantic/db ediff-merg
ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff
edebug lispy-tags dired-x org-ref org-ref-helm-bibtex org-ref-helm
helm-bibtex bibtex-completion biblio biblio-dissemin biblio-hal
biblio-dblp biblio-crossref biblio-arxiv biblio-doi biblio-core
url-queue helm-net helm-config helm-easymenu reftex-cite reftex
reftex-vars parsebib org-ref-glossary org-ref-utils org-ref-bibtex
key-chord doi-utils f auto-complete shm-tests hindent haskell-process
haskell-session tar-mode benchmark eieio-opt rfc1345 quail viper
viper-ex viper-macs viper-mous viper-cmd viper-keym viper-util
viper-init inf-ruby smartparens-ruby ruby-mode flyspell-correct-ivy
flyspell-correct flyspell ispell autoload misearch multi-isearch
ox-latex ox-icalendar ox-html ox-ascii ox-publish ox vc-git org-eldoc
org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex
bibtex org-bbdb org-w3m tramp-cache recentf tree-widget init-python
debug smex editorconfig-core editorconfig-core-handle
editorconfig-fnmatch colir flx warnings highlight-indentation elpy
pyvenv elpy-refactor smartparens-python python files-x init-haskell
intero company-ghc ghc ghc-indent ghc-ins-mod ghc-command ghc-check
ghc-doc ghc-info ghc-comp ghc-rewrite ghc-process ghc-func shm shm-debug
shm-manipulation shm-nav shm-yank-kill shm-type shm-constraint
shm-edit-string shm-insert-del shm-languages shm-stack shm-indent
shm-simple-indent shm-slot shm-layout shm-ast shm-overlays shm-in
shm-node shm-ast-documentation shm-customizations shm-evaporate
shm-macros smartparens-haskell haskell-mode haskell-cabal haskell-utils
haskell-font-lock haskell-indentation haskell-string
haskell-sort-imports haskell-lexeme haskell-align-imports haskell-compat
haskell-complete-module haskell-ghc-support dabbrev haskell-customize
init-clojure clj-refactor inflections smartparens-html sgml-mode edn peg
multiple-cursors-core paredit cider cider-debug cider-browse-ns
cider-inspector cider-mode cider-interaction cider-repl cider-resolve
cider-test cider-overlays cider-stacktrace cider-doc org-table
cider-grimoire cider-popup cider-eldoc cider-client cider-common
cider-util nrepl-client queue nrepl-dict cider-compat spinner
clojure-mode align init-c ggtags ewoc cpputils-cmake cmake-ide
levenshtein find-file rtags repeat cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs irony-eldoc
flycheck-irony irony-diagnostics company-irony irony-completion
irony-snippet company-c-headers irony init-lisp sly-repl-ansi-color
sly-named-readtables sly-company sly-quicklisp sly-macrostep macrostep
sly sly-completion sly-buttons sly-messages sly-common apropos arc-mode
archive-mode hyperspec smartparens-config smartparens hy-mode
init-erlang lfe-start erlang-flymake flymake erlang-start alchemist
alchemist-macroexpand alchemist-company alchemist-help
alchemist-complete alchemist-refcard alchemist-phoenix alchemist-compile
alchemist-iex alchemist-message alchemist-hooks alchemist-hex
alchemist-mix alchemist-info alchemist-goto alchemist-scope
alchemist-eval alchemist-interact alchemist-server alchemist-execute
alchemist-report alchemist-test-mode alchemist-project alchemist-file
alchemist-key alchemist-utils elixir-mode pkg-info epl elixir-smie smie
init-mail init-email mu4e-alert time ht alert log4e notifications gntp
mu4e-contrib mu4e mu4e-speedbar speedbar sb-image ezimage dframe
mu4e-main mu4e-context mu4e-view epa derived mu4e-headers mu4e-compose
mu4e-draft mu4e-actions rfc2368 mu4e-mark mu4e-message html2text
mu4e-proc mu4e-utils mu4e-lists mu4e-vars hl-line mu4e-meta gnus-topic
w3m doc-view w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl
w3m-favicon w3m-image w3m-proc w3m-util org-mime bbdb bbdb-site timezone
gnus-cache shr dom browse-url smtpmail sendmail init-lifestyle
frame-cmds frame-fns avoid langtool nlinum transmission calc-bin
calc-ext calc calc-loaddefs calc-macs solarized-dark-theme
solarized-theme solarized color org-contacts org-capture org-agenda
gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc
nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems
nnheader org-element avl-tree org org-macro org-footnote org-pcomplete
org-list org-faces org-entities noutline outline org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys
ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu
calendar cal-loaddefs init-utils quelpa package-build lisp-mnt
dtrt-indent pdf-occur tablist tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet
pdf-isearch let-alist pdf-misc imenu pdf-tools cus-edit cus-start
cus-load wid-edit pdf-view bookmark pp pdf-cache pdf-info tq pdf-util
image-mode evil-escape timp timp-socket eieio-base timp-packet signal
fifo-class volatile-highlights flycheck-ycmd company-ycmd ycmd-eldoc
ycmd-next-error pulse ycmd request-deferred request hmac-def deferred
company-emoji plur ag vc-svn find-dired s projectile grep ibuf-ext
ibuffer go-snippets yasnippet cl find-file-in-project helm-ag helm-grep
helm-regexp helm-plugin helm-utils compile helm-help helm helm-source
eieio-compat helm-multi-match helm-lib magit-blame magit-stash
magit-bisect magit-remote magit-commit magit-sequence magit magit-apply
magit-wip magit-log magit-diff smerge-mode diff-mode magit-core
magit-autorevert magit-process magit-popup magit-mode magit-git crm
magit-section magit-utils git-commit log-edit pcvs-util add-log
with-editor async-bytecomp tramp-sh tramp tramp-compat tramp-loaddefs
trampver shell server two-column hydra-examples hydra lv flycheck json
map find-func rx subr-x dash which-key aggressive-indent editorconfig
region-state company-quickhelp company-statistics company-oddmuse
company-keywords company-etags company-gtags company-dabbrev-code
company-dabbrev company-files company-capf company-cmake company-xcode
company-clang company-semantic company-eclim company-template
company-css company-nxml company-bbdb company
smart-mode-line-respectful-theme smart-mode-line rich-minority
super-save counsel jka-compr etags xref project swiper ivy ffap
whitespace-cleanup-mode whitespace keyfreq init-input fcitx dbus xml
chinese-pyim chinese-pyim-probe chinese-pyim-utils chinese-pyim-dictools
chinese-pyim-core async popup pos-tip chinese-pyim-pymap init-evil evil
evil-integration undo-tree diff evil-maps evil-commands evil-jumps
evil-command-window evil-types evil-search evil-ex evil-macros
evil-repeat evil-states evil-core advice evil-common windmove thingatpt
rect evil-digraphs evil-vars edmacro kmacro general init-builtins
pcomplete comint ansi-color ring esh-var esh-io esh-cmd esh-opt esh-ext
esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util savehist
xt-mouse autorevert filenotify paren mb-depth delsel ido linum my-funcs
init-package use-package diminish bind-key easy-mmode mm-archive message
dired rfc822 mml mml-sec mailabbrev gmm-utils mailheader mm-decode
mm-bodies mm-encode mail-utils format-spec network-stream nsm starttls
url-http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw
url-cache url-auth url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs gnus-util
time-date mm-util help-fns mail-prsvr password-cache url-vars epg
finder-inf tex-site go-mode-autoloads sly-macrostep-autoloads
sly-named-readtables-autoloads sly-quicklisp-autoloads sly-autoloads
info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib mule-util tooltip
eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
ns-win ucs-normalize term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook
jka-cmpr-hook help simple abbrev 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 kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 1925627 232343)
 (symbols 48 100670 2)
 (miscs 40 9163 2828)
 (strings 32 332981 48071)
 (string-bytes 1 11078661)
 (vectors 16 143135)
 (vector-slots 8 2735593 75572)
 (floats 8 2533 1831)
 (intervals 56 120795 3258)
 (buffers 976 68))







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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-06-16 14:04 ` bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer Jiajie Chen
@ 2016-06-17  3:51   ` Noam Postavsky
  2016-06-18  0:09   ` Jiege Chen
  2016-06-27 14:08   ` Jiajie Chen
  2 siblings, 0 replies; 9+ messages in thread
From: Noam Postavsky @ 2016-06-17  3:51 UTC (permalink / raw)
  To: Jiajie Chen; +Cc: 23777

On Thu, Jun 16, 2016 at 10:04 AM, Jiajie Chen <jiegec@qq.com> wrote:
>
> I can't reproduce it using 'emacs -Q'. But I can't locate where the bug
> is and I haven't tried it in Emacs 24.5. The backtrace is :
[...]
> I have grepped my elpa directory and emacs soruce but found no
> clue. This is really annoying and makes me turn off `debug-on-error`. I
> tried and failed to disassemble the inner byte code above.

Maybe try deleting your elc files so you can get a more readable backtrace?

find ~/.emacs.d/elpa -name '*.elc' -delete





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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-06-16 14:04 ` bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer Jiajie Chen
  2016-06-17  3:51   ` Noam Postavsky
@ 2016-06-18  0:09   ` Jiege Chen
  2016-06-27 14:08   ` Jiajie Chen
  2 siblings, 0 replies; 9+ messages in thread
From: Jiege Chen @ 2016-06-18  0:09 UTC (permalink / raw)
  To: 23777

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


Forward to the mailing list.


Sent from my iPad

Begin forwarded message:

> From: Jiajie Chen <jiegec@qq.com>
> Date: June 17, 2016 at 7:27:52 PM GMT+8
> To: Noam Postavsky <npostavs@users.sourceforge.net>
> Subject: Re: bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
> 
> 
> Thanks. That works. This behaviour is only observed in Emacs daemon.
> 
> This is what I have found:
> 
> The backtrace:
> Debugger entered--Lisp error: (error "Selecting deleted buffer")
>  set-buffer(#<killed buffer>)
>  (save-current-buffer (set-buffer buf) (let* ((modified (buffer-modified-p)) (buffer-undo-list t) (inhibit-read-only t) (inhibit-modification-hooks t)) (unwind-protect (progn (remove-text-properties (point-min) (point-max) (quote (fontified)))) (if modified nil (restore-buffer-modified-p nil)))))
>  (closure (t) (buf) (save-current-buffer (set-buffer buf) (let* ((modified (buffer-modified-p)) (buffer-undo-list t) (inhibit-read-only t) (inhibit-modification-hooks t)) (unwind-protect (progn (remove-text-properties (point-min) (point-max) (quote (fontified)))) (if modified nil (restore-buffer-modified-p nil))))))(#<killed buffer>)
>  apply((closure (t) (buf) (save-current-buffer (set-buffer buf) (let* ((modified (buffer-modified-p)) (buffer-undo-list t) (inhibit-read-only t) (inhibit-modification-hooks t)) (unwind-protect (progn (remove-text-properties (point-min) (point-max) (quote (fontified)))) (if modified nil (restore-buffer-modified-p nil)))))) #<killed buffer>)
>  timer-event-handler([t 22371 54023 394400 nil (closure (t) (buf) (save-current-buffer (set-buffer buf) (let* ((modified (buffer-modified-p)) (buffer-undo-list t) (inhibit-read-only t) (inhibit-modification-hooks t)) (unwind-protect (progn (remove-text-properties (point-min) (point-max) (quote ...))) (if modified nil (restore-buffer-modified-p nil)))))) (#<killed buffer>) nil 0])
> 
> 
> Then I ran `ag 'modified
> \(buffer-modified-p\).*\n.*buffer-undo.*\n*inhib'` and got this:
> dtrt-indent-20160523.1318/dtrt-indent-diag.el:163:                    `((,modified (buffer-modified-p))
> dtrt-indent-20160523.1318/dtrt-indent-diag.el:164:                      (buffer-undo-list t)
> dtrt-indent-20160523.1318/dtrt-indent-diag.el:165:                      (inhibit-read-only t)
> markdown-mode-20160610.1745/markdown-mode.el:6321:  (let* ((modified (buffer-modified-p))
> markdown-mode-20160610.1745/markdown-mode.el:6322:         (buffer-undo-list t)
> markdown-mode-20160610.1745/markdown-mode.el:6323:         (inhibit-read-only t)
> 
> Then reading the code in those files, the code turned out to be in a macro:
> 
> (defmacro save-buffer-state (varlist &rest body)
>  "Bind variables according to VARLIST and eval BODY restoring buffer state."
>  (declare (indent 1) (debug let))
>  (let ((modified (make-symbol "modified")))
>    `(let* ,(append varlist
>                    `((,modified (buffer-modified-p))
>                      (buffer-undo-list t)
>                      (inhibit-read-only t)
>                      (inhibit-point-motion-hooks t)
>                      (inhibit-modification-hooks t)
>                      deactivate-mark
>                      buffer-file-name
>                      buffer-file-truename))
>       (progn
>         ,@body)
>       (unless ,modified
>         (restore-buffer-modified-p nil)))))
> 
> 
> But I have found only one occurrence in dtrt-indent:
> 
> (defun dtrt-indent-highlight ()
>  "Highlight non-excluded indentation in the current buffer."
>  (interactive)
>  (let ((language-and-variable
>         (cdr (dtrt-indent--search-hook-mapping major-mode))))
>    (if (null language-and-variable)
>        (message "Major mode %s not supported by dtrt-indent" major-mode)
>      (save-buffer-state nil
>        (dtrt-indent--for-each-indentation
>         (car language-and-variable)
>         (lambda (histogram)
>           (put-text-property (save-excursion (beginning-of-line) (point))
>                              (point)
>                              'face '(background-color . "red"))
>           t)
>         nil)))))
> 
> Dunno how it is related to that timer execution. But according to the
> comment above `save-buffer-state`, there might be a similar macro in
> font-lock.el. Yes there is.
> I did a grep in emacs source and found lots of them. Then I look at the
> body part of that macro expansion: `(unwind-protect (progn
> (remove-text-properties (point-min) (point-max) 'fontified)))`. However
> I failed to find any occurrence. It might be another macro expansion
> here. So I decide to put it aside and will investigate later.
> 
> Best regards,
> Jiege CHen

[-- Attachment #2: Type: text/html, Size: 8546 bytes --]

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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-06-16 14:04 ` bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer Jiajie Chen
  2016-06-17  3:51   ` Noam Postavsky
  2016-06-18  0:09   ` Jiege Chen
@ 2016-06-27 14:08   ` Jiajie Chen
  2016-06-28  0:28     ` Noam Postavsky
  2 siblings, 1 reply; 9+ messages in thread
From: Jiajie Chen @ 2016-06-27 14:08 UTC (permalink / raw)
  To: npostavs; +Cc: 23777


I have found the bug -- it comes from nlinum.el:

(defun nlinum--flush ()
  (nlinum--setup-windows)
  ;; (kill-local-variable 'nlinum--ol-counter)
  (remove-overlays (point-min) (point-max) 'nlinum t)
  (run-with-timer 0 nil
                  (lambda (buf)
                    (with-current-buffer buf
                      (with-silent-modifications
                        ;; FIXME: only remove `fontified' on those parts of the
                        ;; buffer that had an nlinum overlay!
                        (remove-text-properties
                         (point-min) (point-max) '(fontified)))))
                  (current-buffer)))

It seems that when the timer is ran, the (current-buffer) no longer
exists. That buffer may be a temp buffer.

And my init code includes:

  (add-hook 'nlinum-mode-hook
            (lambda ()
              (when nlinum-mode
                (setq nlinum--width
                      (1+ (length (number-to-string
                                   (count-lines (point-min) (point-max))))))
                (nlinum--flush))))

A fix would be:

(defun nlinum--flush ()
  (nlinum--setup-windows)
  ;; (kill-local-variable 'nlinum--ol-counter)
  (remove-overlays (point-min) (point-max) 'nlinum t)
  (run-with-timer 0 nil
                  (lambda (buf)
                    (when (buffer-live-p buf)
                      (with-current-buffer buf
                        (with-silent-modifications
                          ;; FIXME: only remove `fontified' on those parts of the
                          ;; buffer that had an nlinum overlay!
                          (remove-text-properties
                           (point-min) (point-max) '(fontified)))))
                  (current-buffer)))





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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-06-27 14:08   ` Jiajie Chen
@ 2016-06-28  0:28     ` Noam Postavsky
  2016-06-28  4:54       ` Jiege Chen
  2016-06-28 13:37       ` Jiege Chen
  0 siblings, 2 replies; 9+ messages in thread
From: Noam Postavsky @ 2016-06-28  0:28 UTC (permalink / raw)
  To: Jiajie Chen; +Cc: 23777

On Mon, Jun 27, 2016 at 10:08 AM, Jiajie Chen <jiegec@qq.com> wrote:
>
> I have found the bug -- it comes from nlinum.el:
[...]
>
> It seems that when the timer is ran, the (current-buffer) no longer
> exists. That buffer may be a temp buffer.
>
> And my init code includes:
>
>   (add-hook 'nlinum-mode-hook
>             (lambda ()
>               (when nlinum-mode
>                 (setq nlinum--width
>                       (1+ (length (number-to-string
>                                    (count-lines (point-min) (point-max))))))
>                 (nlinum--flush))))
>
> A fix would be:
>
> (defun nlinum--flush ()
>   (nlinum--setup-windows)
>   ;; (kill-local-variable 'nlinum--ol-counter)
>   (remove-overlays (point-min) (point-max) 'nlinum t)
>   (run-with-timer 0 nil
>                   (lambda (buf)
>                     (when (buffer-live-p buf)
>                       (with-current-buffer buf
>                         (with-silent-modifications
>                           ;; FIXME: only remove `fontified' on those parts of the
>                           ;; buffer that had an nlinum overlay!
>                           (remove-text-properties
>                            (point-min) (point-max) '(fontified)))))
>                   (current-buffer)))

Perhaps it makes more sense to put that buffer-live-p check in your
nlinum-mode-hook lambda? Actually I wonder why you need to call
nlinum--flush at all? Though I admit I don't really understand the
nlinum code either, e.g. what is the use of (run-with-timer 0 ...),
why not run the thing immediately?





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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-06-28  0:28     ` Noam Postavsky
@ 2016-06-28  4:54       ` Jiege Chen
  2016-06-28 13:37       ` Jiege Chen
  1 sibling, 0 replies; 9+ messages in thread
From: Jiege Chen @ 2016-06-28  4:54 UTC (permalink / raw)
  To: 23777

Noam Postavsky <npostavs@users.sourceforge.net> wrote:
> On Mon, Jun 27, 2016 at 10:08 AM, Jiajie Chen <jiegec@qq.com> wrote:
>> 
>> I have found the bug -- it comes from nlinum.el:
> [...]
>> 
>> It seems that when the timer is ran, the (current-buffer) no longer
>> exists. That buffer may be a temp buffer.
>> 
>> And my init code includes:
>> 
>> (add-hook 'nlinum-mode-hook
>> (lambda ()
>> (when nlinum-mode
>> (setq nlinum--width
>> (1+ (length (number-to-string
>> (count-lines (point-min) (point-max))))))
>> (nlinum--flush))))
>> 
>> A fix would be:
>> 
>> (defun nlinum--flush ()
>> (nlinum--setup-windows)
>> ;; (kill-local-variable 'nlinum--ol-counter)
>> (remove-overlays (point-min) (point-max) 'nlinum t)
>> (run-with-timer 0 nil
>> (lambda (buf)
>> (when (buffer-live-p buf)
>> (with-current-buffer buf
>> (with-silent-modifications
>> ;; FIXME: only remove `fontified' on those parts of the
>> ;; buffer that had an nlinum overlay!
>> (remove-text-properties
>> (point-min) (point-max) '(fontified)))))
>> (current-buffer)))
> 
> Perhaps it makes more sense to put that buffer-live-p check in your
> nlinum-mode-hook lambda? Actually I wonder why you need to call
> nlinum--flush at all? Though I admit I don't really understand the
> nlinum code either, e.g. what is the use of (run-with-timer 0 ...),
> why not run the thing immediately?
> 
> 
> 
> 
> 

Yes that's another solution. In my memory that code snippet in my init
comes from EmacsWiki.
I will try whether it works tonight (UTC+8 here). I don't understand that
timer too.
In Android for example, that might be intended to wait for the GUI event
loop to update some
controls.

-- 
Jiegec






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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-06-28  0:28     ` Noam Postavsky
  2016-06-28  4:54       ` Jiege Chen
@ 2016-06-28 13:37       ` Jiege Chen
  2016-07-09 21:34         ` npostavs
  1 sibling, 1 reply; 9+ messages in thread
From: Jiege Chen @ 2016-06-28 13:37 UTC (permalink / raw)
  To: 23777

Noam Postavsky <npostavs@users.sourceforge.net> wrote:
> On Mon, Jun 27, 2016 at 10:08 AM, Jiajie Chen <jiegec@qq.com> wrote:
>> 
>> I have found the bug -- it comes from nlinum.el:
> [...]
>> 
>> It seems that when the timer is ran, the (current-buffer) no longer
>> exists. That buffer may be a temp buffer.
>> 
>> And my init code includes:
>> 
>> (add-hook 'nlinum-mode-hook
>> (lambda ()
>> (when nlinum-mode
>> (setq nlinum--width
>> (1+ (length (number-to-string
>> (count-lines (point-min) (point-max))))))
>> (nlinum--flush))))
>> 
>> A fix would be:
>> 
>> (defun nlinum--flush ()
>> (nlinum--setup-windows)
>> ;; (kill-local-variable 'nlinum--ol-counter)
>> (remove-overlays (point-min) (point-max) 'nlinum t)
>> (run-with-timer 0 nil
>> (lambda (buf)
>> (when (buffer-live-p buf)
>> (with-current-buffer buf
>> (with-silent-modifications
>> ;; FIXME: only remove `fontified' on those parts of the
>> ;; buffer that had an nlinum overlay!
>> (remove-text-properties
>> (point-min) (point-max) '(fontified)))))
>> (current-buffer)))
> 
> Perhaps it makes more sense to put that buffer-live-p check in your
> nlinum-mode-hook lambda? Actually I wonder why you need to call
> nlinum--flush at all? Though I admit I don't really understand the
> nlinum code either, e.g. what is the use of (run-with-timer 0 ...),
> why not run the thing immediately?
> 
> 
> 
> 
> 

I removed that call in my init code, and the error is gone,
at the price of some display inconsistency which is acceptable.
There is room for improvement in nlinum--flush. 

-- 
Jiegec






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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-06-28 13:37       ` Jiege Chen
@ 2016-07-09 21:34         ` npostavs
  2016-07-18  2:24           ` npostavs
  0 siblings, 1 reply; 9+ messages in thread
From: npostavs @ 2016-07-09 21:34 UTC (permalink / raw)
  To: Jiege Chen; +Cc: 23777

Jiege Chen <jiegec@qq.com> writes:

> I removed that call in my init code, and the error is gone,
> at the price of some display inconsistency which is acceptable.
> There is room for improvement in nlinum--flush. 

How about this instead:

(defun my-nlinum-mode-hook ()
  (when nlinum-mode
    (setq-local nlinum-format
                (concat "%" (number-to-string
                             (ceiling (log (max 1 (count-lines (point-min)
                                                               (point-max)))
                                           10)))
                        "d"))))
(add-hook 'nlinum-mode-hook #'my-nlinum-mode-hook)

Actually, I think count-lines will be slow on big files, so you may want
to approximate with something like

(defun my-nlinum-mode-hook ()
  (when nlinum-mode
    (setq-local nlinum-format
                (concat "%" (number-to-string
                             (ceiling (log (max 1 (/ (buffer-size) 80)) 10)))
                        "d"))))





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

* bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer
  2016-07-09 21:34         ` npostavs
@ 2016-07-18  2:24           ` npostavs
  0 siblings, 0 replies; 9+ messages in thread
From: npostavs @ 2016-07-18  2:24 UTC (permalink / raw)
  To: Jiege Chen; +Cc: 23777

tags 23777 notabug
close 23777
quit

npostavs@users.sourceforge.net writes:

> (defun my-nlinum-mode-hook ()
>   (when nlinum-mode
>     (setq-local nlinum-format
>                 (concat "%" (number-to-string
>                              (ceiling (log (max 1 (/ (buffer-size) 80)) 10)))
>                         "d"))))

I've updated the Emacswiki page with this suggestion, and I'm closing
this bug report.





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

end of thread, other threads:[~2016-07-18  2:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m2k2ho9hs7.fsf@qq.com>
2016-06-16 14:04 ` bug#23777: 25.0.95; Throwing (error "Selecting deleted buffer") in timer Jiajie Chen
2016-06-17  3:51   ` Noam Postavsky
2016-06-18  0:09   ` Jiege Chen
2016-06-27 14:08   ` Jiajie Chen
2016-06-28  0:28     ` Noam Postavsky
2016-06-28  4:54       ` Jiege Chen
2016-06-28 13:37       ` Jiege Chen
2016-07-09 21:34         ` npostavs
2016-07-18  2:24           ` npostavs

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.