all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Lorenzon <devel@pollock-nageoire.net>
To: joer@san.rr.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: Display an eieio object
Date: Fri, 15 Jun 2018 03:18:21 +0200 (CEST)	[thread overview]
Message-ID: <20180615.031821.1789559207825262254.devel@pollock-nageoire.net> (raw)
In-Reply-To: <20180614074508.124fe601@gauss>



Hi,

From: Joe Riel <joer@san.rr.com>
Subject: Display an eieio object
Date: Thu, 14 Jun 2018 07:45:08 -0700

> Is there a way to nicely display an eieio object?


  Depending where you want to launch the displaying from. By
  simply issuing a command from the interactive emacs ara I
  dont think so. By writing a small piece of code : everrything
  is possible ! In fact, more precisely the
  `eieio-customize-object' is appliable on every eieio object
  and display it in a readable form, not as C-h v does !

  But this method cannot be called interactively. Moreover it
  is subject to object definition. If slot customization has
  not been defined properly displaying can be very bad.

  You may say that `eieio-customize-object' is not the right
  method for you since you only want to see the object and not
  interact with it. Anway at least in my knowledge there is no
  weaker method that only allows to show the object without
  interacting with it.

  Notice that interaction is determined by all type of
  interactions provided by the widget package, since
  eieio-customize-object is based on the widget package.

  Regards

  Pierre


> Using describe-variable (C-h v) shows the
> values but not the slot names, which makes it less
> than helpful.
> 
> -- 
> Joe Riel
> 
> 



  reply	other threads:[~2018-06-15  1:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14 14:45 Display an eieio object Joe Riel
2018-06-15  1:18 ` Pierre Lorenzon [this message]
2018-06-15  3:53 ` Michael Heerdegen
2018-06-15 14:36   ` Joe Riel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180615.031821.1789559207825262254.devel@pollock-nageoire.net \
    --to=devel@pollock-nageoire.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joer@san.rr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.