From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.devel Subject: Re: What's the best way to write complex emacs extension Date: Tue, 04 Nov 2014 13:59:16 +1100 Message-ID: <87r3xj1x6c.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415070459 18102 80.91.229.3 (4 Nov 2014 03:07:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2014 03:07:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 04 04:07:33 2014 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 1XlUSy-0003Ih-J1 for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2014 04:07:32 +0100 Original-Received: from localhost ([::1]:38274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlUSy-00048b-3h for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2014 22:07:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlUSc-00047F-JB for emacs-devel@gnu.org; Mon, 03 Nov 2014 22:07:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlUSQ-0005Ee-Uu for emacs-devel@gnu.org; Mon, 03 Nov 2014 22:07:10 -0500 Original-Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:49728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlUSQ-0005EO-ME for emacs-devel@gnu.org; Mon, 03 Nov 2014 22:06:58 -0500 Original-Received: by mail-pa0-f50.google.com with SMTP id eu11so13598230pac.9 for ; Mon, 03 Nov 2014 19:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:subject:date:in-reply-to:message-id:mime-version :content-type; bh=nSXKMZCth1RtZtySDzzZyC+8vpM9r3ygoS2Oi3kl8qw=; b=L9VthZ5U45hWJqtakvOhqVX1030U5XChc9DyZ9/daReJw2ylRjbIaCDe3LavF5TXAY TF+ZOS+38KJJJ3OglHRncw9mGzXu6nxFMPZ95Y/tQ1cESTgsOdUp9rwQ5GD4SkTnOGxm zSTUXIA0XJWw1krsQv71jPsz91vps4//u8jsunySK73MLMIoGWddk45Bkn/RFo8OqxR/ 0u7VvylGrXBjWMh3be9zzAG92oIsa4KP1kN/+EaOJKqcwgdYKSTDpo0/9NAqUGDhkAP+ IkkdrKiXeBjikfi1d0CLxZAATUS6/6YAb3LFyBVvkwcA5kVoGiHKy5qu72NgHDzq3LaY KIIA== X-Received: by 10.67.14.129 with SMTP id fg1mr7343000pad.114.1415070417591; Mon, 03 Nov 2014 19:06:57 -0800 (PST) Original-Received: from localhost (ppp118-209-92-67.lns20.mel4.internode.on.net. [118.209.92.67]) by mx.google.com with ESMTPSA id bj7sm14776836pad.20.2014.11.03.19.06.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 03 Nov 2014 19:06:56 -0800 (PST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::232 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:176332 Archived-At: scopeview . writes: > I have used edebug for developing my elisp extension. > > I just feel elisp + XML + c binary for complex extension is not so > convenient. Even with edebug, when some predication failed, I should guess > where it could be then set edebug function entry. Are you already aware of the `debug-on-message` variable? Documentation: If non-nil, debug if a message matching this regexp is displayed. It would let you do something like: (setq debug-on-message "Wrong type argument: stringp") Alexis.