1. 05 Sep, 2011 4 commits
  2. 04 Sep, 2011 12 commits
    • Lars Magne Ingebrigtsen's avatar
      Merge changes made in Gnus trunk. · 052bd38a
      Lars Magne Ingebrigtsen authored
      gnus.el (gnus-home-directory): Add warning about setting in .gnus.el (bug#9405).
      gnus-score.el (gnus-summary-increase-score): Doc clarification (bug#9421).
      gnus-spec.el (gnus-face-0): Make all the face specs into defcustoms (bug#9425).
      gnus-art.el (gnus-treatment-function-alist): Remove CRs as the first thing (bug#9426).
      052bd38a
    • Paul Eggert's avatar
      sprintf-related integer and memory overflow issues · 86633eab
      Paul Eggert authored
      Fixes: debbugs:9397 debbugs:9412
      86633eab
    • Paul Eggert's avatar
      Merge from trunk. · 6511acf2
      Paul Eggert authored
      6511acf2
    • Paul Eggert's avatar
      Integer overflow fixes for scrolling, etc. · 53e9fe90
      Paul Eggert authored
      53e9fe90
    • Paul Eggert's avatar
      Merge from trunk. · 7ab3acf4
      Paul Eggert authored
      7ab3acf4
    • Paul Eggert's avatar
      * xdisp.c: Integer overflow fix. · 806add1d
      Paul Eggert authored
      (try_window_id): Check Emacs fixnum range before converting to 'int'.
      806add1d
    • Paul Eggert's avatar
      * window.c: Integer overflow fixes. · 71f02bc5
      Paul Eggert authored
      (window_scroll_line_based, Frecenter):
      Check that an Emacs fixnum is in range before assigning it to 'int'.
      (Frecenter, Fmove_to_window_line): Use EMACS_INT, not int, for
      values converted from Emacs fixnums.
      (Frecenter): Don't wrap around a line count if it is out of 'int'
      range; instead, treat it as an extreme value.
      (Fset_window_configuration, compare_window_configurations):
      Use ptrdiff_t, not int, for index that might exceed 2 GiB.
      71f02bc5
    • Michael Albinus's avatar
      * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but · f5e29b9b
      Michael Albinus authored
      `tramp-cache-unload-hook' where appropriate.
      (tramp-methods): Rename `tramp-remote-sh' to
      `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
      (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
      
      * net/tramp-sh.el (top): Don't require 'shell.
      (tramp-methods): Add `tramp-remote-shell' and
      `tramp-remote-shell-args' entries.
      (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
      (tramp-sh-handle-shell-command): Remove.
      (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
      Use `tramp-remote-shell'.
      f5e29b9b
    • Paul Eggert's avatar
      * search.c: Integer overflow fixes · a0efffc8
      Paul Eggert authored
      (Freplace_match): Use ptrdiff_t, not int, for indexes that can
      exceed INT_MAX.  Check that EMACS_INT value is in range before
      assigning it to the (possibly-narrower) index.
      (match_limit): Don't assume that a fixnum can fit in 'int'.
      a0efffc8
    • Paul Eggert's avatar
      * print.c: Integer overflow fix. · 29ebea3b
      Paul Eggert authored
      (print_object): Use ptrdiff_t, not int, for index that can
      exceed INT_MAX.
      29ebea3b
    • Paul Eggert's avatar
      * indent.c: Integer overflow fixes. · 3f8236f4
      Paul Eggert authored
      (position_indentation): Now takes ptrdiff_t, not int.
      (Fvertical_motion): Don't wrap around LINES values that don't fit
      in 'int'.  Instead, treat them as extreme values.  This is good
      enough for windows, which can't have more than INT_MAX lines anyway.
      3f8236f4
    • Eli Zaretskii's avatar
      Fix bug #9433 with indexing of C-x 8 RET. · 69b8be97
      Eli Zaretskii authored
       doc/emacs/basic.texi (Inserting Text): Add index entries.
      69b8be97
  3. 03 Sep, 2011 10 commits
  4. 02 Sep, 2011 6 commits
    • Eli Zaretskii's avatar
    • Chong Yidong's avatar
      Remove pop-to-buffer-same-window. · c3313451
      Chong Yidong authored
      * lisp/window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
      (pop-to-buffer): Change interactive spec.  Pass second argument
      directly to display-buffer.
      (display-buffer): Fix interactive spec.  Use functionp to
      distinguish between a function and a list of functions.
      
      * lisp/abbrev.el (edit-abbrevs):
      * lisp/arc-mode.el (archive-extract):
      * lisp/autoinsert.el (auto-insert):
      * lisp/bookmark.el (bookmark-bmenu-list):
      * lisp/files.el (find-file):
      * lisp/view.el (view-buffer):
      * lisp/progmodes/compile.el (compilation-goto-locus):
      * lisp/textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
      
      * lisp/org/ob-ref.el (org-babel-ref-goto-headline-id):
      * lisp/org/org.el (org-get-location, org-tree-to-indirect-buffer)
      (org-mark-ring-goto, org-refile, org-add-log-note)
      (org-revert-all-org-buffers, org-switchb)
      (org-cycle-agenda-files, org-submit-bug-report)
      (org-goto-marker-or-bmk):
      * lisp/org/org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
      * lisp/org/org-capture.el (org-capture-goto-target)
      (org-capture-fill-template):
      * lisp/org/org-clock.el (org-clock-goto):
      * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file):
      * lisp/org/org-exp.el (org-export-as-org):
      * lisp/org/org-feed.el (org-feed-show-raw-feed):
      * lisp/org/org-html.el (org-export-htmlize-generate-css):
      * lisp/org/org-id.el (org-id-goto):
      * lisp/org/org-irc.el (org-irc-visit-erc):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/org/org-publish.el (org-publish-org-to, org-publish-find-date):
      * lisp/org/org-remember.el (org-go-to-remember-target):
      * lisp/org/org-src.el (org-src-switch-to-buffer)
      (org-edit-fixed-width-region): Use switch-to-buffer.
      
      * lisp/org/org-compat.el (org-pop-to-buffer-same-window): Deleted.
      c3313451
    • Thierry Volpiatto's avatar
      Add missing piece of earlier commit. · 81ec0c88
      Thierry Volpiatto authored
      * lisp/vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.
      
      Fixes: debbugs:9391
      81ec0c88
    • Chong Yidong's avatar
      Minor doc fix for last change. · 2a7bdc1a
      Chong Yidong authored
      2a7bdc1a
    • Chong Yidong's avatar
      Split default-buffer-default into separate display action components. · 89894cd8
      Chong Yidong authored
      * lisp/window.el (display-buffer-alist): Doc fix.
      (display-buffer): Add docstring.  Don't treat display-buffer-default specially.
      (display-buffer-reuse-selected-window)
      (display-buffer-same-window, display-buffer-maybe-same-window)
      (display-buffer-reuse-window, display-buffer-pop-up-frame)
      (display-buffer-pop-up-window)
      (display-buffer-reuse-or-pop-window)
      (display-buffer-use-some-window): New functions.
      (display-buffer-default-action): Use them.
      (display-buffer-default): Deleted.
      (pop-to-buffer-1): Fix choice of actions.
      89894cd8
    • Stefan Monnier's avatar
      * lisp/minibuffer.el (completion--insert-strings): Don't get confused by · ae0bc9fb
      Stefan Monnier authored
      completion entries that end with an LF char.
      ae0bc9fb
  5. 01 Sep, 2011 8 commits