From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Eric Abrahamsen <eric@ericabrahamsen.net>
Newsgroups: gmane.emacs.help
Subject: Re: Inspecting functions returning complicated values
Date: Wed, 01 Oct 2014 09:59:41 +0800
Message-ID: <87sij8tur6.fsf@ericabrahamsen.net>
References: <87lhp0hd9m.fsf@wmi.amu.edu.pl>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: ger.gmane.org 1412128830 28791 80.91.229.3 (1 Oct 2014 02:00:30 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 1 Oct 2014 02:00:30 +0000 (UTC)
To: help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 04:00:23 2014
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1XZ9DK-0000JZ-D4
	for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 04:00:22 +0200
Original-Received: from localhost ([::1]:47413 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1XZ9DK-0001d0-4d
	for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Sep 2014 22:00:22 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43457)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geh-help-gnu-emacs@m.gmane.org>) id 1XZ9D3-0001Yc-BG
	for help-gnu-emacs@gnu.org; Tue, 30 Sep 2014 22:00:11 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <geh-help-gnu-emacs@m.gmane.org>) id 1XZ9Cx-000684-7N
	for help-gnu-emacs@gnu.org; Tue, 30 Sep 2014 22:00:05 -0400
Original-Received: from plane.gmane.org ([80.91.229.3]:45301)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <geh-help-gnu-emacs@m.gmane.org>) id 1XZ9Cx-00067x-0l
	for help-gnu-emacs@gnu.org; Tue, 30 Sep 2014 21:59:59 -0400
Original-Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <geh-help-gnu-emacs@m.gmane.org>) id 1XZ9Cv-0000B4-Vv
	for help-gnu-emacs@gnu.org; Wed, 01 Oct 2014 03:59:57 +0200
Original-Received: from 114.248.29.143 ([114.248.29.143])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <help-gnu-emacs@gnu.org>; Wed, 01 Oct 2014 03:59:57 +0200
Original-Received: from eric by 114.248.29.143 with local (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <help-gnu-emacs@gnu.org>; Wed, 01 Oct 2014 03:59:57 +0200
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 16
Original-X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: 114.248.29.143
User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)
Cancel-Lock: sha1:MGyfNlGPkAsCVhnYqlwIntHhbjI=
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 <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=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:100194
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/100194>

Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:

> Hi list,
>
> assume that I want to inspect a function whose return value is a long,
> deeply nested list.  I found this way to present it in a readable way:
>
> M-: (setq blah-blah (function-returning-hairy-stuff))
> C-h C-v blah-blah
>
> This seems a bit awkward, however.  Is there a better/cleaner way?
>
> TIA,

It can also be interesting to start an IELM repl and do things to the
return value there.