1. 10 Mar, 2015 1 commit
  2. 02 Mar, 2015 2 commits
    • Daniel Colascione's avatar
      Add support for generators · f6b5db6c
      Daniel Colascione authored
      diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
      index 78f7e34..e7d79d5 100644
      --- a/doc/lispref/ChangeLog
      +++ b/doc/lispref/ChangeLog
      @@ -1,3 +1,8 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* control.texi (Generators): New section
      +	* elisp.text: Reference new section.
      +
       2015-02-28  Eli Zaretskii  <eliz@gnu.org>
      
       	* searching.texi (Char Classes): Update the documentation of
      diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
      index 448c7f2..4e9c119 100644
      --- a/doc/misc/ChangeLog
      +++ b/doc/misc/ChangeLog
      @@ -1,3 +1,7 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* cl.texi (Iteration Clauses): Mention iterator support.
      +
       2015-02-25  Tassilo Horn  <tsdh@gnu.org>
      
       	* reftex.texi (Multifile Documents): Document
      diff --git a/lisp/ChangeLog b/lisp/ChangeLog
      index 7ce2e81..4ab4406 100644
      --- a/lisp/ChangeLog
      +++ b/lisp/ChangeLog
      @@ -1,6 +1,8 @@
       2015-03-02  Daniel Colascione  <dancol@dancol.org>
      
      -	* vc/vc.el (vc-responsible-backend): Add autoload cooking for
      +	* emacs-lisp/generator.el: New file.
      +
      +	* vc/vc.el (vc-responsible-backend): Add autoload cookie for
       	`vc-responsible-backend'.
      
       2015-03-01  Michael Albinus  <michael.albinus@gmx.de>
      diff --git a/test/ChangeLog b/test/ChangeLog
      index 684e98f..64ad851 100644
      --- a/test/ChangeLog
      +++ b/test/ChangeLog
      @@ -1,5 +1,7 @@
       2015-03-02  Daniel Colascione  <dancol@dancol.org>
      
      +	* automated/generator-tests.el: New tests
      +
       	* automated/finalizer-tests.el (finalizer-basic)
       	(finalizer-circular-reference, finalizer-cross-reference)
       	(finalizer-error): New tests.
      f6b5db6c
    • Daniel Colascione's avatar
      Add support for finalizers · 9d8d0658
      Daniel Colascione authored
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* NEWS: Mention finalizers.
      +
       2015-02-09  Gareth Rees  <gdr@garethrees.org>  (tiny change)
      
       	* NEWS.24: Fix typo (bug#19820)
      diff --git a/src/ChangeLog b/src/ChangeLog
      index 4aa64c1..2f04d0b 100644
      --- a/src/ChangeLog
      +++ b/src/ChangeLog
      @@ -1,3 +1,21 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* print.c (print_object): Print finalizers.
      +
      +	* alloc.c:
      +	(finalizers, doomed_finalizers): New variables.
      +	(init_finalizer_list, finalizer_insert, unchain_finalizer)
      +	(mark_finalizer_list, queue_doomed_finalizers)
      +	(run_finalizer_handler, run_finalizer_function, run_finalizers):
      +	New functions.
      +	(garbage_collect_1, mark_object, sweep_misc)
      +	(init_alloc_once, syms_of_alloc): Support finalizers.
      +	(gc-precise-p): New Lisp variable.
      +
      +	* lisp.h (Lisp_Misc_Type): New value Lisp_Misc_Finalizer.
      +	(FINALIZERP, XFINALIZER): New functions.
      +	(Lisp_Finalizer): New structure.
      +
       2015-02-28  Paul Eggert  <eggert@cs.ucla.edu>
      
       	* character.c (alphabeticp, decimalnump): Avoid undefined behavior
      diff --git a/test/ChangeLog b/test/ChangeLog
      index cf1b2c1..684e98f 100644
      --- a/test/ChangeLog
      +++ b/test/ChangeLog
      @@ -1,3 +1,9 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* automated/finalizer-tests.el (finalizer-basic)
      +	(finalizer-circular-reference, finalizer-cross-reference)
      +	(finalizer-error): New tests.
      +
       2015-03-01  Michael Albinus  <michael.albinus@gmx.de>
      
       	* automated/vc-tests.el (vc-test--create-repo): Add check for
      9d8d0658
  3. 28 Feb, 2015 1 commit
    • Eli Zaretskii's avatar
      Improve [:alpha:] and [:alnum:] for multibyte characters (Bug#19878) · 1a50945f
      Eli Zaretskii authored
       src/character.c (alphabeticp, decimalnump): New functions.
       src/character.h (alphabeticp, decimalnump): Add prototypes.
       src/regex.c (ISALNUM, ISALPHA): Check Unicode character properties
       for multibyte characters by calling alphabeticp and decimalnump.
       (BIT_ALPHA, BIT_ALNUM): New bit masks.
       (re_wctype_to_bit): Return them when the class is RECC_ALPHA or
       RECC_ALNUM.
       (re_match_2_internal): Call ISALPHA and ISALNUM when appropriate.
      
       doc/lispref/searching.texi (Char Classes): Update the documentation of
       [:alpha:] and [:alnum:].
      
       etc/NEWS: Mention the changes in [:alpha:] and [:alnum:].
      1a50945f
  4. 27 Feb, 2015 1 commit
  5. 24 Feb, 2015 1 commit
  6. 21 Feb, 2015 2 commits
    • Michael Albinus's avatar
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support. · 80e67e43
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
      (vhdl-doc-release-notes): Update.
      (vhdl-standard): Add VHDL'08 option.
      (vhdl-sensitivity-list-all): New option.
      (vhdl-directive-keywords): Add psl.
      (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
      (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
      (vhdl-imenu-generic-expression): Add context, directive.
      (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
      (vhdl-template-map-init): Add vhdl-template-context.
      (vhdl-mode-syntax-table): Support VHDL'08 block comments.
      (vhdl-create-mode-menu): Add some entries.
      (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
      (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives): New constants.
      (vhdl-directives): New variable.
      (vhdl-words-init, vhdl-template-process)
      (vhdl-template-replace-header-keywords): Support VHDL'08.
      (vhdl-abbrev-list-init): Add vhdl-directives.
      (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
      (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
      (vhdl-lineup-comment): Handle block comments and directives.
      (vhdl-beginning-of-directive, vhdl-template-context)
      (vhdl-template-context-hook): New functions.
      (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
      (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
      (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
      (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
      (vhdl-scan-context-clause): Add context.
      
      * etc/NEWS: Mention this.
      80e67e43
  7. 18 Feb, 2015 2 commits
  8. 13 Feb, 2015 1 commit
  9. 12 Feb, 2015 1 commit
  10. 11 Feb, 2015 1 commit
  11. 10 Feb, 2015 1 commit
  12. 08 Feb, 2015 2 commits
  13. 07 Feb, 2015 1 commit
    • Eli Zaretskii's avatar
      Complete the remaining documentation updates for 24.5 · eca7da10
      Eli Zaretskii authored
       doc/lispref/processes.texi (Synchronous Processes): Update documentation of
       call-process-shell-command and process-file-shell-command.
      
       etc/NEWS: Mark the entry for changed calling sequence of
       call-process-shell-command and process-file-shell-command as documented.
      eca7da10
  14. 05 Feb, 2015 1 commit
    • Stefan Monnier's avatar
      Add (:documentation <form>) for dynamically-generated docstrings · ad5a7c86
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el:
      (byte-compile-initial-macro-environment): Use macroexp-progn.
      (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
      (byte-compile-file-form-defvar-function): Rename from
      byte-compile-file-form-define-abbrev-table.
      (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
      (byte-compile): Use byte-compile-top-level rather than
      byte-compile-lambda so we can compile non-values.
      (byte-compile-form): Add warnings for failed uses of lexical vars via
      quoted symbols.
      (byte-compile-unfold-bcf): Improve message for failed inlining.
      (byte-compile-make-closure): Handle new format of internal-make-closure
      for dynamically-generated docstrings.
      
      * lisp/emacs-lisp/cconv.el (cconv--convert-function):
      Add `docstring' argument.
      (cconv-convert): Use it to handle the new (:documentation ...) form.
      (cconv-analyze-form): Handle the new (:documentation ...) form.
      
      * src/eval.c (Ffunction): Handle the new (:documentation ...) form.
      (syms_of_eval): Declare `:documentation'.
      ad5a7c86
  15. 03 Feb, 2015 1 commit
  16. 01 Feb, 2015 2 commits
  17. 27 Jan, 2015 2 commits
    • Ivan Shmakov's avatar
      Allow for adding new members to Tar archives. · a56eab82
      Ivan Shmakov authored
      * lisp/tar-mode.el: Allow for adding new archive members.
      (tar-new-regular-file-header, tar--pad-to, tar--put-at)
      (tar-header-serialize): New functions.
      (tar-current-position): Split from tar-current-descriptor.
      (tar-current-descriptor): Use it.
      (tar-new-entry): New command.
      (tar-mode-map): Bind it.
      * doc/emacs/files.texi (File Archives): Document "I" for tar-new-entry.
      * etc/NEWS: Mention the new tar-new-entry command.
      
      Fixes: debbugs:19274
      a56eab82
    • Thomas Fitzsimmons's avatar
      etc/NEWS: Document EUDC improvements · c7effd7c
      Thomas Fitzsimmons authored
      c7effd7c
  18. 25 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Use gnustep-config if available · f6ef8365
      Paul Eggert authored
      * configure.ac (--with-gnustep): Document this.
      (NS_GNUSTEP_CONFIG): New variable, set if gnustep-config works.
      If gnustep-config works, use 'gnustep-config --objc-flags' and
      'gnustep-config --gui-libs' to compute GNUstep configuration
      variables, instead of attempting to infer them individually.
      * etc/NEWS: Document this.
      * src/emacs.c [NS_IMPL_GNUSTEP]: Don't include <GNUstepBase/GSConfig.h>.
      It doesn't appear to be needed, and the inclusion breaks on
      Ubuntu 14.10 when 'configure' uses 'gnustep-config'.
      Fixes: bug#19507
      f6ef8365
  19. 22 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Don't downcase system diagnostics' first letters · 8dd58a2d
      Paul Eggert authored
      * etc/NEWS: Document this.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-file):
      * lisp/ffap.el (find-file-at-point):
      * lisp/files.el (insert-file-1):
      * lisp/net/ange-ftp.el (ange-ftp-barf-if-not-directory)
      (ange-ftp-copy-file-internal):
      * lisp/progmodes/etags.el (visit-tags-table):
      * lisp/url/url-dav.el (url-dav-delete-directory, url-dav-delete-file)
      (url-dav-directory-files):
      Keep diagnostics consistent with system's.
      * lisp/erc/erc-dcc.el (erc-dcc-server):
      * lisp/ffap.el (ffap-machine-p):
      Ignore case while comparing diagnostics.
      * src/fileio.c (report_file_errno): Don't downcase, and simplify.
      Fixes: bug#19642
      8dd58a2d
  20. 21 Jan, 2015 1 commit
    • Ulrich Müller's avatar
      Allow update-game-score to run sgid instead of suid. · 20f66485
      Ulrich Müller authored
      * configure.ac (gamegroup): New AC_SUBST.
      (--with-gameuser): Allow to specify a group instead of a user.
      In the default case, check at configure time if a 'games' user
      exists.
      * lib-src/update-game-score.c: Allow the program to run sgid
      instead of suid, in order to match common practice for most games.
      (main): Check if we are running sgid.  Pass appropriate file
      permission bits to 'write_scores'.
      (write_scores): New 'mode' argument, instead of hardcoding 0644.
      (get_prefix): Update error message.
      * lib-src/Makefile.in (gamegroup): New variable, set by configure.
      ($(DESTDIR)${archlibdir}): Handle both suid or sgid when
      installing the 'update-game-score' program.
      * lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score):
      Allow the 'update-game-score' helper program to run suid or sgid.
      20f66485
  21. 20 Jan, 2015 3 commits
    • Stefan Monnier's avatar
      lisp/emacs-lisp/eieio*.el: Rewrite our generics on top of cl-generic · 3a8312d0
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio-generic.el: Remove.
      (defgeneric, defmethod): Move to eieio-compat.el.  Mark obsolete.
      * lisp/emacs-lisp/eieio-compat.el: New file.
      * lisp/emacs-lisp/eieio.el: Don't require eieio-generic any more.
      * lisp/emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
      Remove unused function.
      (eieio-defclass): Move to eieio-compat.el.
      * lisp/emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
      (macroexp--expand-all): Use it.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
      3a8312d0
    • Michal Nazarewicz's avatar
      descr-text: add `describe-char-eldoc' describing character at point · 81681ed9
      Michal Nazarewicz authored
      * lisp/descr-text.el (describe-char-eldoc): New function returning
      basic Unicode codepoint information (e.g. name) about character
      at point.  It is meant to be used as a default value of the
      `eldoc-documentation-function' variable.
      (describe-char-eldoc--format, describe-char-eldoc--truncate):
      New helper functions for `describe-char-eldoc' function.
      
      * tests/automated/descr-text-test.el: New file with tests for
      `describe-char-eldoc--truncate', `describe-char-eldoc--format',
      and `describe-char-eldoc'.
      81681ed9
    • Michal Nazarewicz's avatar
      tildify: add `tildify-space' and `tildify-mode' · 571441fc
      Michal Nazarewicz authored
      * lisp/textmodes/tildify.el (tildify-space): A new function
      which can be used as a `post-self-insert-hook' to automatically
      convert spaces into hard spaces.
      (tildify-space-pattern): A new variable specifying pattern where
      `tildify-space' should take effect.
      (tildify-space-predicates): A new variable specifying list of
      predicate functions that all must return non-nil for
      `tildify-space' to take effect.
      (tildify-space-region-predicate): A new functions meant to be
      used as a predicate in `tildify-space-predicates' list.
      (tildify-mode): A new minor mode enabling `tildify-space' as a
      `post-self-insert-hook'
      
      * tests/automated/tildify-tests.el (tildify-space-test--test):
      A new helper function for testing `tildify-space' function.
      (tildify-space-test-html, tildify-space-test-html-nbsp)
      (tildify-space-test-xml, tildify-space-test-tex): New tests for
      `tildify-space' function.
      571441fc
  22. 18 Jan, 2015 1 commit
    • Stefan Monnier's avatar
      EIEIO&cl-generic: Add obsolescence warnings and fix corner case · 2a61bd00
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
      introduction of a new dispatch argument.
      (cl--generic-cache-miss): Handle dispatch on an argument which was not
      considered as dispatchable for this method.
      (cl-defmethod): Warn when adding a method to an obsolete generic function.
      (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
      
      * lisp/emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form):
      Use autoloadp.
      
      * lisp/emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
      `newname' argument.
      
      * test/automated/cl-generic-tests.el (cl-generic-test-10-weird): New test.
      Rename other tests to preserve ordering.
      2a61bd00
  23. 17 Jan, 2015 2 commits
    • Stefan Monnier's avatar
      Don't enforce :protection in EIEIO objects any more · d48c98cd
      Stefan Monnier authored
      * doc/misc/eieio.texi (Slot Options): Document :protection as unsupported.
      
      * lisp/emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
      (eieio--scoped-class): Remove function.
      (eieio--with-scoped-class): Remove macro.  Replace uses with `progn'.
      (eieio--slot-name-index): Don't check the :protection anymore.
      (eieio-initializing-object): Remove var.
      (eieio-set-defaults): Don't let-bind eieio-initializing-object.
      
      * lisp/emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
      eieio--scoped-class any more.
      
      * test/automated/eieio-test-methodinvoke.el (eieio-test-method-store):
      Use an explicit arg instead of eieio--scoped-class.  Update all callers.
      
      * test/automated/eieio-tests.el (eieio-test-25-slot-tests)
      (eieio-test-26-default-inheritance, eieio-test-28-slot-protection)
      (eieio-test-30-slot-attribute-override)
      (eieio-test-31-slot-attribute-override-class-allocation): Don't check
      that we enforce :protection since we don't any more.
      d48c98cd
    • Artur Malabarba's avatar
      40d963ff
  24. 15 Jan, 2015 1 commit
    • Eli Zaretskii's avatar
      Add set-binary-mode primitive to switch a standard stream to binary I/O. · 0f238ea4
      Eli Zaretskii authored
       src/fileio.c: Include binary-io.h.
       (Fset_binary_mode): New function.
       (syms_of_fileio): Defsubr it.
       (syms_of_fileio) <Qstdin, Qstdout, Qstderr>: DEFSYM them.
      
       admin/unidata/unidata/uvs.el (uvs-print-table-ivd): Call set-binary-mode on
       stdout.
      
       doc/lispref/streams.texi (Input Functions): Document 'set-binary-mode'.
       (Output Functions): Cross-reference to documentation of
       'set-binary-mode'.
      
       etc/NEWS: Mention 'set-binary-mode'.
      0f238ea4
  25. 14 Jan, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-generic.el: New file. · 9def17e9
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
      (cl-load-time-value, cl-labels): Use closures rather than
      backquoted lambdas.
      (cl-macrolet): Use `eval' to create the function value, and support CL
      style arguments in for the defined macros.
      * test/automated/cl-generic-tests.el: New file.
      9def17e9
  26. 11 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Default to 'configure --enable-silent-rules' · b995b4ae
      Paul Eggert authored
      This greatly shortens the 'make' output, making it more readable
      and useful.  For example, on my platform it shortens a
      4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib
      ... emacs.c" -- a line so long that it's hard to see what's going
      on or where the diagnostics are -- to just "CC emacs.o".
      * INSTALL: Document this.
      * configure.ac: Add AM_SILENT_RULES([yes]).
      (AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization.
      * etc/NEWS: Document this.
      Fixes: bug#19501
      b995b4ae
  27. 10 Jan, 2015 1 commit
  28. 08 Jan, 2015 2 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/eieio*.el: Move the function defs to defclass. · 6a67b20d
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
      that creates functions, and most of the sanity checks.
      Mark as obsolete the <class>-child-p function.
      * lisp/emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
      (eieio--class, eieio--object): Use cl-defstruct.
      (eieio--object-num-slots): Define manually.
      (eieio-defclass-autoload): Use eieio--class-make.
      (eieio-defclass-internal): Rename from eieio-defclass.  Move all the
      `(lambda...) definitions and most of the sanity checks to `defclass'.
      Mark as obsolete the <class>-list-p function, the <class> variable and
      the <initarg> variables.  Use pcase-dolist.
      (eieio-defclass): New compatibility function.
      * lisp/emacs-lisp/eieio-opt.el (eieio-build-class-alist)
      (eieio-class-speedbar): Don't use eieio-default-superclass var.
      6a67b20d
    • Glenn Morris's avatar
      * lisp/files.el (file-tree-walk): Remove; of unknown authorship. · ffa86039
      Glenn Morris authored
      * etc/NEWS: Remove entry.
      
      Fixes: debbugs:19325
      ffa86039
  29. 06 Jan, 2015 1 commit
  30. 05 Jan, 2015 1 commit