All entries for Thursday 07 April 2005

April 07, 2005

using tags with SML

1. After wasting 3–4 hours on looking for tags utility for sml, I've realized that ctags supports SML also. Ctags provides an option (-e) for generating TAGS file for xemacs. So, in order to create SML tags for xemacs, we can use:
ctags -e -R *
and then use [ Meta-. ] and [ Meta-, ] to navigate through them. To remember this diffficult key-sequence, please notice that in british keyboard dot and comma is on the key having > and <, respectively. So to go forward, press Meta-(key having >) and go backward Meta-(key having <)

2. To use comments in SML, do [ Meta-; ] , xemacs will put (* *) magically in the end of the line :).

3. [ C-c C-l ] loads the current sml files and starts sml.

4. [ C-c C-r ]: send the current region to sml-buffer.

5. [ C-x` ] : go to the src line containing the next error.


PhD Comics

April 2005

Mo Tu We Th Fr Sa Su
Mar |  Today  | May
            1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30   

Search this blog

Adbar

Most recent comments

  • Can't beat a German Market. by on this entry
  • Imagine Shiva in Words by this stotra (Thanks to Ravana) by Yogendra on this entry
  • This is the favorite and most inspiring stothram for me. It invokes the manliness in ourself to rise… by Bhargav on this entry
  • Went last night and it was really good. First time i have been and will definatly return next year. by Mad Dozza on this entry
  • strota really purifies soul by shailendra on this entry

Blog archive

Loading…
Not signed in
Sign in

Powered by BlogBuilder
© MMXVII