1. 14 Jan, 2013 3 commits
    • Dmitry Antipov's avatar
      Make Lisp_Save_Value more versatile storage for up to four objects. · 73ebd38f
      Dmitry Antipov authored
      * lisp.h (toplevel): Enumeration to describe types of saved objects.
      (struct Lisp_Save_Value): New layout.  Adjust comments.
      (XSAVE_POINTER): New macro.
      (XSAVE_INTEGER): Likewise.
      (allocate_misc): Add prototype.
      (free_misc): Likewise.
      * alloc.c (allocate_misc): Now global.
      (free_misc): Likewise.  Adjust comment.
      (make_save_value): Use new Lisp_Save_Value layout.  Adjust comment.
      (free_save_value): Likewise.
      (mark_object): Likewise.
      * editfns.c (save_excursion_save): Pack everything within
      Lisp_Save_Value and so avoid xmalloc.
      (save_excursion_restore): Adjust to match new layout.  Use free_misc
      because we do not allocate extra memory any more.  Add eassert.
      * print.c (print_object): New code to print Lisp_Save_Value.  Do not
      rely on valid_lisp_object_p if !GC_MARK_STACK.  Adjust comments.
      * dired.c, fileio.c, font.c, ftfont.c, gtkutil.c, keymap.c,
      * lread.c, nsmenu.m, nsterm.h, xfns.c, xmenu.c, xselect.c:
      Use XSAVE_POINTER and XSAVE_INTEGER where appropriate.
      73ebd38f
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Fix interpretation of gnu line.col1-col2 error message format · 51e73492
      Glenn Morris authored
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
      * test/automated/compile-tests.el (compile-tests--test-regexps-data):
      Fix interpretation of gnu line.col1-col2 format.
      
      Fixes: debbugs:13335
      51e73492
  2. 13 Jan, 2013 10 commits
  3. 12 Jan, 2013 1 commit
  4. 11 Jan, 2013 3 commits
  5. 13 Jan, 2013 4 commits
  6. 12 Jan, 2013 10 commits
  7. 11 Jan, 2013 9 commits
    • Paul Eggert's avatar
      002b8433
    • Felix H. Dahlke's avatar
      * lisp/progmodes/js.el: Fix multiline declarations's indentation. · f90ff906
      Felix H. Dahlke authored
      (js--declaration-keyword-re): New var.
      (js--multi-line-declaration-indentation): New function.
      (js--proper-indentation): Use it.
      
      Fixes: debbugs:8576
      f90ff906
    • Aaron S. Hawley's avatar
      Disambiguate function and variable references in docstrings. · 9fc9a531
      Aaron S. Hawley authored
      * lisp/comint.el (comint-history-isearch-message): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/ffap.el (ffap-string-at-point-region, ffap-next)
      (ffap-string-at-point, ffap-string-around)
      (ffap-copy-string-as-kill, ffap-highlight-overlay)
      (ffap-literally): Fix ambiguous doc string cross-reference(s).
      
      * lisp/font-lock.el (font-lock-keywords-alist)
      (font-lock-removed-keywords-alist): Fix ambiguous doc string
              cross-reference(s).
      
      * lisp/help-mode.el (help-xref-symbol-regexp): Add "call" as a hint for
      a cross-reference to a function.
      
      * lisp/info.el (Info-find-emacs-command-nodes): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/isearch.el (isearch-message-function, isearch-fail-pos): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/misearch.el (multi-isearch-next-buffer-function): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/newcomment.el (comment-box): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
      (pr-setting-database): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
      (ps-n-up-filling-database): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/server.el (server-buffer, server-log): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/simple.el (newline, delete-backward-char, delete-forward-char)
      (minibuffer-history-isearch-message, kill-line, track-eol)
      (temporary-goal-column): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/whitespace.el (whitespace-point)
      (whitespace-font-lock-refontify, whitespace-bob-marker)
      (whitespace-eob-marker): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/calc/calc.el (calc-highlight-selections-with-faces)
       (calc-dispatch): Fix ambiguous doc string cross-reference(s).
      
      * lisp/emacs-lisp/edebug.el (edebug-read, edebug-eval-defun): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/gnus/gnus-start.el (gnus-check-new-newsgroups): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/gnus/gnus-sum.el (gnus-summary-newsgroup-prefix): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/international/mule.el (add-to-coding-system-list): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/progmodes/cc-fonts.el (c-font-lock-keywords-3)
      (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
      (java-font-lock-keywords-3, idl-font-lock-keywords-3)
      (pike-font-lock-keywords-3): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/progmodes/compile.el (compile): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/progmodes/etags.el (tags-table-files)
      (tags-table-files-function, tags-included-tables-function): Fix
       ambiguous doc string cross-reference(s).
      
      * lisp/progmodes/gdb-mi.el (gdb, gdb-setup-windows)
      (gdb-restore-windows): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/textmodes/flyspell.el (flyspell-mark-duplications-flag)
      (flyspell-default-deplacement-commands): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/textmodes/ispell.el (ispell-accept-output): Fix ambiguous doc
       string cross-reference(s).
      
      * lisp/textmodes/sgml-mode.el (html-tag-help): Fix ambiguous doc string
       cross-reference(s).
      
      * lisp/vc/compare-w.el (compare-ignore-whitespace)
      (compare-ignore-case, compare-windows-dehighlight): Fix ambiguous
       doc string cross-reference(s).
      
      * lisp/vc/diff.el (diff): Fix ambiguous doc string cross-reference(s).
      
      * src/insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix
       ambiguous doc string cross-reference(s).
      
      * src/keyboard.c (Fcommand_execute, syms_of_keyboard): Fix ambiguous
       doc string cross-reference(s).
      
      * src/window.c (Fwindow_point, syms_of_window): Fix ambiguous doc
       string cross-reference(s).
      
      Fixes: debbugs:12686
      9fc9a531
    • Stefan Monnier's avatar
      *** empty log message *** · ab7c80f1
      Stefan Monnier authored
      ab7c80f1
    • Michael Albinus's avatar
      Fix a scoping error. · c88be996
      Michael Albinus authored
      c88be996
    • Michael Albinus's avatar
      * autorevert.el (top): Require 'cl in order to pacify byte compiler. · 65adfa20
      Michael Albinus authored
      (auto-revert-notify-rm-watch): Ignore errors.
      (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
      inotify, and '(size last-write-time) for w32notify.  Set
      buffer-local `auto-revert-use-notify' to nil when adding a file
      watch fails - this is a fallback to the file modification check.
      (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
      (auto-revert-notify-event-action)
      (auto-revert-notify-event-file-name): New defuns.
      (auto-revert-notify-handler): Use them.  Implement first
      plausibility checks.
      (auto-revert-handler): Handle also `auto-revert-tail-mode'.
      65adfa20
    • Julien Danjou's avatar
      color.el: fix color-rgb-to-hsv computing · 43b2e2e7
      Julien Danjou authored
      43b2e2e7
    • Dmitry Antipov's avatar
      Avoid unnecessary byte position calculation for the gap movement. · 6020559a
      Dmitry Antipov authored
      Since all users of move_gap do CHAR_TO_BYTE for other purposes
      anyway, all of them should use move_gap_both instead.
      * lisp.h (move_gap): Remove prototype.
      * insdel.c (move_gap): Remove.
      (move_gap_both): Add eassert.
      * editfns.c (Ftranspose_regions): Tweak to use move_gap_both.
      * xml.c (parse_region): Likewise.
      6020559a
    • Dmitry Antipov's avatar
      Use point-max-marker and point-min-marker here and there. · 30818a23
      Dmitry Antipov authored
      * lisp/emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
      * lisp/erc/erc-dcc.el (erc-dcc-chat-setup): Likewise.
      * lisp/gnus/gnus-async.el (gnus-async-article-callback): Likewise.
      * lisp/erc/erc-dcc.el (erc-dcc-send-file): Use point-min-marker.
      * lisp/gnus/gnus-art.el (gnus-mime-display-security): Use point-min-marker
      and point-max-marker.
      30818a23