1. 20 Nov, 2016 6 commits
    • Eli Zaretskii's avatar
      Fix redrawing non-selected frame after resize on MS-Windows · 56a47981
      Eli Zaretskii authored
      * src/xdisp.c (redisplay_internal): If all the frames were
      successfully updated, reset the "garbaged" flag of each frame, to
      make sure it doesn't stay set.
      
      * src/w32term.c (w32_read_socket): Don't clear the frame if it's
      "garbaged", since expose_frame won't redraw the foreground then.
      (Bug#24642)
      56a47981
    • Michael Albinus's avatar
      Add file-local-name · 22946702
      Michael Albinus authored
      * doc/lispref/files.texi (Magic File Names): Add `file-local-name'.
      (Unique File Names): Use it.
      
      * etc/NEWS: Mention `file-local-name'.
      
      * lisp/files.el (file-local-name): New defun.
      (file-expand-wildcards):
      * lisp/eshell/em-tramp.el (eshell/su, eshell/sudo):
      * lisp/eshell/esh-ext.el (eshell-remote-command):
      * lisp/eshell/esh-proc.el (eshell-gather-process-output):
      * lisp/org/ob-core.el (org-babel-local-file-name):
      * lisp/progmodes/gud.el (gud-common-init, gud-format-command):
      * lisp/progmodes/python.el (python-shell-send-file):
      * lisp/shell.el (shell):
      * lisp/vc/ediff-diff.el (ediff-same-file-contents):
      * lisp/vc/vc-git.el (vc-git-checkin): Use it.
      22946702
    • Tino Calancha's avatar
    • Tino Calancha's avatar
    • Paul Eggert's avatar
      Document format-time-string %q · b81bb485
      Paul Eggert authored
      * doc/lispref/os.texi (Time Parsing):
      * etc/NEWS: Document new %q functionality taken from gnulib.
      b81bb485
    • Paul Eggert's avatar
      Merge from gnulib · bbd84f86
      Paul Eggert authored
      This incorporates:
      2016-11-15 sys_time: add gnulib::timeval for C++
      2016-11-14 snippet/c++defs: fix real-floating arg functions in C++ mode
      2016-11-13 strftime: don't use __THROW
      2016-11-12 strftime: tune %q
      2016-11-12 Merge strftime.c changes from glibc
      2016-11-09 manywarnings: fix -Wno-missing-field-initializers detection
      2016-11-05 strftime,strptime: support %q to represent the quarter
      
      The glibc changes in turn incorporate the following strftime.c changes:
      2015-10-20 Convert misc function definitions to prototype style
      2015-09-26 [BZ #18985] out of range data to strftime() causes segfault
      2010-01-09 Add support for XPG7 testing
      2009-10-30 Implement Burmese language locale for Myanmar
      2008-06-13 [BZ #6612] pass reference to tzset_called around
      2007-10-16 [BZ #5184] Add tzset_called argument
      
      * build-aux/snippet/c++defs.h, lib/strftime.c, lib/sys_time.in.h:
      * m4/manywarnings.m4: Copy from gnulib.
      bbd84f86
  2. 19 Nov, 2016 12 commits
    • Paul Eggert's avatar
      ; Spelling fixes · 493a8f33
      Paul Eggert authored
      493a8f33
    • Paul Eggert's avatar
      Merge from origin/emacs-25 · 870c56a0
      Paul Eggert authored
      07f45d77 ; Spelling fix
      1a210f08 * admin/release-process: Update versions and blocking bug num...
      36bafc9c Improve documentation of functions that accept time values
      
      # Conflicts:
      #	admin/release-process
      #	src/editfns.c
      870c56a0
    • Paul Eggert's avatar
      ; Merge from origin/emacs-25 · 6a03b47f
      Paul Eggert authored
      The following commit was skipped:
      
      a37c08d5 Speed up initialization by preferring /dev/urandom to GnuTLS
      6a03b47f
    • Paul Eggert's avatar
      Merge from origin/emacs-25 · c61ee949
      Paul Eggert authored
      4af5981d Add a comment in generated refcards about the source
      ef880a5e ; * etc/refcards/calccard.tex: Remove obsolete comment.
      4887e7c6 js-mode: Fix indent problem after a regexp
      e992ac0a Fix sluggish display of symbols in UTF-8 language environment
      1fc101b0 Don't confuse how Texinfo outputs @var with the input
      91aa5d19 * doc/lispref/display.texi (Scroll Bars): * doc/lispref/frame...
      f758fcdb * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --da...
      5b0cddd9 More fixes in copyright notices in etc/refcards/
      f994c204 Update copyright text in refcards
      9ad2ae77 Fix Outline command names
      26c3554f Send text received by bracketed paste to process
      db0b58da Correct the statement about programming modes always running ...
      78aece49 Improve documentation of 'occur'
      eb364fdd Do call debugger on failed cl-assert
      3ef4ee84 Avoid infloop in python
      8da810f9 Don't refer to obsolete FEATURE-unload-hook
      4f478ca0 Improve documentation of dabbrevs
      7272e5db * lisp/chistory.el (list-command-history): Doc fix.  (Bug#24890)
      89b74829 * lisp/simple.el (set-mark-command): Doc fix.  (Bug#24890)
      3b199f7c Improve documentation of some Help commands
      93d3a0e3 Fix documentation of yes-or-no prompts
      af04919f Fix documentation of partial completion style
      ed80184d Fix documentation of the mode line on emacsclient frames
      e6be8557 Fix description of 'C-z' in User manual
      16f70070 Improve and clarify documentation of Outline Mode
      31d93aa1 Add Emacs version number to nt/README.W32
      0b6b8151 Fix python-mode hideshow regexp
      dc152c54 Modernize usage of 'macOS' in doc and comments
      84c53436 Prefer comments /* like this */ in C code
      bb61e505 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845).
      3ef86fd0 Clarify documentation of face attribute functions
      de51d598 ; * nt/README.W32: Minor copyedits.
      db436e93 Don't call debug on failed cl-assert
      
      # Conflicts:
      #	doc/emacs/cmdargs.texi
      #	etc/NEWS
      #	etc/PROBLEMS
      #	lisp/auth-source.el
      #	lisp/net/tramp-sh.el
      c61ee949
    • Paul Eggert's avatar
      ; Spelling fix · 07f45d77
      Paul Eggert authored
      07f45d77
    • Mark Oteiza's avatar
      Port RefTeX to cl-lib · b19e05b1
      Mark Oteiza authored
      * lisp/textmodes/reftex-auc.el:
      * lisp/textmodes/reftex-cite.el: Use cl-lib.
      (reftex-do-citation, reftex-create-bibtex-file): Substitute cl-lib
      macros.
      * lisp/textmodes/reftex-dcr.el: Use cl-lib.
      (reftex-view-regexp-match): Substitute cl-lib macro.
      * lisp/textmodes/reftex-global.el: Use cl-lib.
      (reftex-find-duplicate-labels, reftex-renumber-simple-labels):
      (reftex-translate): Substitute cl-lib macros.
      * lisp/textmodes/reftex-index.el: Use cl-lib.
      (reftex-index, reftex-index-select-tag, reftex-index-mode-map):
      (reftex-index-next-phrase, reftex-index-phrases-info):
      (reftex-query-index-phrase): Substitute cl-lib macros.
      * lisp/textmodes/reftex-parse.el: Use cl-lib.
      (reftex-parse-from-file, reftex-where-am-I, reftex-what-macro):
      (reftex-nth-arg, reftex-init-section-numbers, reftex-section-number):
      Substitute cl-lib macros.
      * lisp/textmodes/reftex-ref.el: Use cl-lib.
      (reftex-uniquify-label, reftex-offer-label-menu): Substitute cl-lib
      macros.
      * lisp/textmodes/reftex-sel.el: Use cl-lib.
      (reftex-select-shared-map): Set keymap parent to special-mode-map.
      Flatten loop and remove digits and hyphen definitions from the map.
      (reftex-select-label-mode-map):
      (reftex-select-bib-mode-map): Use cl-lib macro, and flatten other loop.
      (reftex-insert-docstruct, reftex-select-unmark): Use cl-lib macros.
      * lisp/textmodes/reftex-vars.el (reftex-vref-is-default): Use
      cl-pushnew.
      * lisp/textmodes/reftex.el: Use cl-lib.
      (reftex-docstruct-symbol): Use cl-incf.
      (reftex-ref-style-toggle): Replace add-to-list with append.
      (reftex-compile-variables): Use cl-lib macros, and functions with
      compiler macros. cl-first is just an alias.
      (reftex-parse-args, reftex-scanning-info-available-p):
      (reftex-select-external-document, reftex-get-file-buffer-force): Use
      cl-lib macros.
      (reftex-isearch-minor-mode): Replace add-to-list with append.
      b19e05b1
    • Tino Calancha's avatar
      ibuffer-exchange-filters: Simplify code · 92b3528c
      Tino Calancha authored
      * lisp/ibuf-ext.el (ibuffer-exchange-filters): Use cl-rotatef.
      92b3528c
    • Eli Zaretskii's avatar
      Implement getrlimit and setrlimit for MS-Windows · 4cdd14ea
      Eli Zaretskii authored
      * src/w32heap.c (getrlimit, setrlimit): New functions.
      Include w32.h.
      * src/emacs.c (main): Use 'rlim_t', not 'long', for values that
      should be compatible with 'struct rlimit' members.
      
      * nt/inc/sys/resource.h: New header file.
      
      * nt/mingw-cfg.site (ac_cv_func_getrlimit, ac_cv_func_setrlimit):
      Set to "yes".
      4cdd14ea
    • Eli Zaretskii's avatar
    • Mark Oteiza's avatar
      Move key mappings into reftex-mode-map defvar · 6cdd1c33
      Mark Oteiza authored
      * lisp/textmodes/reftex.el (reftex-mode-map): Assimilate top-level
      key mappings.
      (reftex-reset-mode): Just use dolist.
      6cdd1c33
    • Mark Oteiza's avatar
      Derive reftex-index-mode from special-mode · 66f80708
      Mark Oteiza authored
      * lisp/textmodes/reftex-index.el (reftex-index-mode-map): Flatten
      loop.  Remove digit keys and hyphen, as reftex-index-mode is derived
      from special-mode now.
      (reftex-index-mode): Derive from special-mode.
      (reftex-index-phrases-mode-map): Flatten loop. Fix erroneous docstring.
      66f80708
    • Mark Oteiza's avatar
      Clean up reftex-toc-mode-map · 21899699
      Mark Oteiza authored
      * lisp/textmodes/reftex-toc.el: Remove cl.
      (reftex-toc-mode-map): Flatten loop.  Remove mapping digit keys and
      hyphen, as reftex-toc-mode is derived from special-mode nowadays.
      21899699
  3. 18 Nov, 2016 10 commits
  4. 17 Nov, 2016 4 commits
    • Mark Oteiza's avatar
      Port registry.el the rest of the way to cl-lib · 922426da
      Mark Oteiza authored
      This file already is using cl-lib functions at runtime; eieio ultimately
      loads cl-lib, which explains why doing so wasn't an issue.
      * lisp/registry.el: Require cl-lib.
      (registry-db, registry--match, registry-search, registry-delete):
      (registry-insert, registry-reindex): Replace cl macros with cl-lib ones.
      (registry-collect-prune-candidates): Replace cl function with cl-lib one.
      922426da
    • Mark Oteiza's avatar
      Fix arglist in python.el (Bug#24762) · 5b003caa
      Mark Oteiza authored
      * lisp/progmodes/python.el: Remove unneeded second args.
      (python-define-auxiliary-skeleton): DOC arg should be &optional.
      5b003caa
    • Simen Heggestøyl's avatar
      Add tests for rot13.el · edda93cf
      Simen Heggestøyl authored
      * lisp/rot13.el (rot13): Docstring correction.
      
      * test/lisp/rot13-tests.el: New file with tests for rot13.el.
      edda93cf
    • Michael Albinus's avatar
      Fix Bug#24947 (Tramp + ido) · 6653bb45
      Michael Albinus authored
      * lisp/ido.el (ido-read-internal): Prevent eager Tramp connection.
      
      * lisp/net/tramp.el (tramp-handle-file-name-case-insensitive-p):
      Run remote tests only if a connection is established only.  (Bug#24947)
      6653bb45
  5. 16 Nov, 2016 8 commits
    • Dmitry Gutov's avatar
      js-mode: Fix indent problem after a regexp · 4887e7c6
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js--looking-at-operator-p): Check that the
      slash is not ending a regexp (bug#24854).
      4887e7c6
    • Ken Brown's avatar
      Unbreak the build on Darwin (Bug#24957) · cf897a70
      Ken Brown authored
      * src/fileio.c (file_name_case_insensitive_p) [DARWIN_OS]: Fix
      mistakes in recent commit.
      cf897a70
    • NicolasPetton's avatar
      Do not use map.el in seq-tests.el · f6397685
      NicolasPetton authored
      * test/lisp/emacs-lisp/seq-tests.el: Do not use map.el.  map.el was
      introduced in Emacs 25.1, but seq.el is also available in GNU ELPA for
      Emacs 24.5.
      f6397685
    • Eli Zaretskii's avatar
      Fix sluggish display of symbols in UTF-8 language environment · e992ac0a
      Eli Zaretskii authored
      * lisp/international/fontset.el (setup-default-fontset): Make sure
      Symbola and FreeMono are set up in the default fontset as belonging
      to the "iso10646-1" registry.  In the UTF-8 locale, this avoids a
      long and futile search for a suitable font, whose side effect is a
      lot of consing, which then hits the font-cache compacting issue,
      and causes very sluggish redisplay of characters displayed by
      these fonts.  All this happens because the default for the
      registry is "iso8859-1".  (Bug#24953)
      e992ac0a
    • Tino Calancha's avatar
      Update parameter :version to 26.1 in several defcustom · 5ffdbe0a
      Tino Calancha authored
      Following defcustom where added or modified for 25.2 release.
      In fact all these changes belong to 26.1 release.
      * lisp/battery.el (battery-linux-sysfs-regexp)
      * lisp/comint.el (comint-password-prompt-regexp)
      * lisp/dired.el (dired-always-read-filesystem)
      * lisp/image.el (image-scaling-factor)
      * lisp/ibuf-ext.el (ibuffer-never-search-content-name)
      (ibuffer-never-search-content-mode)
      * lisp/mouse.el (mouse-select-region-move-to-beginning)
      * lisp/net/net-utils.el (iwconfig-program, iwconfig-program-options)
      (netstat-program, route-program, route-program-options)
      * lisp/net/sieve-manage.el (sieve-manage-default-stream)
      * lisp/progmodes/grep.el (grep-save-buffers)
      * lisp/vc/add-log.el (change-log-directory-files)
      * lisp/url/url-vars.el (url-user-agent)
      * lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles)
      (vc-hg-use-file-version-for-mode-line-version)
      (vc-hg-parse-hg-data-structures)
      * lisp/wdired.el (wdired-create-parent-directories)
      * lisp/faces.el (homoglyph, nobreak-hyphen, read-multiple-choice-face)
      * lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
      (gnus-button-url-regexp)
      * lisp/window.el (switch-to-buffer-preserve-window-point)
      * lisp/ibuffer.el (ibuffer-formats, ibuffer-locked-char)
      (ibuffer-locked-buffer)
      * lisp/textmodes/flyspell.el (flyspell-sort-corrections-function)
      * lisp/emacs-lisp/edebug.el (edebug-sit-on-break)
      * lisp/gnus/message.el (message-user-fqdn)
      * lisp/simple.el (shell-command-dont-erase-buffer)
      (extended-command-suggest-shorter)
      * lisp/net/shr.el (shr-use-fonts)
      * lisp/files.el (mounted-file-systems, kill-emacs-query-functions)
      5ffdbe0a
    • Glenn Morris's avatar
      Add --new-daemon, which runs in the foreground and does not fork · 36b99556
      Glenn Morris authored
      This is intended for modern init systems such as systemd,
      which manage many of the traditional aspects of daemon behavior
      themselves.  (Bug#2677)
      * src/emacs.c (daemon_type): New integer.
      (usage, standard_args): Add --old-daemon and --new-daemon.
      (main): Handle --old-daemon and --new-daemon arguments.
      Restrict all the forking and complicated daemon stuff to old-daemon.
      (Fdaemon_initialized): Handle new-style daemon.
      * src/lisp.h (IS_DAEMON, DAEMON_RUNNING) [!WINDOWNT]:
      Replace daemon_pipe with daemon_type.
      * doc/emacs/cmdargs.texi (Initial Options):
      * doc/emacs/glossary.texi (Glossary):
      * doc/emacs/misc.texi (Emacs Server):
      * doc/lispref/display.texi (Window Systems):
      * doc/lispref/os.texi (Startup Summary): Related doc updates.
      * etc/NEWS: Mention this.
      * etc/emacs.service: Use Type=simple and --new-daemon.
      36b99556
    • Glenn Morris's avatar
      Don't confuse how Texinfo outputs @var with the input · 1fc101b0
      Glenn Morris authored
      * doc/emacs/rmail.texi (Movemail):
      * doc/lispref/control.texi (Pattern matching case statement):
      * doc/lispref/frames.texi (Size and Position):
      * doc/lispref/processes.texi (Asynchronous Processes):
      * doc/lispref/text.texi (Document Object Model):
      * doc/lispref/windows.texi (Coordinates and Windows):
      Do not upper-case the argument of @var.
      1fc101b0
    • Glenn Morris's avatar
      * doc/lispref/display.texi (Scroll Bars): · 91aa5d19
      Glenn Morris authored
      * doc/lispref/frames.texi (Size and Position):
      * doc/lispref/windows.texi (Window Sizes): Fix arglist typos.
      91aa5d19