1. 01 Apr, 2016 1 commit
    • Eli Zaretskii's avatar
      Avoid crashes due to insanely large columns in tabulated-list-format · b3b523cd
      Eli Zaretskii authored
      * src/xdisp.c (append_stretch_glyph, produce_xwidget_glyph)
      (produce_image_glyph): Limit the pixel width of the produced glyph
      to SHRT_MAX.  (Bug#23178)
      (append_composite_glyph, append_glyph, append_glyphless_glyph):
      Add assertions to verify that the pixel width of the glyph will
      never overflow a 'short'.
      * src/term.c (append_composite_glyph): Add assertion to verify
      that the pixel width of the glyph will never overflow a 'short'.
  2. 31 Mar, 2016 3 commits
  3. 30 Mar, 2016 3 commits
  4. 29 Mar, 2016 3 commits
  5. 28 Mar, 2016 1 commit
  6. 27 Mar, 2016 3 commits
  7. 26 Mar, 2016 4 commits
    • Stephen Berman's avatar
      Fix todo-mode category movement · e5c17f46
      Stephen Berman authored
      * lisp/calendar/todo-mode.el (todo-move-category): Use moved
      category's existing categories sexp instead of invoking
      todo-update-categories-sexp in file moved to, in order to take
      archived items into account.  If the moved category has archived
      items, handle the source archive buffer properly.  Remove
      superfluous code.
    • Glenn Morris's avatar
    • Eli Zaretskii's avatar
      Ignore non-nil. non-cons values of unread-command-events · cf40f389
      Eli Zaretskii authored
      * src/keyboard.c (requeued_events_pending_p, read_char)
      (Finput_pending_p): Use CONSP instead of !NILP to see if there are
      unread command events to be processed.  (Bug#22976)
    • Eli Zaretskii's avatar
      Improve documentatuon of 'truncate-partial-width-windows' · 8ee4c52a
      Eli Zaretskii authored
      * src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>:
      Clarify in the doc string how the width of partial-width windows
      is computed for the purposes of truncation decision.  (Bug#4338)
      * doc/emacs/windows.texi (Split Window): Clarify how the width of
      windows is calculated for the purposes of truncation decision.
      * doc/emacs/display.texi (Line Truncation): Remove a redundant
      index entry.
  8. 25 Mar, 2016 11 commits
    • Paul Eggert's avatar
    • Eli Zaretskii's avatar
      Fix 'dired-goto-file' in Dired buffers produced by find-dired · 1e1ea22e
      Eli Zaretskii authored
      * lisp/dired.el (dired-goto-file): Try looking for the file as a
      relative name with leading sub-directories, before looking for the
      basename alone.  (Bug#23089)
    • NicolasPetton's avatar
      Fix map-put and map-delete for alists (Bug#23105) · 3a13472a
      NicolasPetton authored
      * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place
      expression to a new symbol.
      * test/lisp/emacs-lisp/map-tests.el: Add a regression test.
    • Eli Zaretskii's avatar
      Minor copyedits of documentation for temporary displays · 422c3dad
      Eli Zaretskii authored
      * doc/emacs/windows.texi (Temporary Displays): Improve indexing.
      Minor changes in wording.
      (Window Choice, Displaying Buffers, Pop Up Window): Disambiguate
      index entries for 'display-buffer'.
      * etc/NEWS: Minor rewording of the entry about temporary displays.
    • Philipp Stephani's avatar
      Add customization option for using UTF-8 coordinates in xt-mouse · 90fb9b38
      Philipp Stephani authored
      * lisp/xt-mouse.el (xterm-mouse-utf-8): New customization option.
      (xterm-mouse--read-coordinate): New function to replace
      `xterm-mouse--read-utf8-char'; uses UTF-8 only if enabled.
      (xterm-mouse--read-number-from-terminal): Adapt to new name.
      (xterm-mouse-tracking-disable-sequence): Replace constants with
      functions, mark constants as obsolete.
      (xterm-mouse--tracking-sequence): New helper function.
      (turn-on-xterm-mouse-tracking-on-terminal): Use new functions;
      enable UTF-8 only if customization option says so; store UTF-8
      flag in terminal parameter.  (Bug#23009)
      * test/automated/xt-mouse-tests.el: Add tests for xt-mouse.el.
    • Eli Zaretskii's avatar
      Minor doc string fixes in replace.el · f14d4636
      Eli Zaretskii authored
      * lisp/replace.el (query-replace, query-replace-regexp)
      (query-replace-regexp-eval, map-query-replace-regexp)
      (replace-string, replace-regexp): Clarify in doc strings that
      these commands operate from point to the end of the buffer's
      accessible portion.  (Bug#23067)
    • Eli Zaretskii's avatar
      Fix scrolling upwards with 'xwidget-webkit-browse-url' · e70ee9d6
      Eli Zaretskii authored
      * src/xwidget.c (Fxwidget_set_adjustment): Use CHECK_NUMBER instead
      of CHECK_NATNUM.  Suggested by Shayan Pirani <shayanpirani@gmail.com>.
    • K. Handa's avatar
      Fix display of Indic scripts · 44782dea
      K. Handa authored
      * ftfont.c (ftfont_shape_by_flt): For combining characters out
      of the range U+300...U+36F, use the "combining" FLT only with
      non-OTF fonts.
    • Eli Zaretskii's avatar
      Fix splash screen display at startup · 326c64fc
      Eli Zaretskii authored
      * src/frame.c (DEFAULT_ROWS): Enlarge to 36, so that the initial
      window displayed by "emacs -q" has enough space to show the whole
      text even if it includes 2 lines talking about recovering crashes
      sessions.  (Bug#23074)
      * lisp/startup.el (use-fancy-splash-screens-p): Fix off-by-one
      error when computing the window-height from frame-height.
      * etc/NEWS: Mention the change.
    • Martin Rudalics's avatar
    • Martin Rudalics's avatar
      Describe temporary displays in Emacs manual · a1cd84cf
      Martin Rudalics authored
      * doc/emacs/emacs.texi (Temporary Displays): New subsubsection.
      * doc/emacs/windows.texi (Window Choice): Minor fixes.
      (Temporary Displays): New subsubsection describing display of
      temporary buffers and `temp-buffer-resize-mode'.
  9. 24 Mar, 2016 6 commits
    • Paul Eggert's avatar
      Avoid stray As next to IDLW icons · 5ec10564
      Paul Eggert authored
      * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere):
      Use "" for empty labels, not "a", as the latter now displays stray
      "A"s (Bug#18997).
    • Paul Eggert's avatar
      Avoid GTK 3 crash with icons and masks · 45577d54
      Paul Eggert authored
      Problem reported by Mosè Giordano (Bug#18997).
      * src/gtkutil.c (xg_get_pixbuf_from_pixmap): Remove.
      (xg_get_pixbuf_from_pix_and_mask): Do not use
      xg_get_pixbuf_from_pixmap, as it is poorly documented.  Instead,
      invoke XGetPixel directly.  This is slow but speed is not
      important here.  Also, fail for unusual situations (not TrueColor,
      or images that are not 8 bits per sample) instead of displaying
      junk or crashing.
    • Juri Linkov's avatar
      * lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer · e99ff6e8
      Juri Linkov authored
      instead of shrink-window-if-larger-than-buffer.  (Bug#23092)
    • Eli Zaretskii's avatar
      Define make_save_ptr_ptr unconditionally · 077b78cf
      Eli Zaretskii authored
      * src/alloc.c (make_save_ptr_ptr): Remove the !(defined
      USE_X_TOOLKIT || defined USE_GTK) conditional.  Reported by
      Philipp Stephani <phst@google.com>.  (Bug#23101)
    • Eli Zaretskii's avatar
      Preserve current buffer when popping up TTY menus · 20a1003f
      Eli Zaretskii authored
      * src/term.c (tty_menu_show): Be sure to save and restore the
      current buffer around TTY menu pop-ups.  (Bug#23101)
    • Eli Zaretskii's avatar
      Improve font selection by family on MS-Windows · 7eba90c1
      Eli Zaretskii authored
      * src/w32font.c (w32font_list_internal): Allow 'ascii-0' charset,
      in addition to 'iso10646-1', 'unicode-bmp', and 'unicode-sip'.
      This avoids rejecting many font families whose members are shown
      by 'font-family-list', in particular 'courier' requested by
      info.el.  Without this change, many values of ':family' attribute
      of a face have no effect on MS-Windows, because they are rejected
      due to bogus mismatch of the charset.
  10. 23 Mar, 2016 4 commits
    • Paul Eggert's avatar
      Comint, term, and compile now set EMACS · 73d213f2
      Paul Eggert authored
      This fixes directory tracking in ansi-term, at the expense of
      breaking some usages of 'configure'.  Setting EMACS is meant to be
      a somewhat temporary measure, until Bash 4.4 comes out and is
      common.  (Bug#20484).
      * etc/NEWS: Document this.
      * lisp/comint.el (comint-exec-1):
      * lisp/net/tramp-sh.el (tramp-remote-process-environment):
      * lisp/progmodes/compile.el (compilation-start):
      * lisp/term.el (term-exec-1):
      Go back to setting the EMACS environment variable, for backward
      compatibility to Bash 4.3 and earlier.
    • Paul Eggert's avatar
      Ignore more merges when generating ChangeLog · 9524ec5e
      Paul Eggert authored
      * build-aux/gitlog-to-emacslog: Ignore all merges from gnu.org,
      not merely those from master and emacs-NN.  The ChangeLog entries
      they generate are not that useful.
    • Paul Eggert's avatar
      Sync with gnulib · ad250f2b
      Paul Eggert authored
      This incorporates:
      2016-03-22 gitlog-to-changelog: suppress ignored chatter
      2016-03-21 sys_select: port to new Cygwin
      * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
      * lib/sys_select.in.h: Copy from gnulib.
    • Paul Eggert's avatar
      Resurrect GNUS-NEWS autogeneration · c0165ea4
      Paul Eggert authored
      * doc/misc/gnus-coding.texi (Gnus Maintenance Guide): Update
      GNUS-NEWS section to match current file locations and procedure.
      * etc/GNUS-NEWS: Regenerate by using new procedure.
      * lisp/Makefile.in (update-gnus-news): New rule, containing a
      procedure for building GNUS-NEWS.  The old procedure got lost
      somehow when Gnus was merged into Emacs.
  11. 22 Mar, 2016 1 commit