GNU bug report logs - #17685
24.3.91.1; help-C-file-name failes to create temp buffer " *DOC*"

Previous Next

Package: emacs;

Reported by: Stefan Guath <stefan <at> automata.se>

Date: Wed, 4 Jun 2014 08:49:01 UTC

Severity: minor

Found in version 24.3.91.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Guath <stefan <at> automata.se>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 17685 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#17685: 24.3.91.1; help-C-file-name failes to create temp buffer " *DOC*"
Date: Thu, 5 Jun 2014 11:00:59 +0200
Ok, I understand!

On 5 jun 2014, at 10:45, martin rudalics <rudalics <at> gmx.at> wrote:

> > (defun show-elisp-src-at-point ()
> >    (interactive)
> >    (message (find-lisp-object-file-name (variable-at-point) 'defvar)))
> >
> > Now, executing show-elisp-src-at-point with point on a C variable just returns the symbol 'C-source. With an optional variable enable-c-search in find-lisp-object-file-name, it could instead return the actual C source file name.
> >
> > I don't think an extra value in help-enable-auto-load would be of any help in these kind of cases (i.e. when used programmatically).
> 
> I thought about something like
> 
> (if (or (and (eq help-enable-auto-load 'create-doc)
> 	     (get-buffer-create " *DOC*"))
> 	(get-buffer " *DOC*"))
>    (help-C-file-name type 'subr)
>  'C-source)
> 
> in `find-lisp-object-file-name'.
> 
> martin





This bug report was last modified 3 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.