From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabio Newsgroups: gmane.emacs.help Subject: Re: debug eshell init Date: Thu, 17 Sep 2009 05:17:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5e46f691-270e-4c2f-bed8-0d30d18346ae@p23g2000vbl.googlegroups.com> References: <20e2e41f-850d-41ac-94de-c71d50788dd2@h30g2000vbr.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253191320 10973 80.91.229.12 (17 Sep 2009 12:42:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 12:42:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 14:41:53 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MoGJ5-0003oE-H0 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 14:41:51 +0200 Original-Received: from localhost ([127.0.0.1]:46333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoGJ5-00028X-3q for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 08:41:51 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!p23g2000vbl.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 45 Original-NNTP-Posting-Host: 84.113.198.65 Original-X-Trace: posting.google.com 1253189834 15149 127.0.0.1 (17 Sep 2009 12:17:14 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 17 Sep 2009 12:17:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p23g2000vbl.googlegroups.com; posting-host=84.113.198.65; posting-account=_eojFQoAAAC3vmPG_nxqa_bdHfJFuvJ2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173114 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68236 Archived-At: On Sep 17, 11:21=A0am, Peter Dyballa wrote: > Am 17.09.2009 um 01:07 schrieb Fabio: > > > Is there any way to view/start a debug-log when starting any function > > in Emacs? > > =A0 =A0 =A0 =A0 (setq debug-on-error t) > > in your init file? > > -- > Greetings > > =A0 =A0Pete > > If all else fails read the instructions. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 - Donald = Knuth I was able to pin down the villain: I remapped the help key C-h... ehelp does not like that... I get a *Backtrace* buffer with this content: Debugger entered--Lisp error: (wrong-type-argument characterp [31]) char-to-string([31]) byte-code(...) ... ("/usr/share/emacs/23.0.91/lisp/ehelp.elc" . 1297)) require(ehelp) byte-code(...) require(term) byte-code(...) load("em-term") eshell-mode() eshell(nil) call-interactively(eshell t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) I am considering a default help-key mapping so that ehelp does not complain. Thank you very much Pete!