Wireshark-bugs: [Wireshark-bugs] [Bug 4802] New: Editor Modeline Generator needs language radio
Date: Thu, 27 May 2010 13:03:14 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4802

           Summary: Editor Modeline Generator needs language radio button
           Product: Web sites
           Version: N/A
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Main site - www.wireshark.org
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: acferen@xxxxxxxxx


Build Information:
http://www.wireshark.org/tools/modelines.html

I marked OS as other.  I didn't see "emacs" in the list...  ;-)
--
At least for the emacs portion of the modeline generator comment character is
not sufficient.  Emacs sets indentation differently for each mode.

For example setting a comment character of # doesn't actually achieve the
desired result for perl.

depending on the vintage of you emacs perl mode you need one of the following
two settings.

'cperl-indent-level' or 'perl-indent-level' instead of 'c-basic-offset'

cperl-indent-level is older (and I think not so common anymore). 
perl-indent-level is newer, but it is safe to set them both just to be sure.

The language could be in addition to, or perhaps in place of, the comment
character radio buttons.  Or something like that.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.