public inbox for howm-eng@lists.osdn.me
 help / color / mirror / Atom feed
* [Howm-eng 33]  Formatting of filenames in *howmS* and *howmM*
@ 2007-04-30 15:35 peter.mielke
  2007-05-01 13:00 ` [Howm-eng 34] " khi
  0 siblings, 1 reply; 2+ messages in thread
From: peter.mielke @ 2007-04-30 15:35 UTC (permalink / raw)


Hi i was wondering if i could get the nice columnar formatting of *howmS* in
*howmM*? For example, i'm working on putting some sort of weekly journal and
simply use the year and week number in the filename so i get a shorter
filename. *howmS* shows:

2007-05.howm           | = Journal for Week 5 of 2007
2006-12-11-162624.howm | = SAP Timesheet entry
2007-03-19-145018.howm | = Snack Spending
2006-12-12-152152.howm | = Gulf Canada Square
2007-01-24-113349.howm | = Spill the Beans
2006-12-11-162245.howm | = Status meetings
But in *howmM* it shows as:

[Recent]
> 2007-05 | = Journal for Week 5 of 2007
> 2006-12-11-162624 | = SAP Timesheet entry
> 2007-03-19-145018 | = Snack Spending
> 2006-12-12-152152 | = Gulf Canada Square
> 2007-01-24-113349 | = Spill the Beans
> 2006-12-11-162245 | = Status meetings

Is it possible to add spaces so that it looks like this:

[Recent]
> 2007-05           | = Journal for Week 5 of 2007
> 2006-12-11-162624 | = SAP Timesheet entry
> 2007-03-19-145018 | = Snack Spending
> 2006-12-12-152152 | = Gulf Canada Square
> 2007-01-24-113349 | = Spill the Beans
> 2006-12-11-162245 | = Status meetings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sourceforge.jp/mailman/archives/howm-eng/attachments/20070430/daf91721/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Howm-eng 34] Re: Formatting of filenames in *howmS* and *howmM*
  2007-04-30 15:35 [Howm-eng 33] Formatting of filenames in *howmS* and *howmM* peter.mielke
@ 2007-05-01 13:00 ` khi
  0 siblings, 0 replies; 2+ messages in thread
From: khi @ 2007-05-01 13:00 UTC (permalink / raw)


Hi. Thanks you for your suggestion.

> Is it possible to add spaces so that it looks like this:
> 
> [Recent]
> > 2007-05           | = Journal for Week 5 of 2007
> > 2006-12-11-162624 | = SAP Timesheet entry

This should work.

(defadvice howm-menu-recent (around columnar-formatting activate)
  (let ((howm-menu-list-format "> %-17s | %s"))
    ad-do-it))

It will be the default behavior in the next version.

-- 
khi at users.sourceforge.jp



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-01 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-30 15:35 [Howm-eng 33] Formatting of filenames in *howmS* and *howmM* peter.mielke
2007-05-01 13:00 ` [Howm-eng 34] " khi

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 NNTP newsgroup(s).