aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2010-08-12 16:44:16 +0200
committerStefan Monnier2010-08-12 16:44:16 +0200
commitc5683ceb2cf80b5b7475f92236271eaeba662798 (patch)
tree89c5f1d7b7b3eb972df9cea5aeecdbacd3fc3a69 /src/ChangeLog
parent856a6b7709a7257722a4e5b14859ca6a422dad52 (diff)
downloademacs-c5683ceb2cf80b5b7475f92236271eaeba662798.tar.gz
emacs-c5683ceb2cf80b5b7475f92236271eaeba662798.zip
Introduce a new comment style "c" flag.
* src/syntax.c (SYNTAX_FLAGS_COMMENT_STYLEB) (SYNTAX_FLAGS_COMMENT_STYLEC): New macros. (SYNTAX_FLAGS_COMMENT_STYLE): Use them, add an argument. (syntax_prefix_flag_p): New function. (Fstring_to_syntax): Understand new "c" flag. (Finternal_describe_syntax_value): Recognize new flag; use the SYNTAX_FLAGS_* macros. (scan_sexps_forward, Fparse_partial_sexp): Change representation of comment style to accomodate the new styles. (back_comment, forw_comment, Fforward_comment, scan_lists) (scan_sexps_forward): Update code to obey the new comment style flag. * src/syntax.h: Move SYNTAX_FLAGS_FOO() macros to syntax.c. * src/casefiddle.c (casify_region): Use the new syntax_prefix_flag_p. * lisp/progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c" comment style. * lisp/progmodes/scheme.el (scheme-mode-syntax-table): * lisp/emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious "b" flag in "14b" syntax. Fixes: debbugs:6834
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog37
1 files changed, 28 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7e8959d4b61..14213e1c750 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
12010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Introduce a new comment style "c" flag.
4 * syntax.c (SYNTAX_FLAGS_COMMENT_STYLEB)
5 (SYNTAX_FLAGS_COMMENT_STYLEC): New macros.
6 (SYNTAX_FLAGS_COMMENT_STYLE): Use them, add an argument.
7 (syntax_prefix_flag_p): New function.
8 (Fstring_to_syntax): Understand new "c" flag.
9 (Finternal_describe_syntax_value): Recognize new flag; use the
10 SYNTAX_FLAGS_* macros.
11 (scan_sexps_forward, Fparse_partial_sexp): Change representation of
12 comment style to accomodate the new styles.
13 (back_comment, forw_comment, Fforward_comment, scan_lists)
14 (scan_sexps_forward): Update code to obey the new comment style flag.
15
16 * syntax.h: Move SYNTAX_FLAGS_FOO() macros to syntax.c.
17
18 * casefiddle.c (casify_region): Use the new syntax_prefix_flag_p.
19
12010-08-11 Jan Djärv <jan.h.d@swipnet.se> 202010-08-11 Jan Djärv <jan.h.d@swipnet.se>
2 21
3 * xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors 22 * xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors
@@ -21,8 +40,8 @@
21 40
22 * xselect.c (Fx_get_atom_name): Use char empty[] instead of literal "". 41 * xselect.c (Fx_get_atom_name): Use char empty[] instead of literal "".
23 42
24 * xrdb.c (get_system_app): Make path const and use char *p for non-const 43 * xrdb.c (get_system_app): Make path const and use char *p for
25 char. 44 non-const char.
26 45
27 * xmenu.c (Fx_popup_dialog): error_name is const char*. 46 * xmenu.c (Fx_popup_dialog): error_name is const char*.
28 (xmenu_show): error parameter is const char **. pane_string is const 47 (xmenu_show): error parameter is const char **. pane_string is const
@@ -80,9 +99,9 @@
802010-08-09 Dan Nicolaescu <dann@ics.uci.edu> 992010-08-09 Dan Nicolaescu <dann@ics.uci.edu>
81 100
82 * font.h (font_parse_xlfd, font_parse_fcname, font_unparse_fcname) 101 * font.h (font_parse_xlfd, font_parse_fcname, font_unparse_fcname)
83 (font_parse_name): font_open_by_name): 102 (font_parse_name, font_open_by_name):
84 * font.c (font_parse_xlfd, font_parse_fcname, font_unparse_fcname) 103 * font.c (font_parse_xlfd, font_parse_fcname, font_unparse_fcname)
85 (font_parse_name): font_open_by_name): Remove const. 104 (font_parse_name, font_open_by_name): Remove const.
86 105
872010-08-09 Andreas Schwab <schwab@linux-m68k.org> 1062010-08-09 Andreas Schwab <schwab@linux-m68k.org>
88 107
@@ -205,17 +224,17 @@
205 224
206 * s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Remove, unused. 225 * s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Remove, unused.
207 226
208 * xrdb.c: Remove include guard. Remove 227 * xrdb.c: Remove include guard.
209 DECLARE_GETPWUID_WITH_UID_T conditional it had no effect. 228 Remove DECLARE_GETPWUID_WITH_UID_T conditional it had no effect.
210 Remove #if 0 code. Replace malloc->xmalloc, free->xfree, 229 Remove #if 0 code. Replace malloc->xmalloc, free->xfree,
211 realloc->xrealloc instead of using #defines. 230 realloc->xrealloc instead of using #defines.
212 231
2132010-08-08 Eli Zaretskii <eliz@gnu.org> 2322010-08-08 Eli Zaretskii <eliz@gnu.org>
214 233
215 * cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line): 234 * cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line):
216 * editfns.c (Fline_beginning_position, Fline_end_position): State 235 * editfns.c (Fline_beginning_position, Fline_end_position):
217 in the doc strings that start and end of line are in the logical 236 State in the doc strings that start and end of line are in the
218 order. 237 logical order.
219 238
220 * xdisp.c (display_line): Move the handling of overlay arrow after 239 * xdisp.c (display_line): Move the handling of overlay arrow after
221 the call to find_row_edges. (Bug#6699) 240 the call to find_row_edges. (Bug#6699)