1. 27 Mar, 2016 1 commit
  2. 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.
      e5c17f46
    • Glenn Morris's avatar
      bc70fda2
    • 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)
      cf40f389
    • 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.
      8ee4c52a
  3. 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)
      1e1ea22e
    • 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.
      3a13472a
    • 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.
      422c3dad
    • 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-enable-sequence)
      (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.
      90fb9b38
    • 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)
      f14d4636
    • 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>.
      (Bug#22918)
      e70ee9d6
    • 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.
      44782dea
    • 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.
      326c64fc
    • 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'.
      a1cd84cf
  4. 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).
      5ec10564
    • 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.
      45577d54
    • 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)
      e99ff6e8
    • 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)
      077b78cf
    • 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)
      20a1003f
    • 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.
      7eba90c1
  5. 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.
      73d213f2
    • 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.
      9524ec5e
    • 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.
      ad250f2b
    • 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.
      c0165ea4
  6. 22 Mar, 2016 4 commits
    • Paul Eggert's avatar
      ; Backport ChangeLog.2 fixes from master · 1e5327c7
      Paul Eggert authored
      1e5327c7
    • Anders Lindgren's avatar
      Make `toggle-frame-maximized' respect the dock on OS X (bug#22988). · e643977b
      Anders Lindgren authored
      * src/nsterm.m (ns_screen_margins): New function.
      (ns_screen_margins_ignoring_hidden_dock): New function.
      (ns_menu_bar_height): Reimplement in terms of `ns_screen_margins'.
      ([EmacsWindow zoom:]): Take all screen margins (except those
      originating from a hidden dock) into account.
      e643977b
    • Eli Zaretskii's avatar
      Fix bug in displaying header line with a box face · 38a43f1a
      Eli Zaretskii authored
      * src/xdisp.c (get_next_display_element): Handle the case when a
      display string acquires the box face from an underlying string,
      not from the buffer.  (Bug#23091)
      38a43f1a
    • Kaushal Modi's avatar
      Fix an Isearch var to be a string (Bug#23038) · 91e66769
      Kaushal Modi authored
      * isearch.el (isearch--describe-regexp-mode): The `description' var
        needs to always be a string.  Add the missing default case for the
        cond form that ensures that.
      
      Before this bug fix, for the events when `regexp-function' and
      `search-default-mode' both were nil, `description' also stayed nil.  So
      when `space-before' was non-nil, the "non-string" `description'
      (with a value of nil) got passed as an argument to
      `replace-regexp-in-string' (where a string was expected).  That caused
      the error described in Bug#23038.
      91e66769
  7. 21 Mar, 2016 1 commit
  8. 20 Mar, 2016 3 commits
  9. 19 Mar, 2016 3 commits
    • Eli Zaretskii's avatar
      Avoid errors in 'newline' · b8ea08b0
      Eli Zaretskii authored
      * lisp/simple.el (newline): Don't barf if invoked with
      non-positive argument in the middle of a line.  (Bug#22490)
      b8ea08b0
    • Michael Albinus's avatar
      Fix Bug#23032 · fc3cd539
      Michael Albinus authored
      * doc/misc/eshell.texi (Arguments): Mention the pipe symbol in
      remote file names.  (Bug#23032)
      fc3cd539
    • Eli Zaretskii's avatar
      Adjudicate review comments in abbrevs.texi · dd2737b3
      Eli Zaretskii authored
      * doc/lispref/abbrevs.texi (Abbrev Files, Abbrev Expansion):
      * doc/emacs/abbrevs.texi (Dabbrev Customization): State the
      default values of variables.  Suggested by Steve Byrne
      <sbb@penguinis.org>.  (Bug#23016)
      
      * admin/release-process (Check manuals): Mark files reviewed by
      Steve Byrne.
      dd2737b3
  10. 18 Mar, 2016 3 commits