News for hackers. Stuff that matters.
Re:Emacs Major Mode for Sequence Diagrams by teddyh on Monday December 15, 2014 @03:49PM (#8754358)
This would be more accurately titled “Emacs Major Mode for Web Service for creating Sequence Diagrams”, since all it does is be a client for www.websequencediagrams.com and is completely dependent on that Software-as-a-Service.
Re:Emacs Major Mode for Sequence Diagrams by josteink on Monday December 15, 2014 @04:56PM (#8754697)
Author here. This is completely correct. But my main motivation for creating this was getting something working in a easy and portable fashion.

Basically I wanted to have something I could share with my colleagues and which could be accepted as "documentation" if checked into source-control. For that using a dialect of diagram-generators which nobody else can get working isn't going to cut it. Those solutions are hardly "out of the box"-friendly, and even less so portable.

This package relies 100% on websequencediagrams.com, and for that it is restricted by whatever the website supports.

But because of that it's also 100% portable and should work out of the box on any machine, without any other prerequisites. And I think that is quite nice.

I just thought it was useful and wanted to share. If my needs are aligned differently than yours I'm not going to take offence :)

Re:Emacs Major Mode for Sequence Diagrams by ibrahima on Monday December 15, 2014 @05:23PM (#8754835)
> I just thought it was useful and wanted to share. If my needs are aligned differently than yours I'm not going to take offence :)

I think there's a tendency here to nitpick everything that's submitted. Personally I'm just glad that you had an itch, scratched it, and then shared it with others. This looks like something I could use right now actually! And from this discussion I learned about PlantUML too. So seriously, thanks a lot and don't pay too much attention to the critics.

Re:Emacs Major Mode for Sequence Diagrams by ChristianBundy on Monday December 15, 2014 @04:59PM (#8754716)
Totally useful – I'd love to be able to use this offline, but I understand that that would probably be a much larger task. Thanks for building this and sharing!
Re:Emacs Major Mode for Sequence Diagrams by nodivbyzero on Monday December 15, 2014 @06:04PM (#8755007)
Well done. Do you accept feature requests?
Re:Emacs Major Mode for Sequence Diagrams by josteink on Tuesday December 16, 2014 @01:48AM (#8756126)
This isn't a full time project for me, but just something to scratch an itch: writing out big UML processes in a HTML textarea isn't my idea of an ideal editing process.

It's hard to promise anything up front, but if you register an issue on the github issue-tracker I can at least consider it.

I may like the idea and take on the challenge or I may decide that for me it doesn't seem worth it. But I do also accept pull requests :)

Re:Emacs Major Mode for Sequence Diagrams by pXMzR2A on Monday December 15, 2014 @03:54PM (#8754389)
> completely dependent on that Software-as-a-Service.

Indeed, that was disappointing for me. People on the look out for a similar tool might want to check graphviz and its emacs mode.

http://users.skynet.be/ppareit/projects/graphviz-dot-mode/gr...

or

http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-d... if you're into org-mode.

Re:Emacs Major Mode for Sequence Diagrams by rodw on Monday December 15, 2014 @04:45PM (#8754653)
I'm pretty sure that that website is just a SaaS-wrapper on PlantUML [1], an open-source Java application (pick your license, they allow several).

If it isn't, the syntax is similar enough that this emacs mode is probably useful for PlantUML as well.

[1] http://plantuml.sourceforge.net/

Re:Emacs Major Mode for Sequence Diagrams by smhanov on Monday December 15, 2014 @09:11PM (#8755561)
I created http://www.websequencediagrams.com. PlantUML came several years later. I'm happy that my syntax is good enough to emulate in so many different projects.
Re:Emacs Major Mode for Sequence Diagrams by rodw on Tuesday December 16, 2014 @08:36AM (#8757019)
Nice work then. Didn't mean to denigrate websequencediagrams.com, I've just always assumed the inspiration went in the other direction.

Cool service either way. Thanks for it.

Re:Emacs Major Mode for Sequence Diagrams by bdsatish on Monday December 15, 2014 @05:10PM (#8754764)
I've been using PlantUML with Emacs's plantuml-mode quite successfully. I split the buffer into two, the top one containing PlantUML code and the bottom containing the rendered picture (yes, Emacs can view PNG files). Some snippets from my Emacs config may be useful for others: https://github.com/bdsatish/dot-emacs-24/blob/master/euchy/e...
Re:Emacs Major Mode for Sequence Diagrams by josteink on Monday December 15, 2014 @05:11PM (#8754769)
Author here. Good observation. :)

I personally didn't know able plantuml, but I'm pretty sure you're correct about this one. Out of interest: Do you know if plantuml-syntax has a preferred extension?