From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7019 invoked by alias); 23 Jul 2013 06:46:07 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 4518 invoked by uid 48); 23 Jul 2013 06:44:05 -0000 From: "timo.lindfors at iki dot fi" To: systemtap@sourceware.org Subject: [Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap Date: Tue, 23 Jul 2013 06:46:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: timo.lindfors at iki dot fi X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00041.txt.bz2 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.