emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Girard <nicolas.girard@nerim.net>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Customizing how inactive timestamps are displayed
Date: Tue, 15 Dec 2009 22:57:22 +0100	[thread overview]
Message-ID: <51b0095d0912151357g3ac67f0cxa2c0d3b9ecc6bd43@mail.gmail.com> (raw)
In-Reply-To: <5DBD7705-2BE8-4690-B1B5-55229C2F2E62@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1819 bytes --]

2009/12/14 Carsten Dominik <carsten.dominik@gmail.com>:
>
> On Dec 10, 2009, at 11:34 PM, Nicolas Girard wrote:
>
>> Hi again,
>> in the agenda view, inactive timestamps are displayed like:
>>
>>  category: 12:50...... [ Some stuff
>>
>> Is the '[ ' intentional, or is caused by a bug in my configuration ?
>> I find it a little bit disturbing, as my eyes keep looking for an
>> hypothetic closing ']'...
>
> This is intentional, as an indication that this is indeed an
> inactive time stamp.  While I can see that you might be
> looking for the closing bracket, I also think that this is a
> quite natural way to mark inactive time stamps.  Sure, I *could* make
> this marker string a variable - what would you propose as better
> options?
>

Hi Carsten,

my personal taste would be some kind of horizontal sign, because it
would look closer to what I'd have drawn myself using pen & paper,
answering my own question "hey, what did I do today ?" (French people
tend to use dashes when writing lists).

That said, I'm using the free Inconsolata [*] font as my main font in
emacs, which offers a rich collection of various geometric shapes &
symbols. So, at no extra cost, I can enhance the aspect of my Org
buffers.

Attached is a little example to demonstrate what can be done. To get
this result:
1. I had to redefine org-agenda-format-date-aligned so that I can
replace the hardcoded lines surrounding dates with better looking ones
2. I used the "Watch" unicode character to represent scheduled events:
    (setq org-agenda-scheduled-leaders '("⌚ " "⌚ "))
3. I replaced the hardcoded '[' character denoting inactive timestamps
with a white triangle

See ? Who said Org couldn't be sexier ?

[*] http://www.levien.com/type/myfonts/inconsolata.html

-- 
Nicolas

[-- Attachment #2: agenda.png --]
[-- Type: image/png, Size: 14038 bytes --]

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-12-15 21:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-10 22:34 Customizing how inactive timestamps are displayed Nicolas Girard
2009-12-14 15:55 ` Carsten Dominik
2009-12-15 21:57   ` Nicolas Girard [this message]
2009-12-16  7:56     ` Carsten Dominik
2009-12-16  9:15       ` Nicolas Girard
2009-12-16 19:02     ` [OT]: Inconsolata and emacs Markus Heller

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=51b0095d0912151357g3ac67f0cxa2c0d3b9ecc6bd43@mail.gmail.com \
    --to=nicolas.girard@nerim.net \
    --cc=emacs-orgmode@gnu.org \
    /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).