1. 03 Mar, 2015 8 commits
    • Daniel Colascione's avatar
      Use `macroexp-parse-body' · 8b38d30e
      Daniel Colascione authored
      * lisp/emacs-lisp/generator.el: (iter-defun): Use `macroexp-parse-body'.
      
      * test/automated/generator-tests.el (cps-testcase): Use
      (cps-test-declarations-preserved): New test.
      8b38d30e
    • Stefan Monnier's avatar
      * lisp/progmodes/gud.el: Use lexical-binding. · 7133f262
      Stefan Monnier authored
      Fixes: debbugs:19966
      
      * lisp/emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
      7133f262
    • Daniel Colascione's avatar
      Address generator feedback · cecf4afe
      Daniel Colascione authored
      * doc/lispref/control.texi (Generators): Correct missing word.  Clarify which
      forms are legal in which parts of `unwind-protect'.  Fix orphaned
      close parenthesis.
      
      * lisp/emacs-lisp/generator.el: Make globals conform to elisp
      style throughout.  Use more efficient font-lock patterns.
      (cps-inhibit-atomic-optimization): Rename from
      `cps-disable-atomic-optimization'.
      (cps--gensym): New macro; replaces `cl-gensym' throughout.
      (cps-generate-evaluator): Move the `iter-yield' local macro
      definition here
      (iter-defun, iter-lambda): from here.
      
      * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
      Rename `gc-precise-p' to `gc-precise'.
      
      * test/automated/generator-tests.el (cps-testcase): Use
      `cps-inhibit-atomic-optimization' instead of
      `cps-disable-atomic-optimization'.
      cecf4afe
    • Daniel Colascione's avatar
      Rename globals in generator.el · 02eb227e
      Daniel Colascione authored
      * lisp/emacs-lisp/generator.el: Make globals conform to elisp
      style throughout.
      02eb227e
    • Artur Malabarba's avatar
    • Martin Rudalics's avatar
      Fix calculation of total window sizes after font size changes (Bug#19972). · 1903e25c
      Martin Rudalics authored
      * frame.c (adjust_frame_size): If the pixel sizes remain
      unchanged but the number of lines or columns of the frame
      changes, run `window--pixel-to-total' (Bug#19972).
      (Qwindow_pixel_to_total): DEFSYM it.
      * window.el (window--dump-frame): For pixel height return total
      number of frame's lines.
      1903e25c
    • Daniel Colascione's avatar
      Add cl-iter-defun · 8af3e184
      Daniel Colascione authored
      * lisp/emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
      8af3e184
    • Daniel Colascione's avatar
      Fix docstrings, declarations in iter-defun · 8f0f8c16
      Daniel Colascione authored
      * lisp/emacs-lisp/generator.el (iter-defun): Correctly propagate
      docstrings and declarations to underlying function.
      8f0f8c16
  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 autoload cooking for vc-responsible-backend · da02eb55
      Daniel Colascione authored
      * lisp/vc/vc.el (vc-responsible-backend): Add autoload cooking for
      `vc-responsible-backend'.
      da02eb55
  3. 01 Mar, 2015 3 commits
  4. 28 Feb, 2015 1 commit
    • Eli Zaretskii's avatar
      Better decoding of HTML payload in Rmail · 31ecbf8d
      Eli Zaretskii authored
       lisp/mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
       when the charset is only given by the HTML <head>, and allow to
       specify the encoding with "C-x RET c".
      31ecbf8d
  5. 27 Feb, 2015 1 commit
    • Mark Laws's avatar
      Support daemon mode on MS-Windows (bug#19688) · 805fe507
      Mark Laws authored
       src/emacs.c <w32_daemon_event> [WINDOWSNT]: New global var.
       (main) [WINDOWSNT]: Initialize it to NULL.  Create the event to
       signal clients we are ready for connections.
       (Fdaemon_initialized): Use DAEMON_RUNNING.
       [WINDOWSNT]: MS-Windows specific code to signal clients we are
       ready for connections.
       src/lisp.h (DAEMON_RUNNING): New macro, encapsulates Posix and
       MS-Windows conditions for running in daemon mode.
       src/minibuf.c (read_minibuf): Use DAEMON_RUNNING.
       src/keyboard.c (kbd_buffer_get_event): Use DAEMON_RUNNING.
       src/dispnew.c (init_display) [WINDOWSNT]: Initialize frames/terminal
       even in daemon mode.
      
       nt/inc/ms-w32.h (W32_DAEMON_EVENT): New macro.
      
       lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Don't reject empty
       arguments for --alternate-editor.
       (print_help_and_exit) [WINDOWSNT]: Don't refrain from advertising
       empty arguments for --alternate-editor.
       (start_daemon_and_retry_set_socket) [WINDOWSNT]: MS-Windows
       specific code to start Emacs in daemon mode and wait for it to be
       ready for client connections.
      
       lisp/server.el (server-process-filter): Force GUI frames on
       MS-Windows in daemon mode, even if a TTY frame was requested.
       lisp/frameset.el (frameset-keep-original-display-p): Don't assume
       windows-nt cannot be in daemon mode.
       lisp/frame.el (window-system-for-display): Don't assume windows-nt
       cannot be in daemon mode.
      805fe507
  6. 26 Feb, 2015 4 commits
    • Ivan Shmakov's avatar
      Fix 'face property handling in facemenu-add-face. · 619fc5c1
      Ivan Shmakov authored
      * lisp/faces.el (face-list-p): Split from face-at-point.
      (face-at-point): Use it.
      * lisp/facemenu.el (facemenu-add-face): Likewise.
      
      Fixes: debbugs:19912
      619fc5c1
    • Oscar Fuentes's avatar
      Fixed previous ChangeLog entry · 0ed52489
      Oscar Fuentes authored
      0ed52489
    • Oscar Fuentes's avatar
      Use vc-switches on vc-*-annotate-command · b5a0603e
      Oscar Fuentes authored
      This also removes switch "-C -C" from vc-git-annotate-command.
      
      Fixes: debbugs:17945
      
      * vc/vc.el (vc-annotate-switches): New defcustom.
      * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
      (vc-bzr-annotate-command): Use it.
      * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
      (vc-cvs-annotate-command): Use it.
      * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
      (vc-git-annotate-command): Use it.
      * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
      (vc-hg-annotate-command): Use it.
      * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
      (vc-mtn-annotate-command): Use it.
      * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
      (vc-svn-annotate-command): Use it.
      b5a0603e
    • Daiki Ueno's avatar
      dbus.el: fix ":argN" keyword recognition · b206b9d7
      Daiki Ueno authored
      * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
      integer before comparison.
      b206b9d7
  7. 25 Feb, 2015 5 commits
  8. 24 Feb, 2015 1 commit
  9. 25 Feb, 2015 1 commit
  10. 24 Feb, 2015 6 commits
  11. 23 Feb, 2015 7 commits
    • Paul Eggert's avatar
      Fix previous change's attribution · ed7005c0
      Paul Eggert authored
      ed7005c0
    • Paul Eggert's avatar
      Use ${EXEEXT} more uniformly in makefiles · 6b62d265
      Paul Eggert authored
      When porting Emacs to run on NaCl, we need to make sure that we always
      call it with the proper extension (.nexe in this case) during the build.
      * leim/Makefile.in, lib-src/Makefile.in, lisp/Makefile.in (EMACS):
      Append ${EXEEXT}.
      (tiny change)
      6b62d265
    • Sam Steingold's avatar
      `auto-save-list-file-prefix' can be a directory name · a0edb016
      Sam Steingold authored
      * lisp/files.el (recover-session): Handle `auto-save-list-file-prefix'
      being a directory (empty non-directory part).
      a0edb016
    • Magnus Henoch's avatar
      Fix SCRAM-SHA-1 SASL mechanism · 80e50144
      Magnus Henoch authored
      The symbol used in sasl-mechanism-alist needs to match the name that
      can be required.  Move sasl-make-mechanism call to end of file, to
      ensure that it can refer to the specified step functions.
      
      * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
      instead of sasl-scram-sha-1, as the former is the name that can be
      required.
      
      * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
      (sasl-scram-sha-1-client-final-message)
      (sasl-scram-sha-1-authenticate-server): Move to end of file.
      80e50144
    • Paul Eggert's avatar
      Fix the desired binding for comment-line · 34871865
      Paul Eggert authored
      * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
      Fixes: bug#19826
      34871865
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare · e846bbf3
      Stefan Monnier authored
      and :documentation.  Change return value format accordingly.
      * lisp/emacs-lisp/cl-generic.el (cl--generic-lambda):
      * lisp/emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
      e846bbf3
    • Dmitry Gutov's avatar
      Introduce `xref-etags-mode' · f6bb2ccb
      Dmitry Gutov authored
      Fixes: debbugs:19466
      
      * lisp/progmodes/xref.el (xref-etags-mode--saved): New variable.
      (xref-etags-mode): New minor mode.
      f6bb2ccb
  12. 22 Feb, 2015 1 commit