From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Guath Newsgroups: gmane.emacs.bugs Subject: bug#17685: 24.3.91.1; help-C-file-name failes to create temp buffer " *DOC*" Date: Wed, 4 Jun 2014 10:47:44 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401871775 26553 80.91.229.3 (4 Jun 2014 08:49:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2014 08:49:35 +0000 (UTC) To: 17685@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 10:49:28 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ws6sx-00043n-Li for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jun 2014 10:49:27 +0200 Original-Received: from localhost ([::1]:58704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6st-0006Jg-Td for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jun 2014 04:49:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6si-0006I1-1E for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:49:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws6sZ-0004qK-0J for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:49:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6sY-0004q5-Sv for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ws6sY-0001gN-7n for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Guath Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jun 2014 08:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14018717076402 (code B ref -1); Wed, 04 Jun 2014 08:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jun 2014 08:48:27 +0000 Original-Received: from localhost ([127.0.0.1]:43049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ws6rz-0001fC-3a for submit@debbugs.gnu.org; Wed, 04 Jun 2014 04:48:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42540) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ws6rv-0001eg-Lj for submit@debbugs.gnu.org; Wed, 04 Jun 2014 04:48:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws6rh-0004Zw-AA for submit@debbugs.gnu.org; Wed, 04 Jun 2014 04:48:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6rh-0004Zo-7k for submit@debbugs.gnu.org; Wed, 04 Jun 2014 04:48:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6rY-00061n-6B for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:48:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws6rO-0004NQ-C7 for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:48:00 -0400 Original-Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:48166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws6rO-0004LO-4U for bug-gnu-emacs@gnu.org; Wed, 04 Jun 2014 04:47:50 -0400 Original-Received: by mail-la0-f51.google.com with SMTP id gf5so4145365lab.38 for ; Wed, 04 Jun 2014 01:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=Hlarq+1s9IsPa/XdLn68dt6YI5+yWw0YTB9GpS5dClU=; b=yiwDV9zuWVbCxWBTczSFwUGl185cCMSrwJP9ChxtE7VJzc4Kqsuz5X1g47SUqqGVvQ S/ln95VtCMn6sH0Fd5v54IZ/f+I9cqdiLsYwlm3qkHyC4EKiq+pRNKE/7aeyjWK53qlw mmPJluJ5HXyZHXn+Cy++dcF12xUVnE9vrHTOBlX+quzOKFEKUpG9jzRNejP4w2+1WSVe HHZXhqsVNSaxO3uAmgbNOcFY7LgrIr0wMENgnpvDo4tNg+W7esmZnUlSWfsX5GHSEHRA AmY6sIy8pxjjjK/TwrvC1bb04+07ijm3tSjoCtrpn2OYmcDoXirUcNfJ+XQbzk7evRs2 mWqQ== X-Received: by 10.112.34.210 with SMTP id b18mr36874838lbj.42.1401871667654; Wed, 04 Jun 2014 01:47:47 -0700 (PDT) Original-Received: from [192.168.73.96] (static-81.216.64.211.addr.tdcsong.se. [81.216.64.211]) by mx.google.com with ESMTPSA id sq7sm1816768lbb.10.2014.06.04.01.47.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Jun 2014 01:47:46 -0700 (PDT) X-Mailer: Apple Mail (2.1878.2) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89966 Archived-At: VERSION: GNU Emacs 24.3.91.1 (x86_64-apple-darwin13.2.0, NS apple-appkit-1265.20) = of 2014-05-23 on angelofdeaths-MacBook-Air.local TO REPRODUCE BUG: emacs -Q (find-lisp-object-file-name 'visible-bell 'defvar) ;visible-bell is just = an example and can be replaced with any variable. RESULT: C-source EXPECTED RESULT: "src/dispnew.c" Note that I've compiled Emacs from source, and the source files are = available. This is also proved by the work-around below. WORK-AROUND: emacs -Q (get-buffer-create " *DOC*") ;That's a crazy line... (find-lisp-object-file-name 'visible-bell 'defvar) ;...but now it = suddenly works! 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?=