On 2025-04-22 11:42, Remind list wrote:
> Tim Chase wrote:
> 
> > I know that remind offers the weekly view (`rem -c+`) but there's no
> > option AFAIK for visually aligning times.
> 
> That's correct; Remind doesn't have that option.

Okay, I'm glad it wasn't merely my failure to properly read docs :-)


> There are two ways it could be addded: (1) is to modify the Remind C
> code to support this option, or (2) is to write a post-processor that
> reads "remind -p+..." as input.  I suspect (2) would be much easier.
> The Remind calendar-drawing C code is... ehhh... not my finest work.

I suspect it might be possible to cobble together something to
post-process the output but `rem -p+` doesn't seem to emit the COLOR
information like `-s` provides, and `-s` doesn't seem to support the "+"
according to the man-page:

  For this option, n cannot start with "+";
  it must specify a number of months

so it hiccups on the first/last week of the month, not emitting the
previous/next month's events.  It would theoretically be possible to
determine whether the output requires the previous/next month and use
`-p2` instead, but that seems like more work than necessary.

Is there a way to get `-s` to include the extra COLOR info?

-tim




_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to