help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display an eieio object


From: Pierre Lorenzon
Subject: Re: Display an eieio object
Date: Fri, 15 Jun 2018 03:18:21 +0200 (CEST)


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 via email to

[Prev in Thread] Current Thread [Next in Thread]