[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17685: 188.8.131.52; help-C-file-name failes to create temp buffer " *D
bug#17685: 184.108.40.206; help-C-file-name failes to create temp buffer " *DOC*"
Wed, 4 Jun 2014 10:47:44 +0200
GNU Emacs 220.127.116.11 (x86_64-apple-darwin13.2.0, NS apple-appkit-1265.20) of
2014-05-23 on angelofdeaths-MacBook-Air.local
TO REPRODUCE BUG:
(find-lisp-object-file-name 'visible-bell 'defvar) ;visible-bell is just an
example and can be replaced with any variable.
Note that I've compiled Emacs from source, and the source files are available.
This is also proved by the work-around below.
(get-buffer-create " *DOC*") ;That's a crazy line...
(find-lisp-object-file-name 'visible-bell 'defvar) ;...but now it suddenly
If you manually kill buffer " *DOC*", it stops working again.
GUESS OF SOLUTION:
According to help-fns.el, find-lisp-object-file-name calls help-C-file-name
that in turn tries to create a temp buffer " *DOC*". Maybe this buffer creation
somehow fails? It seems like it, since the bug disappears if we create the
buffer in advance, and comes back when we manually delete the buffer. Or maybe
there is some other error in help-C-file-name or even in get-buffer-create that
manifests itself in this strange way?
- bug#17685: 18.104.22.168; help-C-file-name failes to create temp buffer " *DOC*",
Stefan Guath <=