From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix "Error during redisplay" from which-func.el Date: Sun, 07 Oct 2012 12:16:42 +0530 Message-ID: <87a9vylqy5.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349592319 1615 80.91.229.3 (7 Oct 2012 06:45:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 06:45:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Takafumi Arakaki Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 08:45:25 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TKkc9-0007av-9Z for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 08:45:25 +0200 Original-Received: from localhost ([::1]:38243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKkc3-0006li-AY for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 02:45:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKkc0-0006lQ-LG for emacs-devel@gnu.org; Sun, 07 Oct 2012 02:45:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKkbz-0000qt-MJ for emacs-devel@gnu.org; Sun, 07 Oct 2012 02:45:16 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:45638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKkbz-0000pj-FZ for emacs-devel@gnu.org; Sun, 07 Oct 2012 02:45:15 -0400 Original-Received: by mail-pb0-f41.google.com with SMTP id rq2so3552882pbb.0 for ; Sat, 06 Oct 2012 23:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=qPtsgeI5F2bz3gfVSX3C4RrUW4RT2lQPtb7s/aN4yoA=; b=luwDeJCry2B80TBR+pR2YZW1drXzs+7G48qRCyww9WKn1xJ0j0J9aCjv8LO2hnnqat vdjd9vTpgCYjkSwbYpOgtO23ABuY1kMorlH+8gZBhzXcgcwqf1F+D0bT+2YuQf33kX0G GKMl5csRvlJIFGnmsdC8DtHqIlCfE9xA5j1MYQn5BGCNs76kpjXp5zz1gINat0jZWQ13 DwoL8RyvIPTk5Q1ixyNmuJwVyCR5wqXwPs5JWNo+ce/Ts1mU0ppCguHH/hn/YQ6CB8om K+1jJ235eW0UnqqLCmgBSxsCvbAzRxiE2a4vBStG0+uXhU1jR8ofiQO/rjTMzCUK5/Hu c2ZA== Original-Received: by 10.68.204.137 with SMTP id ky9mr43183263pbc.90.1349592314541; Sat, 06 Oct 2012 23:45:14 -0700 (PDT) Original-Received: from debian-6.05 ([115.242.245.242]) by mx.google.com with ESMTPS id n3sm7672712paz.25.2012.10.06.23.45.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 06 Oct 2012 23:45:13 -0700 (PDT) In-Reply-To: (Takafumi Arakaki's message of "Sun, 7 Oct 2012 07:43:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154156 Archived-At: Takafumi Arakaki writes: > Hi, > > This patch should fix the following error when there is no function > defined at point. > > Error during redisplay: (eval (replace-regexp-in-string "%" "%%" > (gethash (selected-window) which-func-table which-func-unknown))) > signaled (wrong-type-argument arrayp nil) > > I get this error at point in python file when there is no function > defined before the cursor. > > Takafumi > There is an existing bug report with similar symptoms http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12338 --