1. 06 Apr, 2015 2 commits
  2. 28 Mar, 2015 1 commit
    • Tom Willemse's avatar
      New `electric-pair-local-mode' · 40b3dcd2
      Tom Willemse authored
      Fixes: big#19528
      * lisp/elec-pair.el (electric-pair-local-mode): New command.
      (electric-pair-mode): Mention `electric-pair-local-mode' in the
  3. 25 Mar, 2015 3 commits
    • Stefan Monnier's avatar
      `save-excursion' does not save&restore the mark any more · 599ca626
      Stefan Monnier authored
      * src/editfns.c (save_excursion_save): Don't save the mark.
      (save_excursion_restore): Don't restore the mark.
      (Fsave_excursion): Fix docstring accordingly.
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/positions.texi (Excursions, Narrowing): `save-excursion' does
      not save&restore the mark any more.
    • Glenn Morris's avatar
      browse-url: mark some of the more obsolete stuff as such · f314d481
      Glenn Morris authored
      * lisp/net/browse-url.el (browse-url-browser-function)
      Remove obsolete items from the explicit listing.
      (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
      (browse-url-netscape-program, browse-url-netscape-arguments)
      (browse-url-galeon-program, browse-url-galeon-arguments)
      (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
      (browse-url-mosaic-program, browse-url-mosaic-arguments)
      (browse-url-mosaic-pidfile, browse-url-CCI-port)
      (browse-url-CCI-host, browse-url-netscape-version)
      (browse-url-netscape, browse-url-netscape-sentinel)
      (browse-url-netscape-reload, browse-url-netscape-send)
      (browse-url-galeon, browse-url-galeon-sentinel)
      (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
      (browse-url-w3-gnudoit): Make obsolete.
      * etc/NEWS: Mention this.
      * doc/misc/idlwave.texi (HTML Help Browser Tips): Remove obsolete info.
      * lisp/ffap.el (ffap-url-fetcher): Simplify default and doc.
      * lisp/x-dnd.el: Comment update.
    • Olaf Rogalsky's avatar
      * lisp/xt-mouse.el: Add mouse-tracking support. · c2385c6f
      Olaf Rogalsky authored
      Fixes: debbugs:19416
      * lisp/xt-mouse.el: Add mouse-tracking support.
      (xterm-mouse-translate-1): Handle mouse-movement events.
      (xterm-mouse--read-event-sequence-1006): Delete functions.
      (xterm-mouse--read-event-sequence): New function that handles both at
      the same time.  Handle mouse-movements.
      (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
      New functions.
      (xterm-mouse-event): Simplify.
      (xterm-mouse-tracking-disable-sequence): Enable mouse tracking.
      * lisp/mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
  4. 24 Mar, 2015 1 commit
  5. 23 Mar, 2015 2 commits
    • Stefan Monnier's avatar
      Add new `cl-struct' and `eieio' pcase patterns. · ae277259
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
      * lisp/emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
      (eieio-pcase-slot-index-from-index-table): New functions.
      (eieio): New pcase pattern.
      * lisp/emacs-lisp/pcase.el (pcase--make-docstring): New function.
      (pcase): Use it to build the docstring.
      (pcase-defmacro): Make sure the macro is lazy-loaded.
      (\`): Move its docstring from `pcase'.
    • Daiki Ueno's avatar
      Generalize start-process with keyword args · 47e0e319
      Daiki Ueno authored
      * src/process.c (Fmake_process): New function.
      (create_process, create_pty): Check p->pty_flag instead of
      (syms_of_process): Register QCcommand, QCconnection_type, Qpty,
      Qpipe, and Smake_process.  Unregister Sstart_process.
      * lisp/subr.el (start-process): New function, ported from the C
      * doc/lispref/processes.texi (Asynchronous Processes): Mention
      * etc/NEWS: Mention `make-process'.
  6. 21 Mar, 2015 1 commit
    • Titus von der Malsburg's avatar
      Add new functions for computing default font dimensions · 4a50af93
      Titus von der Malsburg authored
       lisp/window.el (window-font-width, window-font-height)
       (window-max-chars-per-line): New functions.
       lisp/simple.el (default-font-height): Doc fix.
       (default-font-width): New function.
       etc/NEWS: Mention `default-font-width', `window-font-height',
       `window-font-width', and `window-max-chars-per-line'.
  7. 16 Mar, 2015 3 commits
    • Stefan Monnier's avatar
      Add `predicate' arg to `read-buffer' and use it for erc-iswitchb · f925fc93
      Stefan Monnier authored
      Fixes: debbugs:20116
      * src/minibuf.c (Fread_buffer): Add `predicate' argument.
      * src/callint.c (Fcall_interactively): Adjust calls accordingly.
      * lisp/erc/erc.el (erc-switch-to-buffer): Rename from erc-iswitchb and rewrite
      using read-buffer.
      (erc--buffer-p): New function, extracted from erc-buffer-filter.
      (erc-buffer-filter): Use it.
      (erc-with-all-buffers-of-server): Silence compile warning if the return
      value is unused.
      (erc-is-valid-nick-p, erc-common-server-suffixes, erc-get-arglist)
      (erc-command-name, erc-popup-input-buffer): Use \` and \' to match
      beg/end of string.
      * lisp/obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
      * lisp/isearchb.el (isearchb-iswitchb): Adjust accordingly.
      * lisp/ido.el (ido-read-buffer): Add `predicate' argument.
      * lisp/misearch.el (unload-function-defs-list): Declare before use.
    • Vibhav Pant's avatar
      Fixes: debbugs:19335 · 43a847c0
      Vibhav Pant authored
      * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
      (browse-url-conkeror-program, browse-url-conkeror-arguments)
      (browse-url-conkeror-new-window-is-buffer): New defcustoms.
      (browse-url-default-browser): Check for `browse-url-conkeror'
      and call `browse-url-conkeror-program'.
      (browse-url-conkeror): New command.
      * etc/NEWS: Mention added support for Conkeror.
    • Vibhav Pant's avatar
      Add 'clear' functionality to eshell. · ab4e4cc9
      Vibhav Pant authored
      * eshell/esh-mode.el (eshell/clear): New function.
      * etc/NEWS: Mention new built-in command.
  8. 10 Mar, 2015 2 commits
    • Paul Eggert's avatar
      Prefer "initialize" to "initialise" · 2a1be9eb
      Paul Eggert authored
      * lisp/progmodes/js.el (js-indent-first-init):
      Rename from js-indent-first-initialiser, to avoid worrying about
      American vs British spelling.  All uses changed.
      * test/indent/js-indent-init-t.js: Rename from
      * test/indent/js-indent-init-dynamic.js: Rename from
    • Glenn Morris's avatar
      * lisp/progmodes/js.el (js-indent-first-initialiser): Fix doc, type, version. · 6c9681af
      Glenn Morris authored
      First line of the doc string should be a complete sentence.
      * etc/NEWS: Mention new option.
      # Fix associated ChangeLog entries.
  9. 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
       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.
    • 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
  10. 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
       (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:].
  11. 27 Feb, 2015 1 commit
  12. 24 Feb, 2015 1 commit
  13. 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.
  14. 18 Feb, 2015 2 commits
  15. 13 Feb, 2015 1 commit
  16. 12 Feb, 2015 1 commit
  17. 11 Feb, 2015 1 commit
  18. 10 Feb, 2015 1 commit
  19. 08 Feb, 2015 2 commits
  20. 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.
  21. 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
      (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'.
  22. 03 Feb, 2015 1 commit
  23. 01 Feb, 2015 2 commits
  24. 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
    • Thomas Fitzsimmons's avatar
      etc/NEWS: Document EUDC improvements · c7effd7c
      Thomas Fitzsimmons authored
  25. 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
  26. 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)
      * lisp/progmodes/etags.el (visit-tags-table):
      * lisp/url/url-dav.el (url-dav-delete-directory, url-dav-delete-file)
      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
  27. 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
      * 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.