1. 10 Mar, 2018 2 commits
    • Eli Zaretskii's avatar
      Improve support for desktop restoration in daemon mode · a8be860e
      Eli Zaretskii authored
      * lisp/server.el (server-after-make-frame-hook): New hook.
      (server-execute): Call it after creating a new frame or before
      switching to a buffer shown in a client frame.  (Bug#30421)
      * doc/emacs/misc.texi (Saving Emacs Sessions): Adjust advice for
      restoring desktop in daemon mode to the new hook.
      * doc/lispref/frames.texi (Creating Frames, Standard Hooks):
      Document server-after-make-frame-hook.
      * etc/NEWS: Mention server-after-make-frame-hook.
    • Aaron Jensen's avatar
      Allow underline position variables be buffer-local · bbf53d99
      Aaron Jensen authored
      * src/nsterm.m (ns_draw_text_decoration):
      * src/w32term.c (x_draw_glyph_string):
      * src/xterm.c (x_draw_glyph_string): Allow underline-minimum-offset,
      underline-at-descent-line, and x-use-underline-position-properties
      be buffer local variables.  (Bug#30553)
      * src/xdisp.c (syms_of_xdisp) <underline-minimum-offset>: Add DEFSYM.
  2. 09 Mar, 2018 9 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Quieten --without-json compilation of json-tests.el · d3ceff63
      Glenn Morris authored
      * test/src/json-tests.el (json-serialize, json-insert)
      (json-parse-string, json-parse-buffer): Declare.
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      Fix string-to-number C-level mishandling · ae063414
      Paul Eggert authored
      * src/sysdep.c (list_system_processes):
      * src/xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
      Defend against Fstring_to_number returning a float or a nonsense
    • Glenn Morris's avatar
      Quieten compilation of some test/lisp files · 94a59a6d
      Glenn Morris authored
      * test/lisp/dired-tests.el (dired-test-bug27243-02)
      (dired-test-bug27243-03, dired-test-bug27899)
      (dired-test-with-temp-dirs): Remove unused local variables.
      * test/lisp/hi-lock-tests.el (hi-lock-bug26666)
      (hi-lock-test-set-pattern): Mark unused arguments.
      * test/lisp/ses-tests.el (ses-tests-renamed-cells-row-insertion):
      Remove unused global "ses-tests-trigger".
      * test/lisp/simple-tests.el (line-number-at-pos-when-passing-point):
      Remove unused local "pos".
      * test/lisp/emacs-lisp/benchmark-tests.el (benchmark-tests):
      Pacify compiler.
      * test/lisp/emacs-lisp/package-tests.el (package-test-signed):
      Replace obsolete function epg-configuration.
      * test/lisp/ls-lisp-tests.el:
      * test/lisp/eshell/em-ls-tests.el: Require dired.
      * test/lisp/progmodes/ruby-mode-tests.el
      * test/lisp/vc/diff-mode-tests.el
      (diff-mode-test-ignore-trailing-dashes): Replace interactive funcs.
    • Paul Eggert's avatar
      Avoid losing info when formatting integers · 80e145fc
      Paul Eggert authored
      * doc/lispref/numbers.texi (Integer Basics): Clarify that
      out-of-range integers are treated as floating point only when the
      integers are decimal.
      * etc/NEWS: Mention changes.
      * src/editfns.c (styled_format): Use %.0f when formatting %d or %i
      values outside machine integer range, to avoid losing info.
      Signal an error for %o or %x values that are too large to be
      formatted, to avoid losing info.
    • Glenn Morris's avatar
      Replace uses of the obsolete local-write-file-hooks · cb0f6348
      Glenn Morris authored
      * lisp/net/quickurl.el (quickurl-reread-hook-postfix):
      * lisp/progmodes/ebrowse.el (ebrowse-tree-mode)
      * lisp/progmodes/glasses.el (glasses-mode):
      * lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init):
      * lisp/vc/ediff-merg.el (ediff-set-merge-mode):
      * lisp/vc/ediff-util.el (ediff-setup):
      Replace local-write-file-hooks, obsolete since 22.1,
      with write-file-functions.
    • Paul Eggert's avatar
      Update from Gnulib · f0c590b8
      Paul Eggert authored
      This includes:
      2018-03-08 fflush: be more paranoid about libio.h change
      * lib/fpending.c: Copy from Gnulib.
  3. 08 Mar, 2018 11 commits
  4. 07 Mar, 2018 8 commits
    • Glenn Morris's avatar
      Replace some obsolete aliases in code · 68517540
      Glenn Morris authored
      * lisp/net/eudc-bob.el (eudc-bob-mail-keymap):
      * lisp/textmodes/reftex-toc.el (reftex-make-separate-toc-frame):
      Replace obsolete aliases.
    • Glenn Morris's avatar
      Replace some obsolete aliases in documentation · 6bcb48cf
      Glenn Morris authored
      * doc/misc/efaq-w32.texi (Incoming mail with Rmail):
      * doc/misc/speedbar.texi (Major Display Modes):
      * lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer):
      Doc fixes re obsolete aliases.
      ; * lisp/autoinsert.el (auto-insert):
      ; * lisp/ffap.el (ffap-newfile-prompt):
      ; * lisp/woman.el (woman-insert-file-contents): Comment fixes.
    • Eli Zaretskii's avatar
      Minor improvements in manuals · 317da2ac
      Eli Zaretskii authored
      * doc/lispref/variables.texi (Local Variables): Make more clear
      that local bindings of 'let' are in effect only within the body.
      Suggested by Marcin Borkowski <mbork@mbork.pl>, see
      for the details.
      * doc/emacs/programs.texi (Matching): Fix a typo.  Reported by
      Alex Branham <alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
      Improve indexing.
    • Eli Zaretskii's avatar
      Minor copyedits in display.texi · 61c1f80f
      Eli Zaretskii authored
      * doc/emacs/display.texi (Highlight Interactively)
      (Useless Whitespace, Line Truncation, Visual Line Mode): Minor
      changes of wording and typo corrections.  Suggested by Michael
      Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.
    • Eli Zaretskii's avatar
      Fix display of TABs in hscrolled windows with line numbers · 1ac19055
      Eli Zaretskii authored
      * src/dispextern.h (struct it): New members tab_offset and
      * src/xdisp.c (display_line): Don't set row->x to a negative value
      if line numbers are being displayed.  (Bug#30582)
      Reset the line_number_produced_p flag before laying out the glyph
      (x_produce_glyphs): Use the line_number_produced_p flag to decide
      whether to offset the X coordinate due to line-number display.
      Use the tab_offset member to restore the original TAB width for
      alignment purposes.
      (move_it_in_display_line_to): Don't produce line numbers when moving
      in hscrolled window to the left of first_visible_x.
      (maybe_produce_line_number): Set the line_number_produced_p flag.
      * src/term.c (produce_glyphs): Correct TAB width only when
      line_number_produced_p flag is set.
    • Glenn Morris's avatar
      Remove some unused spam.el variables · d523e4ac
      Glenn Morris authored
      * lisp/gnus/spam.el (spam-ifile-path, spam-ifile-database-path)
      (spam-bogofilter-path, spam-bsfilter-path)
      (spam-spamassassin-path, spam-sa-learn-path):
      Remove variables that are described as obsolete, but are
      really completely unused, and have been for years.
    • Glenn Morris's avatar
      Replace some obsolete aliases in code · 501808ce
      Glenn Morris authored
      * lisp/emulation/viper.el (viper-set-hooks):
      * lisp/epa-hook.el (auto-encryption-mode):
      * lisp/term/pc-win.el (set-frame-font): Replace obsolete aliases.
      * lisp/net/quickurl.el (quickurl--assoc-function): New.
      (quickurl-assoc-function): Use it.
    • Glenn Morris's avatar
      Replace some obsolete aliases in documentation · 19afff31
      Glenn Morris authored
      * doc/emacs/text.texi (Nroff Mode):
      * doc/misc/efaq.texi (How to add fonts):
      * lisp/gnus/nnheader.el (nnheader-insert-file-contents):
      * lisp/progmodes/pascal.el (pascal-outline-mode):
      Doc fixes re obsolete aliases.
      ; * src/frame.c (do_switch_frame): Comment.
  5. 06 Mar, 2018 6 commits
  6. 05 Mar, 2018 4 commits