emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Dimech <dimech@gmx.com>
To: TRS-80 <lists.trs-80@isnotmyreal.name>
Cc: emacs-orgmode@gnu.org
Subject: Re: Using org-agenda-time-grid with lists
Date: Fri, 11 Dec 2020 19:18:13 +0100	[thread overview]
Message-ID: <trinity-0113645d-b24c-40ae-8624-42464b1ffbbf-1607710693363@3c-app-mailcom-bs06> (raw)
In-Reply-To: <7dac387d6564a80c35af6aa1f77c8b79@isnotmyreal.name>

> Sent: Friday, December 11, 2020 at 6:23 PM
> From: "TRS-80" <lists.trs-80@isnotmyreal.name>
> To: emacs-orgmode@gnu.org
> Subject: Re: Using org-agenda-time-grid with lists
>
> On 2020-12-11 11:48, steve-humphreys@gmx.com wrote:
> > TRS-80 wrote:
> >> On 2020-12-11 10:45, steve-humphreys@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
>
>


  reply	other threads:[~2020-12-11 18:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11 14:59 Using org-agenda-time-grid with lists steve-humphreys
2020-12-11 15:28 ` Marco Wahl
2020-12-11 15:45   ` steve-humphreys
2020-12-11 16:39     ` TRS-80
2020-12-11 16:48       ` steve-humphreys
2020-12-11 17:23         ` TRS-80
2020-12-11 18:18           ` Christopher Dimech [this message]
2020-12-11 18:38             ` TRS-80
2020-12-11 22:22     ` Marco Wahl
2020-12-11 23:04       ` steve-humphreys

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=trinity-0113645d-b24c-40ae-8624-42464b1ffbbf-1607710693363@3c-app-mailcom-bs06 \
    --to=dimech@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists.trs-80@isnotmyreal.name \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).