Opened 17 years ago
Closed 16 years ago
#69 closed task (fixed)
support other modes e.g. perl-mode
Reported by: | Peter Johansson | Owned by: | Peter Johansson |
---|---|---|---|
Priority: | major | Milestone: | 0.6 |
Component: | core | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
Comments are different for different kinds of files. We need to implement more modes e.g. perl-mode and also a protocol telling which mode to use based on the suffix. As an example *.am should be supported. Ultimately this should be configurable in a configure file.
ref #59
Suffixes to be supported (default):
- *.ac # comment \n
- *.am # comment \n
- *.c cc-mode (present)
- *.cc cc-mode (present)
- *.cpp cc-mode (present)
- *.h cc-mode (present)
- *.html <!-- comment -->
- *.java cc-mode
- *.jar # comment \n
- *.jsp <%-- comment --%> or <!-- comment -->
- *.pl # comment \n
- *.pm # comment \n
- *.sh # comment \n
- *.tex % comment \n
- *.txt comment or empty?
- *.xml <!-- comment -->
- *.xsd ???
Change History (14)
comment:1 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 17 years ago by
Milestone: | 0.7+ → 0.6 |
---|
comment:3 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:6 Changed 17 years ago by
comment:7 Changed 17 years ago by
[214] appear to not work, check e.g. configure.ac or Makefile.am. We need a test for this feature.
comment:9 Changed 17 years ago by
Owner: | changed from Jari Häkkinen to Peter Johansson |
---|---|
Status: | new → assigned |
comment:10 Changed 17 years ago by
(In [218]) refs #69 added text-mode for parsing. For time being "*.txt", "AUTHORS", "ChangeLog?", "INSTALL", "NEWS", and "README" are parsed in this mode.
comment:12 Changed 16 years ago by
comment:14 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [214]) refs #69 added parsing for comments starting with '#' and '%', respectively