From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gracjan Polak Newsgroups: gmane.emacs.help Subject: Wrong type argument: arrayp, nil Date: Sun, 20 Apr 2014 17:44:36 +0000 (UTC) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398016255 3659 80.91.229.3 (20 Apr 2014 17:50:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Apr 2014 17:50:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 20 19:50:48 2014 Return-path: Envelope-to: geh-help-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 1Wbvt5-0007xP-Td for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Apr 2014 19:50:44 +0200 Original-Received: from localhost ([::1]:46290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wbvt5-0001KL-GW for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Apr 2014 13:50:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wbvsb-0001HZ-1f for help-gnu-emacs@gnu.org; Sun, 20 Apr 2014 13:50:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbvsT-0003N7-IT for help-gnu-emacs@gnu.org; Sun, 20 Apr 2014 13:50:12 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbvsT-0003LO-Bx for help-gnu-emacs@gnu.org; Sun, 20 Apr 2014 13:50:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WbvsQ-0007AF-R3 for help-gnu-emacs@gnu.org; Sun, 20 Apr 2014 19:50:02 +0200 Original-Received: from 89-75-171-194.dynamic.chello.pl ([89.75.171.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Apr 2014 19:50:02 +0200 Original-Received: from gracjanpolak by 89-75-171-194.dynamic.chello.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Apr 2014 19:50:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 89.75.171.194 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97270 Archived-At: Hi, I'm not sure if this is the correct place, I suspect it is not so please forward me where to go. So I was happily hacking on something totally other when my language indentation mode after a TAB responded with friendly: Wrong type argument: arrayp, nil. Being ambitious programmer as I am I decided to debug the issue in the indentation package that I use. I have zero experience hacking emacs although I had used it for years now. Here are steps I took: Downloaded source code of package in question. Looked up how to use some kind of debugging under emacs, found Edebug (not sure if I found right). Used C-u C-M-x to instrument main entry the function that got set in var indent-line-function. Added a friendly (please-break-here) so i know edebug got hooked properly. Pressed TAB to indent... Nothing happened. Is there a how-to-debug-elisp tutorial somewhere? Currently I have no idea how to setup my environment. Where do I proceed? -- Gracjan