1. 08 Jan, 2017 1 commit
  2. 07 Jan, 2017 4 commits
    • Michael Albinus's avatar
      Fix a problem with `start-file-process' in Tramp · 77f35363
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
      `start-file-process' shall work when `non-essential' is
      non-nil, but there is already an established connection.
      <https://github.com/company-mode/company-mode/issues/462>
      77f35363
    • Rolf Ade's avatar
      Fix selecting SQLite database files with sql-mode (Bug#23566) · 75cdf429
      Rolf Ade authored
      * lisp/progmodes/sql.el (sql-sqlite-login-params): Allow any name as
      SQLite database file name, by default.
      (sql-get-login-ext): Fixed read-file-name arguments to provide
      path completion even if a database name pattern is customized and to
      allow creation of new SQLite database files.
      
      Copyright-paperwork-exempt: yes
      75cdf429
    • Eli Zaretskii's avatar
      Specify encoding of the bookmark file · e2720327
      Eli Zaretskii authored
      * lisp/bookmark.el (bookmark-insert-file-format-version-stamp):
      Accept an argument CODING and include a 'coding:' cookie in the
      bookmark file preamble.
      (bookmark-upgrade-file-format-from-0): Call
      'bookmark-insert-file-format-version-stamp' with the file buffer's
      encoding, as detected when it was read.
      (bookmark-file-coding-system): New variable.
      (bookmark-load): Set bookmark-file-coding-system to the encoding
      of the loaded file.
      (bookmark-write-file): Bind coding-system-for-write to either the
      user setting via "C-x RET c" or to the existing file encoding,
      defaulting to 'utf-8-emacs'.  Update the value of
      bookmark-file-coding-system.  (Bug#25365)
      e2720327
    • Eli Zaretskii's avatar
      Avoid infloop in 'ispell-region' · 50fd04cd
      Eli Zaretskii authored
      * lisp/textmodes/ispell.el (ispell-begin-skip-region-regexp):
      Protect against 'ispell-skip-region-alist' being nil.  Reported by
      Ernest Adrogué <nfdisco@gmail.com>, see
      http://lists.gnu.org/archive/html/help-gnu-emacs/2017-01/msg00007.html.
      50fd04cd
  3. 06 Jan, 2017 3 commits
    • Philipp Stephani's avatar
      Add support for Unicode whitespace in [:blank:] · 512e9886
      Philipp Stephani authored
      See Bug#25366.
      
      * src/character.c (blankp): New function for checking Unicode
      horizontal whitespace.
      * src/regex.c (ISBLANK): Use 'blankp' for non-ASCII horizontal
      whitespace.
      (BIT_BLANK): New bit for range table.
      (re_wctype_to_bit, execute_charset): Use it.
      * test/lisp/subr-tests.el (subr-tests--string-match-p--blank): Add
      unit test for [:blank:] character class.
      * test/src/regex-tests.el (test): Adapt unit test.
      * doc/lispref/searching.texi (Char Classes): Document new Unicode
      behavior for [:blank:].
      512e9886
    • Stefan Monnier's avatar
      (feedmail-deduce-address-list): Avoid add-to-list on local variables. · 8f037630
      Stefan Monnier authored
      Author:
      
      * lisp/mail/feedmail.el (feedmail-deduce-address-list):
      Avoid add-to-list on local variables.
      8f037630
    • Noam Postavsky's avatar
      Fix isearch handling of C-u C-u... · 69b9224a
      Noam Postavsky authored
      * lisp/isearch.el: Add `isearch-scroll' property to
      universal-argument-more so that `isearch-allow-scroll' will apply to it
      as well.
      (isearch-pre-command-hook): Let `isearch-allow-prefix' apply to
      `universal-argument-more' as well (Bug#25302).
      69b9224a
  4. 05 Jan, 2017 7 commits
  5. 04 Jan, 2017 3 commits
    • Alan Third's avatar
      Revert "Rework NS event handling (bug#25265)" · 308d5962
      Alan Third authored
      This reverts commit e0e5b0f4.
      308d5962
    • Paul Eggert's avatar
      Port recent autogen.sh changes to Darwin · 44c588a2
      Paul Eggert authored
      Problem reported by Sam Steingold (Bug#25347).
      * autogen.sh: Don't assume 'sed -f-' reads a script from stdin, as
      POSIX does not require it and it does not work on Darwin.
      44c588a2
    • Stefan Monnier's avatar
      Avoid add-to-list on local variables · 2ec41c41
      Stefan Monnier authored
      * lisp/gnus/nnir.el: Use lexical-binding and cl-lib.
      (nnir-retrieve-headers): Use pcase.
      (nnir-search-thread): Avoid add-to-list on local variables.
      
      * lisp/gnus/smime.el: Use lexical-binding and cl-lib.
      (smime-verify-region): Avoid add-to-list on local variables.
      
      * lisp/mail/undigest.el: Use lexical-binding and cl-lib.
      (rmail-digest-parse-mime, rmail-digest-rfc1153)
      (rmail-digest-parse-rfc934): Avoid add-to-list on local variable.
      
      * lisp/net/ldap.el (ldap-search): Move init into declaration.
      
      * lisp/net/newst-backend.el (newsticker--cache-add):
      Avoid add-to-list on local variables; Simplify code with `assq'.
      
      * lisp/net/zeroconf.el: Use lexical-binding and cl-lib.
      (dbus-debug): Remove declaration, unused.
      (zeroconf-service-add-hook, zeroconf-service-remove-hook)
      (zeroconf-service-browser-handler, zeroconf-publish-service):
      Avoid add-to-list and *-hook on local variables.
      
      * lisp/org/org-archive.el (org-all-archive-files):
      * lisp/org/org-agenda.el (org-agenda-get-restriction-and-command):
      Avoid add-to-list on local variables.
      
      * lisp/org/ox-publish.el (org-publish--run-functions): New function.
      (org-publish-projects): Use it to avoid run-hooks on a local variable.
      (org-publish-cache-file-needs-publishing): Avoid add-to-list on
      local variables.
      
      * lisp/progmodes/ada-prj.el: Use setq instead of (set '...).
      (ada-prj-load-from-file): Avoid add-to-list on local variables.
      
      * lisp/progmodes/ada-xref.el (ada-initialize-runtime-library): Simplify.
      (ada-gnat-parse-gpr, ada-parse-prj-file-1)
      (ada-xref-find-in-modified-ali): Avoid add-to-list on local variables.
      
      * lisp/progmodes/idlw-shell.el (idlwave-shell-update-bp-overlays):
      Avoid add-to-list on local variables.
      2ec41c41
  6. 03 Jan, 2017 7 commits
    • Mark Oteiza's avatar
      Turn on lexical-binding in md4.el · f49f8c14
      Mark Oteiza authored
      * lisp/md4.el: Turn on lexical-binding.
      * test/lisp/md4-tests.el: New file.
      f49f8c14
    • Stefan Merten's avatar
      Lots of refactorings and a few minor improvements. · 9ed3685a
      Stefan Merten authored
      User visible improvements and changes:
      * Improve and debug `rst-forward-section` and `rst-backward-section`.
      * Auto-enumeration may be used with all styles for list insertion.
      * Improve and debug `rst-toc-insert`.
      * Adapt change in Emacs to use customization group `text` instead of `wp`.
      * Bind `n` and `p` in `rst-toc-mode`.
      * `z` in `toc-mode` returns to the previous window configuration.
      * Require Emacs version >= 24.1.
      
      Lots of refactorings including:
      * Silence byte compiler.
      * Use lexical binding.
      * Use `cl-lib`.
      * Add tests and raise test coverage.
      9ed3685a
    • Stefan Monnier's avatar
      (cl-defstruct): Improve error message for slots w/o value (bug#25312) · e28c9908
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Don't signal an error but
      emit a warning for those coders who forgot to put a default value in
      their slot.
      e28c9908
    • Philipp Stephani's avatar
      Small patch for ffap.el · 5c6f1198
      Philipp Stephani authored
      * lisp/ffap.el (ffap-alist): Document that ffap sets the match data
      while walking 'ffap-alist'.
      5c6f1198
    • Eli Zaretskii's avatar
      Generate nt/gnulib.mk from lib/gnulib.mk · 10444dcf
      Eli Zaretskii authored
      This was proposed by Paul Eggert <eggert@cs.ucla.edu>,
      with the purpose of avoiding manual maintenance of
      nt/gnulib.mk.
      
      * nt/gnulib-modules-to-delete.cfg: New file.
      * nt/Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0)
      (am__v_GEN_1): New variables.
      (${srcdir}/gnulib.mk): Rules to generate gnulib.mk from
      lib/gnulib.mk and list of modules in gnulib-modules-to-delete.cfg.
      
      * make-dist (nt): Add gnulib-modules-to-delete.cfg to the list of
      files to link.
      * configure.ac (GNULIB_MK): Compute the value according to $opsys.
      * autogen.sh: Create nt/gnulib.mk if it doesn't exist, before
      running autoreconf.
      * Makefile.in (gnulib_mk): New variable.
      ($(srcdir)/nt/gnulib.mk): Rule to produce it.
      (AUTOMAKE_INPUTS): Use $(gnulib_mk) instead of a literal file
      name.
      * .gitignore: Add nt/gnulib.mk.
      
      * src/w32.c (acl_errno_valid): Implement it here, as we no longer
      build the acl-permissions module from Gnulib.
      10444dcf
    • Noam Postavsky's avatar
      Handle multibyte chars spanning chunks in term.el · 134e86b3
      Noam Postavsky authored
      * lisp/term.el (term-terminal-undecoded-bytes): New variable.
      (term-mode): Make it buffer local.  Don't make `term-terminal-parameter'
      buffer-local twice.
      (term-emulate-terminal): Check for bytes of incompletely decoded
      characters, and save them until the next call when they can be fully
      decoded (Bug#25288).
      134e86b3
    • Michael Albinus's avatar
      Finish work on filenotify-tests.el · 975b2acf
      Michael Albinus authored
      * test/lisp/filenotify-tests.el (file-notify--test-monitors):
      New variable.
      (file-notify--test-cleanup, file-notify--test-monitor): Use it.
      (file-notify--test-read-event, file-notify-test02-events)
      (file-notify-test04-file-validity): Handle "gvfs-monitor-dir.exe".
      (file-notify-test03-autorevert)
      (file-notify-test08-watched-file-in-watched-dir):
      Set `file-notify--test-desc' for proper work of
      `file-notify--test-monitor'.  (Bug#21804)
      975b2acf
  7. 02 Jan, 2017 4 commits
    • Michael Albinus's avatar
      Check also for "gvfs-monitor-dir.exe" in Tramp · 1d714e41
      Michael Albinus authored
      * lisp/net/tramp-sh.el (tramp-get-remote-gvfs-monitor-dir): Check also
      for "gvfs-monitor-dir.exe".
      1d714e41
    • Eli Zaretskii's avatar
      Fix compilation --without-x · 443f1719
      Eli Zaretskii authored
      * src/composite.c (autocmp_chars) [HAVE_WINDOW_SYSTEM]: Call
      font_range only if it is compiled in.  (Bug#25334)
      443f1719
    • Sašo Živanović's avatar
      Fix RefTeX to show table of contents for dtx files (tiny change) · 1e8bb313
      Sašo Živanović authored
      * lisp/textmodes/reftex.el (reftex-compile-variables): Change the
        section regexp so that it accepts lines starting with the comment
        character. (tiny change)
      * lisp/textmodes/reftex-parse.el (reftex-parse-from-file): Filter
        gathered toc entries, accepting a commented entry if and only if the
        source file is a ".dtx" file. (tiny change)
      1e8bb313
    • Paul Eggert's avatar
      Remove mistakenly-added files · 367dadf5
      Paul Eggert authored
      Problem reported by Glenn Morris in:
      http://lists.gnu.org/archive/html/emacs-devel/2017-01/msg00008.html
      * lisp/gnus/gnus-ems.el, lisp/gnus/gnus-sync.el:
      * lisp/gnus/messcompat.el, lisp/nxml/nxml-glyph.el:
      * lisp/nxml/nxml-uchnm.el, lisp/obsolete/awk-mode.el:
      * lisp/obsolete/iso-acc.el, lisp/obsolete/iso-insert.el:
      * lisp/obsolete/iso-swed.el, lisp/obsolete/resume.el:
      * lisp/obsolete/scribe.el, lisp/obsolete/spell.el:
      * lisp/obsolete/swedish.el, lisp/obsolete/sym-comp.el:
      Remove files that were added by mistake during a merge.
      367dadf5
  8. 01 Jan, 2017 11 commits