public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap
@ 2013-07-23  6:46 timo.lindfors at iki dot fi
  2013-07-23  7:01 ` [Bug tapsets/15772] " timo.lindfors at iki dot fi
  2020-09-02 14:15 ` scox at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: timo.lindfors at iki dot fi @ 2013-07-23  6:46 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=15772

            Bug ID: 15772
           Summary: systemtap-mode emacs addon confused by #!/usr/bin/stap
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: timo.lindfors at iki dot fi

Steps to reproduce:
1) emacs testcase.stp
2) enter the following program:

#!/usr/bin/stap

probe syscall.open {
}

probe syscall.close {
}

Expected results:
2) systemtap-mode indents both probes in a similar fashion

Actual results:
2) the closing parenthesis of the first probe has odd extra indentation:

#!/usr/bin/stap

probe syscall.open {
   }

probe syscall.close {
}

More info:
1) If I remove "#!/usr/bin/stap" then systemtap-mode correctly indents also the
first probe.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug tapsets/15772] systemtap-mode emacs addon confused by #!/usr/bin/stap
  2013-07-23  6:46 [Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap timo.lindfors at iki dot fi
@ 2013-07-23  7:01 ` timo.lindfors at iki dot fi
  2020-09-02 14:15 ` scox at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: timo.lindfors at iki dot fi @ 2013-07-23  7:01 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=15772

--- Comment #1 from Timo Juhani Lindfors <timo.lindfors at iki dot fi> ---
A line with "# { { { { {" also causes a lot of extra indentation, somehow the
mode is not recognizing "#" as a comment character while "/* { { { */" and "//
{ { {" work fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug tapsets/15772] systemtap-mode emacs addon confused by #!/usr/bin/stap
  2013-07-23  6:46 [Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap timo.lindfors at iki dot fi
  2013-07-23  7:01 ` [Bug tapsets/15772] " timo.lindfors at iki dot fi
@ 2020-09-02 14:15 ` scox at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: scox at redhat dot com @ 2020-09-02 14:15 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=15772

Stan Cox <scox at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scox at redhat dot com
           Assignee|systemtap at sourceware dot org    |scox at redhat dot com
             Status|NEW                         |ASSIGNED

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

end of thread, other threads:[~2020-09-02 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-23  6:46 [Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap timo.lindfors at iki dot fi
2013-07-23  7:01 ` [Bug tapsets/15772] " timo.lindfors at iki dot fi
2020-09-02 14:15 ` scox at redhat dot com

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).