------------------------------------------------------------ revno: 115971 committer: martin rudalics branch nick: trunk timestamp: Sat 2014-01-11 10:31:09 +0100 message: Fix handling of internal borders (Bug#16348). * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Remove internal border width from pixel width of windows. (change_frame_size_1): Don't return early when frame's pixel size changes - we still have to record the new sizes in the frame structure. * w32fns.c (x_set_tool_bar_lines): Clear internal border width also when toolbar gets larger. * window.c (check_frame_size): Include internal_border_width in check. * xdisp.c (Ftool_bar_height): Fix doc-string typo. * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): In non-toolkit/non-GTK version clear internal border. * xterm.c (x_clear_under_internal_border): New function for non-toolkit/non-GTK version. (x_after_update_window_line): In non-toolkit/non-GTK version don't do that. (handle_one_xevent, x_set_window_size): Call x_clear_under_internal_border in non-toolkit/non-GTK version. * xterm.h (x_clear_under_internal_border): Extern it. diff: === modified file 'src/ChangeLog' --- src/ChangeLog 2014-01-11 03:55:50 +0000 +++ src/ChangeLog 2014-01-11 09:31:09 +0000 @@ -1,3 +1,26 @@ +2014-01-10 Martin Rudalics + + Fix handling of internal borders (Bug#16348). + * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Remove + internal border width from pixel width of windows. + (change_frame_size_1): Don't return early when frame's pixel + size changes - we still have to record the new sizes in the + frame structure. + * w32fns.c (x_set_tool_bar_lines): Clear internal border width + also when toolbar gets larger. + * window.c (check_frame_size): Include internal_border_width in + check. + * xdisp.c (Ftool_bar_height): Fix doc-string typo. + * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): In + non-toolkit/non-GTK version clear internal border. + * xterm.c (x_clear_under_internal_border): New function for + non-toolkit/non-GTK version. + (x_after_update_window_line): In non-toolkit/non-GTK version + don't do that. + (handle_one_xevent, x_set_window_size): Call + x_clear_under_internal_border in non-toolkit/non-GTK version. + * xterm.h (x_clear_under_internal_border): Extern it. + 2014-01-07 Paul Eggert Fix misdisplay of interlaced GIFs with libgif5 (Bug#16372). === modified file 'src/dispnew.c' --- src/dispnew.c 2014-01-01 07:43:34 +0000 +++ src/dispnew.c 2014-01-11 09:31:09 +0000 @@ -2055,7 +2055,8 @@ w->left_col = 0; w->pixel_top = 0; w->top_line = 0; - w->pixel_width = FRAME_PIXEL_WIDTH (f); + w->pixel_width = (FRAME_PIXEL_WIDTH (f) + - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); w->total_cols = FRAME_TOTAL_COLS (f); w->pixel_height = FRAME_MENU_BAR_HEIGHT (f); w->total_lines = FRAME_MENU_BAR_LINES (f); @@ -5515,7 +5516,11 @@ example, fullscreen and remove/add scroll bar. */ if (new_text_height == FRAME_TEXT_HEIGHT (f) && new_text_width == FRAME_TEXT_WIDTH (f) - && new_root_width == old_root_width) + && new_root_width == old_root_width + && (FRAME_PIXEL_HEIGHT (f) == + FRAME_TEXT_TO_PIXEL_HEIGHT (f, new_text_height)) + && (FRAME_PIXEL_WIDTH (f) == + FRAME_TEXT_TO_PIXEL_WIDTH (f, new_text_width))) return; block_input (); === modified file 'src/w32fns.c' --- src/w32fns.c 2014-01-04 09:31:30 +0000 +++ src/w32fns.c 2014-01-11 09:31:09 +0000 @@ -1713,26 +1713,23 @@ /* If the tool bar gets smaller, the internal border below it has to be cleared. It was formerly part of the display of the larger tool bar, and updating windows won't clear it. */ - if (delta < 0) + if (FRAME_INTERNAL_BORDER_WIDTH (f) != 0) { int height = FRAME_INTERNAL_BORDER_WIDTH (f); int width = FRAME_PIXEL_WIDTH (f); int y = nlines * unit; + HDC hdc = get_frame_dc (f); block_input (); - { - HDC hdc = get_frame_dc (f); - w32_clear_area (f, hdc, 0, y, width, height); - release_frame_dc (f, hdc); - } + w32_clear_area (f, hdc, 0, y, width, height); + release_frame_dc (f, hdc); unblock_input (); - - if (WINDOWP (f->tool_bar_window)) - clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); } + if (delta < 0 && WINDOWP (f->tool_bar_window)) + clear_glyph_matrix (XWINDOW (f->tool_bar_window)->current_matrix); + run_window_configuration_change_hook (f); - } === modified file 'src/window.c' --- src/window.c 2014-01-02 15:58:48 +0000 +++ src/window.c 2014-01-11 09:31:09 +0000 @@ -3155,6 +3155,7 @@ min_height = 2 * min_height; min_height += FRAME_TOP_MARGIN_HEIGHT (frame); + min_height += FRAME_INTERNAL_BORDER_WIDTH (frame); if (*height < min_height) *height = min_height; @@ -4047,6 +4048,8 @@ have implicitly given us a zero or negative height. */ if (pixelwise) { + /* Note: This does not include the size for internal borders + since these are not part of the frame's text area. */ new_pixel_size = max (horflag ? size : (size === modified file 'src/xdisp.c' --- src/xdisp.c 2014-01-06 16:28:26 +0000 +++ src/xdisp.c 2014-01-11 09:31:09 +0000 @@ -12109,7 +12109,7 @@ 0, 2, 0, doc: /* Return the number of lines occupied by the tool bar of FRAME. If FRAME is nil or omitted, use the selected frame. Optional argument -PIXELWISE non-nil means return the height of the tool bar inpixels. */) +PIXELWISE non-nil means return the height of the tool bar in pixels. */) (Lisp_Object frame, Lisp_Object pixelwise) { int height = 0; === modified file 'src/xfns.c' --- src/xfns.c 2014-01-02 15:58:48 +0000 +++ src/xfns.c 2014-01-11 09:31:09 +0000 @@ -998,6 +998,8 @@ FRAME_MENU_BAR_LINES (f) = nlines; FRAME_MENU_BAR_HEIGHT (f) = nlines * FRAME_LINE_HEIGHT (f); resize_frame_windows (f, FRAME_TEXT_HEIGHT (f), 0, 1); + if (FRAME_X_WINDOW (f)) + x_clear_under_internal_border (f); /* If the menu bar height gets changed, the internal border below the top margin has to be cleared. Also, if the menu bar gets @@ -1110,8 +1112,11 @@ FRAME_TOOL_BAR_LINES (f) = nlines; FRAME_TOOL_BAR_HEIGHT (f) = nlines * FRAME_LINE_HEIGHT (f); - ++windows_or_buffers_changed; resize_frame_windows (f, FRAME_TEXT_HEIGHT (f), 0, 1); +#if !defined USE_X_TOOLKIT && !defined USE_GTK + if (FRAME_X_WINDOW (f)) + x_clear_under_internal_border (f); +#endif adjust_frame_glyphs (f); /* We also have to make sure that the internal border at the top of === modified file 'src/xterm.c' --- src/xterm.c 2014-01-02 15:58:48 +0000 +++ src/xterm.c 2014-01-11 09:31:09 +0000 @@ -593,6 +593,32 @@ } +/* Clear under internal border if any for non-toolkit builds. */ + + +#if !defined USE_X_TOOLKIT && !defined USE_GTK +void +x_clear_under_internal_border (struct frame *f) +{ + if (FRAME_INTERNAL_BORDER_WIDTH (f) > 0) + { + Display *display = FRAME_X_DISPLAY (f); + Window window = FRAME_X_WINDOW (f); + int border = FRAME_INTERNAL_BORDER_WIDTH (f); + int width = FRAME_PIXEL_WIDTH (f); + int height = FRAME_PIXEL_HEIGHT (f); + int margin = FRAME_TOP_MARGIN_HEIGHT (f); + + block_input (); + x_clear_area (display, window, 0, 0, border, height); + x_clear_area (display, window, 0, margin, width, border); + x_clear_area (display, window, width - border, 0, border, height); + x_clear_area (display, window, 0, height - border, width, border); + unblock_input (); + } +} +#endif + /* Draw truncation mark bitmaps, continuation mark bitmaps, overlay arrow bitmaps, or clear the fringes if no bitmaps are required before DESIRED_ROW is made current. This function is called from @@ -602,38 +628,42 @@ static void x_after_update_window_line (struct window *w, struct glyph_row *desired_row) { - struct frame *f; - int width, height; - eassert (w); if (!desired_row->mode_line_p && !w->pseudo_window_p) desired_row->redraw_fringe_bitmaps_p = 1; +#ifdef USE_X_TOOLKIT /* When a window has disappeared, make sure that no rest of full-width rows stays visible in the internal border. Could check here if updated window is the leftmost/rightmost window, but I guess it's not worth doing since vertically split windows are almost never used, internal border is rarely set, and the overhead is very small. */ - if (windows_or_buffers_changed - && desired_row->full_width_p - && (f = XFRAME (w->frame), - width = FRAME_INTERNAL_BORDER_WIDTH (f), - width != 0) - && (height = desired_row->visible_height, - height > 0)) - { - int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y)); - - block_input (); - x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), - 0, y, width, height); - x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), - FRAME_PIXEL_WIDTH (f) - width, - y, width, height); - unblock_input (); - } + { + struct frame *f; + int width, height; + + if (windows_or_buffers_changed + && desired_row->full_width_p + && (f = XFRAME (w->frame), + width = FRAME_INTERNAL_BORDER_WIDTH (f), + width != 0) + && (height = desired_row->visible_height, + height > 0)) + { + int y = WINDOW_TO_FRAME_PIXEL_Y (w, max (0, desired_row->y)); + + block_input (); + x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), + 0, y, width, height); + x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), + FRAME_PIXEL_WIDTH (f) - width, + y, width, height); + unblock_input (); + } + } +#endif } static void @@ -6618,7 +6648,8 @@ || event->xconfigure.height != FRAME_PIXEL_HEIGHT (f)) { change_frame_size (f, width, height, 0, 1, 0, 1); - SET_FRAME_GARBAGED (f); + x_clear_under_internal_border (f); + SET_FRAME_GARBAGED (f); cancel_mouse_face (f); } @@ -8635,6 +8666,9 @@ #else /* not USE_GTK */ x_set_window_size_1 (f, change_gravity, width, height, pixelwise); +#if !defined USE_X_TOOLKIT + x_clear_under_internal_border (f); +#endif #endif /* not USE_GTK */ === modified file 'src/xterm.h' --- src/xterm.h 2014-01-01 07:43:34 +0000 +++ src/xterm.h 2014-01-11 09:31:09 +0000 @@ -1049,6 +1049,10 @@ extern Lisp_Object Qx_gtk_map_stock; +#if !defined USE_X_TOOLKIT && !defined USE_GTK +extern void x_clear_under_internal_border (struct frame *f); +#endif + /* Is the frame embedded into another application? */ #define FRAME_X_EMBEDDED_P(f) (FRAME_X_OUTPUT(f)->explicit_parent != 0) ------------------------------------------------------------ revno: 115970 committer: Paul Eggert branch nick: trunk timestamp: Fri 2014-01-10 23:01:30 -0800 message: Merge from gnulib. This incorporates: 2014-01-07 update from texinfo 2014-01-06 md5, sha1, sha256, sha512: support older autoconf diff: === modified file 'ChangeLog' --- ChangeLog 2014-01-09 00:10:07 +0000 +++ ChangeLog 2014-01-11 07:01:30 +0000 @@ -1,3 +1,9 @@ +2014-01-11 Paul Eggert + + Merge from gnulib, incorporating: + 2014-01-07 update from texinfo + 2014-01-06 md5, sha1, sha256, sha512: support older autoconf + 2014-01-09 Eric S. Raymond * INSTALL, configure.ac, etc/CONTRIBUTE, nt/INSTALL: Remove === modified file 'doc/misc/texinfo.tex' --- doc/misc/texinfo.tex 2014-01-01 08:31:29 +0000 +++ doc/misc/texinfo.tex 2014-01-11 07:01:30 +0000 @@ -3,7 +3,7 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2013-09-11.11} +\def\texinfoversion{2014-01-06.16} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @@ -1138,10 +1138,12 @@ \ifpdf % - % Color manipulation macros based on pdfcolor.tex, + % Color manipulation macros using ideas from pdfcolor.tex, % except using rgb instead of cmyk; the latter is said to render as a % very dark gray on-screen and a very dark halftone in print, instead - % of actual black. + % of actual black. The dark red here is dark enough to print on paper as + % nearly black, but still distinguishable for online viewing. We use + % black by default, though. \def\rgbDarkRed{0.50 0.09 0.12} \def\rgbBlack{0 0 0} % @@ -1251,10 +1253,9 @@ % used to mark target names; must be expandable. \def\pdfmkpgn#1{#1} % - % by default, use a color that is dark enough to print on paper as - % nearly black, but still distinguishable for online viewing. - \def\urlcolor{\rgbDarkRed} - \def\linkcolor{\rgbDarkRed} + % by default, use black for everything. + \def\urlcolor{\rgbBlack} + \def\linkcolor{\rgbBlack} \def\endlink{\setcolor{\maincolor}\pdfendlink} % % Adding outlines to PDF; macros for calculating structure of outlines @@ -2574,37 +2575,21 @@ \let\file=\code \let\option=\code -% @uref (abbreviation for `urlref') takes an optional (comma-separated) -% second argument specifying the text to display and an optional third -% arg as text to display instead of (rather than in addition to) the url -% itself. First (mandatory) arg is the url. -% (This \urefnobreak definition isn't used now, leaving it for a while -% for comparison.) -\def\urefnobreak#1{\dourefnobreak #1,,,\finish} -\def\dourefnobreak#1,#2,#3,#4\finish{\begingroup - \unsepspaces - \pdfurl{#1}% - \setbox0 = \hbox{\ignorespaces #3}% - \ifdim\wd0 > 0pt - \unhbox0 % third arg given, show only that - \else - \setbox0 = \hbox{\ignorespaces #2}% - \ifdim\wd0 > 0pt - \ifpdf - \unhbox0 % PDF: 2nd arg given, show only it - \else - \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url - \fi - \else - \code{#1}% only url given, so show it - \fi - \fi - \endlink -\endgroup} - -% This \urefbreak definition is the active one. +% @uref (abbreviation for `urlref') aka @url takes an optional +% (comma-separated) second argument specifying the text to display and +% an optional third arg as text to display instead of (rather than in +% addition to) the url itself. First (mandatory) arg is the url. + +% TeX-only option to allow changing PDF output to show only the second +% arg (if given), and not the url (which is then just the link target). +\newif\ifurefurlonlylink + +% The main macro is \urefbreak, which allows breaking at expected +% places within the url. (There used to be another version, which +% didn't support automatic breaking.) \def\urefbreak{\begingroup \urefcatcodes \dourefbreak} \let\uref=\urefbreak +% \def\dourefbreak#1{\urefbreakfinish #1,,,\finish} \def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example \unsepspaces @@ -2613,12 +2598,19 @@ \ifdim\wd0 > 0pt \unhbox0 % third arg given, show only that \else - \setbox0 = \hbox{\ignorespaces #2}% + \setbox0 = \hbox{\ignorespaces #2}% look for second arg \ifdim\wd0 > 0pt \ifpdf - \unhbox0 % PDF: 2nd arg given, show only it + \ifurefurlonlylink + % PDF plus option to not display url, show just arg + \unhbox0 + \else + % PDF, normally display both arg and url for consistency, + % visibility, if the pdf is eventually used to print, etc. + \unhbox0\ (\urefcode{#1})% + \fi \else - \unhbox0\ (\urefcode{#1})% DVI: 2nd arg given, show both it and url + \unhbox0\ (\urefcode{#1})% DVI, always show arg and url \fi \else \urefcode{#1}% only url given, so show it @@ -3691,7 +3683,7 @@ \parskip=\smallskipamount \ifdim\parskip=0pt \parskip=2pt \fi % - % Try typesetting the item mark that if the document erroneously says + % Try typesetting the item mark so that if the document erroneously says % something like @itemize @samp (intending @table), there's an error % right away at the @itemize. It's not the best error message in the % world, but it's better than leaving it to the @item. This means if @@ -8342,8 +8334,8 @@ % % Auto-number footnotes. Otherwise like plain. \gdef\footnote{% - \let\indent=\ptexindent - \let\noindent=\ptexnoindent + %\let\indent=\ptexindent + %\let\noindent=\ptexnoindent \global\advance\footnoteno by \@ne \edef\thisfootno{$^{\the\footnoteno}$}% % === modified file 'm4/00gnulib.m4' --- m4/00gnulib.m4 2014-01-01 07:43:34 +0000 +++ m4/00gnulib.m4 2014-01-11 07:01:30 +0000 @@ -1,4 +1,4 @@ -# 00gnulib.m4 serial 2 +# 00gnulib.m4 serial 3 dnl Copyright (C) 2009-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,7 +6,23 @@ dnl This file must be named something that sorts before all other dnl gnulib-provided .m4 files. It is needed until such time as we can -dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics. +dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE and +dnl m4_divert semantics. + +# Until autoconf 2.63, handling of the diversion stack required m4_init +# to be called first; but this does not happen with aclocal. Wrapping +# the entire execution in another layer of the diversion stack fixes this. +# Worse, prior to autoconf 2.62, m4_wrap depended on the underlying m4 +# for whether it was FIFO or LIFO; in order to properly balance with +# m4_init, we need to undo our push just before anything wrapped within +# the m4_init body. The way to ensure this is to wrap both sides of +# m4_init with a one-shot macro that does the pop at the right time. +m4_ifndef([_m4_divert_diversion], +[m4_divert_push([KILL]) +m4_define([gl_divert_fixup], [m4_divert_pop()m4_define([$0])]) +m4_define([m4_init], + [gl_divert_fixup()]m4_defn([m4_init])[gl_divert_fixup()])]) + # AC_DEFUN_ONCE([NAME], VALUE) # ---------------------------- === modified file 'm4/gnulib-common.m4' --- m4/gnulib-common.m4 2014-01-01 07:43:34 +0000 +++ m4/gnulib-common.m4 2014-01-11 07:01:30 +0000 @@ -1,4 +1,4 @@ -# gnulib-common.m4 serial 33 +# gnulib-common.m4 serial 34 dnl Copyright (C) 2007-2014 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -375,3 +375,7 @@ AC_CACHE_VAL([$1], [$2]) as_echo_n="$saved_as_echo_n" ]) + +# AS_VAR_COPY was added in autoconf 2.63b +m4_define_default([AS_VAR_COPY], +[AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])]) ------------------------------------------------------------ revno: 115969 committer: Glenn Morris branch nick: trunk timestamp: Fri 2014-01-10 20:02:24 -0800 message: Fix previous ChangeLog fix diff: === modified file 'etc/ChangeLog' --- etc/ChangeLog 2014-01-11 03:55:50 +0000 +++ etc/ChangeLog 2014-01-11 04:02:24 +0000 @@ -2587,7 +2587,7 @@ * refcards/calccard.ps, refcards/cs-dired-ref.ps: * refcards/cs-refcard.ps, refcards/de-refcard.ps, refcards/dired-ref.ps: * refcards/fr-drdref.ps, refcards/fr-refcard.ps: - * refcards/gnus-booklet.ps, refcards/gnus-logo.eps: + * refcards/gnus-booklet.ps: * refcards/gnus-refcard.ps, refcards/orgcard.ps, refcards/pl-refcard.ps: * refcards/pt-br-refcard.ps, refcards/refcard.ps: * refcards/ru-refcard.ps, refcards/sk-dired-ref.ps: ------------------------------------------------------------ revno: 115968 committer: Glenn Morris branch nick: trunk timestamp: Fri 2014-01-10 19:55:50 -0800 message: ChangeLog fixes diff: === modified file 'doc/emacs/ChangeLog' --- doc/emacs/ChangeLog 2014-01-10 02:44:51 +0000 +++ doc/emacs/ChangeLog 2014-01-11 03:55:50 +0000 @@ -5117,10 +5117,6 @@ * maintaining.texi (Tags): Fix last change. -2008-02-02 Michael Albinus - - * tramp.texi: Use new FSF's Back-Cover Text. - 2008-01-31 Nick Roberts * trouble.texi (Checklist): Direct users to emacs-devel@gnu.org. @@ -5163,8 +5159,6 @@ * search.texi (Query Replace): Make exp of query-replace more self-contained, and clarify. - * cc-mode.texi (Getting Started): Change @ref to @pxref. - 2007-12-15 Richard Stallman * files.texi (Auto Save): Clarify definition of auto-saving. @@ -5716,6 +5710,11 @@ * frames.texi (Secondary Selection): Window clicked does not matter when mouse-yank-at-point is non-nil. +2007-01-27 Eli Zaretskii + + * msdog.texi (ls in Lisp): Document ls-lisp-format-time-list and + ls-lisp-use-localized-time-format. + 2007-01-16 Glenn Morris * abbrevs.texi (Editing Abbrevs): Describe how to disable a @@ -6043,6 +6042,11 @@ Change "Library Public License" to "Lesser Public License" throughout. Use "yyyy" to represent year. +2006-09-12 Paul Eggert + + * misc.texi (Interactive Shell): EMACS is now set + to Emacs's absolute file name, not to "t". + 2006-09-12 Reiner Steib * files.texi (Visiting): Add index entry "open file". === modified file 'doc/lispref/ChangeLog' --- doc/lispref/ChangeLog 2014-01-10 19:40:32 +0000 +++ doc/lispref/ChangeLog 2014-01-11 03:55:50 +0000 @@ -9395,7 +9395,7 @@ * variables.texi (Variable Aliases): Simplify. - * anti.texi, backups.texi, compile.texi, customization.texi: + * anti.texi, backups.texi, compile.texi, customize.texi: * debugging.texi, display.texi, edebug.texi, errors.texi, frames.texi: * functions.texi, help.texi, keymaps.texi, modes.texi, nonascii.texi: * os.texi, processes.texi, searching.texi, strings.texi, text.texi: === modified file 'doc/misc/ChangeLog' --- doc/misc/ChangeLog 2014-01-10 19:40:32 +0000 +++ doc/misc/ChangeLog 2014-01-11 03:55:50 +0000 @@ -664,7 +664,7 @@ 2013-10-17 Jay Belanger - * calc.el (Data Type Formats): Don't specify the size at + * calc.texi (Data Type Formats): Don't specify the size at which integers begin to be represented by lists. 2013-10-14 Xue Fuqiao @@ -6293,6 +6293,12 @@ * org.texi: Massive changes, in many parts of the file. +2008-04-27 Jason Riedy + + * org.texi (A LaTeX example): Note that fmt may be a + one-argument function, and efmt may be a two-argument function. + (Radio tables): Document multiple destinations. + 2008-04-13 Reiner Steib * gnus.texi (Oort Gnus): Add message-fill-column. @@ -6525,6 +6531,10 @@ * tramp.texi (Remote processes): Add `shell-command'. +2008-02-02 Michael Albinus + + * tramp.texi: Use new FSF's Back-Cover Text. + 2008-01-28 Michael Sperber * gnus.texi (Mail Source Specifiers): Document `group' specifier. @@ -6625,7 +6635,7 @@ 2007-12-29 Jay Belanger - * calc.tex (Yacas Language, Maxima Language, Giac Language): + * calc.texi (Yacas Language, Maxima Language, Giac Language): New sections. 2007-12-29 Reiner Steib @@ -6643,6 +6653,10 @@ * trampver.texi: Update release number. +2007-12-22 Richard Stallman + + * cc-mode.texi (Getting Started): Change @ref to @pxref. + 2007-12-22 Michael Albinus * dbus.texi (Type Conversion): Correct input parameters mapping. @@ -7904,11 +7918,6 @@ * gnus.texi (Batching Agents): Fix example. Reported by Tassilo Horn . -2007-01-27 Eli Zaretskii - - * msdog.texi (ls in Lisp): Document ls-lisp-format-time-list and - ls-lisp-use-localized-time-format. - 2007-01-20 Markus Triska * flymake.texi (Flymake mode): find-file-hook instead of ...-hooks. @@ -8204,7 +8213,6 @@ * faq.texi (Escape sequences in shell output): EMACS is now set to Emacs's absolute file name, not to "t". (^M in the shell buffer): Likewise. - * misc.texi (Interactive Shell): Likewise. 2006-09-11 Reiner Steib @@ -8222,6 +8230,10 @@ * smtpmail.texi (Authentication): Mention SSL. +2006-09-03 Diane Murray + + * erc.texi (Getting Started, Connecting): Change erc-select to erc. + 2006-09-01 Eli Zaretskii * rcirc.texi (Internet Relay Chat, Useful IRC commands): === modified file 'etc/ChangeLog' --- etc/ChangeLog 2014-01-10 02:44:51 +0000 +++ etc/ChangeLog 2014-01-11 03:55:50 +0000 @@ -2587,7 +2587,7 @@ * refcards/calccard.ps, refcards/cs-dired-ref.ps: * refcards/cs-refcard.ps, refcards/de-refcard.ps, refcards/dired-ref.ps: * refcards/fr-drdref.ps, refcards/fr-refcard.ps: - * refcards/gnus-booklet.ps, refcards/gnus-logo.ps: + * refcards/gnus-booklet.ps, refcards/gnus-logo.eps: * refcards/gnus-refcard.ps, refcards/orgcard.ps, refcards/pl-refcard.ps: * refcards/pt-br-refcard.ps, refcards/refcard.ps: * refcards/ru-refcard.ps, refcards/sk-dired-ref.ps: @@ -3127,7 +3127,7 @@ 2007-01-20 Glenn Morris - * cd-dired-ref.tex (versionemacs): New def. + * cs-dired-ref.tex (versionemacs): New def. * cs-refcard.tex (versionemacs, versionyear): New defs. * cs-survival.tex (versionemacs, versiondate): New defs. * de-refcard.tex (versionemacs, versionyear): New defs. @@ -3306,10 +3306,6 @@ * PROBLEMS (are): Emacs compiled with Gtk+ crashes when closing a display (x-close-connection). -2006-09-03 Diane Murray - - * erc.texi (Getting Started, Connecting): Change erc-select to erc. - 2006-09-02 Juri Linkov * HELLO: Regroup Europe Non-ASCII examples by similar scripts. === modified file 'leim/ChangeLog' --- leim/ChangeLog 2014-01-01 07:43:34 +0000 +++ leim/ChangeLog 2014-01-11 03:55:50 +0000 @@ -770,10 +770,10 @@ 2008-02-01 Dave Love - * latin-post.el: Recode to utf-8. + * quail/latin-post.el: Recode to utf-8. ("latin-postfix"): New method. - * latin-alt.el: Recode to utf-8. + * quail/latin-alt.el: Recode to utf-8. ("latin-alt-postfix"): New method. * quail/latin-pre.el: Recode to utf-8. @@ -2167,11 +2167,11 @@ * Makefile.in: Prepend ${srcdir} to all non-TIT lisp file names. (leim-list.el): Depend on ${WORLD}. - * latin-alt.el (latin-2-alt-postfix): Doc fix. + * quail/latin-alt.el (latin-2-alt-postfix): Doc fix. 1998-04-08 Karl Heuer - * czech.el, slovak.el: Correct starting commentary. + * quail/czech.el, quail/slovak.el: Correct starting commentary. 1998-04-07 Milan Zamazal @@ -2179,7 +2179,7 @@ 1998-04-06 Andreas Schwab - * lrt.el (lrt-composing-pattern-double-c): Change chars-in-string + * quail/lrt.el (lrt-composing-pattern-double-c): Change chars-in-string to length. (lrt-generate-quail-map): Change sref to aref, and make second argument of substring a character index. === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-10 20:19:31 +0000 +++ lisp/ChangeLog 2014-01-11 03:55:50 +0000 @@ -69,7 +69,7 @@ * version.el (emacs-bzr-version): Name changed to emacs-repository-version. Obsolete-variable alias made. * loadup.el: Follow through on this name change. - * lisp/mail/emacsbug.el (report-emacs-bug): Factor out any + * mail/emacsbug.el (report-emacs-bug): Factor out any assumption about the version control system in use. 2014-01-08 David Engster @@ -3421,7 +3421,7 @@ 2013-10-17 Barry O'Reilly - * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave + * subr.el (sit-for): Call (input-pending-p t) so as to behave as before. 2013-10-18 Reuben Thomas @@ -4194,13 +4194,13 @@ 2013-09-28 Rüdiger Sonderfeld - * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer. + * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer. (octave-mode-menu): Add octave-send-buffer. (octave-send-buffer): New function. 2013-09-28 Rüdiger Sonderfeld - * lisp/progmodes/octave.el (octave-mode-map): Add key binding for + * progmodes/octave.el (octave-mode-map): Add key binding for octave-lookfor. (octave-mode-menu): Add octave-lookfor. (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to @@ -6202,7 +6202,7 @@ * isearch.el (isearch-done): * jit-lock.el (jit-lock-stealth-fontify): * mail/rmailsum.el (rmail-summary-scroll-msg-up): - * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling): + * mouse-drag.el (mouse-drag-should-do-col-scrolling): * mpc.el (mpc-tagbrowser, mpc): * net/rcirc.el (rcirc-any-buffer): * play/gomoku.el (gomoku-max-width, gomoku-max-height): @@ -7573,12 +7573,12 @@ * files.el (find-file-noselect): Simplify conditional expression. - * remember.el (remember-append-to-file): + * textmodes/remember.el (remember-append-to-file): Don't mix `find-buffer-visiting' and `get-file-buffer'. Add `remember-notes' function to store random notes across Emacs restarts. - * remember.el (remember-data-file): Add :set callback to affect + * textmodes/remember.el (remember-data-file): Add :set callback to affect notes buffer (if any). (remember-notes): New command. (remember-notes-buffer-name, bury-remember-notes-on-kill): @@ -9156,7 +9156,7 @@ 2013-06-05 Stefan Monnier - * lisp/subr.el: Convert to lexical binding. + * subr.el: Convert to lexical binding. (overriding-local-map): Make obsolete. (add-to-list): Doc fix. Add compiler macro. (read-key): Swap values of local maps. @@ -9811,16 +9811,16 @@ 2013-05-23 Rüdiger Sonderfeld - * lisp/textmodes/reftex.el (reftex-ref-style-toggle): + * textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivate action. - * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): + * textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref macros. - * lisp/textmodes/reftex-parse.el + * textmodes/reftex-parse.el (reftex-locate-bibliography-files): Accept options for bibliography commands. - * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands): + * textmodes/reftex-vars.el (reftex-bibliography-commands): Add addbibresource. Basic Biblatex support. 2013-05-23 Michael Albinus === modified file 'lisp/ChangeLog.10' --- lisp/ChangeLog.10 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.10 2014-01-11 03:55:50 +0000 @@ -67,8 +67,8 @@ * progmodes/cc-awk.el: New file that implements AWK support, superseding the old separate derived mode in awk-mode.el. - * progmodes/cc-vars.el, cc-mode-19.el, progmodes/cc-langs.el, - * progmodes/cc-mode.el, progmodes/cc-defs.el, + * progmodes/cc-vars.el, progmodes/cc-mode-19.el, progmodes/cc-langs.el: + * progmodes/cc-mode.el, progmodes/cc-defs.el: * progmodes/cc-engine.el, progmodes/cc-fonts.el: Changes for the new AWK support. @@ -4486,7 +4486,7 @@ 2003-03-26 Steve Youngs - * em-unix.el (eshell-plain-locate-behavior): Make the default + * eshell/em-unix.el (eshell-plain-locate-behavior): Make the default nil on Emacs, t on XEmacs. 2003-03-25 Stefan Monnier @@ -6354,11 +6354,11 @@ * mh-e: Created directory. ChangeLog will appear in a week when we release version 7.2. - * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el, - mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el, - mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el, - mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el, - mail/mh-xemacs-compat.el: Moved to mh-e directory. + * mail/mh-alias.el, mail/mh-comp.el, mail/mh-customize.el, mail/mh-e.el: + * mail/mh-funcs.el, mail/mh-identity.el, mail/mh-index.el: + * mail/mh-loaddefs.el, mail/mh-mime.el, mail/mh-pick.el: + * mail/mh-seq.el, mail/mh-speed.el, mail/mh-utils.el: + * mail/mh-xemacs-compat.el: Move to mh-e directory. Note that reply2.pbm and reply2.xpm, which were created by the MH-E package, were left in mail since they can probably be used by other mail packages. @@ -10676,7 +10676,7 @@ 2002-09-18 Michael Kifer - * ediff-hooks.el: Put back the autoloads (for XEmacs compatibility). + * ediff-hook.el: Put back the autoloads (for XEmacs compatibility). * ediff-init.el: Use defalias instead of fset. @@ -11693,32 +11693,32 @@ 2002-08-27 Carsten Dominik - * textfile/reftex-ref.el (reftex-goto-label): New command. - - * textfile/reftex-vars.el (reftex-part-resets-chapter): New option. - - * textfile/reftex-parse.el (reftex-roman-number): New function. + * textmodes/reftex-ref.el (reftex-goto-label): New command. + + * textmodes/reftex-vars.el (reftex-part-resets-chapter): New option. + + * textmodes/reftex-parse.el (reftex-roman-number): New function. (reftex-section-number): Better handling of parts: No chapter counter resets. - * textfile/reftex.el (reftex-highlight-overlays): Added a third + * textmodes/reftex.el (reftex-highlight-overlays): Added a third overlay. (reftex-mode-menu): Added entry for `reftex-toc-recenter. Also moved `reftex-reset-mode' to top level. - * textfile/reftex-toc.el (reftex-toc-recenter): New command. + * textmodes/reftex-toc.el (reftex-toc-recenter): New command. (reftex-toc-pre-command-hook): Don't remove highlight overlay. (reftex-toc-post-command-hook): Use overlay no 2 for highlighting. - * textfile/reftex-sel.el (reftex-get-offset): Get offset of + * textmodes/reftex-sel.el (reftex-get-offset): Get offset of document pointer *before* position, not after. (reftex-insert-docstruct): Get offset of document pointer *before* position, not after. - * textfiles/reftex-parse.el (reftex-where-am-I): Prefer marker + * textmodes/reftex-parse.el (reftex-where-am-I): Prefer marker match over section title match. - * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function + * textmodes/reftex-cite.el (reftex-bib-or-thebib): New function which determines on a per-file-basis if BibTeX is being used locally for citations. (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better @@ -11726,7 +11726,7 @@ (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. - * textfiles/reftex-dcr.el (reftex-view-cr-cite): + * textmodes/reftex-dcr.el (reftex-view-cr-cite): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. 2002-08-26 Kim F. Storm @@ -11891,7 +11891,7 @@ 2002-08-20 Carsten Dominik - * textfiles/reftex-cite.el (reftex-bib-or-thebib): New function + * textmodes/reftex-cite.el (reftex-bib-or-thebib): New function which determines on a per-file-basis if BibTeX is being used locally for citations. (reftex-offer-bib-menu): Use `reftex-bib-or-thebib' for better @@ -11899,7 +11899,7 @@ (reftex-bibtex-selection-callback): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. - * textfiles/reftex-dcr.el (reftex-view-cr-cite): + * textmodes/reftex-dcr.el (reftex-view-cr-cite): Use `reftex-bib-or-thebib' for better cooperation with chapterbib. 2002-08-20 Kim F. Storm @@ -11909,7 +11909,7 @@ with keyboard macro related commands. The original binding on C-x C-k is moved to C-x C-k e. - * binding.el: Remove macro related bindings (now in kmacro.el). + * bindings.el: Remove macro related bindings (now in kmacro.el). * edmacro.el: Remove C-x C-k binding (now in kmacro.el). @@ -12099,12 +12099,12 @@ 2002-04-09 John Wiegley - * esh-util.el: Removed eshell-under-cygwin-p, and all uses of it. - * em-cmpl.el (eshell-cmpl-ignore-case): Ditto. - * em-dirs.el (eshell/cd): Ditto. - * em-glob.el (eshell-glob-case-insensitive): Ditto. - * em-hist.el (eshell-previous-matching-input-string-position): Ditto. - * esh-ext.el (eshell-binary-suffixes): Ditto. + * eshell/em-cmpl.el (eshell-cmpl-ignore-case): + * eshell/em-dirs.el (eshell/cd): + * eshell/em-glob.el (eshell-glob-case-insensitive): + * eshell/em-hist.el (eshell-previous-matching-input-string-position): + * eshell/esh-ext.el (eshell-binary-suffixes): + * eshell/esh-util.el: Remove eshell-under-cygwin-p, and all uses of it. 2002-08-09 Richard M. Stallman @@ -12197,12 +12197,12 @@ 2002-04-09 John Paul Wallington - * esh-util.el (eshell-under-cygwin-p): New function. - * em-cmpl.el (eshell-cmpl-ignore-case): Use it. - * em-dirs.el (eshell/cd): Ditto. - * em-glob.el (eshell-glob-case-insensitive): Ditto. - * em-hist.el (eshell-previous-matching-input-string-position): Ditto. - * esh-ext.el (eshell-binary-suffixes): Ditto. + * eshell/esh-util.el (eshell-under-cygwin-p): New function. + * eshell/em-cmpl.el (eshell-cmpl-ignore-case): + * eshell/em-dirs.el (eshell/cd): + * eshell/em-glob.el (eshell-glob-case-insensitive): + * eshell/em-hist.el (eshell-previous-matching-input-string-position): + * eshell/esh-ext.el (eshell-binary-suffixes): Use it. 2002-08-05 Richard M. Stallman @@ -14192,7 +14192,7 @@ 2002-06-09 Martin Stjernholm - * progmodes/cc-style.el (c-set-style, c-set-style-1): + * progmodes/cc-styles.el (c-set-style, c-set-style-1): Add another state for the `dont-override' flag where it only keeps globally set variables. @@ -15640,7 +15640,7 @@ 2002-04-25 Michael Kifer - * ediff-hooks.el: Put back the autoloads. + * ediff-hook.el: Put back the autoloads. 2002-04-25 Colin Walters @@ -16457,8 +16457,8 @@ 2002-04-22 Martin Stjernholm - * progmodes/cc-align.el, progmodes/cc-defs.el, - progmodes/cc-cmds.el, progmodes/cc-engine.el, cc-vars.el: + * progmodes/cc-align.el, progmodes/cc-defs.el: + * progmodes/cc-cmds.el, progmodes/cc-engine.el, progmodes/cc-vars.el: Several fixes to treat macros as code and not literals and to handle line continuations transparently. @@ -17484,7 +17484,7 @@ 2002-04-01 Ville Skyttä - * tcl.el (tcl-imenu-generic-expression): New value. + * progmodes/tcl.el (tcl-imenu-generic-expression): New value. (tcl-imenu-create-index-function): Function deleted. (tcl-mode): Check for filladapt-mode. Use tcl-imenu-generic-expression instead of @@ -22092,25 +22092,29 @@ (calc-do-keypad): Use it. (calc-keypad-map): Move into `calc-keypad-mode'. - * calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote + * calc/calc-math.el (calcFunc-sqrt, calcFunc-hypot): Add missing quote to defalias argument. - * calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc) + * calc/calc-misc.el (math-fixnump, math-fixnatnump, calcFunc-trunc) (calcFunc-floor): Ditto. - * calc-units.el (calcFunc-usimplify): Ditto. + * calc/calc-units.el (calcFunc-usimplify): Ditto. - * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el - * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el - * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el - * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el - * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el - * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el - * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el - * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el - * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el - * calc-help.el, calc-math.el, calc-rules.el, calc-units.el - * calcsel2.el: Change all toplevel `setq' forms to `defvar' forms, + * calc/calc-aent.el, calc/calc-ext.el, calc/calc-incom.el: + * calc/calc-misc.el, calc/calc-sel.el, calc/calc-vec.el: + * calc/calc-alg.el, calc/calc-fin.el, calc/calc-keypd.el: + * calc/calc-mode.el, calc/calc-stat.el, calc/calc-yank.el: + * calc/calc-arith.el, calc/calc-forms.el, calc/calc-lang.el: + * calc/calc-mtx.el, calc/calc-store.el, calc/calc.el: + * calc/calc-bin.el, calc/calc-frac.el, calc/calc-macs.el: + * calc/calc-poly.el, calc/calc-stuff.el, calc/calcalg2.el: + * calc/calc-comb.el, calc/calc-funcs.el, calc/calc-maint.el: + * calc/calc-prog.el, calc/calc-trail.el, calc/calcalg3.el: + * calc/calc-cplx.el, calc/calc-graph.el, calc/calc-map.el: + * calc/calc-rewr.el, calc/calc-undo.el, calc/calccomp.el: + * calc/calc-embed.el, calc/calc-help.el, calc/calc-math.el: + * calc/calc-rules.el, calc/calc-units.el, calc/calcsel2.el: + Change all toplevel `setq' forms to `defvar' forms, and move them before their first use. Use `when', `unless'. Remove trailing periods from error forms. Add description and headers suggested by Emacs Lisp coding conventions. @@ -22360,21 +22364,24 @@ * calc/calc-units.el (calcFunc-unsimplify): Ditto. - * calc-aent.el, calc-ext.el, calc-incom.el, calc-misc.el - * calc-sel.el, calc-vec.el, calc-alg.el, calc-fin.el - * calc-keypd.el, calc-mode.el, calc-stat.el, calc-yank.el - * calc-arith.el, calc-forms.el, calc-lang.el, calc-mtx.el - * calc-store.el, calc.el, calc-bin.el, calc-frac.el, calc-macs.el - * calc-poly.el, calc-stuff.el, calcalg2.el, calc-comb.el - * calc-funcs.el, calc-maint.el, calc-prog.el, calc-trail.el - * calcalg3.el, calc-cplx.el, calc-graph.el, calc-map.el - * calc-rewr.el, calc-undo.el, calccomp.el, calc-embed.el - * calc-help.el, calc-math.el, calc-rules.el, calc-units.el - * calcsel2.el: Style cleanup; don't put closing parens on their - own line, add "foo.el ends here" to each file, and update - copyright date. + * calc/calc-aent.el, calc/calc-ext.el, calc/calc-incom.el: + * calc/calc-misc.el, calc/calc-sel.el, calc/calc-vec.el: + * calc/calc-alg.el, calc/calc-fin.el, calc/calc-keypd.el: + * calc/calc-mode.el, calc/calc-stat.el, calc/calc-yank.el: + * calc/calc-arith.el, calc/calc-forms.el, calc/calc-lang.el: + * calc/calc-mtx.el, calc/calc-store.el, calc/calc.el, calc/calc-bin.el: + * calc/calc-frac.el, calc/calc-macs.el, calc/calc-poly.el: + * calc/calc-stuff.el, calc/calcalg2.el, calc/calc-comb.el: + * calc/calc-funcs.el, calc/calc-maint.el, calc/calc-prog.el: + * calc/calc-trail.el, calcalg3.el, calc/calc-cplx.el: + * calc/calc-graph.el, calc/calc-map.el, calc/calc-rewr.el: + * calc/calc-undo.el, calc/calccomp.el, calc/calc-embed.el: + * calc/calc-help.el, calc/calc-math.el, calc/calc-rules.el: + * calc/calc-units.el, calc/calcsel2.el: Style cleanup; + don't put closing parens on their own line, + add "foo.el ends here" to each file, and update copyright date. - * README: Update maintainer. + * calc/README: Update maintainer. 2001-11-13 Richard M. Stallman === modified file 'lisp/ChangeLog.11' --- lisp/ChangeLog.11 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.11 2014-01-11 03:55:50 +0000 @@ -1293,9 +1293,9 @@ 2004-11-26 Jay Belanger - * calc-misc.el (calc-last-why-command): Declare it. + * calc/calc-misc.el (calc-last-why-command): Declare it. - * calc-vec.el (math-grade-vec): New variable. + * calc/calc-vec.el (math-grade-vec): New variable. (calcFunc-grade, calcFunc-rgrade, math-grade-beforep): Replace variable grade-vec by declared variable. (math-rb-close): New variable. @@ -1424,7 +1424,8 @@ 2004-11-26 Lars Hansen - * tramp.el (tramp-handle-directory-files-and-attributes): New function. + * net/tramp.el (tramp-handle-directory-files-and-attributes): + New function. (tramp-perl-directory-files-and-attributes): New constant. (tramp-file-name-handler-alist): Delete file-directory-files, add directory-files-and-attributes. @@ -11950,7 +11951,7 @@ 2003-11-16 Martin Stjernholm - * cc-engine.el (c-guess-continued-construct) + * progmodes/cc-engine.el (c-guess-continued-construct) (c-guess-basic-syntax): Check a little more carefully if it's a function declaration when an unknown construct followed by a block is found inside a statement context. This avoids macros followed @@ -11964,7 +11965,8 @@ start is in a position so that `c-beginning-of-statement-1' jumped to the beginning of the same statement. - * cc-fonts.el, cc-engine.el (c-forward-<>-arglist-recur): + * progmodes/cc-fonts.el, progmodes/cc-engine.el + (c-forward-<>-arglist-recur): Don't accept binary operators in the arglist if we're in a function call context, i.e. if `c-restricted-<>-arglists' is set. That avoids template recognition in cases like "if (a < b || c > d)". @@ -11974,38 +11976,39 @@ Accessing functions updated for the variable name change. - * cc-engine.el (c-syntactic-re-search-forward): Fix bug where the - match data could get clobbered if NOT-INSIDE-TOKEN is used. + * progmodes/cc-engine.el (c-syntactic-re-search-forward): Fix bug + where the match data could get clobbered if NOT-INSIDE-TOKEN is used. - * cc-engine.el (c-beginning-of-statement-1): Don't allow parens in - labels. + * progmodes/cc-engine.el (c-beginning-of-statement-1): + Don't allow parens in labels. (c-backward-to-decl-anchor): Use `c-beginning-of-statement-1' instead of duplicating parts of it. This fixes bogus label recognition. - * cc-align.el (c-gnu-impose-minimum): Revert to the old method + * progmodes/cc-align.el (c-gnu-impose-minimum): Revert to the old method of checking the context in which to apply the minimum indentation, so that it isn't enforced in e.g. namespace blocks. - * cc-vars.el (c-inside-block-syms): New constant used by + * progmodes/cc-vars.el (c-inside-block-syms): New constant used by `c-gnu-impose-minimum'. It's defined close to `c-offsets-alist' to somewhat reduce the risk of becoming stale. - * cc-cmds.el, cc-engine.el (c-shift-line-indentation): Move from - cc-cmds to cc-engine to allow use from cc-align. - - * cc-engine.el (c-beginning-of-inheritance-list): Cope with fully - qualified identifiers containing "::". - - * cc-defs.el (c-make-keywords-re): Add kludge for bug in + * progmodes/cc-cmds.el, progmodes/cc-engine.el + (c-shift-line-indentation): Move from cc-cmds to cc-engine + to allow use from cc-align. + + * progmodes/cc-engine.el (c-beginning-of-inheritance-list): + Cope with fully qualified identifiers containing "::". + + * progmodes/cc-defs.el (c-make-keywords-re): Add kludge for bug in `regexp-opt' in Emacs 20 and XEmacs when strings contain newlines. - * cc-vars.el (c-emacs-features): Use a space in front of the name - of the temporary buffer. That also avoids dumping problems in + * progmodes/cc-vars.el (c-emacs-features): Use a space in front of + the name of the temporary buffer. That also avoids dumping problems in XEmacs due to undo info being left around after the buffer is killed. - * cc-engine.el (c-in-knr-argdecl): Look closer at the function + * progmodes/cc-engine.el (c-in-knr-argdecl): Look closer at the function arglist to see if it's a K&R style declaration. (c-guess-basic-syntax): CASE 5B.2: Check with `c-in-knr-argdecl' @@ -13476,20 +13479,20 @@ 2003-08-11 Carsten Dominik - * reftex-toc.el (reftex-toc-rename-label): New function. + * textmodes/reftex-toc.el (reftex-toc-rename-label): New function. (reftex-toc-check-docstruct): New function. - * reftex.el (reftex-region-active-p): New function. + * textmodes/reftex.el (reftex-region-active-p): New function. - * reftex-parse.el (reftex-locate-bibliography-files): Improved the + * textmodes/reftex-parse.el (reftex-locate-bibliography-files): Improved the regexp to find the \bibliography macro. - * reftex-vars.el (reftex-section-levels): Removed subsubparagraph, + * textmodes/reftex-vars.el (reftex-section-levels): Removed subsubparagraph, which does not exist in LaTeX. (reftex-cite-format-builtin): Added amsrefs support. (reftex-toc-confirm-promotion): New option - * reftex-toc.el + * textmodes/reftex-toc.el (reftex-toc): Use `reftex-toc-split-windows-fraction'. (reftex-toc-demote, reftex-toc-promote) (reftex-toc-do-promote, reftex-toc-promote-prepare) @@ -13512,10 +13515,9 @@ (reftex-toc-quit): Adapted to delete frame when called in dedicated frame. - * reftex-index.el (reftex-index-phrase-match-is-indexed): Check + * textmodes/reftex-index.el (reftex-index-phrase-match-is-indexed): Check all enclosing macros. - 2003-08-08 Vinicius Jose Latorre * progmodes/ebnf2ps.el (ebnf-total, ebnf-nprod): Move defvar before === modified file 'lisp/ChangeLog.12' --- lisp/ChangeLog.12 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.12 2014-01-11 03:55:50 +0000 @@ -8191,8 +8191,9 @@ 2006-07-10 Alan Mackenzie - * progmodes/cc-awk.el, cc-defs.el, cc-fonts.el, cc-langs.el: - * cc-mode.el: Changes to eradicate eval-after-load. + * progmodes/cc-awk.el, progmodes/cc-defs.el, progmodes/cc-fonts.el: + * progmodes/cc-langs.el, progmodes/cc-mode.el: + Changes to eradicate eval-after-load. 2006-07-09 Chong Yidong @@ -12229,7 +12230,7 @@ 2006-02-24 Alan Mackenzie - * progmodes/cc-cmds.el, cc-mode.el: Rename c-hungry-backspace to + * progmodes/cc-cmds.el, progmodes/cc-mode.el: Rename c-hungry-backspace to c-hungry-delete-backwards, at the request of RMS. Leave the old name as an alias. @@ -12283,7 +12284,7 @@ * progmodes/cc-defs.el (c-version): Update version number to 5.31.2. - * progmodes/cc-cmds.el, cc-mode.el, cc-engine.el + * progmodes/cc-cmds.el, progmodes/cc-mode.el, progmodes/cc-engine.el (c-update-modeline): Concatenate the minor mode indicators directly onto mode-name, removing c-submode-indicators. Sometimes, c-s-i got separated from the mode name on the mode line. @@ -15730,7 +15731,8 @@ Emacsen which lack `define-minor-mode'. (Currently Emacs <21. We might do this function properly in the future). - * progmodes/cc-cmds.el, cc-defs.el, cc-styles.el, cc-vars.el: + * progmodes/cc-cmds.el, progmodes/cc-defs.el: + * progmodes/cc-styles.el, progmodes/cc-vars.el: New macros c-sentence-end and c-default-value-sentence end, to cope with Emacs 22's new function `sentence-end'. @@ -15779,7 +15781,7 @@ * progmodes/cc-mode.el: Bind c-subword-mode to C-c C-w. - * progmodes/cc-subword.el, cc-cmds.el, cc-mode.el: + * progmodes/cc-subword.el, progmodes/cc-cmds.el, progmodes/cc-mode.el: Rename "c-subword-move-mode" as "c-subword-mode". * progmodes/cc-mode.el: Added tty suitable bindings for C-c @@ -15810,7 +15812,7 @@ 2005-12-08 Martin Stjernholm - * progmodes/cc-fonts.el, cc-vars.el + * progmodes/cc-fonts.el, progmodes/cc-vars.el (gtkdoc-font-lock-doc-comments, gtkdoc-font-lock-doc-protection) (gtkdoc-font-lock-keywords): GtkDoc patterns contributed by Masatake YAMATO. @@ -15886,7 +15888,7 @@ * progmodes/cc-cmds.el: Make C-c C-a (`c-toggle-auto-newline') forcibly enable c-electric-flag. - * progmodes/cc-vars.el, cc-cmds.el: New clean-up + * progmodes/cc-vars.el, progmodes/cc-cmds.el: New clean-up `comment-close-slash' on c-electric-slash: if enabled, typing `/' just after the comment-prefix of a C-style comment will close that comment. @@ -15899,7 +15901,7 @@ * progmodes/cc-langs.el (c-other-op-syntax-tokens): Only C++ has digraphs. - * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el + * progmodes/cc-fonts.el, progmodes/cc-langs.el, progmodes/cc-engine.el (c-cpp-message-directives, c-cpp-include-directives) (c-opt-cpp-macro-define, c-opt-cpp-macro-define-start) (c-cpp-expr-directives): Introduce new language constants to @@ -15909,7 +15911,7 @@ (c-cpp-matchers, c-forward-to-cpp-define-body): Use them. - * progmodes/cc-langs.el, cc-fonts.el (c-string-escaped-newlines) + * progmodes/cc-langs.el, progmodes/cc-fonts.el (c-string-escaped-newlines) (c-multiline-string-start-char): New language constants and variables to specify how newlines in string literals work. @@ -15923,13 +15925,13 @@ (c-electric-brace): Indent syntactically after the cleanups since lineup functions might do it differently then. - * progmodes/cc-engine.el, cc-langs.el + * progmodes/cc-engine.el, progmodes/cc-langs.el (c-opt-op-identifier-prefix): New language constant and variable. (c-just-after-func-arglist-p, c-after-special-operator-id) (c-search-decl-header-end, c-inside-bracelist-p): Use it. - * progmodes/cc-align.el, cc-engine.el + * progmodes/cc-align.el, progmodes/cc-engine.el (c-after-special-operator-id): New helper to handle C++ operator identifiers. @@ -16012,8 +16014,9 @@ * progmodes/cc-cmds.el (c-show-syntactic-information): Show the anchor position(s) using faces. Thanks to Masatake YAMATO for the idea. - * progmodes/cc-mode.el, cc-cmds.el, cc-defs.el, cc-engine.el - (c-submode-indicators): Change name from `c-auto-hungry-string' + * progmodes/cc-mode.el, progmodes/cc-cmds.el, progmodes/cc-defs.el: + * progmodes/cc-engine.el (c-submode-indicators): + Change name from `c-auto-hungry-string' since it's now used to track another submode. (c-update-modeline): Convert to function and extended to check @@ -16084,7 +16087,7 @@ to avoid heuristics that doesn't work for unclosed blocks. (c-at-statement-start-p): New function. - * progmodes/cc-engine.el, cc-fonts.el: Fixes in handling of + * progmodes/cc-engine.el, progmodes/cc-fonts.el: Fixes in handling of Objective-C directives, e.g. directives spanning lines should work reasonably well now. @@ -16168,7 +16171,7 @@ (c-forward-single-comment, c-backward-single-comment): Comment out the (now redundant) "special" AWK stuff. - * progmodes/cc-styles.el, cc-vars.el: Change the settings of + * progmodes/cc-styles.el, progmodes/cc-vars.el: Change the settings of c-string-par-start, c-string-par-separate to be more like Text Mode than Fundamental Mode. @@ -16237,7 +16240,7 @@ the checks for paren sexps between the point and the keyword, to avoid some false alarms. - * progmodes/cc-engine.el, cc-langs.el (c-looking-at-inexpr-block): + * progmodes/cc-engine.el, progmodes/cc-langs.el (c-looking-at-inexpr-block): Fixed a situation where an error could be thrown for unbalanced parens. Changed to make use of c-keyword-member' to avoid some repeated regexp matches. @@ -16278,7 +16281,8 @@ 2005-12-08 Alan Mackenzie - * progmodes/cc-cmds.el, cc-styles.el, cc-vars.el: New variables + * progmodes/cc-cmds.el, progmodes/cc-styles.el: + * progmodes/cc-vars.el: New variables c-string-par-start/separate c-sentence-end-with-esc-eol, initialized in c-setup-paragraph-variables, used in string scanning subroutines of c-beginning-of-statement. @@ -16288,7 +16292,7 @@ 2005-12-08 Martin Stjernholm - * progmodes/cc-engine.el, cc-langs.el: Rewrote the recognition + * progmodes/cc-engine.el, progmodes/cc-langs.el: Rewrote the recognition function for declaration level blocks. It should now cope with templates better and also be a lot more comprehensible. @@ -16340,7 +16344,7 @@ the point could be left directly after an open paren when finding the beginning of the first decl in the block. - * progmodes/cc-engine.el, cc-fonts.el (c-forward-keyword-clause): + * progmodes/cc-engine.el, progmodes/cc-fonts.el (c-forward-keyword-clause): Specify which submatch to use. * progmodes/cc-langs.el (c-symbol-start): Include `@' in ObjC. @@ -16405,7 +16409,7 @@ (c-specifier-key, c-not-decl-init-keywords): Some cleanup using new language constants `c-type-start-kwds' and `c-prefix-spec-kwds'. - * progmodes/cc-fonts.el, cc-langs.el, cc-engine.el: + * progmodes/cc-fonts.el, progmodes/cc-langs.el, progmodes/cc-engine.el: Internal cleanups to properly detect the declared identifiers in various declarations. @@ -16446,11 +16450,12 @@ * progmodes/cc-engine.el (c-maybe-labelp): Provide no default value - this variable is always dynamically bound. - * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el - * cc-mode.el, cc-styles.el, cc-vars.el, cc-align.el, cc-awk.el - * cc-cmds.el, cc-defs.el: Change the policy for marking up - functions that might do hidden buffer changes: All such internal - functions are now marked instead of those that don't. + * progmodes/cc-engine.el, progmodes/cc-fonts.el, progmodes/cc-langs.el: + * progmodes/cc-menus.el, progmodes/cc-mode.el, progmodes/cc-styles.el: + * progmodes/cc-vars.el, progmodes/cc-align.el, progmodes/cc-awk.el: + * progmodes/cc-cmds.el, progmodes/cc-defs.el: Change the policy + for marking up functions that might do hidden buffer changes: + All such internal functions are now marked instead of those that don't. (c-beginning-of-macro, c-end-of-macro, c-(forward|backward)-comments) (c-(forward|backward)-single-comment, c-parse-state, c-on-identifier) @@ -16495,7 +16500,8 @@ 2005-12-08 Martin Stjernholm - * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el: Cleaned up the + * progmodes/cc-engine.el, progmodes/cc-fonts.el: + * progmodes/cc-langs.el: Cleaned up the label handling. Labels are now recognized in a uniform and more robust way, regardless of context. Text properties are put on all labels to recognize the following declarations better. @@ -16552,7 +16558,7 @@ * progmodes/cc-align.el (c-lineup-arglist): Fix bug when the first argument starts with a special brace list. - * progmodes/cc-engine.el, cc-fonts.el (c-forward-decl-or-cast-1) + * progmodes/cc-engine.el, progmodes/cc-fonts.el (c-forward-decl-or-cast-1) (c-font-lock-declarations): Break out the declaration and cast recognition from `c-font-lock-declarations' to a new function, so that it can be used in the indentation engine. @@ -16652,7 +16658,7 @@ 2005-12-08 Martin Stjernholm - * progmodes/cc-fonts.el, cc-langs.el: Use `c-simple-ws' instead of + * progmodes/cc-fonts.el, progmodes/cc-langs.el: Use `c-simple-ws' instead of hardcoded char classes wherever possible. Changed a couple of places to use skip by syntax instead of skip by char class. @@ -16702,7 +16708,7 @@ * progmodes/cc-cmds.el: Tidy c-beginning-of-sentence (and subfunctions) so that it works at BOB and EOB. - * progmodes/cc-cmds.el, cc-vars.el: More updating of + * progmodes/cc-cmds.el, progmodes/cc-vars.el: More updating of c-beginning-of-statement, including new variable c-block-comment-start-regexp. @@ -16742,7 +16748,7 @@ 2005-12-08 Martin Stjernholm - * progmodes/cc-engine.el, cc-fonts.el, cc-langs.el + * progmodes/cc-engine.el, progmodes/cc-fonts.el, progmodes/cc-langs.el (c-guess-basic-syntax): Change the way class-level labels are recognized; they can now contain essentially any symbols. @@ -16765,7 +16771,7 @@ Remove some cruft and fixed a bug that could cause it to go to a position further down. - * progmodes/cc-langs.el, cc-engine.el + * progmodes/cc-langs.el, progmodes/cc-engine.el (c-beginning-of-statement-1): Improve detection of labels in declaration contexts. @@ -16780,7 +16786,7 @@ * progmodes/cc-defs.el (c-forward-sexp, c-backward-sexp): Make these behave as documented when used at the buffer limits. - * progmodes/cc-mode.el, cc-engine.el, cc-langs.el + * progmodes/cc-mode.el, progmodes/cc-engine.el, progmodes/cc-langs.el (c-type-decl-end-used): Made this a language variable. * progmodes/cc-mode.el (c-after-change): Widen the buffer to work @@ -16807,7 +16813,8 @@ * progmodes/cc-mode.el (c-basic-common-init): Turn on syntax-table text property lookup only when it's needed. - * progmodes/cc-langs.el, cc-engine.el, cc-fonts.el, cc-mode.el: + * progmodes/cc-langs.el, progmodes/cc-engine.el: + * progmodes/cc-fonts.el, progmodes/cc-mode.el: Change the policy for paren marked angle brackets to be more persistent; once marked they remain marked even when they're found to be unbalanced in the searched region. This should keep the @@ -16852,27 +16859,29 @@ 2005-12-08 Alan Mackenzie - * progmodes/cc-cmds.el, cc-engine.el, cc-langs.el, cc-vars.el: + * progmodes/cc-cmds.el, progmodes/cc-engine.el: + * progmodes/cc-langs.el, progmodes/cc-vars.el: Make the "Text Filling and Line Breaking" commands work for AWK buffers. 2005-12-08 Martin Stjernholm - * progmodes/cc-defs.el, cc-engine.el (c-mode-is-new-awk-p): + * progmodes/cc-defs.el, progmodes/cc-engine.el (c-mode-is-new-awk-p): Removed; (c-major-mode-is 'awk-mode) can be used instead now. * progmodes/cc-mode.el: Always set up AWK mode since emacsen where it doesn't work no longer are supported. - * progmodes/cc-mode.el, cc-styles.el, cc-vars.el, cc-defs.el - * cc-engine.el, cc-fonts.el, cc-langs.el, cc-cmds.el: CC Mode now + * progmodes/cc-mode.el, progmodes/cc-styles.el, progmodes/cc-vars.el: + * progmodes/cc-defs.el, progmodes/cc-engine.el, progmodes/cc-fonts.el: + * progmodes/cc-langs.el, progmodes/cc-cmds.el: CC Mode now requires support for the syntax-table' text property, which rules out Emacs 19 and XEmacs < 21.4. Removed various compatibility cruft associated with those versions. - * progmodes/cc-defs.el, cc-fix.el: CC Mode now requires support - for the `syntax-table' text property, which rules out Emacs 19 and - XEmacs < 21.4. Removed various compatibility cruft associated - with those versions. + * progmodes/cc-defs.el, progmodes/cc-fix.el: CC Mode now requires + support for the `syntax-table' text property, which rules out + Emacs 19 and XEmacs < 21.4. Remove various compatibility cruft + associated with those versions. * progmodes/cc-vars.el (c-emacs-features): CC Mode now requires support for the `syntax-table' text property. @@ -27408,14 +27417,14 @@ * progmodes/cc-engine.el (c-guess-basic-syntax): Handle operator declarations somewhat better in C++. - * progmodes/cc-styles.el, cc-mode.el (c-run-mode-hooks): + * progmodes/cc-styles.el, progmodes/cc-mode.el (c-run-mode-hooks): New helper macro to make use of `run-mode-hooks' which has been added in Emacs 21.1. (c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode) (awk-mode): Use it. (make-local-hook): Suppress warning about obsolescence. - * progmodes/cc-engine.el, cc-align.el, cc-cmds.el + * progmodes/cc-engine.el, progmodes/cc-align.el, progmodes/cc-cmds.el (c-append-backslashes-forward, c-delete-backslashes-forward) (c-find-decl-spots, c-semi&comma-no-newlines-before-nonblanks): Compensate for return value from `forward-line' when it has moved @@ -27428,9 +27437,9 @@ CC Mode update to 5.30.10: - * progmodes/cc-mode.el, cc-engine.el, cc-align.el: Change the FSF's - address in the copyright statement. Incidentally, change "along with - GNU Emacs" to "along with this program" where it occurs. + * progmodes/cc-mode.el, progmodes/cc-engine.el, progmodes/cc-align.el: + Change the FSF's address in the copyright statement. Incidentally, + change "along with GNU Emacs" to "along with this program" where it occurs. * progmodes/cc-mode.el: Add a fourth parameter `t' to the awk-mode autoload, so that it is interactive, hence can be found by M-x awk-mode === modified file 'lisp/ChangeLog.13' --- lisp/ChangeLog.13 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.13 2014-01-11 03:55:50 +0000 @@ -541,7 +541,7 @@ 2008-02-01 Vinicius Jose Latorre - * ps-print.ps: Fix background height. + * ps-print.el: Fix background height. (ps-print-version): New version 7.2.1. 2008-02-01 Vinicius Jose Latorre === modified file 'lisp/ChangeLog.14' --- lisp/ChangeLog.14 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.14 2014-01-11 03:55:50 +0000 @@ -7565,7 +7565,7 @@ 2008-09-05 Wilson Snyder - * verilog-mode.el (verilog-library-extensions): Enable .sv + * progmodes/verilog-mode.el (verilog-library-extensions): Enable .sv filename extensions to call verilog-mode. (verilog-auto, verilog-auto-inst, verilog-faq) (verilog-submit-bug-report): Update author support URLs. @@ -7592,7 +7592,7 @@ 2008-09-05 Michael McNamara - * verilog-mode.el (verilog-beg-block-re-ordered, verilog-calc-1): + * progmodes/verilog-mode.el (verilog-beg-block-re-ordered, verilog-calc-1): Better support for the property statement. Sometimes this keyword introduces a statement which requires an endproperty keyword, and sometimes it doesn't, depending on the work before the property @@ -11807,7 +11807,7 @@ 2008-05-24 Ulf Jasper - * icalendar.el (icalendar-version): Increase to "0.19". + * calendar/icalendar.el (icalendar-version): Increase to "0.19". (icalendar--date-style): New function. (icalendar--datetime-to-diary-date): Doc fix. Use icalendar--date-style. @@ -13390,10 +13390,6 @@ (orgtbl-send-table): Use the previous two functions and implement multiple destinations for each table. - * doc/org.texi (A LaTeX example): Note that fmt may be a - one-argument function, and efmt may be a two-argument function. - (Radio tables): Document multiple destinations. - 2008-04-27 Carsten Dominik * org/org-agenda.el (org-add-to-diary-list): New function. @@ -13508,7 +13504,7 @@ 2008-04-27 Andreas Schwab - * Makefile.el: Unbreak bootstrap. + * Makefile.in: Unbreak bootstrap. 2008-04-27 Michael Albinus === modified file 'lisp/ChangeLog.15' --- lisp/ChangeLog.15 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.15 2014-01-11 03:55:50 +0000 @@ -5790,18 +5790,18 @@ Enhance fontification of declarators to take account of the presence/absence of "typedef". - * cc-engine.el (c-forward-type): New &optional param + * progmodes/cc-engine.el (c-forward-type): New &optional param "brace-block-too". (c-forward-decl-or-cast-1): cdr of return value now indicates the presence of either or both of a "struct"-like keyword and "typedef". - * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic + * progmodes/cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification of declarators which follow a "}". (c-font-lock-declarations): Fontify declarators according to the presence/absence of "typedef". - * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable - for "typedef". + * progmodes/cc-langs.el (c-typedef-kwds c-typedef-key): + New lang variable for "typedef". (c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds. @@ -18135,6 +18135,10 @@ * window.el (window-full-height-p): New function. (Bug#4543) +2009-10-03 Chong Yidong + + * files.el (auto-mode-alist): Add .srt and Project.ede. + 2009-10-03 Dan Nicolaescu * vc.el: Remove commented out code. === modified file 'lisp/ChangeLog.16' --- lisp/ChangeLog.16 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.16 2014-01-11 03:55:50 +0000 @@ -965,7 +965,7 @@ 2013-02-13 Yves Baumes (tiny change) - * lisp/emacs-lisp/package.el (package-menu-execute): + * emacs-lisp/package.el (package-menu-execute): Add optional noquery argument. (Bug#13625) 2013-02-13 Michael Albinus @@ -1408,7 +1408,7 @@ 2013-01-30 Jay Belanger - * calc-units.el (math-default-units-table): Remove initial value. + * calc/calc-units.el (math-default-units-table): Remove initial value. (calc-convert-units): Treat expressions where all the units cancel as if they didn't have units. @@ -1437,9 +1437,9 @@ 2013-01-29 Alan Mackenzie Amend to fontify /regexp/s in actions correctly. - * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re): - (c-awk-harmless-string*-here-re): Braces, parens and semicolons - are no longer included. + * progmodes/cc-awk.el (c-awk-harmless-char-re) + (c-awk-harmless-string*-re, c-awk-harmless-string*-here-re): + Braces, parens and semicolons are no longer included. (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re): What used to be these variables without "-line" in the name. (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are. @@ -2813,7 +2813,7 @@ 2012-12-12 Jonas Bernoulli - * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115). + * emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115). (eieio-override-prin1): Don't quote kewords and booleans. (object-write) : Don't put closing parens on new line, avoid needless empty lines, align values that are objects @@ -5041,13 +5041,13 @@ * startup.el (command-line): Mark window system is initialized after we've done it. - * common-win.el (x-select-text): Look for w32, not windows-nt. + * term/common-win.el (x-select-text): Look for w32, not windows-nt. - * ns-win.el: Require cl-lib. Add ourselves to + * term/ns-win.el: Require cl-lib. Add ourselves to display-format-alist. (ns-initialize-window-system): Assert we're not initialized twice. - * w32-win.el: Enable lexical binding; require cl-lib; add + * term/w32-win.el: Enable lexical binding; require cl-lib; add ourselves to display-format-alist. (w32-handle-dropped-file): Convert incoming dropped files from Windows paths to Cygwin ones before passing them on to the rest of @@ -5055,7 +5055,7 @@ (w32-drag-n-drop): New paramter new-frame. Simplify logic. (w32-initialize-window-system): Assert we're not initialized twice. - * x-win.el: Require cl-lib; add ourselves to display-format-alist. + * term/x-win.el: Require cl-lib; add ourselves to display-format-alist. (x-initialize-window-system): Assert we're not initialized twice. * w32-common-fns.el: New File. @@ -5894,8 +5894,8 @@ 2012-09-25 Wilson Snyder - * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout) - (verilog-auto-input, verilog-auto-insert-lisp) + * progmodes/verilog-mode.el (verilog-auto-ascii-enum) + (verilog-auto-inout, verilog-auto-input, verilog-auto-insert-lisp) (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg) (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef) (verilog-auto-unused, verilog-auto-wire) @@ -8101,7 +8101,7 @@ 2012-08-04 Michal Nazarewicz - * lisp/mpc.el: Support password in host argument. + * mpc.el: Support password in host argument. (mpc--proc-connect): Parse and use new password element. Set mpc-proc variable instead of returning process. (mpc-proc): Adjust accordingly. @@ -8204,17 +8204,17 @@ 2012-07-31 Jay Belanger - * calc-mode.el (calc-basic-simplification-mode): Rename from + * calc/calc-mode.el (calc-basic-simplification-mode): Rename from `calc-limited-simplification-mode'. (calc-alg-simplification-mode): New function. (calc-set-simplify-mode): Adjust message. - * calc.el (calc-set-mode-line): Adjust mode line display for + * calc/calc.el (calc-set-mode-line): Adjust mode line display for basic simplification mode. - * calc-help.el (calc-m-prefix-help): Update help message. + * calc/calc-help.el (calc-m-prefix-help): Update help message. - * calc-ext.el (calc-init-extensions): Add bindings and autoloads + * calc/calc-ext.el (calc-init-extensions): Add bindings and autoloads for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'. 2012-07-31 Bastien Guerry === modified file 'lisp/ChangeLog.3' --- lisp/ChangeLog.3 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.3 2014-01-11 03:55:50 +0000 @@ -11004,7 +11004,7 @@ 1989-06-23 Joseph Arceneaux (jla@all-bran.ai.mit.edu) * term/x-win.el (x-pop-up-window): Run hook x-pop-up-window-hook. - (x-color-screen-p): New macro; used to be C function. + (x-color-screen-p): New macro; used to be C function in xfns.c. 1989-06-22 Richard Stallman (rms@mole.ai.mit.edu) === modified file 'lisp/ChangeLog.9' --- lisp/ChangeLog.9 2014-01-01 07:43:34 +0000 +++ lisp/ChangeLog.9 2014-01-11 03:55:50 +0000 @@ -2437,20 +2437,6 @@ * emacs-lisp/elp.el: A fix to follow coding conventions. - * gnus/binhex.el, gnus/binhex.el, gnus/earcon.el, - * gnus/gnus-agent.el, gnus/gnus-art.el, gnus/gnus-audio.el, - * gnus/gnus-logic.el, gnus/gnus-ml.el, gnus/gnus-mlspl.el, - * gnus/gnus-setup.el, gnus/gnus-srvr.el, gnus/gnus-sum.el, - * gnus/gnus-uu.el, gnus/gnus-vm.el, gnus/ietf-drums.el, - * gnus/mail-parse.el, gnus/mail-prsvr.el, gnus/mail-source.el, - * gnus/mm-bodies.el, gnus/mm-decode.el, gnus/mm-encode.el, - * gnus/mm-partial.el, gnus/mm-util.el, gnus/mm-uu.el, - * gnus/mm-view.el, gnus/mml.el, gnus/nnimap.el, gnus/nnoo.el, - * gnus/parse-time.el, gnus/rfc1843.el, gnus/rfc2045.el, - * gnus/rfc2047.el, gnus/rfc2104.el, gnus/rfc2231.el, - * gnus/time-date.el, gnus/uudecode.el: Some fixes to follow coding - conventions in files from Gnus. - * abbrevlist.el, array.el, buff-menu.el, calendar/appt.el, * case-table.el, cdl.el, cmuscheme.el, compare-w.el, completion.el, * custom.el, derived.el, dired-aux.el, disp-table.el, dos-vars.el, @@ -2569,7 +2555,7 @@ 2001-07-10 Martin Stjernholm - * cc-cmds.el (c-indent-exp): Keep the indentation of the block + * progmodes/cc-cmds.el (c-indent-exp): Keep the indentation of the block itself, i.e. only indent the contents in it. 2001-07-10 Markus Rost @@ -2601,7 +2587,7 @@ 2001-07-09 Martin Stjernholm - * cc-cmds.el: Extended the kludge to interoperate with the + * progmodes/cc-cmds.el: Extended the kludge to interoperate with the delsel and pending-del packages wrt to the new function `c-electric-delete-forward'. @@ -3648,14 +3634,14 @@ 2001-05-04 Martin Stjernholm - * cc-cmds.el (c-electric-delete, c-electric-delete-forward): + * progmodes/cc-cmds.el (c-electric-delete, c-electric-delete-forward): Split `c-electric-delete' into two functions where `c-electric-delete-forward' always deletes forward and `c-electric-delete' only contains the code necessary for XEmacs to choose between backward and forward deletion. - * cc-mode.el: `c-electric-delete-forward' is now bound to C-d to - get the electric behavior on that key too. + * progmodes/cc-mode.el: `c-electric-delete-forward' is now bound + to C-d to get the electric behavior on that key too. (c-fill-paragraph): Fixed bogus direct use of c-comment-prefix-regexp, which caused an error when it's a list. @@ -4463,53 +4449,54 @@ 2000-03-21 Martin Stjernholm - * cc-mode.el, cc-vars.el (c-common-init, c-default-style): + * progmodes/cc-mode.el, progmodes/cc-vars.el (c-common-init) + (c-default-style): Removed the hardcoded switch to "java" style in Java mode. It's instead taken care of by the default value for c-default-style. 2000-03-21 Martin Stjernholm - * cc-align.el (c-lineup-math): Fix bug where lineup was + * progmodes/cc-align.el (c-lineup-math): Fix bug where lineup was triggered by equal signs in string literals. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-fill-paragraph): Fixed bug in the paragraph + * progmodes/cc-cmds.el (c-fill-paragraph): Fixed bug in the paragraph limit detection when at the ends of the buffer. - * cc-engine.el (c-guess-basic-syntax): Removed bogus check for + * progmodes/cc-engine.el (c-guess-basic-syntax): Removed bogus check for "for" statement clause in case 7F; a better one is done earlier in case 7D anyway. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-guess-fill-prefix): Improved the heuristics + * progmodes/cc-cmds.el (c-guess-fill-prefix): Improved the heuristics somewhat more and did a small optimization. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-beginning-of-statement, c-end-of-statement): + * progmodes/cc-cmds.el (c-beginning-of-statement, c-end-of-statement): Use the limit argument only to limit the syntactic context search, not to limit the actual movement. - * cc-cmds.el (c-beginning-of-statement): Move by sentence + * progmodes/cc-cmds.el (c-beginning-of-statement): Move by sentence inside multiline strings, just like in comments. Also various fixes to the paragraph and comment prefix recognition, block comment ender handling etc. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-fill-paragraph): Take more care to preserve + * progmodes/cc-cmds.el (c-fill-paragraph): Take more care to preserve the relative position of the point. - * cc-cmds.el (c-electric-continued-statement): New function to + * progmodes/cc-cmds.el (c-electric-continued-statement): New function to use as abbrev hook to reindent for keywords such as "else" that continues an earlier statement. - * cc-menus.el (cc-imenu-c++-generic-expression): Treat structs + * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Treat structs like classes. - * cc-mode.el (c-mode, c++-mode, java-mode, objc-mode) + * progmodes/cc-mode.el (c-mode, c++-mode, java-mode, objc-mode) (pike-mode): Populate the default abbrev tables to reindent for keywords such as "else" that can continue earlier statements. Abbrev mode is therefore turned on by default now. (Note that @@ -4518,30 +4505,30 @@ 2000-03-21 Martin Stjernholm - * cc-engine.el (c-inside-bracelist-p): Fix for handling + * progmodes/cc-engine.el (c-inside-bracelist-p): Fix for handling bracelists where the declaration contains template arguments. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-comment-indent): + * progmodes/cc-cmds.el (c-comment-indent): Use `c-get-syntactic-indentation' to correctly calculate the syntactic indentation. Fixes bug with lineup functions that return vectors. - * cc-engine.el (c-get-syntactic-indentation): Split the + * progmodes/cc-engine.el (c-get-syntactic-indentation): Split the indentation sum calculation from `c-indent-line' to a separate function. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-beginning-of-statement, c-comment-indent): + * progmodes/cc-cmds.el (c-beginning-of-statement, c-comment-indent): Fixed places where it was assumed that preprocessor directives have to start in column zero. - * cc-engine.el (c-beginning-of-member-init-list): Handle C++ + * progmodes/cc-engine.el (c-beginning-of-member-init-list): Handle C++ template arguments after a class identifier properly. - * cc-engine.el (c-guess-basic-syntax): Treat initializer brace + * progmodes/cc-engine.el (c-guess-basic-syntax): Treat initializer brace lists for `new Foo[]' constructs in Java as expressions and not top level definition brace lists on the top level, so that they'll get indented consistently with the same type of @@ -4549,25 +4536,26 @@ 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-fill-paragraph): The kludge that checks + * progmodes/cc-cmds.el (c-fill-paragraph): The kludge that checks whether the adaptive filling package fails to keep the comment prefix is now kludged further to check for filladapt-mode which doesn't have that problem. This is really icky, but it's the only way that works with the current misfeatures/bugs in both adaptive-fill-mode and filladapt-mode. - * cc-cmds.el (c-fill-paragraph): Made the way the paragraph + * progmodes/cc-cmds.el (c-fill-paragraph): Made the way the paragraph around point is recognized more robust. 2000-03-21 Martin Stjernholm - * cc-cmds.el, cc-engine.el, cc-lobotomy.el (c-state-cache) + * progmodes/cc-cmds.el, progmodes/cc-engine.el: + * progmodes/cc-lobotomy.el (c-state-cache) (c-in-literal-cache, c-auto-fill-prefix, c-lit-limits) (c-lit-type): Fixed all internal variables used dynamically so that they are always bound. - * cc-cmds.el, cc-engine.el: Improved recovery of syntactic - errors: + * progmodes/cc-cmds.el, progmodes/cc-engine.el: + Improve recovery of syntactic errors: (c-indent-region): Fixed reporting of syntactic errors so that the region is fully reindented even when an error occurs. @@ -4594,22 +4582,23 @@ 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-beginning-of-statement): Fixed bugs with + * progmodes/cc-cmds.el (c-beginning-of-statement): Fixed bugs with paragraph recognition when moving by sentence in literals. - * cc-langs.el (c-Java-javadoc-paragraph-start): Modified paragraph - start regexp for javadoc to recognize javadoc markup in general instead - of a specific set of keywords, to be more future-safe. + * progmodes/cc-langs.el (c-Java-javadoc-paragraph-start): Modified + paragraph start regexp for javadoc to recognize javadoc markup in + general instead of a specific set of keywords, to be more future-safe. (c-Pike-pikedoc-paragraph-start) (c-Pike-pikedoc-paragraph-separate): New regexps to recognize pikedoc markup. - * cc-mode.el: Fixed initialization and use of c-current-comment-prefix. + * progmodes/cc-mode.el: + Fixed initialization and use of c-current-comment-prefix. (pike-mode): Initialize paragraph settings pikedoc recognition. - * cc-vars.el (c-default-style): Made a nicer Customize widget. + * progmodes/cc-vars.el (c-default-style): Made a nicer Customize widget. (c-comment-prefix-regexp): Made it possible to use an association list on this to specify mode specific regexps. @@ -4621,114 +4610,116 @@ 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-electric-brace): Fixed check for special brace + * progmodes/cc-cmds.el (c-electric-brace): Fixed check for special brace lists: We can't look at the syntax, since a brace list can get recognized as a plain statement-cont. - * cc-engine.el (c-guess-basic-syntax): Fixed bug where a + * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug where a special brace list opener broken over two lines got recognized as a statement on the second line. Case 9A changed. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-electric-brace): Fixed bug in c-state-cache + * progmodes/cc-cmds.el (c-electric-brace): Fixed bug in c-state-cache adjustment after line is reindented. 2000-03-21 Martin Stjernholm - * cc-defs.el (c-point): Added optional argument for position + * progmodes/cc-defs.el (c-point): Added optional argument for position to use instead of the current point. - * cc-defs.el, cc-engine.el (c-add-class-syntax): Do not add - the in-expression block symbols when the construct starts at - boi, to avoid the extra level of indentation in that case. + * progmodes/cc-defs.el, progmodes/cc-engine.el (c-add-class-syntax): + Do not add the in-expression block symbols when the construct + starts at boi, to avoid the extra level of indentation in that case. Cases 4, 16A and 17E affected. 2000-03-21 Martin Stjernholm - * cc-cmds.el: Use `indent-according-to-mode' instead of direct + * progmodes/cc-cmds.el: Use `indent-according-to-mode' instead of direct calls to `c-indent-line', to adhere better to Emacs conventions. - * cc-engine.el (c-indent-line): Use the syntax already bound + * progmodes/cc-engine.el (c-indent-line): Use the syntax already bound to `c-syntactic-context', if there is any. 2000-03-21 Martin Stjernholm - * cc-engine.el (c-get-offset): Fixed bug where the indentation + * progmodes/cc-engine.el (c-get-offset): Fixed bug where the indentation wasn't added up correctly when a lineup function returned nil. 2000-03-21 Martin Stjernholm - * cc-engine.el (c-collect-line-comments): Fixed bug where + * progmodes/cc-engine.el (c-collect-line-comments): Fixed bug where empty lines were ignored when collecting line comments backwards. 2000-03-21 Martin Stjernholm - * cc-align.el (c-lineup-dont-change): Return an absolute + * progmodes/cc-align.el (c-lineup-dont-change): Return an absolute indentation column to work correctly in the case when several syntactic elements are processed for the same line. - * cc-engine.el, cc-styles.el, cc-vars.el (c-evaluate-offset) + * progmodes/cc-engine.el, progmodes/cc-styles.el: + * progmodes/cc-vars.el (c-evaluate-offset) (c-get-offset, c-indent-line, c-valid-offset, c-read-offset) (c-set-offset): Added absolute indentation column settings by using the vector type. 2000-03-21 Martin Stjernholm - * cc-cmds.el, cc-vars.el (c-electric-paren, c-cleanup-list): + * progmodes/cc-cmds.el, progmodes/cc-vars.el + (c-electric-paren, c-cleanup-list): Implemented two new cleanups `space-before-funcall' and `compact-empty-funcall'. 2000-03-21 Martin Stjernholm - * cc-defs.el (c-paren-re, c-identifier-re): Two new macros for + * progmodes/cc-defs.el (c-paren-re, c-identifier-re): Two new macros for helping building regexps. - * cc-engine.el (c-on-identifier): New function for detecting + * progmodes/cc-engine.el (c-on-identifier): New function for detecting identifiers. It takes keywords into account. - * cc-langs.el, cc-mode.el: Added regexps for complete keyword - lists. `c-keywords' is set to a regexp matching all keywords - in the current language. + * progmodes/cc-langs.el, progmodes/cc-mode.el: Added regexps for + complete keyword lists. `c-keywords' is set to a regexp matching + all keywords in the current language. 2000-03-21 Martin Stjernholm - * cc-engine.el (c-beginning-of-statement-1): Added '#' to the + * progmodes/cc-engine.el (c-beginning-of-statement-1): Added '#' to the list of characters to skip backwards over at the beginning of a statement, since it can precede string literals in Pike. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-guess-fill-prefix): Fixed bug with prefix + * progmodes/cc-cmds.el (c-guess-fill-prefix): Fixed bug with prefix recognition when standing on the last line in a C++ comment with nothing but whitespace after the prefix. - * cc-engine.el (c-backward-to-start-of-if): Fixed bug when + * progmodes/cc-engine.el (c-backward-to-start-of-if): Fixed bug when given no limit argument. 2000-03-21 Martin Stjernholm - * cc-engine.el (c-inside-bracelist-p): Fixed brace list + * progmodes/cc-engine.el (c-inside-bracelist-p): Fixed brace list recognition for the `[]= operator symbol in Pike. 2000-03-21 Martin Stjernholm - * cc-bytecomp.el (cc-eval-when-compile): New macro that works + * progmodes/cc-bytecomp.el (cc-eval-when-compile): New macro that works around a bug in `eval-when-compile' in the byte compiler. - * cc-engine.el (c-forward-token-1): Fixed bug with return + * progmodes/cc-engine.el (c-forward-token-1): Fixed bug with return value when count is zero and there's no token start within the limit. (c-guess-basic-syntax): Don't add 'comment-intro to lines with "prefix comments", i.e. comments which are followed by code on the same line. - * cc-mode-19.el: Fixes so that checks that must be done at + * progmodes/cc-mode-19.el: Fixes so that checks that must be done at compile time also are done then. 2000-03-21 Martin Stjernholm - * cc-defs.el: Make sure cc-mode-19 is loaded both at compile + * progmodes/cc-defs.el: Make sure cc-mode-19 is loaded both at compile time and at runtime, and only when it's needed. 2000-03-21 Martin Stjernholm @@ -4738,7 +4729,7 @@ compilation orders. Thanks to Martin Buchholz for providing the basis for all this. - * cc-bytecomp.el: New file that provides some byte compilation + * progmodes/cc-bytecomp.el: New file that provides some byte compilation features: It ensures that files always are loaded from the current source directory during compilation, and it provides a set of macros to turn off specific compiler warnings for @@ -4747,61 +4738,62 @@ Fixed a nearly acyclic dependency tree (both runtime and compile-time) between all files. - * cc-defs.el: Separated all macros before the inline functions, - to ensure correct compilation. - - * cc-defs.el, cc-engine.el: Moved c-beginning-of-macro to from - cc-defs.el to cc-engine.el and made it a function instead. - - * cc-mode-19.el: Patch the byte compiler in Emacs 19 not to warn - about char-after. - - * cc-vars.el: Cope even when there isn't a custom package + * progmodes/cc-defs.el: Separated all macros before the + inline functions, to ensure correct compilation. + + * progmodes/cc-defs.el, progmodes/cc-engine.el: Moved + c-beginning-of-macro to from cc-defs.el to cc-engine.el and + made it a function instead. + + * progmodes/cc-mode-19.el: Patch the byte compiler in Emacs 19 + not to warn about char-after. + + * progmodes/cc-vars.el: Cope even when there isn't a custom package containing defcustom available. - * cc-make.el: Removed since it's no longer necessary. + * progmodes/cc-make.el: Removed since it's no longer necessary. README: Updated installation instructions. 2000-03-21 Martin Stjernholm - * cc-cmds.el, cc-langs.el, cc-mode.el: Moved around things to - improve the modularity: Moved all mode init stuff from - cc-langs.el to cc-mode.el, including the keymap - initialization; cc-langs now only contains the various - variables for configuring the language syntax. + * progmodes/cc-cmds.el, progmodes/cc-langs.el, progmodes/cc-mode.el: + Moved around things to improve the modularity: + Moved all mode init stuff from cc-langs.el to cc-mode.el, + including the keymap initialization; cc-langs now only contains + the various variables for configuring the language syntax. - * cc-engine.el, cc-styles.el (c-evaluate-offset) + * progmodes/cc-engine.el, progmodes/cc-styles.el (c-evaluate-offset) (c-get-offset): Moved from cc-styles to cc-engine since file dependency analysis suggests they belong there (which also makes more sense). Thanks to Martin Buchholz for doing the analysis. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-fn-region-is-active-p): New function that + * progmodes/cc-cmds.el (c-fn-region-is-active-p): New function that wraps the corresponding macro, for use in places that aren't compiled. Thanks to Martin Buchholz for pointing out this. - * cc-langs.el (c-mode-menu): Use c-fn-region-is-active-p. + * progmodes/cc-langs.el (c-mode-menu): Use c-fn-region-is-active-p. - * cc-mode.el (c-prepare-bug-report-hooks): Hook variable to + * progmodes/cc-mode.el (c-prepare-bug-report-hooks): Hook variable to add things to the bug report. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-guess-fill-prefix): Fixed bug where the + * progmodes/cc-cmds.el (c-guess-fill-prefix): Fixed bug where the returned prefix could contain a newline when the search for a good prefix line failed. 2000-03-21 Martin Stjernholm - * cc-cmds.el (c-toggle-auto-state, c-toggle-hungry-state) + * progmodes/cc-cmds.el (c-toggle-auto-state, c-toggle-hungry-state) (c-toggle-auto-hungry-state): Made the argument optional, as the documentation says it is. 2000-03-21 Martin Stjernholm - * cc-engine.el (c-guess-basic-syntax): Don't treat the Pike + * progmodes/cc-engine.el (c-guess-basic-syntax): Don't treat the Pike multiline string syntax, #"...", as a cpp macro. 2001-03-21 Paul Eggert @@ -15271,31 +15263,31 @@ 2000-07-24 Martin Stjernholm - * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to + * progmodes/cc-engine.el (c-looking-at-inexpr-block): Replaced a call to c-beginning-of-statement-1 that caused a bad case of recursion which could consume a lot of CPU in large classes in languages that have in-expression classes (i.e. Java and Pike). - * cc-engine.el (c-guess-basic-syntax): Check for in-expression + * progmodes/cc-engine.el (c-guess-basic-syntax): Check for in-expression statements before top level constructs (i.e. case 6 is moved before case 5 and is now case 4) to catch in-expression classes in top level expressions correctly. 2000-07-24 Martin Stjernholm - * cc-engine.el (c-guess-basic-syntax): Less naive handling of + * progmodes/cc-engine.el (c-guess-basic-syntax): Less naive handling of objc-method-intro. Case 4 removed and case 5I added. - * cc-langs.el (c-append-paragraph-start): New variable used by + * progmodes/cc-langs.el (c-append-paragraph-start): New variable used by c-common-init to get paragraph-start correct. - * cc-langs.el (c-common-init): Use c-append-paragraph-start to + * progmodes/cc-langs.el (c-common-init): Use c-append-paragraph-start to initialize paragraph-start to make it correct both with and without the javadoc special case. - * cc-mode.el (java-mode): Use c-append-paragraph-start to + * progmodes/cc-mode.el (java-mode): Use c-append-paragraph-start to initialize paragraph-start for javadoc markup. - * cc-vars.el (c-style-variables-are-local-p): Incompatible + * progmodes/cc-vars.el (c-style-variables-are-local-p): Incompatible change by defaulting this to t. It's motivated by the confusing behavior that otherwise arise from the style system when editing both java and non-java files at the same time @@ -15303,84 +15295,84 @@ 2000-07-24 Martin Stjernholm - * cc-cmds.el (c-indent-new-comment-line): Added a kludge + * progmodes/cc-cmds.el (c-indent-new-comment-line): Added a kludge similar to the one in c-fill-paragraph to check the fill prefix from the adaptive fill function for sanity. 2000-07-24 Martin Stjernholm - * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into + * progmodes/cc-defs.el (c-end-of-defun-1): Fixed forward scanning into defun block. 2000-07-24 Martin Stjernholm - * cc-align.el (c-lineup-multi-inher): Handle lines with + * progmodes/cc-align.el (c-lineup-multi-inher): Handle lines with leading comma nicely. Extended to handle member initializers too. - * cc-engine.el (c-beginning-of-inheritance-list) + * progmodes/cc-engine.el (c-beginning-of-inheritance-list) (c-guess-basic-syntax): Fixed recognition of inheritance lists when the lines begins with a comma. - * cc-vars.el (c-offsets-alist): Changed default for + * progmodes/cc-vars.el (c-offsets-alist): Changed default for member-init-cont to c-lineup-multi-inher since it now handles member initializers and indents better for leading commas. 2000-07-24 Martin Stjernholm - * cc-cmds.el (c-electric-brace): Fixed some bugs in the state + * progmodes/cc-cmds.el (c-electric-brace): Fixed some bugs in the state handling that caused class open lines to be recognized as statement-conts in some cases. - * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix + * progmodes/cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix guessed by the adaptive fill function unless point is on the first line of a block comment. - * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug + * progmodes/cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug when the buffer ends with a macro continuation char. - * cc-engine.el (c-guess-basic-syntax): Added support for + * progmodes/cc-engine.el (c-guess-basic-syntax): Added support for function definitions as statements in Pike. The first statement in a lambda block is now labeled defun-block-intro instead of statement-block-intro. - * cc-engine.el (c-narrow-out-enclosing-class): Whack the state + * progmodes/cc-engine.el (c-narrow-out-enclosing-class): Whack the state so that the class surrounding point is selected, not the one innermost in the state. - * cc-engine.el (c-guess-basic-syntax): Fixed bug in + * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug in recognition of switch labels having hanging multiline statements. - * cc-engine.el (c-beginning-of-member-init-list): Broke out + * progmodes/cc-engine.el (c-beginning-of-member-init-list): Broke out some code in c-guess-basic-syntax to a separate function. - * cc-engine.el (c-just-after-func-arglist-p): Fixed + * progmodes/cc-engine.el (c-just-after-func-arglist-p): Fixed recognition of member inits with multiple line arglists. - * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect + * progmodes/cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect member-init-cont when the commas are in funny places. 2000-07-24 Martin Stjernholm - * cc-defs.el (c-auto-newline): Removed this macro since it's + * progmodes/cc-defs.el (c-auto-newline): Removed this macro since it's not used anymore. - * cc-engine.el (c-looking-at-bos): New helper function. - * cc-engine.el (c-looking-at-inexpr-block): More tests to tell + * progmodes/cc-engine.el (c-looking-at-bos): New helper function. + * progmodes/cc-engine.el (c-looking-at-inexpr-block): More tests to tell inexpr and toplevel classes apart in Pike. - * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition + * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition of case 9A. - * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New - constant, since "class" can introduce an in-expression class - in Pike nowadays. + * progmodes/cc-langs.el, progmodes/cc-mode.el + (c-Pike-inexpr-class-key): New constant, since "class" can + introduce an in-expression class in Pike nowadays. 2000-07-24 Martin Stjernholm - * cc-align.el (c-gnu-impose-minimum): Don't impose minimum + * progmodes/cc-align.el (c-gnu-impose-minimum): Don't impose minimum indentation on cpp-macro lines. - * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro + * progmodes/cc-engine.el (c-guess-basic-syntax): Made the cpp-macro a syntax modifier like comment-intro, to make it possible to get syntactic indentation for preprocessor directives. It's incompatible wrt to lineup functions on cpp-macro, but it has @@ -15389,117 +15381,117 @@ 2000-07-24 Martin Stjernholm - * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed + * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug with missed member-init-cont when the preceding arglist is several lines. 2000-07-24 Martin Stjernholm - * cc-styles.el (c-style-alist): The basic offset for the BSD + * progmodes/cc-styles.el (c-style-alist): The basic offset for the BSD style corrected to 8. 2000-07-24 Martin Stjernholm - * cc-styles.el (c-style-alist): Adjusted the indentation of + * progmodes/cc-styles.el (c-style-alist): Adjusted the indentation of brace list openers in the gnu style. 2000-07-24 Martin Stjernholm - * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation. + * progmodes/cc-cmds.el (c-indent-command): Obey c-syntactic-indentation. - * cc-cmds.el (c-electric-brace, c-electric-slash, + * progmodes/cc-cmds.el (c-electric-brace, c-electric-slash, c-electric-star, c-electric-semi&comma, c-electric-colon, c-electric-lt-gt, c-electric-paren): Don't reindent old lines when c-syntactic-indentation is nil. - * cc-engine.el (c-beginning-of-statement-1): Fixed bug where + * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed bug where we were left at comments preceding the first statement when reaching the beginning of the buffer. - * cc-vars.el (c-syntactic-indentation): New variable to turn + * progmodes/cc-vars.el (c-syntactic-indentation): New variable to turn off all syntactic indentation. 2000-07-24 Martin Stjernholm - * cc-cmds.el (c-fill-paragraph): Keep one or two spaces + * progmodes/cc-cmds.el (c-fill-paragraph): Keep one or two spaces between the text and the block comment ender when it hangs, depending on how many there are before the fill. 2000-07-24 Martin Stjernholm - * cc-engine.el (c-beginning-of-closest-statement): New helper + * progmodes/cc-engine.el (c-beginning-of-closest-statement): New helper function to go back to the closest preceding statement start, which could be inside a conditional statement. - * cc-engine.el (c-guess-basic-syntax): Use + * progmodes/cc-engine.el (c-guess-basic-syntax): Use c-beginning-of-closest-statement in cases 10B.2, 17B and 17C. - * cc-engine.el (c-guess-basic-syntax): Better handling of + * progmodes/cc-engine.el (c-guess-basic-syntax): Better handling of arglist-intro, arglist-cont-nonempty and arglist-close when the arglist is nested inside parens. Cases 7A, 7C and 7F changed. - * cc-langs.el (c-Java-javadoc-paragraph-start): Brought + * progmodes/cc-langs.el (c-Java-javadoc-paragraph-start): Brought up-to-date with javadoc 1.2. 2000-07-24 Martin Stjernholm - * cc-engine.el (c-beginning-of-statement-1): Fixed handling of + * progmodes/cc-engine.el (c-beginning-of-statement-1): Fixed handling of multiline Pike type decls. 2000-07-24 Martin Stjernholm - * cc-cmds.el (c-indent-new-comment-line): Always break + * progmodes/cc-cmds.el (c-indent-new-comment-line): Always break multiline comments in multiline mode, regardless of comment-multi-line. 2000-07-24 Martin Stjernholm - * cc-engine.el (c-guess-basic-syntax): Fixed bug with + * progmodes/cc-engine.el (c-guess-basic-syntax): Fixed bug with fully::qualified::names in C++ member init lists. Preamble in case 5D changed. 2000-07-24 Martin Stjernholm - * cc-langs.el (c-common-init): Handling of obsolete variables + * progmodes/cc-langs.el (c-common-init): Handling of obsolete variables moved to c-initialize-cc-mode. More compatible style override when using global style variables. - * cc-mode.el (c-initialize-cc-mode): Handling of obsolete + * progmodes/cc-mode.el (c-initialize-cc-mode): Handling of obsolete variables moved here. - * cc-styles.el (c-make-styles-buffer-local): Flag style + * progmodes/cc-styles.el (c-make-styles-buffer-local): Flag style variable localness in c-style-variables-are-local-p to make the compatibility measure in c-common-init work well. - * cc-styles.el (c-set-style-1): c-special-indent-hook can no + * progmodes/cc-styles.el (c-set-style-1): c-special-indent-hook can no longer contain set-from-style. - * cc-styles.el (c-initialize-builtin-style): Don't check for + * progmodes/cc-styles.el (c-initialize-builtin-style): Don't check for set-from-style on c-special-indent-hook. - * cc-styles.el (c-copy-tree): Obsolete. The standard function + * progmodes/cc-styles.el (c-copy-tree): Obsolete. The standard function copy-alist is sufficient now. - * cc-styles.el (c-set-style, c-set-style-1, + * progmodes/cc-styles.el (c-set-style, c-set-style-1, c-get-style-variables): Fixes to variable initialization so that duplicate entries in styles have the same effect regardless of DONT-OVERRIDE. - * cc-styles.el (c-set-style-2): Fixed bug where the + * progmodes/cc-styles.el (c-set-style-2): Fixed bug where the initialization of inheriting styles failed when the dont-override flag is set. - * cc-vars.el (c-special-indent-hook): Don't use set-from-style + * progmodes/cc-vars.el (c-special-indent-hook): Don't use set-from-style on this. 2000-07-24 Martin Stjernholm - * cc-defs.el (c-forward-comment): Removed the workaround + * progmodes/cc-defs.el (c-forward-comment): Removed the workaround introduced in 5.38 since it had worse side-effects. If a line contains the string "//\"", it regarded the // as a comment start since the \ temporarily doesn't have escape syntax. 2000-07-17 Emmanuel Briot - * ada-mode.el: Got rid of all byte-compiler warnings on Emacs Load - ada-xref.el before ada-prj.el, so that the Project menu is created - when ada-prj tries to add to it. + * progmodes/ada-mode.el: Got rid of all byte-compiler warnings on + Emacs. Load ada-xref.el before ada-prj.el, so that the Project + menu is created when ada-prj tries to add to it. (ada-activate-keys-for-case): Suppress the characters that are not part of the Ada syntax. Better compatibility with else-mode. (ada-adjust-case-interactive): When auto-casing is not active, === modified file 'lisp/cedet/ChangeLog' --- lisp/cedet/ChangeLog 2014-01-08 19:16:10 +0000 +++ lisp/cedet/ChangeLog 2014-01-11 03:55:50 +0000 @@ -29,7 +29,7 @@ completable types, pull in types which are referenced through 'using' statements, and also preserve their filenames. - * semanitc/bovine/c.el (semantic/analyze/refs): Require. + * semantic/bovine/c.el (semantic/analyze/refs): Require. (semantic-analyze-tag-references): New override. Mainly copied from the default implementation, but if nothing could be found (or just the tag itself), drop all namespaces from the scope and @@ -245,7 +245,7 @@ 2013-07-29 David Engster - * lisp/cedet/cedet.el (cedet-packages): Remove speedbar since its + * cedet.el (cedet-packages): Remove speedbar since its development does no longer happens in CEDET upstream but in Emacs proper. Also remove cedet-contrib and cogre since those are only in upstream. @@ -262,7 +262,7 @@ 2013-07-27 Eric Ludlam - * lisp/cedet/semantic/edit.el (semantic-edits-splice-remove): + * semantic/edit.el (semantic-edits-splice-remove): Wrap debug message removing middle tag in semantic-edits-verbose-flag check. @@ -552,18 +552,15 @@ * srecode/srt-mode.el: * srecode/compile.el: - * semantic/elp.el: * semantic/db-el.el: * semantic/complete.el: * ede.el: - * cogre.el: * srecode/table.el: * srecode/mode.el: * srecode/insert.el: * srecode/compile.el: * semantic/decorate/include.el: * semantic/db.el: - * semantic/adebug.el: * ede/auto.el: * srecode/dictionary.el: * semantic/ede-grammar.el: @@ -2785,8 +2782,6 @@ * srecode/srt-mode.el (srecode-template-mode): Doc fix. - * files.el (auto-mode-alist): Add .srt and Project.ede. - * semantic.el (semantic-mode): Handle srecode-template-mode-hook as well. (semantic-mode): Use js-mode-hook for Javascript hook. === modified file 'lisp/gnus/ChangeLog.2' --- lisp/gnus/ChangeLog.2 2014-01-01 07:43:34 +0000 +++ lisp/gnus/ChangeLog.2 2014-01-11 03:55:50 +0000 @@ -14703,6 +14703,15 @@ * gnus-art.el, ...: Error convention changes. + * binhex.el, earcon.el, gnus-agent.el, gnus-art.el, gnus-audio.el: + * gnus-logic.el, gnus-ml.el, gnus-mlspl.el, gnus-setup.el: + * gnus-srvr.el, gnus-sum.el, gnus-uu.el, gnus-vm.el, ietf-drums.el: + * mail-parse.el, mail-prsvr.el, mail-source.el, mm-bodies.el: + * mm-decode.el, mm-encode.el, mm-partial.el, mm-util.el, mm-uu.el: + * mm-view.el, mml.el, nnimap.el, nnoo.el, parse-time.el, rfc1843.el: + * rfc2045.el, rfc2047.el, rfc2104.el, rfc2231.el, time-date.el: + * uudecode.el: Some fixes to follow coding conventions. + 2001-07-13 20:00:00 ShengHuo ZHU * gnus-sum.el (gnus-rebuild-thread): Count hidden lines too. === modified file 'lisp/org/ChangeLog' --- lisp/org/ChangeLog 2014-01-08 19:16:10 +0000 +++ lisp/org/ChangeLog 2014-01-11 03:55:50 +0000 @@ -5097,9 +5097,6 @@ * org-agenda.el (org-agenda-show-clocking-issues) (org-agenda-format-item): Silence byte compiler. - * org-colview-xemacs.el (org-agenda-columns): Silence byte - compiler. - * org-colview.el (org-agenda-columns): Silence byte compiler. * org.el (org-properties-postprocess-alist): Silence byte @@ -13446,10 +13443,6 @@ 2012-01-03 Bastien Guerry - * org-mw.el (org-mw-export-lists): Fix list export. - -2012-01-03 Bastien Guerry - * org-list.el (org-list-item-trim-br): New function. (org-list-to-generic): New parameter :nobr to use the new function. @@ -14072,11 +14065,6 @@ 2011-07-28 Bastien Guerry - * org-toc.el (org-toc-before-first-heading-p, org-toc-show) - (org-toc-get-headlines-status): Use `org-outline-regexp-bol'. - -2011-07-28 Bastien Guerry - * org.el (org-outline-regexp-bol): New defconst. (org-outline-level, org-set-font-lock-defaults, org-cycle) (org-overview, org-content, org-flag-drawer) @@ -18539,21 +18527,9 @@ * ob-ref.el (org-babel-ref-parse): Allow passing empty strings into code blocks. -2011-07-28 David Maus - - * test-org-table.el - (test-org-table/org-table-convert-refs-to-rc/3) - (test-org-table/org-table-convert-refs-to-rc/2) - (test-org-table/org-table-convert-refs-to-rc/1) - (test-org-table/org-table-convert-refs-to-an/3) - (test-org-table/org-table-convert-refs-to-an/2) - (test-org-table/org-table-convert-refs-to-an/1): Provide tests for - table formular format conversion. - 2011-07-28 Carsten Dominik - * org.el (org-sort-entries): Fix sorting with a bold emphasis at - bol. + * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol. 2011-07-28 Eric Schulte === modified file 'lisp/url/ChangeLog' --- lisp/url/ChangeLog 2014-01-08 18:31:35 +0000 +++ lisp/url/ChangeLog 2014-01-11 03:55:50 +0000 @@ -296,7 +296,7 @@ 2012-04-10 Lars Magne Ingebrigtsen - * url-domsurf.el: New file (bug#1401). + * url-domsuf.el: New file (bug#1401). * url-cookie.el (url-cookie-two-dot-domains): Remove. (url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p' === modified file 'nt/ChangeLog' --- nt/ChangeLog 2014-01-01 07:43:34 +0000 +++ nt/ChangeLog 2014-01-11 03:55:50 +0000 @@ -3291,7 +3291,7 @@ * src: Remove directory. - * src\config.h, src\paths.h: Moved to parent dir, src removed. + * src/config.h, src/paths.h: Moved to parent dir, src removed. 1995-04-09 Geoff Voelker === modified file 'src/ChangeLog' --- src/ChangeLog 2014-01-07 21:14:32 +0000 +++ src/ChangeLog 2014-01-11 03:55:50 +0000 @@ -654,7 +654,7 @@ * conf_post.h: Include . (bool_bf): New type. * dispextern.h (TRACE, PREPARE_FACE_FOR_DISPLAY): - * interval.h (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE) + * intervals.h (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE) Surround statement macro with proper 'do { ... } while (false)' brackets. * dispextern.h (IF_DEBUG): Properly parenthesize and convert to void. Args must now be expressions; all callers changed. @@ -3447,7 +3447,7 @@ (Qbool_vector_p): Declare. (CHECK_BOOL_VECTOR, ROUNDUP, BITS_PER_SIZE_T): New macros. (swap16, swap32, swap64): New inline functions. - * macfont.c (macfont_shape): Change lint_assume to assume. + * macfont.m (macfont_shape): Change lint_assume to assume. * ralloc.c: Rename ROUNDUP to PAGE_ROUNDUP throughout. * xsettings.c (parse_settings): Use new swap16 and swap32 from lisp.h instead of file-specific macros. @@ -3511,7 +3511,7 @@ * process.h, process.c (PROCESS_INLINE): * syntax.h, syntax.c (SYNTAX_INLINE): * systime.h, sysdep.c (SYSTIME_INLINE): - * termhooks.h, terminal.h (TERMHOOKS_INLINE): + * termhooks.h, terminal.c (TERMHOOKS_INLINE): * window.h, window.c (WINDOW_INLINE): Remove. All uses replaced with INLINE. @@ -3718,7 +3718,7 @@ (x_handle_dnd_message): * xsettings.c (xft_settings_event): Use 'const XEvent * const' where appropriate. - * xterm.h, gtkutil.h, xsettngs.h: Adjust related prototypes. + * xterm.h, gtkutil.h, xsettings.h: Adjust related prototypes. 2013-09-16 Dmitry Antipov @@ -3760,7 +3760,7 @@ (Fx_create_frame): Register macfont driver, make a better default font. (Fns_popup_font_panel): Get font from macfont driver, if used. - * macfont.m, macfont.h, maccuvs.h: New files. + * macfont.m, macfont.h, macuvs.h: New files. * font.h: Declare syms_of_macfont. @@ -6065,7 +6065,7 @@ New unwind-protect flavors to better type-check C callbacks. This also lessens the need to write wrappers for callbacks, and the need for make_save_pointer. - * alloca.c (free_save_value): + * alloc.c (free_save_value): * atimer.c (run_all_atimers): Now extern. * alloc.c (safe_alloca_unwind): @@ -6074,13 +6074,13 @@ * menu.c (cleanup_popup_menu) [HAVE_NS]: * minibuf.c (choose_minibuf_frame_1): * process.c (make_serial_process_unwind): - * xdisp.h (pop_message_unwind): + * xdisp.c (pop_message_unwind): * xselect.c (queue_selection_requests_unwind): Remove no-longer-needed wrapper. All uses replaced by the wrappee. - * alloca.c (record_xmalloc): + * alloc.c (record_xmalloc): Prefer record_unwind_protect_ptr to record_unwind_protect with make_save_pointer. - * alloca.c (Fgarbage_collect): + * alloc.c (Fgarbage_collect): Prefer record_unwind_protect_void to passing a dummy. * buffer.c (restore_buffer): * window.c (restore_window_configuration): @@ -6686,8 +6686,8 @@ Use emacs_open more consistently when opening files. This handles EINTR more consistently now, and makes it easier to introduce other uniform changes to file descriptor handling. - * src/systdio.h: New file. - * src/buffer.c (mmap_init): + * sysstdio.h: New file. + * buffer.c (mmap_init): * cygw32.c (chdir_to_default_directory): * dispnew.c (Fopen_termscript): * emacs.c (Fdaemon_initialized): === modified file 'src/ChangeLog.12' --- src/ChangeLog.12 2014-01-06 06:25:30 +0000 +++ src/ChangeLog.12 2014-01-11 03:55:50 +0000 @@ -2400,7 +2400,7 @@ * w32term.h (x_char_width, x_char_height): Likewise. * xfns.c (x_char_width, x_char_height): Remove. * w32fns.c (x_char_width, x_char_height): Likewise. - * nsfns.c (x_char_width, x_char_height): Likewise. + * nsfns.m (x_char_width, x_char_height): Likewise. * frame.c (Fframe_char_width): Use FRAME_COLUMN_WIDTH for all window frames. (Fframe_char_height): Likewise with FRAME_LINE_HEIGHT. === modified file 'src/ChangeLog.3' --- src/ChangeLog.3 2014-01-01 07:43:34 +0000 +++ src/ChangeLog.3 2014-01-11 03:55:50 +0000 @@ -15138,8 +15138,8 @@ 1989-06-23 Joseph Arceneaux (jla@apple-gunkies.ai.mit.edu) - * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp - function x-color-screen-p in x-win.el. + * xfns.c: C routine Fscreen_color_p now lisp + function x-color-screen-p in lisp/term/x-win.el. (x_set_cursor_color): New method: first disallow same cursor as background, then if cursor not foreground, use it as cursor foreground. === modified file 'test/ChangeLog' --- test/ChangeLog 2014-01-01 07:43:34 +0000 +++ test/ChangeLog 2014-01-11 03:55:50 +0000 @@ -44,8 +44,8 @@ 2013-12-12 Nathan Trapuzzano - * automated/python-test.el (python-indent-block-enders-1): Rename - from python-indent-block-enders. + * automated/python-tests.el (python-indent-block-enders-1): + Rename from python-indent-block-enders. (python-indent-block-enders-2): New test. 2013-12-08 Dmitry Gutov @@ -131,9 +131,8 @@ 2013-11-20 Bozhidar Batsov - * test/automated/ruby-mode-tests.el (ruby-exit!-font-lock): + * automated/ruby-mode-tests.el (ruby-exit!-font-lock): Add a failing test for Bug#15874. - * test/automated/ruby-mode-tests.el (ruby--insert-coding-comment-ruby-style) (ruby--insert-coding-comment-emacs-style) (ruby--insert-coding-comment-custom-style): @@ -353,7 +352,7 @@ 2013-10-17 Barry O'Reilly - * test/automated/timer-tests.el: New file. Tests that (sit-for 0) + * automated/timer-tests.el: New file. Tests that (sit-for 0) allows another timer to run. 2013-10-14 Dmitry Gutov @@ -449,7 +448,7 @@ 2013-09-22 Daniel Colascione - * automated/data-test.el: + * automated/data-tests.el: (bool-vector-count-matches-all-0-nil) (bool-vector-count-matches-all-0-t) (bool-vector-count-matches-1-il, bool-vector-count-matches-1-t) @@ -523,8 +522,8 @@ 2013-08-14 Daniel Hackney - * package-test.el: Remove tar-package-building functions. Tar file - used for testing is included in the repository. + * automated/package-test.el: Remove tar-package-building functions. + Tar file used for testing is included in the repository. (package-test-install-texinfo, package-test-cleanup-built-files): Remove. @@ -772,7 +771,7 @@ 2013-05-26 Aidan Gauland - * tests/eshell.el: Rewrite tests using ERT. + * eshell.el: Rewrite tests using ERT. 2013-05-25 Leo Liu @@ -802,7 +801,7 @@ 2013-04-01 Masatake YAMATO - * automated/imenu-tests.el: New file. (Bug#14112) + * automated/imenu-test.el: New file. (Bug#14112) 2013-04-19 Fabián Ezequiel Gallina @@ -1161,7 +1160,7 @@ * automated/newsticker-tests.el (newsticker--group-manage-orphan-feeds): Use fset instead of flet. - * trunk/test/automated/newsticker-tests.el + * automated/newsticker-tests.el (newsticker--group-manage-orphan-feeds): Prevent updating newsticker treeview. Fixed bug#9763. ------------------------------------------------------------ revno: 115967 committer: Glenn Morris branch nick: trunk timestamp: Fri 2014-01-10 15:19:31 -0500 message: * lisp/emacs-lisp/authors.el (authors-fixed-entries): Update for files that no longer exist. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-10 17:13:10 +0000 +++ lisp/ChangeLog 2014-01-10 20:19:31 +0000 @@ -1,7 +1,12 @@ +2014-01-10 Glenn Morris + + * emacs-lisp/authors.el (authors-fixed-entries): + Update for files that no longer exist. + 2014-01-10 Eric S. Raymond * version.el (emacs-bzr-get-version): Restore compatibilty with - 23.1 (Tested). + 24.3 (Tested). 2014-01-10 Bozhidar Batsov === modified file 'lisp/emacs-lisp/authors.el' --- lisp/emacs-lisp/authors.el 2014-01-10 12:22:58 +0000 +++ lisp/emacs-lisp/authors.el 2014-01-10 20:19:31 +0000 @@ -421,11 +421,15 @@ ("David M. Brown" :wrote "array.el") ;; No longer distributed. ;;; ("Gary Byers" :changed "xenix.h") - ("Shawn M. Carey" :wrote "freebsd.h") + ;; No longer distributed: freebsd.h + ;; Only trivial pieces remain, merged into configure.ac. + ("Shawn M. Carey" :wrote "[some early FreeBSD support]") ;; hp800.h renamed from hp9000s800.h, hpux.h merged into hpux10-20.h. ;; FIXME overwritten by Author:. ("Satyaki Das" :cowrote "mh-search.el") - ("Eric Decker" :changed "hp800.h" "hpux10-20.h" "sysdep.c") + ;; No longer distributed: hp800.h, hpux10-20.h. + ;; Only trivial pieces remain, merged into configure.ac. + ("Eric Decker" :changed "sysdep.c (and other files for HP-UX support)") ("Lawrence R. Dodd" :cowrote "dired-x.el") ;; No longer distributed. ;;; ("Viktor Dukhovni" :wrote "unexsunos4.c") @@ -456,15 +460,16 @@ "process.c" "sysdep.c" "unexcoff.c") ;; No longer distributed. ;;; ("Ishikawa Chiaki" :changed "aviion.h" "dgux.h") - ;; ymakefile no longer distributed. - ("Michael K. Johnson" :changed "configure.ac" "emacs.c" "intel386.h" - "mem-limits.h" "process.c" "template.h" "sysdep.c" "syssignal.h" - "systty.h" "unexcoff.c" "linux.h") + ;; No longer distributed: ymakefile, intel386.h, mem-limits.h, template.h, + ;; linux.h (was renamed to lignux.h, then to gnu-linux.h, then removed) + ("Michael K. Johnson" :changed "configure.ac" "emacs.c" + "process.c" "sysdep.c" "syssignal.h" "systty.h" "unexcoff.c") ;; No longer distributed. ;;; ("Kyle Jones" :wrote "mldrag.el") ("Henry Kautz" :wrote "bib-mode.el") - ;; No longer distributed: vms-pwd.h, vmsfns.c, uaf.h. - ("Joseph M. Kelsey" :changed "fileio.c" "dir.h") + ;; No longer distributed: vms-pwd.h, vmsfns.c, uaf.h, + ;; dir.h (was renamed to vmsdir.h, then removed) + ("Joseph M. Kelsey" :changed "fileio.c") ("Sam Kendall" :changed "etags.c" "etags.el") ;; ack.texi: "We're not using his backquote.el any more." ("Richard King" :wrote "userlock.el" "filelock.c") @@ -503,7 +508,7 @@ ("Mark Neale" :changed "fortran.el") ;; Renamed from sc.el. ("Martin Neitzel" :changed "supercite.el") - ("Andrew Oram" :changed "calendar.texi (and other files in man/)") + ("Andrew Oram" :changed "calendar.texi (and other doc files)") ("Frederic Pierresteguy" :wrote "widget.c") ("Michael D. Prange" :changed "tex-mode.el") ;; No longer distributed (dgux5-4r3.h was renamed to dgux5-4-3.h). @@ -516,8 +521,9 @@ ;;; ("Guillermo J. Rozas" :wrote "fakemail.c") ("Wolfgang Rupprecht" :changed "lisp-mode.el" "loadup.el" "sort.el" "alloc.c" "callint.c" - ;; config.in renamed from config.h.in; ecrt0.c from crt0.c. - "config.in" "ecrt0.c" "data.c" "fns.c" + ;; config.in renamed from config.h.in, now a generated file. + ;; ecrt0.c renamed from crt0.c, then removed. + "data.c" "fns.c" "lisp.h" "lread.c" ; "sun3.h" "ymakefile" - no longer distributed "print.c" :wrote "float-sup.el" "floatfns.c") ("Schlumberger Technology Corporation" :changed "gud.el") @@ -543,7 +549,8 @@ ("Spencer Thomas" :changed "emacsclient.c" "server.el" "dabbrev.el" "unexcoff.c" "gnus.texi") ("Jonathan Vail" :changed "vc.el") - ("James Van Artsdalen" :changed "usg5-4.h" "unexcoff.c") + ;; No longer distributed: usg5-4.h + ("James Van Artsdalen" :changed "unexcoff.c") ;; No longer distributed: src/makefile.nt, lisp/makefile.nt ;; winnt.el renamed to w32-fns.el; nt.[ch] to w32.[ch]; ;; ntheap.[ch] to w32heap.[ch]; ntinevt.c to w32inevt.c; ------------------------------------------------------------ revno: 115966 committer: Stefan Monnier branch nick: trunk timestamp: Fri 2014-01-10 14:40:32 -0500 message: * doc/lispref/functions.texi (Advising Functions): New section. * doc/lispref/modes.texi (Running Hooks): Don't document with-wrapper-hook and run-hook-wrapped any more. (Hooks): Link to the new Advising Functions node. * doc/lispref/elisp.texi (Top): Don't include advice.texi. * doc/lispref/advice.texi: Remove. * doc/lispref/makefile.w32-in (srcs): * doc/lispref/Makefile.in (srcs): Adjust accordingly. * doc/misc/cl.texi (Function Bindings): Fix incorrect description of cl-let. diff: === modified file 'admin/FOR-RELEASE' --- admin/FOR-RELEASE 2013-11-05 17:12:05 +0000 +++ admin/FOR-RELEASE 2014-01-10 19:40:32 +0000 @@ -218,7 +218,6 @@ ** Check the Lisp manual. abbrevs.texi rgm -advice.texi cyd anti.texi rgm back.texi rgm backups.texi cyd === modified file 'doc/lispref/ChangeLog' --- doc/lispref/ChangeLog 2014-01-10 17:54:32 +0000 +++ doc/lispref/ChangeLog 2014-01-10 19:40:32 +0000 @@ -1,3 +1,14 @@ +2014-01-10 Stefan Monnier + + * functions.texi (Advising Functions): New section. + * modes.texi (Running Hooks): Don't document with-wrapper-hook and + run-hook-wrapped any more. + (Hooks): Link to the new Advising Functions node. + * elisp.texi (Top): Don't include advice.texi. + * advice.texi: Remove. + * makefile.w32-in (srcs): + * Makefile.in (srcs): Adjust accordingly. + 2014-01-09 Rüdiger Sonderfeld * text.texi (Parsing HTML/XML): Document `shr-insert-document'. === modified file 'doc/lispref/Makefile.in' --- doc/lispref/Makefile.in 2014-01-01 07:43:34 +0000 +++ doc/lispref/Makefile.in 2014-01-10 19:40:32 +0000 @@ -76,7 +76,6 @@ $(srcdir)/elisp.texi \ $(emacsdir)/emacsver.texi \ $(srcdir)/abbrevs.texi \ - $(srcdir)/advice.texi \ $(srcdir)/anti.texi \ $(srcdir)/backups.texi \ $(srcdir)/buffers.texi \ === removed file 'doc/lispref/advice.texi' --- doc/lispref/advice.texi 2014-01-01 07:43:34 +0000 +++ doc/lispref/advice.texi 1970-01-01 00:00:00 +0000 @@ -1,749 +0,0 @@ -@c -*-texinfo-*- -@c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1998-1999, 2001-2014 Free Software Foundation, Inc. -@c See the file elisp.texi for copying conditions. -@node Advising Functions -@chapter Advising Emacs Lisp Functions -@cindex advising functions - -@cindex piece of advice - The @dfn{advice} feature lets you add to the existing definition of -a function, by @dfn{advising the function}. A function can have -multiple @dfn{pieces of advice}, each of which can be separately -defined, and separately enabled or disabled (@pxref{Activation of -Advice}). Each piece of advice can alter almost anything about the -function, including its argument list, what the function does when it -runs, and the value it returns. - - Advice can be useful for altering the behavior of an existing -function without having to redefine the whole function. However, it -can be a source of bugs, since existing callers to the function may -assume the old behavior, and work incorrectly when the behavior is -changed by advice. Advice can also cause confusion in debugging, if -the person doing the debugging does not notice or remember that the -function has been modified by advice. - - For these reasons, advice should be reserved for the cases where you -cannot modify a function's behavior in any other way. If it is -possible to do the same thing via a hook, that is preferable -(@pxref{Hooks}). If you simply want to change what a particular key -does, it may be better to write a new command, and remap the old -command's key bindings to the new one (@pxref{Remapping Commands}). -In particular, Emacs's own source files should not put advice on -functions in Emacs. (There are currently a few exceptions to this -convention, but we aim to correct them.) - - Macros can also be advised, in much the same way as functions. -However, special forms (@pxref{Special Forms}) cannot be advised. - - It is possible to advise a primitive (@pxref{What Is a Function}), -but one should typically @emph{not} do so, for two reasons. Firstly, -some primitives are used by the advice mechanism, and advising them -could cause an infinite recursion. Secondly, many primitives are -called directly from C, and such calls ignore advice; hence, one ends -up in a confusing situation where some calls (occurring from Lisp -code) obey the advice and other calls (from C code) do not. - -@menu -* Simple Advice:: A simple example to explain the basics of advice. -* Defining Advice:: Detailed description of @code{defadvice}. -* Around-Advice:: Wrapping advice around a function's definition. -* Computed Advice:: ...is to @code{defadvice} as @code{fset} is to @code{defun}. -* Activation of Advice:: Advice doesn't do anything until you activate it. -* Enabling Advice:: You can enable or disable each piece of advice. -* Preactivation:: Preactivation is a way of speeding up the - loading of compiled advice. -* Argument Access in Advice:: How advice can access the function's arguments. -* Combined Definition:: How advice is implemented. -@end menu - -@node Simple Advice -@section A Simple Advice Example - - The command @code{next-line} moves point down vertically one or more -lines; it is the standard binding of @kbd{C-n}. When used on the last -line of the buffer, this command inserts a newline to create a line to -move to if @code{next-line-add-newlines} is non-@code{nil} (its default -is @code{nil}.) - - Suppose you wanted to add a similar feature to @code{previous-line}, -which would insert a new line at the beginning of the buffer for the -command to move to (when @code{next-line-add-newlines} is -non-@code{nil}). How could you do this? - - You could do it by redefining the whole function, but that is not -modular. The advice feature provides a cleaner alternative: you can -effectively add your code to the existing function definition, without -actually changing or even seeing that definition. Here is how to do -this: - -@example -(defadvice previous-line (before next-line-at-end - (&optional arg try-vscroll)) - "Insert an empty line when moving up from the top line." - (if (and next-line-add-newlines (= arg 1) - (save-excursion (beginning-of-line) (bobp))) - (progn - (beginning-of-line) - (newline)))) -@end example - - This expression defines a @dfn{piece of advice} for the function -@code{previous-line}. This piece of advice is named -@code{next-line-at-end}, and the symbol @code{before} says that it is -@dfn{before-advice} which should run before the regular definition of -@code{previous-line}. @code{(&optional arg try-vscroll)} specifies -how the advice code can refer to the function's arguments. - - When this piece of advice runs, it creates an additional line, in the -situation where that is appropriate, but does not move point to that -line. This is the correct way to write the advice, because the normal -definition will run afterward and will move back to the newly inserted -line. - - Defining the advice doesn't immediately change the function -@code{previous-line}. That happens when you @dfn{activate} the advice, -like this: - -@example -(ad-activate 'previous-line) -@end example - -@noindent -This is what actually begins to use the advice that has been defined so -far for the function @code{previous-line}. Henceforth, whenever that -function is run, whether invoked by the user with @kbd{C-p} or -@kbd{M-x}, or called from Lisp, it runs the advice first, and its -regular definition second. - - This example illustrates before-advice, which is one @dfn{class} of -advice: it runs before the function's base definition. There are two -other advice classes: @dfn{after-advice}, which runs after the base -definition, and @dfn{around-advice}, which lets you specify an -expression to wrap around the invocation of the base definition. - -@node Defining Advice -@section Defining Advice -@cindex defining advice -@cindex advice, defining - - To define a piece of advice, use the macro @code{defadvice}. A call -to @code{defadvice} has the following syntax, which is based on the -syntax of @code{defun} and @code{defmacro}, but adds more: - -@findex defadvice -@example -(defadvice @var{function} (@var{class} @var{name} - @r{[}@var{position}@r{]} @r{[}@var{arglist}@r{]} - @var{flags}...) - @r{[}@var{documentation-string}@r{]} - @r{[}@var{interactive-form}@r{]} - @var{body-forms}...) -@end example - -@noindent -Here, @var{function} is the name of the function (or macro) to be -advised. From now on, we will write just ``function'' when describing -the entity being advised, but this always includes macros. - - In place of the argument list in an ordinary definition, an advice -definition calls for several different pieces of information. - -@cindex class of advice -@cindex before-advice -@cindex after-advice -@cindex around-advice -@var{class} specifies the @dfn{class} of the advice---one of @code{before}, -@code{after}, or @code{around}. Before-advice runs before the function -itself; after-advice runs after the function itself; around-advice is -wrapped around the execution of the function itself. After-advice and -around-advice can override the return value by setting -@code{ad-return-value}. - -@defvar ad-return-value -While advice is executing, after the function's original definition has -been executed, this variable holds its return value, which will -ultimately be returned to the caller after finishing all the advice. -After-advice and around-advice can arrange to return some other value -by storing it in this variable. -@end defvar - -The argument @var{name} is the name of the advice, a non-@code{nil} -symbol. The advice name uniquely identifies one piece of advice, within all -the pieces of advice in a particular class for a particular -@var{function}. The name allows you to refer to the piece of -advice---to redefine it, or to enable or disable it. - -The optional @var{position} specifies where, in the current list of -advice of the specified @var{class}, this new advice should be placed. -It should be either @code{first}, @code{last} or a number that specifies -a zero-based position (@code{first} is equivalent to 0). If no position -is specified, the default is @code{first}. Position values outside the -range of existing positions in this class are mapped to the beginning or -the end of the range, whichever is closer. The @var{position} value is -ignored when redefining an existing piece of advice. - -The optional @var{arglist} can be used to define the argument list for -the sake of advice. This becomes the argument list of the combined -definition that is generated in order to run the advice (@pxref{Combined -Definition}). Therefore, the advice expressions can use the argument -variables in this list to access argument values. - -The argument list used in advice need not be the same as the argument -list used in the original function, but must be compatible with it, so -that it can handle the ways the function is actually called. If two -pieces of advice for a function both specify an argument list, they must -specify the same argument list. - -@xref{Argument Access in Advice}, for more information about argument -lists and advice, and a more flexible way for advice to access the -arguments. - -The remaining elements, @var{flags}, are symbols that specify further -information about how to use this piece of advice. Here are the valid -symbols and their meanings: - -@table @code -@item activate -Activate the advice for @var{function} now. Changes in a function's -advice always take effect the next time you activate advice for the -function; this flag says to do so, for @var{function}, immediately after -defining this piece of advice. - -@cindex forward advice -This flag has no immediate effect if @var{function} itself is not defined yet (a -situation known as @dfn{forward advice}), because it is impossible to -activate an undefined function's advice. However, defining -@var{function} will automatically activate its advice. - -@item protect -Protect this piece of advice against non-local exits and errors in -preceding code and advice. Protecting advice places it as a cleanup in -an @code{unwind-protect} form, so that it will execute even if the -previous code gets an error or uses @code{throw}. @xref{Cleanups}. - -@item compile -Compile the combined definition that is used to run the advice. This -flag is ignored unless @code{activate} is also specified. -@xref{Combined Definition}. - -@item disable -Initially disable this piece of advice, so that it will not be used -unless subsequently explicitly enabled. @xref{Enabling Advice}. - -@item preactivate -Activate advice for @var{function} when this @code{defadvice} is -compiled or macroexpanded. This generates a compiled advised definition -according to the current advice state, which will be used during -activation if appropriate. @xref{Preactivation}. - -This is useful only if this @code{defadvice} is byte-compiled. -@end table - -The optional @var{documentation-string} serves to document this piece of -advice. When advice is active for @var{function}, the documentation for -@var{function} (as returned by @code{documentation}) combines the -documentation strings of all the advice for @var{function} with the -documentation string of its original function definition. - -The optional @var{interactive-form} form can be supplied to change the -interactive behavior of the original function. If more than one piece -of advice has an @var{interactive-form}, then the first one (the one -with the smallest position) found among all the advice takes precedence. - -The possibly empty list of @var{body-forms} specifies the body of the -advice. The body of an advice can access or change the arguments, the -return value, the binding environment, and perform any other kind of -side effect. - -@strong{Warning:} When you advise a macro, keep in mind that macros are -expanded when a program is compiled, not when a compiled program is run. -All subroutines used by the advice need to be available when the byte -compiler expands the macro. - -@deffn Command ad-unadvise function -This command deletes all pieces of advice from @var{function}. -@end deffn - -@deffn Command ad-unadvise-all -This command deletes all pieces of advice from all functions. -@end deffn - -@node Around-Advice -@section Around-Advice - - Around-advice lets you ``wrap'' a Lisp expression ``around'' the -original function definition. You specify where the original function -definition should go by means of the special symbol @code{ad-do-it}. -Where this symbol occurs inside the around-advice body, it is replaced -with a @code{progn} containing the forms of the surrounded code. Here -is an example: - -@example -(defadvice foo (around foo-around) - "Ignore case in `foo'." - (let ((case-fold-search t)) - ad-do-it)) -@end example - -@noindent -Its effect is to make sure that case is ignored in -searches when the original definition of @code{foo} is run. - -@defvar ad-do-it -This is not really a variable, rather a place-holder that looks like a -variable. You use it in around-advice to specify the place to run the -function's original definition and other ``earlier'' around-advice. -@end defvar - -If the around-advice does not use @code{ad-do-it}, then it does not run -the original function definition. This provides a way to override the -original definition completely. (It also overrides lower-positioned -pieces of around-advice). - -If the around-advice uses @code{ad-do-it} more than once, the original -definition is run at each place. In this way, around-advice can execute -the original definition (and lower-positioned pieces of around-advice) -several times. Another way to do that is by using @code{ad-do-it} -inside of a loop. - -@node Computed Advice -@section Computed Advice - -The macro @code{defadvice} resembles @code{defun} in that the code for -the advice, and all other information about it, are explicitly stated in -the source code. You can also create advice whose details are computed, -using the function @code{ad-add-advice}. - -@defun ad-add-advice function advice class position -Calling @code{ad-add-advice} adds @var{advice} as a piece of advice to -@var{function} in class @var{class}. The argument @var{advice} has -this form: - -@example -(@var{name} @var{protected} @var{enabled} @var{definition}) -@end example - -@noindent -Here, @var{protected} and @var{enabled} are flags; if @var{protected} -is non-@code{nil}, the advice is protected against non-local exits -(@pxref{Defining Advice}), and if @var{enabled} is @code{nil} the -advice is initially disabled (@pxref{Enabling Advice}). -@var{definition} should have the form - -@example -(advice . @var{lambda}) -@end example - -@noindent -where @var{lambda} is a lambda expression; this lambda expression is -called in order to perform the advice. @xref{Lambda Expressions}. - -If the @var{function} argument to @code{ad-add-advice} already has one -or more pieces of advice in the specified @var{class}, then -@var{position} specifies where in the list to put the new piece of -advice. The value of @var{position} can either be @code{first}, -@code{last}, or a number (counting from 0 at the beginning of the -list). Numbers outside the range are mapped to the beginning or the -end of the range, whichever is closer. The @var{position} value is -ignored when redefining an existing piece of advice. - -If @var{function} already has a piece of @var{advice} with the same -name, then the position argument is ignored and the old advice is -replaced with the new one. -@end defun - -@node Activation of Advice -@section Activation of Advice -@cindex activating advice -@cindex advice, activating - -By default, advice does not take effect when you define it---only when -you @dfn{activate} advice for the function. However, the advice will -be activated automatically if you define or redefine the function -later. You can request the activation of advice for a function when -you define the advice, by specifying the @code{activate} flag in the -@code{defadvice}; or you can activate the advice separately by calling -the function @code{ad-activate} or one of the other activation -commands listed below. - -Separating the activation of advice from the act of defining it permits -you to add several pieces of advice to one function efficiently, without -redefining the function over and over as each advice is added. More -importantly, it permits defining advice for a function before that -function is actually defined. - -When a function's advice is first activated, the function's original -definition is saved, and all enabled pieces of advice for that function -are combined with the original definition to make a new definition. -(Pieces of advice that are currently disabled are not used; see -@ref{Enabling Advice}.) This definition is installed, and optionally -byte-compiled as well, depending on conditions described below. - -In all of the commands to activate advice, if @var{compile} is -@code{t} (or anything but @code{nil} or a negative number), the -command also compiles the combined definition which implements the -advice. If it is @code{nil} or a negative number, what happens -depends on @code{ad-default-compilation-action} as described below. - -@deffn Command ad-activate function &optional compile -This command activates all the advice defined for @var{function}. -@end deffn - - Activating advice does nothing if @var{function}'s advice is already -active. But if there is new advice, added since the previous time you -activated advice for @var{function}, it activates the new advice. - -@deffn Command ad-deactivate function -This command deactivates the advice for @var{function}. -@cindex deactivating advice -@c @cindex advice, deactivating "advice, activating" is just above -@end deffn - -@deffn Command ad-update function &optional compile -This command activates the advice for @var{function} -if its advice is already activated. This is useful -if you change the advice. -@end deffn - -@deffn Command ad-activate-all &optional compile -This command activates the advice for all functions. -@end deffn - -@deffn Command ad-deactivate-all -This command deactivates the advice for all functions. -@end deffn - -@deffn Command ad-update-all &optional compile -This command activates the advice for all functions -whose advice is already activated. This is useful -if you change the advice of some functions. -@end deffn - -@deffn Command ad-activate-regexp regexp &optional compile -This command activates all pieces of advice whose names match -@var{regexp}. More precisely, it activates all advice for any function -which has at least one piece of advice that matches @var{regexp}. -@end deffn - -@deffn Command ad-deactivate-regexp regexp -This command deactivates all pieces of advice whose names match -@var{regexp}. More precisely, it deactivates all advice for any -function which has at least one piece of advice that matches -@var{regexp}. -@end deffn - -@deffn Command ad-update-regexp regexp &optional compile -This command activates pieces of advice whose names match @var{regexp}, -but only those for functions whose advice is already activated. -@cindex reactivating advice - -Reactivating a function's advice is useful for putting into effect all -the changes that have been made in its advice (including enabling and -disabling specific pieces of advice; @pxref{Enabling Advice}) since the -last time it was activated. -@end deffn - -@deffn Command ad-start-advice -Turn on automatic advice activation when a function is defined or -redefined. This is the default mode. -@end deffn - -@deffn Command ad-stop-advice -Turn off automatic advice activation when a function is defined or -redefined. -@end deffn - -@defopt ad-default-compilation-action -This variable controls whether to compile the combined definition -that results from activating advice for a function. - -A value of @code{always} specifies to compile unconditionally. -A value of @code{never} specifies never compile the advice. - -A value of @code{maybe} specifies to compile if the byte compiler is -already loaded. A value of @code{like-original} specifies to compile -the advice if the original definition of the advised function is -compiled or a built-in function. - -This variable takes effect only if the @var{compile} argument of -@code{ad-activate} (or any of the above functions) did not force -compilation. -@end defopt - - If the advised definition was constructed during ``preactivation'' -(@pxref{Preactivation}), then that definition must already be compiled, -because it was constructed during byte-compilation of the file that -contained the @code{defadvice} with the @code{preactivate} flag. - -@node Enabling Advice -@section Enabling and Disabling Advice -@cindex enabling advice -@cindex advice, enabling and disabling -@cindex disabling advice - - Each piece of advice has a flag that says whether it is enabled or -not. By enabling or disabling a piece of advice, you can turn it on -and off without having to undefine and redefine it. For example, here is -how to disable a particular piece of advice named @code{my-advice} for -the function @code{foo}: - -@example -(ad-disable-advice 'foo 'before 'my-advice) -@end example - - This function by itself only changes the enable flag for a piece of -advice. To make the change take effect in the advised definition, you -must activate the advice for @code{foo} again: - -@example -(ad-activate 'foo) -@end example - -@deffn Command ad-disable-advice function class name -This command disables the piece of advice named @var{name} in class -@var{class} on @var{function}. -@end deffn - -@deffn Command ad-enable-advice function class name -This command enables the piece of advice named @var{name} in class -@var{class} on @var{function}. -@end deffn - - You can also disable many pieces of advice at once, for various -functions, using a regular expression. As always, the changes take real -effect only when you next reactivate advice for the functions in -question. - -@deffn Command ad-disable-regexp regexp -This command disables all pieces of advice whose names match -@var{regexp}, in all classes, on all functions. -@end deffn - -@deffn Command ad-enable-regexp regexp -This command enables all pieces of advice whose names match -@var{regexp}, in all classes, on all functions. -@end deffn - -@node Preactivation -@section Preactivation -@cindex preactivating advice -@cindex advice, preactivating - - Constructing a combined definition to execute advice is moderately -expensive. When a library advises many functions, this can make loading -the library slow. In that case, you can use @dfn{preactivation} to -construct suitable combined definitions in advance. - - To use preactivation, specify the @code{preactivate} flag when you -define the advice with @code{defadvice}. This @code{defadvice} call -creates a combined definition which embodies this piece of advice -(whether enabled or not) plus any other currently enabled advice for the -same function, and the function's own definition. If the -@code{defadvice} is compiled, that compiles the combined definition -also. - - When the function's advice is subsequently activated, if the enabled -advice for the function matches what was used to make this combined -definition, then the existing combined definition is used, thus avoiding -the need to construct one. Thus, preactivation never causes wrong -results---but it may fail to do any good, if the enabled advice at the -time of activation doesn't match what was used for preactivation. - - Here are some symptoms that can indicate that a preactivation did not -work properly, because of a mismatch. - -@itemize @bullet -@item -Activation of the advised -function takes longer than usual. -@item -The byte compiler gets -loaded while an advised function gets activated. -@item -@code{byte-compile} is included in the value of @code{features} even -though you did not ever explicitly use the byte compiler. -@end itemize - -Compiled preactivated advice works properly even if the function itself -is not defined until later; however, the function needs to be defined -when you @emph{compile} the preactivated advice. - -There is no elegant way to find out why preactivated advice is not being -used. What you can do is to trace the function -@code{ad-cache-id-verification-code} (with the function -@code{trace-function-background}) before the advised function's advice -is activated. After activation, check the value returned by -@code{ad-cache-id-verification-code} for that function: @code{verified} -means that the preactivated advice was used, while other values give -some information about why they were considered inappropriate. - - @strong{Warning:} There is one known case that can make preactivation -fail, in that a preconstructed combined definition is used even though -it fails to match the current state of advice. This can happen when two -packages define different pieces of advice with the same name, in the -same class, for the same function. But you should avoid that anyway. - -@node Argument Access in Advice -@section Argument Access in Advice - - The simplest way to access the arguments of an advised function in the -body of a piece of advice is to use the same names that the function -definition uses. To do this, you need to know the names of the argument -variables of the original function. - - While this simple method is sufficient in many cases, it has a -disadvantage: it is not robust, because it hard-codes the argument names -into the advice. If the definition of the original function changes, -the advice might break. - - Another method is to specify an argument list in the advice itself. -This avoids the need to know the original function definition's argument -names, but it has a limitation: all the advice on any particular -function must use the same argument list, because the argument list -actually used for all the advice comes from the first piece of advice -for that function. - - A more robust method is to use macros that are translated into the -proper access forms at activation time, i.e., when constructing the -advised definition. Access macros access actual arguments by their -(zero-based) position, regardless of how these actual arguments get -distributed onto the argument variables of a function. This is robust -because in Emacs Lisp the meaning of an argument is strictly -determined by its position in the argument list. - -@defmac ad-get-arg position -This returns the actual argument that was supplied at @var{position}. -@end defmac - -@defmac ad-get-args position -This returns the list of actual arguments supplied starting at -@var{position}. -@end defmac - -@defmac ad-set-arg position value -This sets the value of the actual argument at @var{position} to -@var{value} -@end defmac - -@defmac ad-set-args position value-list -This sets the list of actual arguments starting at @var{position} to -@var{value-list}. -@end defmac - - Now an example. Suppose the function @code{foo} is defined as - -@example -(defun foo (x y &optional z &rest r) ...) -@end example - -@noindent -and is then called with - -@example -(foo 0 1 2 3 4 5 6) -@end example - -@noindent -which means that @var{x} is 0, @var{y} is 1, @var{z} is 2 and @var{r} is -@code{(3 4 5 6)} within the body of @code{foo}. Here is what -@code{ad-get-arg} and @code{ad-get-args} return in this case: - -@example -(ad-get-arg 0) @result{} 0 -(ad-get-arg 1) @result{} 1 -(ad-get-arg 2) @result{} 2 -(ad-get-arg 3) @result{} 3 -(ad-get-args 2) @result{} (2 3 4 5 6) -(ad-get-args 4) @result{} (4 5 6) -@end example - - Setting arguments also makes sense in this example: - -@example -(ad-set-arg 5 "five") -@end example - -@noindent -has the effect of changing the sixth argument to @code{"five"}. If this -happens in advice executed before the body of @code{foo} is run, then -@var{r} will be @code{(3 4 "five" 6)} within that body. - - Here is an example of setting a tail of the argument list: - -@example -(ad-set-args 0 '(5 4 3 2 1 0)) -@end example - -@noindent -If this happens in advice executed before the body of @code{foo} is run, -then within that body, @var{x} will be 5, @var{y} will be 4, @var{z} -will be 3, and @var{r} will be @code{(2 1 0)} inside the body of -@code{foo}. - - These argument constructs are not really implemented as Lisp macros. -Instead they are implemented specially by the advice mechanism. - -@node Combined Definition -@section The Combined Definition - - Suppose that a function has @var{n} pieces of before-advice -(numbered from 0 through @var{n}@minus{}1), @var{m} pieces of -around-advice and @var{k} pieces of after-advice. Assuming no piece -of advice is protected, the combined definition produced to implement -the advice for a function looks like this: - -@example -(lambda @var{arglist} - @r{[} @r{[}@var{advised-docstring}@r{]} @r{[}(interactive ...)@r{]} @r{]} - (let (ad-return-value) - @r{before-0-body-form}... - .... - @r{before-@var{n}@minus{}1-body-form}... - @r{around-0-body-form}... - @r{around-1-body-form}... - .... - @r{around-@var{m}@minus{}1-body-form}... - (setq ad-return-value - @r{apply original definition to @var{arglist}}) - @r{end-of-around-@var{m}@minus{}1-body-form}... - .... - @r{end-of-around-1-body-form}... - @r{end-of-around-0-body-form}... - @r{after-0-body-form}... - .... - @r{after-@var{k}@minus{}1-body-form}... - ad-return-value)) -@end example - -Macros are redefined as macros, which means adding @code{macro} to -the beginning of the combined definition. - -The interactive form is present if the original function or some piece -of advice specifies one. When an interactive primitive function is -advised, advice uses a special method: it calls the primitive with -@code{call-interactively} so that it will read its own arguments. -In this case, the advice cannot access the arguments. - -The body forms of the various advice in each class are assembled -according to their specified order. The forms of around-advice @var{l} -are included in one of the forms of around-advice @var{l} @minus{} 1. - -The innermost part of the around advice onion is - -@display -apply original definition to @var{arglist} -@end display - -@noindent -whose form depends on the type of the original function. The variable -@code{ad-return-value} is set to whatever this returns. The variable is -visible to all pieces of advice, which can access and modify it before -it is actually returned from the advised function. - -The semantic structure of advised functions that contain protected -pieces of advice is the same. The only difference is that -@code{unwind-protect} forms ensure that the protected advice gets -executed even if some previous piece of advice had an error or a -non-local exit. If any around-advice is protected, then the whole -around-advice onion is protected as a result. === modified file 'doc/lispref/elisp.texi' --- doc/lispref/elisp.texi 2014-01-05 23:36:13 +0000 +++ doc/lispref/elisp.texi 2014-01-10 19:40:32 +0000 @@ -194,7 +194,6 @@ * Loading:: Reading files of Lisp code into Lisp. * Byte Compilation:: Compilation makes programs run faster. -* Advising Functions:: Adding to the definition of a function. * Debugging:: Tools and tips for debugging Lisp programs. * Read and Print:: Converting Lisp objects to text and back. @@ -614,19 +613,6 @@ * Byte-Code Objects:: The data type used for byte-compiled functions. * Disassembly:: Disassembling byte-code; how to read byte-code. -Advising Emacs Lisp Functions - -* Simple Advice:: A simple example to explain the basics of advice. -* Defining Advice:: Detailed description of @code{defadvice}. -* Around-Advice:: Wrapping advice around a function's definition. -* Computed Advice:: ...is to @code{defadvice} as @code{fset} is to @code{defun}. -* Activation of Advice:: Advice doesn't do anything until you activate it. -* Enabling Advice:: You can enable or disable each piece of advice. -* Preactivation:: Preactivation is a way of speeding up the - loading of compiled advice. -* Argument Access in Advice:: How advice can access the function's arguments. -* Combined Definition:: How advice is implemented. - Debugging Lisp Programs * Debugger:: A debugger for the Emacs Lisp evaluator. @@ -1561,7 +1547,6 @@ @include customize.texi @include loading.texi @include compile.texi -@include advice.texi @c This includes edebug.texi. @include debugging.texi === modified file 'doc/lispref/functions.texi' --- doc/lispref/functions.texi 2014-01-01 07:43:34 +0000 +++ doc/lispref/functions.texi 2014-01-10 19:40:32 +0000 @@ -21,6 +21,7 @@ * Function Cells:: Accessing or setting the function definition of a symbol. * Closures:: Functions that enclose a lexical environment. +* Advising Functions:: Adding to the definition of a function. * Obsolete Functions:: Declaring functions obsolete. * Inline Functions:: Functions that the compiler will expand inline. * Declare Form:: Adding additional information about a function. @@ -1077,12 +1078,10 @@ this is not checked. The argument @var{symbol} is an ordinary evaluated argument. -The primary use of this function is as a subroutine by constructs that -define or alter functions, like @code{defadvice} (@pxref{Advising -Functions}). (If @code{defun} were not a primitive, it could be -written as a Lisp macro using @code{fset}.) You can also use it to -give a symbol a function definition that is not a list, e.g., a -keyboard macro (@pxref{Keyboard Macros}): +The primary use of this function is as a subroutine by constructs that define +or alter functions, like @code{defun} or @code{advice-add} (@pxref{Advising +Functions}). You can also use it to give a symbol a function definition that +is not a function, e.g., a keyboard macro (@pxref{Keyboard Macros}): @example ;; @r{Define a named keyboard macro.} @@ -1133,6 +1132,269 @@ implementation detail. For this reason, we recommend against directly examining or altering the structure of closure objects. +@node Advising Functions +@section Advising Emacs Lisp Functions +@cindex advising functions +@cindex piece of advice + +Any variable or object field which holds a function can be modified with the +appropriate setter function, such as @code{set-process-filter}, @code{fset}, or +@code{setq}, but those can be too blunt, completely throwing away the +previous value. + +In order to modify such hooks in a more controlled way, Emacs provides the +macros @code{add-function} and @code{remove-function}, which let you modify the +existing function value by composing it with another function. + +For example, in order to trace the calls to a process filter, you can use: + +@example +(add-function :before (process-filter proc) #'my-tracing-function) +@end example + +This will cause the process's output to be passed first to +@code{my-tracing-function} and then to the original process filter. +When you're done with it, you can revert to the untraced behavior with: + +@example +(remove-function (process-filter proc) #'my-tracing-function) +@end example + +The argument @code{:before} specifies how the two functions are composed, since +there are many different ways to do it. The added function is also called an +@emph{advice}. + +The function cell of a symbol can be manipulated similarly, but since it can +contain other things than a plain function, you have to use @var{advice-add} +and @var{advice-remove} instead, which +@c use @var{add-function} and @var{remove-function} internally, but +know how to handle cases such as when the function cell holds a macro rather +than function, or when the function is autoloaded so the advice's activation +needs to be postponed. + +@menu +* Advising Primitives:: Primitives to Manipulate Advices +* Advising Named Functions:: Advising Named Functions +@end menu + +@node Advising Primitives +@subsection Primitives to manipulate advice + +@defmac add-function where place function &optional props +This macro is the handy way to add the advice @var{function} to the function +stored in @var{place} (@pxref{Generalized Variables}). + +@var{where} determines how @var{function} is composed with the +existing function. It can be one of the following: + +@table @code +@item :before +Call @var{function} before the old function. Both functions receive the +same arguments, and the return value of the composition is the return value of +the old function. More specifically, the composition of the two functions +behaves like: +@example +(lambda (&rest r) (apply @var{function} r) (apply @var{oldfun} r)) +@end example +This is similar to @code{(add-hook @var{hook} @var{function})}, except that it +applies to single-function hooks rather than normal hooks. + +@item :after +Call @var{function} after the old function. Both functions receive the +same arguments, and the return value of the composition is the return value of +the old function. More specifically, the composition of the two functions +behaves like: +@example +(lambda (&rest r) (prog1 (apply @var{oldfun} r) (apply @var{function} r))) +@end example +This is similar to @code{(add-hook @var{hook} @var{function} nil 'append)}, +except that it applies to single-function hooks rather than normal hooks. + +@item :override +This completely replaces the old function with the new one. The old function +can of course be recovered if you later call @code{remove-function}. + +@item :around +Call @var{function} instead of the old function, but provide the old function +as an extra argument to @var{function}. This is the most flexible composition. +For example, it lets you call the old function with different arguments, or +within a let-binding, or you can sometimes delegate the work to the old +function and sometimes override it completely. More specifically, the +composition of the two functions behaves like: +@example +(lambda (&rest r) (apply @var{function} @var{oldfun} r)) +@end example + +@item :before-while +Call @var{function} before the old function and don't call the old +function if @var{function} returns @code{nil}. Both functions receive the +same arguments, and the return value of the composition is the return value of +the old function. More specifically, the composition of the two functions +behaves like: +@example +(lambda (&rest r) (and (apply @var{function} r) (apply @var{oldfun} r))) +@end example +This is reminiscent of @code{(add-hook @var{hook} @var{function})}, when +@var{hook} is run via @code{run-hook-with-args-until-failure}. + +@item :before-until +Call @var{function} before the old function and only call the old function if +@var{function} returns @code{nil}. More specifically, the composition of the +two functions behaves like: +@example +(lambda (&rest r) (or (apply @var{function} r) (apply @var{oldfun} r))) +@end example +This is reminiscent of @code{(add-hook @var{hook} @var{function})}, when +@var{hook} is run via @code{run-hook-with-args-until-success}. + +@item :after-while +Call @var{function} after the old function and only if the old function +returned non-@code{nil}. Both functions receive the same arguments, and the +return value of the composition is the return value of @var{function}. +More specifically, the composition of the two functions behaves like: +@example +(lambda (&rest r) (and (apply @var{oldfun} r) (apply @var{function} r))) +@end example +This is reminiscent of @code{(add-hook @var{hook} @var{function} nil 'append)}, +when @var{hook} is run via @code{run-hook-with-args-until-failure}. + +@item :after-until +Call @var{function} after the old function and only if the old function +returned @code{nil}. More specifically, the composition of the two functions +behaves like: +@example +(lambda (&rest r) (or (apply @var{oldfun} r) (apply @var{function} r))) +@end example +This is reminiscent of @code{(add-hook @var{hook} @var{function} nil 'append)}, +when @var{hook} is run via @code{run-hook-with-args-until-success}. + +@item :filter-args +Call @var{function} first and use the result (which should be a list) as the +new arguments to pass to the old function. More specifically, the composition +of the two functions behaves like: +@example +(lambda (&rest r) (apply @var{oldfun} (funcall @var{function} r))) +@end example + +@item :filter-return +Call the old function first and pass the result to @var{function}. +More specifically, the composition of the two functions behaves like: +@example +(lambda (&rest r) (funcall @var{function} (apply @var{oldfun} r))) +@end example +@end table + +When modifying a variable (whose name will usually end with @code{-function}), +you can choose whether @var{function} is used globally or only in the current +buffer: if @var{place} is just a symbol, then @var{function} is added to the +global value of @var{place}. Whereas if @var{place} is of the form +@code{(local @var{symbol})}, where @var{symbol} is an expression which returns +the variable name, then @var{function} will only be added in the +current buffer. + +Every function added with @code{add-function} can be accompanied by an +association list of properties @var{props}. Currently only two of those +properties have a special meaning: + +@table @code +@item name +This gives a name to the advice, which @code{remove-function} can use to +identify which function to remove. Typically used when @var{function} is an +anonymous function. + +@item depth +This specifies where to place the advice, in case several advices are present. +By default, the depth is 0. A depth of 100 indicates that this advice should +be kept as deep as possible, whereas a depth of -100 indicates that it +should stay as the outermost advice. When two advices specify the same depth, +the most recently added advice will be outermost. +@end table +@end defmac + +@defmac remove-function place function +This macro removes @var{function} from the function stored in +@var{place}. This only works if @var{function} was added to @var{place} +using @code{add-function}. + +@var{function} is compared with functions added to @var{place} using +@code{equal}, to try and make it work also with lambda expressions. It is +additionally compared also with the @code{name} property of the functions added +to @var{place}, which can be more reliable than comparing lambda expressions +using @code{equal}. +@end defmac + +@defun advice-function-member-p advice function-def +Return non-@code{nil} if @var{advice} is already in @var{function-def}. +Like for @code{remove-function} above, instead of @var{advice} being the actual +function, it can also be the @code{name} of the piece of advice. +@end defun + +@defun advice-function-mapc f function-def +Call the function @var{f} for every advice that was added to +@var{function-def}. @var{f} is called with two arguments: the advice function +and its properties. +@end defun + +@node Advising Named Functions +@subsection Advising Named Functions + +A common use of advice is for named functions and macros. +Since @var{add-function} does not know how to deal with macros and autoloaded +functions, Emacs provides a separate set of functions to manipulate pieces of +advice applied to named functions. + + Advice can be useful for altering the behavior of an existing +function without having to redefine the whole function. However, it +can be a source of bugs, since existing callers to the function may +assume the old behavior, and work incorrectly when the behavior is +changed by advice. Advice can also cause confusion in debugging, if +the person doing the debugging does not notice or remember that the +function has been modified by advice. + + For these reasons, advice should be reserved for the cases where you +cannot modify a function's behavior in any other way. If it is +possible to do the same thing via a hook, that is preferable +(@pxref{Hooks}). If you simply want to change what a particular key +does, it may be better to write a new command, and remap the old +command's key bindings to the new one (@pxref{Remapping Commands}). +In particular, Emacs's own source files should not put advice on +functions in Emacs. (There are currently a few exceptions to this +convention, but we aim to correct them.) + + Macros can also be advised, in much the same way as functions. +However, special forms (@pxref{Special Forms}) cannot be advised. + + It is possible to advise a primitive (@pxref{What Is a Function}), +but one should typically @emph{not} do so, for two reasons. Firstly, +some primitives are used by the advice mechanism, and advising them +could cause an infinite recursion. Secondly, many primitives are +called directly from C, and such calls ignore advice; hence, one ends +up in a confusing situation where some calls (occurring from Lisp +code) obey the advice and other calls (from C code) do not. + +@defun advice-add symbol where function &optional props +Add the advice @var{function} to the named function @var{symbol}. +@var{where} and @var{props} have the same meaning as for @code{add-function} +(@pxref{Advising Primitives}). +@end defun + +@defun advice-remove symbol function +Remove the advice @var{function} from the named function @var{symbol}. +@var{function} can also be the @code{name} of an advice. +@end defun + +@defun advice-member-p function symbol +Return non-@code{nil} if the advice @var{function} is already in the named +function @var{symbol}. @var{function} can also be the @code{name} of +an advice. +@end defun + +@defun advice-mapc function symbol +Call @var{function} for every advice that was added to the named function +@var{symbol}. @var{function} is called with two arguments: the advice function +and its properties. +@end defun + @node Obsolete Functions @section Declaring Functions Obsolete @cindex obsolete functions === modified file 'doc/lispref/makefile.w32-in' --- doc/lispref/makefile.w32-in 2014-01-01 07:43:34 +0000 +++ doc/lispref/makefile.w32-in 2014-01-10 19:40:32 +0000 @@ -49,7 +49,6 @@ srcs = \ $(emacsdir)/emacsver.texi \ $(srcdir)/abbrevs.texi \ - $(srcdir)/advice.texi \ $(srcdir)/anti.texi \ $(srcdir)/backups.texi \ $(srcdir)/buffers.texi \ === modified file 'doc/lispref/modes.texi' --- doc/lispref/modes.texi 2014-01-01 07:43:34 +0000 +++ doc/lispref/modes.texi 2014-01-10 19:40:32 +0000 @@ -69,11 +69,13 @@ in some way. The hook's documentation says how the functions are called. You can use @code{add-hook} to add a function to an abnormal hook, but you must write the function to follow the hook's calling -convention. +convention. By convention, abnormal hook names end in @samp{-functions}. - By convention, abnormal hook names end in @samp{-functions}. If the -variable's name ends in @samp{-function}, then its value is just a single -function, not a list of functions. +@cindex single-function hook +If the variable's name ends in @samp{-function}, then its value is +just a single function, not a list of functions. @code{add-hook} cannot be +used to modify such a @emph{single function hook}, and you have to use +@code{add-function} instead (@pxref{Advising Functions}). @menu * Running Hooks:: How to run a hook. @@ -129,47 +131,6 @@ @code{nil}. @end defun -@defmac with-wrapper-hook hook args &rest body -This macro runs the abnormal hook @code{hook} as a series of nested -``wrapper functions'' around the @var{body} forms. The effect is -similar to nested @code{around} advices (@pxref{Around-Advice}). - -Each hook function should accept an argument list consisting of a function -@var{fun}, followed by the additional arguments listed in @var{args}. -The first hook function is passed a function @var{fun} that, if it is -called with arguments @var{args}, performs @var{body} (i.e., the default -operation). The @var{fun} passed to each successive hook function is -constructed from all the preceding hook functions (and @var{body}); if -this @var{fun} is called with arguments @var{args}, it does what the -@code{with-wrapper-hook} call would if the preceding hook functions were -the only ones in @var{hook}. - -Each hook function may call its @var{fun} argument as many times as it -wishes, including never. In that case, such a hook function acts to -replace the default definition altogether, and any preceding hook -functions. Of course, a subsequent hook function may do the same thing. - -Each hook function definition is used to construct the @var{fun} passed -to the next hook function in @var{hook}, if any. The last or -``outermost'' @var{fun} is called once to produce the overall effect. - -When might you want to use a wrapper hook? The function -@code{filter-buffer-substring} illustrates a common case. There is a -basic functionality, performed by @var{body}---in this case, to extract -a buffer-substring. Then any number of hook functions can act in -sequence to modify that string, before returning the final result. -A wrapper-hook also allows for a hook function to completely replace the -default definition (by not calling @var{fun}). -@end defmac - -@defun run-hook-wrapped hook wrap-function &rest args -This function is similar to @code{run-hook-with-args-until-success}. -Like that function, it runs the functions on the abnormal hook -@code{hook}, stopping at the first one that returns non-@code{nil}. -Instead of calling the hook functions directly, though, it actually -calls @code{wrap-function} with arguments @code{fun} and @code{args}. -@end defun - @node Setting Hooks @subsection Setting Hooks === modified file 'doc/misc/ChangeLog' --- doc/misc/ChangeLog 2014-01-09 23:21:56 +0000 +++ doc/misc/ChangeLog 2014-01-10 19:40:32 +0000 @@ -1,3 +1,7 @@ +2014-01-10 Stefan Monnier + + * cl.texi (Function Bindings): Fix incorrect description of cl-let. + 2014-01-09 Rüdiger Sonderfeld * Makefile.in: Add eww.texi. @@ -18,8 +22,8 @@ (Advanced configuration) (Header arguments in Org mode properties): Spelling fixes. (Special blocks): Add #+BEGIN_ABSTRACT as another example. - (@LaTeX{} specific attributes): New index entries. Use - #+BEGIN_ABSTRACT in the example. + (@LaTeX{} specific attributes): New index entries. + Use #+BEGIN_ABSTRACT in the example. 2013-01-07 Nicolas Goaziou @@ -80,7 +84,7 @@ 2014-01-02 Aidan Gauland - * eshell.texi (Command Basics): Removed `Command basics' chapter. + * eshell.texi (Command Basics): Remove `Command basics' chapter. 2014-01-02 Aidan Gauland @@ -200,8 +204,8 @@ * org.texi (Orgstruct mode): Fix suggested setting of `orgstruct-heading-prefix-regexp'. - * org.texi (Export settings): Document - `org-export-allow-bind-keywords'. + * org.texi (Export settings): + Document `org-export-allow-bind-keywords'. * org.texi (History and Acknowledgments): Small rephrasing. @@ -209,8 +213,8 @@ in a year datetree. * org.texi (Beamer export, @LaTeX{} and PDF export) - (Header and sectioning, @LaTeX{} specific attributes): Enhance - style. + (Header and sectioning, @LaTeX{} specific attributes): + Enhance style. * org.texi (Agenda commands): Add a footnote about dragging agenda lines: it does not persist and it does not change the .org files. @@ -229,15 +233,15 @@ * org.texi (Other built-in back-ends): New section. - * org.texi (Editing source code): Document - `org-edit-src-auto-save-idle-delay' and + * org.texi (Editing source code): + Document `org-edit-src-auto-save-idle-delay' and `org-edit-src-turn-on-auto-save'. * org.texi (External links): Document contributed link types separately. - * org.texi (Closing items): Document - `org-closed-keep-when-no-todo'. + * org.texi (Closing items): + Document `org-closed-keep-when-no-todo'. * org.texi (Export back-ends): Rename from "Export formats". (The Export Dispatcher): Remove reference to @@ -273,8 +277,8 @@ (Agenda commands): Move details about filtering commands to the new section, only include a summary here. (Customizing tables in ODT export) - (System-wide header arguments, Conflicts, Dynamic blocks): Use - spaces for indentation. + (System-wide header arguments, Conflicts, Dynamic blocks): + Use spaces for indentation. * org.texi (Emphasis and monospace): Mention `org-emphasis-alist'. @@ -331,8 +335,8 @@ (In-buffer settings): Update to reflect changes from the new export engine. - * org.texi (Matching tags and properties): More examples. Explain - group tags expansion as regular expressions. + * org.texi (Matching tags and properties): More examples. + Explain group tags expansion as regular expressions. * org.texi (Tag groups): New section. @@ -357,8 +361,8 @@ * org.texi (Org syntax): New section. - * org.texi (Orgstruct mode): Document - `orgstruct-heading-prefix-regexp'. + * org.texi (Orgstruct mode): + Document `orgstruct-heading-prefix-regexp'. * org.texi (Speeding up your agendas): New section. @@ -382,8 +386,8 @@ * org.texi: Update the list contributions. * org.texi (Agenda commands): Exporting the agenda to an .org file - will not copy the subtrees and the inherited tags. Document - `org-agenda-filter-by-regexp'. + will not copy the subtrees and the inherited tags. + Document `org-agenda-filter-by-regexp'. * org.texi (Publishing action, Complex example): Fix names of publishing functions. @@ -397,8 +401,8 @@ * org.texi (Capture): Mention that org-remember.el is not supported anymore. - * org.texi (Top, Exporting, Beamer class export): Delete - references to the TaskJuggler export. + * org.texi (Top, Exporting, Beamer class export): + Delete references to the TaskJuggler export. (History and Acknowledgments): Mention that the TaskJuggler has been rewritten by Nicolas and now lives in the contrib/ directory of Org's distribution. Mention that Jambunathan rewrote the HTML @@ -415,16 +419,16 @@ (@LaTeX{} and PDF export, Header and sectioning) (Publishing options): Fix LaTeX options names. - * org.texi (Export options, CSS support, In-buffer settings): Fix - references to HTML_LINK_* and HTML_STYLE keywords. + * org.texi (Export options, CSS support, In-buffer settings): + Fix references to HTML_LINK_* and HTML_STYLE keywords. * org.texi (Export options, In-buffer settings): Fix references to #+SELECT_TAGS and #+EXCLUDE_TAGS and remove reference to #+XSLT. * org.texi (Top, Markup, Initial text, Images and tables) (@LaTeX{} fragments, @LaTeX{} fragments, Exporting) - (Export options, JavaScript support, Beamer class export): Remove - references to the DocBook export, which has been deleted. + (Export options, JavaScript support, Beamer class export): + Remove references to the DocBook export, which has been deleted. (History and Acknowledgments): Mention that DocBook has been deleted, suggest to use the Texinfo exporter instead, then to convert the .texi to DocBook with makeinfo. @@ -433,8 +437,8 @@ * org.texi (Deadlines and scheduling): Add a variable to the index. Add documentation about delays for scheduled tasks. - * org.texi (Emphasis and monospace): Mention - `org-fontify-emphasized-text' and + * org.texi (Emphasis and monospace): + Mention `org-fontify-emphasized-text' and `org-emphasis-regexp-components'. * org.texi (References): Small enhancement. @@ -491,7 +495,7 @@ * org.texi (Extracting source code): Mention the prefix argument to org-babel-tangle. - (noweb): Removed erroneous negative. + (noweb): Remove erroneous negative. (Specific header arguments): Document new header arguments. Documentation for new tangle-mode header argument. (Top): Documentation for new tangle-mode header argument. @@ -595,8 +599,8 @@ * org.texi (Header and sectioning): Add a footnote about the different between LATEX_HEADER_EXTRA and LATEX_HEADER. - * org.texi (The Export Dispatcher): Document - `org-export-in-background'. + * org.texi (The Export Dispatcher): + Document `org-export-in-background'. * org.texi (Footnotes): Export back-ends do not use `org-footnote-normalize' anymore. @@ -618,19 +622,19 @@ * org.texi (Include files): Remove reference to :prefix1 and :prefix. Give more details for :minlevel. - * org.texi (Macro replacement): Fix macro name. Update - documentation about possible locations and escaping mechanism. + * org.texi (Macro replacement): Fix macro name. + Update documentation about possible locations and escaping mechanism. - * org.texi (Table of contents): Update documentation. Document - lists of listings and lists of tables. Add documentation for + * org.texi (Table of contents): Update documentation. + Document lists of listings and lists of tables. Add documentation for optional title and #+TOC: keyword. 2013-11-12 Rick Frankel * org.texi (results): Add Format section, broken out of Type section to match code. - (hlines, colnames): Remove incorrect Emacs Lisp exception. Note - that the actual default handling (at least for python and + (hlines, colnames): Remove incorrect Emacs Lisp exception. + Note that the actual default handling (at least for python and emacs-lisp) does not seem to match the description. 2013-11-12 Sacha Chua (tiny change) @@ -640,8 +644,8 @@ 2013-11-12 Yasushi Shoji - * org.texi (Resolving idle time): Document - `org-clock-x11idle-program-name'. + * org.texi (Resolving idle time): + Document `org-clock-x11idle-program-name'. 2013-10-24 Michael Albinus @@ -882,8 +886,8 @@ 2013-07-29 Michael Albinus - * tramp.texi (Frequently Asked Questions): Mention - `tramp-use-ssh-controlmaster-options'. + * tramp.texi (Frequently Asked Questions): + Mention `tramp-use-ssh-controlmaster-options'. 2013-07-26 Tassilo Horn @@ -927,8 +931,8 @@ 2013-07-08 Tassilo Horn * gnus.texi (lines): Correct description of - `gnus-registry-track-extra's default value. Mention - `gnus-registry-remove-extra-data'. + `gnus-registry-track-extra's default value. + Mention `gnus-registry-remove-extra-data'. 2013-07-06 Lars Ingebrigtsen === modified file 'doc/misc/cl.texi' --- doc/misc/cl.texi 2014-01-06 05:25:46 +0000 +++ doc/misc/cl.texi 2014-01-10 19:40:32 +0000 @@ -1282,13 +1282,8 @@ must be a list of the form @samp{(@var{name} @var{arglist} @var{forms}@dots{})}, which defines a function exactly as if it were a @code{cl-defun} form. The function @var{name} is defined -accordingly for the duration of the body of the @code{cl-flet}; then -the old function definition, or lack thereof, is restored. - -You can use @code{cl-flet} to disable or modify the behavior of -functions (including Emacs primitives) in a temporary, localized fashion. -(Compare this with the idea of advising functions. -@xref{Advising Functions,,,elisp,GNU Emacs Lisp Reference Manual}.) +accordingly but only within the body of the @code{cl-flet}, hiding any external +definition if applicable. The bindings are lexical in scope. This means that all references to the named functions must appear physically within the body of the === modified file 'etc/NEWS' --- etc/NEWS 2014-01-10 17:54:32 +0000 +++ etc/NEWS 2014-01-10 19:40:32 +0000 @@ -905,6 +905,7 @@ symbol_words as a single word, similar to what `subword-mode' does and using the same internal functions. ++++ ** New package nadvice.el offers lighter-weight advice facilities. It is layered as: - add-function/remove-function which can be used to add/remove code on any ------------------------------------------------------------ revno: 115965 committer: Glenn Morris branch nick: trunk timestamp: Fri 2014-01-10 13:59:54 -0500 message: * admin/update_autogen: Fix sed bug that was losing the last AUTOGEN_VCS. diff: === modified file 'admin/ChangeLog' --- admin/ChangeLog 2014-01-04 03:18:33 +0000 +++ admin/ChangeLog 2014-01-10 18:59:54 +0000 @@ -1,3 +1,7 @@ +2014-01-10 Glenn Morris + + * update_autogen: Fix sed bug that was losing the last AUTOGEN_VCS. + 2014-01-04 Glenn Morris * admin.el (manual-html-fix-node-div): Handle Texinfo 5's movable
. === modified file 'admin/update_autogen' --- admin/update_autogen 2014-01-01 07:43:34 +0000 +++ admin/update_autogen 2014-01-10 18:59:54 +0000 @@ -317,8 +317,9 @@ echo "Finding loaddef targets..." -sed -n -e '/^AUTOGEN_VCS/,/^$/ s/\\//p' lisp/Makefile.in | \ - sed '/AUTOGEN_VCS/d' >| $tempfile || die "sed error" +sed -n -e '/^AUTOGEN_VCS/,/^$/p' lisp/Makefile.in | \ + sed -e '/AUTOGEN_VCS/d' -e '/^$/d' -e 's/\\//' \ + >| $tempfile || die "sed error" genfiles= ------------------------------------------------------------ revno: 115964 committer: Rüdiger Sonderfeld branch nick: trunk timestamp: Fri 2014-01-10 18:54:32 +0100 message: Revert "Document `subr-x' functions." This reverts commit 115961. diff: === modified file 'doc/lispref/ChangeLog' --- doc/lispref/ChangeLog 2014-01-10 12:41:19 +0000 +++ doc/lispref/ChangeLog 2014-01-10 17:54:32 +0000 @@ -1,11 +1,3 @@ -2014-01-10 Rüdiger Sonderfeld - - * hash.texi (Hash Tables): Add cindex entry for `subr-x' - functions. - - * strings.texi (Creating Strings, Text Comparison): Document - functions from `subr-x'. - 2014-01-09 Rüdiger Sonderfeld * text.texi (Parsing HTML/XML): Document `shr-insert-document'. === modified file 'doc/lispref/hash.texi' --- doc/lispref/hash.texi 2014-01-10 12:41:19 +0000 +++ doc/lispref/hash.texi 2014-01-10 17:54:32 +0000 @@ -354,7 +354,6 @@ This returns the current nominal size of @var{table}. @end defun -@cindex Hash table functions in subr-x. The following two functions are provided by the @file{subr-x} library. To use them, you need to load this library first. === modified file 'doc/lispref/strings.texi' --- doc/lispref/strings.texi 2014-01-10 12:41:19 +0000 +++ doc/lispref/strings.texi 2014-01-10 17:54:32 +0000 @@ -365,83 +365,6 @@ usual value is @w{@code{"[ \f\t\n\r\v]+"}}. @end defvar -@cindex String creation functions in subr-x - The following functions are provided by the @file{subr-x} library. -To use them, you need to load this library first. - -@defun string-join strings &optional separator -This joins all strings in @var{strings}. If the optional argument -@var{separator} is non-@code{nil} then its value is added between each -string. - -@example -(string-join '("foo" "bar")) - @result{} "foobar" -(string-join '("foo" "bar") ", ") - @result{} "foo, bar" -@end example -@end defun - -@defun string-reverse string -This function returns the reversed value of @var{string}. - -@example -(string-reverse "ung olleh") - @result{} "hello gnu" -@end example -@end defun - -@defun string-trim-left string -This function returns a string with all the leading whitespace removed -from @var{string}. Trailing whitespace are left. - -@example -(string-trim-left "\r\n\t abc ") - @result{} "abc " -@end example -@end defun - -@defun string-trim-right string -This function returns a string with all the trailing whitespace -removed from @var{string}. Leading whitespace are left. - -@example -(string-trim-left " abc ") - @result{} " abc" -@end example -@end defun - -@defun string-trim string -This function returns a string with all leading and trailing -whitespace from @var{string} removed. This has the same effect as -calling @code{string-trim-left} and @code{string-trim-right} on -@var{string}. -@end defun - -@defun string-remove-prefix prefix string -This removes the string @var{prefix} from the beginning of -@var{string} if present. - -@example -(string-remove-prefix "foo" "foobar") - @result{} "bar" -(string-remove-prefix "not" "foobar") - @result{} "foobar" -@end example -@end defun - -@defun string-remove-suffix suffix string -This removes the string @var{suffix} from the end of @var{string} if -present. - -@example -(string-remove-suffix "bar" "foobar") - @result{} "foo" -(string-remove-suffix "not" "foobar") - @result{} "foobar" -@end example -@end defun - @node Modifying Strings @section Modifying Strings @@ -648,20 +571,6 @@ against a string, can be used for a kind of string comparison; see @ref{Regexp Search}. -@cindex String comparisson functions in subr-x - The following functions are provided by the @file{subr-x} library. -To use them, you need to load this library first. - -@defun string-empty-p string -This function returns non-@code{nil} if @var{string} is an empty -string. -@end defun - -@defun string-blank-p string -This function returns non-@code{nil} if @var{string} is either empty -or only whitespace. -@end defun - @node String Conversion @section Conversion of Characters and Strings @cindex conversion of strings === modified file 'etc/NEWS' --- etc/NEWS 2014-01-10 12:41:19 +0000 +++ etc/NEWS 2014-01-10 17:54:32 +0000 @@ -1099,10 +1099,12 @@ +++ ** New macro with-eval-after-load. Like eval-after-load, but better behaved. -+++ ** New library subr-x.el for misc helper functions ++++ *** `hash-table-keys' ++++ *** `hash-table-values' +--- *** `string-blank-p` *** `string-empty-p` *** `string-join` ------------------------------------------------------------ revno: 115963 committer: Eric S. Raymond branch nick: trunk timestamp: Fri 2014-01-10 12:13:10 -0500 message: Restore compatibilty with 23.1 (Tested) diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-10 16:32:45 +0000 +++ lisp/ChangeLog 2014-01-10 17:13:10 +0000 @@ -1,3 +1,8 @@ +2014-01-10 Eric S. Raymond + + * version.el (emacs-bzr-get-version): Restore compatibilty with + 23.1 (Tested). + 2014-01-10 Bozhidar Batsov * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec === modified file 'lisp/emacs-lisp/eieio.el' --- lisp/emacs-lisp/eieio.el 2014-01-09 20:31:21 +0000 +++ lisp/emacs-lisp/eieio.el 2014-01-10 17:13:10 +0000 @@ -927,7 +927,7 @@ ;;;*** -;;;### (autoloads nil "eieio-opt" "eieio-opt.el" "c7a7173e78edd280eb4289bd2a0376c5") +;;;### (autoloads nil "eieio-opt" "eieio-opt.el" "f03278724025221a0259ed48516286f3") ;;; Generated autoloads from eieio-opt.el (autoload 'eieio-browse "eieio-opt" "\ === modified file 'lisp/version.el' --- lisp/version.el 2014-01-09 01:32:45 +0000 +++ lisp/version.el 2014-01-10 17:13:10 +0000 @@ -128,6 +128,9 @@ "dir")) (buffer-string)))) +(define-obsolete-function-alias 'emacs-bzr-get-version + 'emacs-repository-get-version "24.4") + (defun emacs-repository-get-version (&optional dir external) "Try to return as a string the repository revision of the Emacs sources. The format of the returned string is dependent on the VCS in use. ------------------------------------------------------------ revno: 115962 committer: Bozhidar Batsov branch nick: master timestamp: Fri 2014-01-10 18:32:45 +0200 message: * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add .podspec and Podfile. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-10 12:22:58 +0000 +++ lisp/ChangeLog 2014-01-10 16:32:45 +0000 @@ -1,3 +1,8 @@ +2014-01-10 Bozhidar Batsov + + * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec + and Podfile. + 2014-01-10 Eli Zaretskii * emacs-lisp/authors.el (authors-fixed-entries): Update my entry. === modified file 'lisp/progmodes/ruby-mode.el' --- lisp/progmodes/ruby-mode.el 2014-01-01 07:43:34 +0000 +++ lisp/progmodes/ruby-mode.el 2014-01-10 16:32:45 +0000 @@ -2134,10 +2134,10 @@ (add-to-list 'auto-mode-alist (cons (purecopy (concat "\\(?:\\." "rb\\|ru\\|rake\\|thor" - "\\|jbuilder\\|gemspec" + "\\|jbuilder\\|gemspec\\|podspec" "\\|/" "\\(?:Gem\\|Rake\\|Cap\\|Thor" - "Vagrant\\|Guard\\)file" + "Vagrant\\|Guard\\|Pod\\)file" "\\)\\'")) 'ruby-mode)) ;;;###autoload ------------------------------------------------------------ revno: 115961 committer: Rüdiger Sonderfeld branch nick: trunk timestamp: Fri 2014-01-10 13:41:19 +0100 message: Document `subr-x' functions. * doc/lispref/hash.texi (Hash Tables): Add cindex entry for `subr-x' functions. * doc/lispref/strings.texi (Creating Strings, Text Comparison): Document functions from `subr-x'. diff: === modified file 'doc/lispref/ChangeLog' --- doc/lispref/ChangeLog 2014-01-09 23:21:56 +0000 +++ doc/lispref/ChangeLog 2014-01-10 12:41:19 +0000 @@ -1,3 +1,11 @@ +2014-01-10 Rüdiger Sonderfeld + + * hash.texi (Hash Tables): Add cindex entry for `subr-x' + functions. + + * strings.texi (Creating Strings, Text Comparison): Document + functions from `subr-x'. + 2014-01-09 Rüdiger Sonderfeld * text.texi (Parsing HTML/XML): Document `shr-insert-document'. === modified file 'doc/lispref/hash.texi' --- doc/lispref/hash.texi 2014-01-01 07:43:34 +0000 +++ doc/lispref/hash.texi 2014-01-10 12:41:19 +0000 @@ -354,6 +354,7 @@ This returns the current nominal size of @var{table}. @end defun +@cindex Hash table functions in subr-x. The following two functions are provided by the @file{subr-x} library. To use them, you need to load this library first. === modified file 'doc/lispref/strings.texi' --- doc/lispref/strings.texi 2014-01-09 19:07:33 +0000 +++ doc/lispref/strings.texi 2014-01-10 12:41:19 +0000 @@ -365,6 +365,83 @@ usual value is @w{@code{"[ \f\t\n\r\v]+"}}. @end defvar +@cindex String creation functions in subr-x + The following functions are provided by the @file{subr-x} library. +To use them, you need to load this library first. + +@defun string-join strings &optional separator +This joins all strings in @var{strings}. If the optional argument +@var{separator} is non-@code{nil} then its value is added between each +string. + +@example +(string-join '("foo" "bar")) + @result{} "foobar" +(string-join '("foo" "bar") ", ") + @result{} "foo, bar" +@end example +@end defun + +@defun string-reverse string +This function returns the reversed value of @var{string}. + +@example +(string-reverse "ung olleh") + @result{} "hello gnu" +@end example +@end defun + +@defun string-trim-left string +This function returns a string with all the leading whitespace removed +from @var{string}. Trailing whitespace are left. + +@example +(string-trim-left "\r\n\t abc ") + @result{} "abc " +@end example +@end defun + +@defun string-trim-right string +This function returns a string with all the trailing whitespace +removed from @var{string}. Leading whitespace are left. + +@example +(string-trim-left " abc ") + @result{} " abc" +@end example +@end defun + +@defun string-trim string +This function returns a string with all leading and trailing +whitespace from @var{string} removed. This has the same effect as +calling @code{string-trim-left} and @code{string-trim-right} on +@var{string}. +@end defun + +@defun string-remove-prefix prefix string +This removes the string @var{prefix} from the beginning of +@var{string} if present. + +@example +(string-remove-prefix "foo" "foobar") + @result{} "bar" +(string-remove-prefix "not" "foobar") + @result{} "foobar" +@end example +@end defun + +@defun string-remove-suffix suffix string +This removes the string @var{suffix} from the end of @var{string} if +present. + +@example +(string-remove-suffix "bar" "foobar") + @result{} "foo" +(string-remove-suffix "not" "foobar") + @result{} "foobar" +@end example +@end defun + @node Modifying Strings @section Modifying Strings @@ -571,6 +648,20 @@ against a string, can be used for a kind of string comparison; see @ref{Regexp Search}. +@cindex String comparisson functions in subr-x + The following functions are provided by the @file{subr-x} library. +To use them, you need to load this library first. + +@defun string-empty-p string +This function returns non-@code{nil} if @var{string} is an empty +string. +@end defun + +@defun string-blank-p string +This function returns non-@code{nil} if @var{string} is either empty +or only whitespace. +@end defun + @node String Conversion @section Conversion of Characters and Strings @cindex conversion of strings === modified file 'etc/NEWS' --- etc/NEWS 2014-01-10 02:30:51 +0000 +++ etc/NEWS 2014-01-10 12:41:19 +0000 @@ -1099,12 +1099,10 @@ +++ ** New macro with-eval-after-load. Like eval-after-load, but better behaved. ++++ ** New library subr-x.el for misc helper functions -+++ *** `hash-table-keys' -+++ *** `hash-table-values' - *** `string-blank-p` *** `string-empty-p` *** `string-join` ------------------------------------------------------------ revno: 115960 committer: Eli Zaretskii branch nick: trunk timestamp: Fri 2014-01-10 14:22:58 +0200 message: Update Eli Zaretskii's entry in authors.el. lisp/emacs-lisp/authors.el (authors-fixed-entries): Update my entry. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-10 10:35:36 +0000 +++ lisp/ChangeLog 2014-01-10 12:22:58 +0000 @@ -1,3 +1,7 @@ +2014-01-10 Eli Zaretskii + + * emacs-lisp/authors.el (authors-fixed-entries): Update my entry. + 2014-01-10 Chong Yidong * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is === modified file 'lisp/emacs-lisp/authors.el' --- lisp/emacs-lisp/authors.el 2014-01-08 23:24:54 +0000 +++ lisp/emacs-lisp/authors.el 2014-01-10 12:22:58 +0000 @@ -552,7 +552,8 @@ ("Geoff Voelker" :wrote "w32-fns.el" "w32.c" "w32.h" "w32heap.c" "w32heap.h" "w32inevt.c" "w32proc.c" "w32term.c" "ms-w32.h") ("Morten Welinder" :wrote "dosfns.c" "[many MS-DOS files]" "msdos.h") - ("Eli Zaretskii" :wrote "bidi.c" "[bidirectional display in xdisp.c]") + ("Eli Zaretskii" :wrote "bidi.c" "[bidirectional display in xdisp.c]" + "[tty menus in term.c]") ;; Not using this version any more. ;;; ("Pace Willisson" :wrote "ispell.el") ;; FIXME overwritten by Author:. ------------------------------------------------------------ revno: 115959 committer: Thien-Thi Nguyen branch nick: master timestamp: Fri 2014-01-10 11:43:18 +0100 message: Add some notes on git-bzr; nfc. * admin/notes/bzr (Using git-bzr): New section. diff: === modified file 'admin/notes/bzr' --- admin/notes/bzr 2013-08-29 01:18:51 +0000 +++ admin/notes/bzr 2014-01-10 10:43:18 +0000 @@ -364,3 +364,37 @@ You have to use locations.conf rather than bazaar.conf because the latter has a lower priority than branch.conf. + +* Using git-bzr + +** initially + +You can use Git locally to talk to the Bazaar repo as a "remote" repo +via git-bzr (aka git-remote-bzr). Initial clone: + + git clone bzr::bzr+ssh://USER@bzr.sv.gnu.org/emacs/trunk e + +This creates the working dir e/ (with subdir .git, etc). Disk usage +is 13G (as of early 2014), so you will probably want to repack: + + git repack -a -d -f --window=250 --depth=250 --window-memory=N + +where N is chosen to avoid swapping. E.g., given 512MB RAM, N="200m" +results in "du -sh .git" => 559M, about double the smallest reported +value (obtained with "deprecated" command "git gc --aggressive"). + +** steady-state + +Use "fetch", "pull" and other remote-to-local commands as usual. + +For "push", the Emacs Bazaar repo is configured with + + append_revisions_only = True + +so some versions of git-remote-bzr may raise AppendRevisionsOnlyViolation +(in func do_export) instead of displaying a "non fast-forward" message +and skipping the branch. See: + + http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg00436.html + +which includes a provisional patch to git-remote-bzr to do that. ------------------------------------------------------------ revno: 115958 committer: Chong Yidong branch nick: trunk timestamp: Fri 2014-01-10 18:35:36 +0800 message: * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-10 09:30:43 +0000 +++ lisp/ChangeLog 2014-01-10 10:35:36 +0000 @@ -1,3 +1,8 @@ +2014-01-10 Chong Yidong + + * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is + loaded. + 2014-01-10 Anders Lindgren * follow.el (follow-cache-command-list): Include right-char and === modified file 'lisp/progmodes/octave.el' --- lisp/progmodes/octave.el 2014-01-01 07:43:34 +0000 +++ lisp/progmodes/octave.el 2014-01-10 10:35:36 +0000 @@ -158,7 +158,8 @@ (if (fboundp 'eldoc-post-insert-mode) 'eldoc-post-insert-mode 'eldoc-mode)) - :style toggle :selected (or eldoc-post-insert-mode eldoc-mode) + :style toggle :selected (or (bound-and-true-p eldoc-post-insert-mode) + (bound-and-true-p eldoc-mode)) :help "Display function signatures after typing `SPC' or `('"] ["Delimiter Matching" show-paren-mode :style toggle :selected show-paren-mode ------------------------------------------------------------ revno: 115957 author: Anders Lindgren committer: Eli Zaretskii branch nick: trunk timestamp: Fri 2014-01-10 11:30:43 +0200 message: Add right-char and left-char to Follow Mode cached commands. lisp/follow.el (follow-cache-command-list): Include right-char and left-char. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-10 07:10:37 +0000 +++ lisp/ChangeLog 2014-01-10 09:30:43 +0000 @@ -1,3 +1,8 @@ +2014-01-10 Anders Lindgren + + * follow.el (follow-cache-command-list): Include right-char and + left-char. + 2014-01-10 Paul Eggert Spelling fixes. === modified file 'lisp/follow.el' --- lisp/follow.el 2014-01-01 07:43:34 +0000 +++ lisp/follow.el 2014-01-10 09:30:43 +0000 @@ -311,7 +311,7 @@ (set-default symbol value))) (defvar follow-cache-command-list - '(next-line previous-line forward-char backward-char) + '(next-line previous-line forward-char backward-char right-char left-char) "List of commands that don't require recalculation. In order to be able to use the cache, a command should not change the