emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 75cbf72 62/63: Update NEWS, version number to 0.12, and sn


From: Noam Postavsky
Subject: [elpa] master 75cbf72 62/63: Update NEWS, version number to 0.12, and snippets submodule
Date: Mon, 17 Jul 2017 22:54:23 -0400 (EDT)

branch: master
commit 75cbf7251b2c041b134f6b0d162dfe911e578b8f
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Update NEWS, version number to 0.12, and snippets submodule
    
    * NEWS: Update for 0.12 changes.
    * snippets/: Update to latest.
    * yasnippet-debug.el:
    * yasnippet-tests.el:
    * yasnippet.el: Update copright years.  Update version number to
    0.12.0.
---
 NEWS               | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 snippets           |  2 +-
 yasnippet-debug.el |  2 +-
 yasnippet-tests.el |  2 +-
 yasnippet.el       |  6 ++--
 5 files changed, 86 insertions(+), 6 deletions(-)

diff --git a/NEWS b/NEWS
index 6e6629d..0f6b7d8 100644
--- a/NEWS
+++ b/NEWS
@@ -3,8 +3,88 @@ Yasnippet NEWS -- history of user-visible changes.
 Copyright (C) 2016 Free Software Foundation, Inc.
 See the end of the file for license conditions.
 
+
+Don't delete snippets more than once.
+
+
 
+* 0.12.0 (Jul 17, 2017)
+
+** Changes and New Features
+
+*** Snippets can now expand in strings & comments by default again.
+'yas-buffer-local-condition' is now a defcustom See Github #774.
+
+*** 'yas-after-exit-snippet-hook' can now be bound in 'expand-env' of
+snippets.  See Github #28, #702, #779, #786.
+
+*** Snippets under directories in 'yas-snippet-dirs' are now in
+snippet-mode automatically.
+
+*** Snippets can now be expanded in org source blocks, if
+'org-src-tab-acts-natively' and 'org-src-fontify-natively' are set.
+See Github #761.
+
+*** 'yas-fallback-behavior' is now obsolete, 'yas-expand' is now bound
+conditionally with an extended menu item, 'yas-maybe-expand'.
+Therefore users wanting to bind 'yas-expand' to a different key, SPC
+for example, should do
+
+    (define-key yas-minor-mode-map (kbd "SPC") yas-maybe-expand)
+
+See Github #760, #808.
+
+*** The documentation build output is now reproducible.  The timestamp
+now depends on the commit date, or the environment variable
+SOURCE_DATE_EPOCH is that is set.
+
+*** 'yas-indent-line' and 'expand-env' are now respected during mirror
+updates.  See Github #743.
 
+*** New function 'yas-active-snippets'.  Renamed from
+'yas--snippets-at-point', which remains as an obsolete alias.  See
+Github #727.
+
+*** New custom option 'yas-overlay-priority'.  This is can be used to
+give the snippet navigation keymaps higher priority than keymaps from
+overlays created by other packages, like 'auto-complete'.  See Github
+#828.
+
+** Fixed bugs
+
+*** Snippets having ${0:soon-to-be-deleted} with no other fields now
+correctly put the field 0 text in the active region after exiting.
+See Github #653.
+
+*** Fix undo of snippet insertion which also triggers indentation.
+See Github #821.
+
+*** Fixed a bug causing whitespace loss between mirrors.
+
+*** Fixed several bugs causing problems when combining Yasnippet with
+other modes and packages, like 'auto-fill-mode', 'c++-mode',
+'rust-mode', and 'lentic'.
+
+**** Fix another bug with auto-fill-mode.
+See Github #784, #794.
+
+**** Fix a bug in parsing of snippet fields for modes that use the
+'syntax-table' text property, 'c++-mode' is one example of this.  See
+Github #815.
+
+**** 'syntax-propertize-function' is now restored before indenting the
+snippet.  This improves compatibility with modes which rely on it for
+indentation, like 'rust-mode'.  See Github #782, #818.
+
+**** Avoid trying to delete a snippet which is already deleted.  This
+prevents an error when using 'rust-mode's 'rust-format-buffer'
+command.
+
+**** Ensure inhibit-modification-hooks is nil while modifying buffer.
+This fixes problems for packages relying on modification hooks, like
+'lentic'.  See Github #756, #712.
+
+
 * 0.11.0 (Oct 26, 2016)
 ** Changes and New Features
 
diff --git a/snippets b/snippets
index e56b883..885050d 160000
--- a/snippets
+++ b/snippets
@@ -1 +1 @@
-Subproject commit e56b8838ab2866537937c6f25c8e9b3dc1c24880
+Subproject commit 885050d34737e2fb36a3e7759d60c09347bd4ce0
diff --git a/yasnippet-debug.el b/yasnippet-debug.el
index 6e639a4..7c09412 100644
--- a/yasnippet-debug.el
+++ b/yasnippet-debug.el
@@ -1,6 +1,6 @@
 ;;; yasnippet-debug.el --- debug functions for yasnippet -*- lexical-binding: 
t -*-
 
-;; Copyright (C) 2010, 2013, 2014  Free Software Foundation, Inc.
+;; Copyright (C) 2010, 2013, 2014, 2017  Free Software Foundation, Inc.
 
 ;; Author: João Távora
 ;; Keywords: emulations, convenience
diff --git a/yasnippet-tests.el b/yasnippet-tests.el
index 0ab1df1..c5a94f5 100644
--- a/yasnippet-tests.el
+++ b/yasnippet-tests.el
@@ -1,6 +1,6 @@
 ;;; yasnippet-tests.el --- some yasnippet tests  -*- lexical-binding: t -*-
 
-;; Copyright (C) 2012, 2013, 2014, 2015  Free Software Foundation, Inc.
+;; Copyright (C) 2012, 2013, 2014, 2015, 2017  Free Software Foundation, Inc.
 
 ;; Author: Jo�o T�vora <address@hidden>
 ;; Keywords: emulations, convenience
diff --git a/yasnippet.el b/yasnippet.el
index 4751209..834d035 100644
--- a/yasnippet.el
+++ b/yasnippet.el
@@ -1,11 +1,11 @@
 ;;; yasnippet.el --- Yet another snippet extension for Emacs.
 
-;; Copyright (C) 2008-2016 Free Software Foundation, Inc.
+;; Copyright (C) 2008-2017 Free Software Foundation, Inc.
 ;; Authors: pluskid <address@hidden>,
 ;;          João Távora <address@hidden>,
 ;;          Noam Postavsky <address@hidden>
 ;; Maintainer: Noam Postavsky <address@hidden>
-;; Version: 0.11.0
+;; Version: 0.12.0
 ;; X-URL: http://github.com/joaotavora/yasnippet
 ;; Keywords: convenience, emulation
 ;; URL: http://github.com/joaotavora/yasnippet
@@ -535,7 +535,7 @@ override bindings from other packages (e.g., 
`company-mode')."
 
 ;;; Internal variables
 
-(defconst yas--version "0.11.0")
+(defconst yas--version "0.12.0")
 
 (defvar yas--menu-table (make-hash-table)
   "A hash table of MAJOR-MODE symbols to menu keymaps.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]