Emacs support

joostkremers's Avatar

joostkremers

28 Feb, 2013 01:12 AM

Hi,

I heard about CriticMarkup a week or two ago and immediately liked the idea, so I set about developing support for it in Emacs. It's coming along nicely, so I thought I'd let you guys know about it. Code can be found here:

https://github.com/joostkremers/criticmarkup-emacs

There are still some rough edges, but it's usable enough, I believe.

Thanks for the awesome idea!

  1. Support Staff 1 Posted by Gabe on 01 Mar, 2013 01:27 AM

    Gabe's Avatar

    That's very cool. Thanks so much for putting in the effort. We honestly appreciate it. It's inspiring when people take a tiny idea and make cool things with it.

  2. 2 Posted by joostkremers on 03 Mar, 2013 08:48 PM

    joostkremers's Avatar

    BTW, I was wondering if you've given any thoughts to a specific format for adding a date/time stamp to a change. That's something that might be practical in some cases, I think.

    My suggestion would be to use something based on the ISO-8601 standard http://en.wikipedia.org/wiki/ISO_8601, for example:

    {>>@jk 2013-03-04 21:21<<}
    

    for 4 March 2013, 9:21pm; or just the date:

    {>>@jk 2013-03-04<<}
    

    The ISO standard allows the dashes and colons to be left out, but they make the time/date more readable, so they make sense in plain text annotations meant for humans to read. And the format YYYY-MM-DD makes it easy to sort date stamps: you can just extract the date string and use a string comparison function. No need to convert to integers and first compare the year, then the month, then the date.

    One would have to think about whether it makes sense to mark the time/date string somehow, like the @-sign does for the author, and perhaps there are other issues I haven't thought of.

  3. Support Staff 3 Posted by Gabe on 09 Mar, 2013 03:18 PM

    Gabe's Avatar

    Right now we view comments as freeform. If we added a specific blame syntax, I could see adding a recommendation for formatting. However, I think the better solution is to allow any date/time format and the tools should coerce them as needed. Of course, given that I already use the ISO format I prefer that. As a user, I wouldn't want to be forced into anything. A good toolkit should even support Natural Language formatting.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

12 Jul, 2019 08:01 PM
10 May, 2019 05:30 PM
15 Dec, 2018 02:29 PM
17 Oct, 2018 07:57 PM
18 Aug, 2018 03:32 AM