> Sent: Friday, December 11, 2020 at 6:23 PM > From: "TRS-80" <lists.trs...@isnotmyreal.name> > To: emacs-orgmode@gnu.org > Subject: Re: Using org-agenda-time-grid with lists > > On 2020-12-11 11:48, steve-humphr...@gmx.com wrote: > > TRS-80 wrote: > >> On 2020-12-11 10:45, steve-humphr...@gmx.com wrote: > >> > > >> > Incidentally, how can one print a list in messages buffer? > >> > >> Do you mean something other than standard: > > > > Correct, something other than "%s". > > > >> > >> ``` > >> (message "%s" my-list) > >> ``` > >> I wrote some quite involved function to take a list of variables and > >> print them to Messages buffer, formatting them nicely. I use it when > >> debugging and writing code. However I am not sure that is what you > >> are > >> looking for or not? > > > > What is the biggest problem with printing lists that you have > > encountered? > > I don't have any problem printing simple list. Well, maybe one case. > If the list is too long (because you only get some part of it in > Messages buffer). In that case, I do my function in fundamental-mode > with C-j (I think?) which put the results in the same buffer. Then you > can do <TAB> (or maybe it's <RET>?) and that will expand to the full > result, if you need to look at that. > > But the reason I wrote my function was because I wanted to provide short > list of (separate) variables and have them print out to nicely formatted > message as intermediate structure code and/or for debugging purposes. > Which is nothing to do with lists, per say.
Perhaps you might get some ideas from https://github.com/oantolin/icomplete-vertical > > Cheers always sounds better on a friday. :) > > You make me thirsty all of a sudden! :) :) > Cheers, > TRS-80 > >