[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master bab5aab 269/272: doc/Changelog.org: Prepare for the 0.8.0
[elpa] master bab5aab 269/272: doc/Changelog.org: Prepare for the 0.8.0 release
Mon, 25 Apr 2016 10:13:29 +0000
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
doc/Changelog.org: Prepare for the 0.8.0 release
doc/Changelog.org | 570 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 570 insertions(+)
diff --git a/doc/Changelog.org b/doc/Changelog.org
index 21076de..df721d3 100644
@@ -614,3 +614,573 @@ Complete Common Lisp symbols using SLIME.
Give completion for inserting from the kill ring.
See =counsel-yank-pop-truncate= defcustom and
+** Package rename
+Due to popular demand, =swiper-0.7.0= is succeeded by =ivy-0.8.0= in GNU
+ELPA. The contents of the package don't change, only the name. Make
+sure to remove the =~/.emacs.d/elpa/swiper-0.7.0= directory if you
+have it and ~M-x~ =package-install ivy=.
+HTML documentation is available at http://oremacs.com/swiper/.
+Texinfo documentation is in doc/ivy.texi.
+The HTML file shouldn't be in this repository to avoid bloat, instead
+it's in the gh-pages branch at
+**** Fix recursive minibuffer exit with ~C-g~
+Make it so e.g. ~C-h f C-h v C-g~ goes back to the =describe-function=
+**** Ensure the return result
+In some cases, =read-from-minibuffer= will return the whole minibuffer
+contents (i.e. all available candidates). Return =ivy--current= instead.
+**** Properly support matching ignoring order
+See [[https://github.com/abo-abo/swiper/issues/296][#296]] and
+**** Insert intermediate candidates during async completions
+**** Initialize =ivy-last= to empty state
+**** Fix extra actions for =completing-read=
+**** Support a list of symbols as collection
+**** Define =setq-local= and =defvar-local= unless defined
+With this commit, Ivy works on emacs-24.2.
+**** Make ~M-o~ not modify the action
+**** Make sure user keybindings are respected
+**** Fix =read-file-name= with a specified dir
+**** Don't highlight the match in the file part
+**** Add a few tests for alists
+**** Fix =default-directory=
+This way, =next-error= etc will work properly.
+**** Fix for small delta
+**** Check =frame-root-window-p=
+**** Use =completing-read-default= for tmm
+**** Recognize ! at the beginning of the str
+**** Prettify a bit
+**** Don't consider =\\(?...\)= a group
+**** Always return a valid window
+Even if =state= is invalid.
+**** Update =cl-position= logic
+**** Fix due to recursive update
+**** Don't null =initial-input=
+This is specifically for ='read-file-name-internal= collection. The
+input needs to be set to nil for e.g. =rgrep=, which supplies the
+*absolute* path as =initial-input=, resulting in a mess.
+For now, don't set input to nil if =:action= was passed to =ivy-read=.
+**** Don't deactivate region
+**** Use =completion-all-completions=
+**** Optimize for 1 candidate
+When there's only one candidate, call the action immediately.
+**** Add feedback for 1 candidate
+When the sole completion is the same as the input, notify the user.
+**** Bind =completion-ignore-case=
+It's convenient to have it the same value as =case-fold-search=.
+**** Give enough minibuffer space
+**** Allow to customize the action hint formatter
+**** Fix for nil value
+**** Don't fall back to =switch-to-buffer=
+**** No "\\_<" for dynamic-collection
+"\\_<" regex is Emacs-specific and should only be done if
+=:dynamic-collection= is nil. It is nil for =counsel-git-grep= with
+repositories < 20000 lines, but non-nil for larger ones.
+**** Pulse no longer
+Repeated pulses within a short time span resulted in horrible window
+**** Add a guard against null =:action=
+**** Make ~C-g~ cancel gracefully
+Allow to exit with no candidates.
+**** Improve for multiple occurrences on one line
+**** Fix "backward" search
+When none of the previous candidates after the point match the current
+input, instead of returning 0, return the index of the last matching
+candidate. This is a good choice, because that candidate is the
+closest to the point of the initial search start.
+**** Return point
+**** Update =regexp-search-ring=
+**** Always remove '(field) text property
+Allows to search better in modes for shell interaction.
+**** Add modes
+Add bongo-library-mode, bongo-playlist-mode, sauron-mode.
+**** Don't fail when font-lock is off
+**** Add check for =make-string=
+**** Fix issue with =ivy--regex-ignore-order=
+**** Re-display when no cands
+**** Recognize error codes other than 1
+**** Fix window selection.
+Use =with-ivy-window=, so that each new file chosen with e.g. ~C-M-n~ is
+selected in the same window.
+**** Add =:unwind=
+*** compilation warnings
+** New Features
+**** Use =flx= for highlighting fuzzy matches
+**** Simplify the signature for =:dynamic-collection= functions
+When given =:dynamic-collection=, assume the collection function only
+needs one argument - the string input.
+**** Modify ~M-n~ prediction when region is active
+When the region is active and ~M-n~ is called, insert the region
+contents into the minibuffer and deactivate the region. The region
+deactivation is done for =swiper=, to make it easier to search for
+multiple words or a subword.
+**** Allow to compose collections
+***** Example 1: async collection
+Stack =recentf= on top of =counsel-locate=:
+(defun small-test ()
+ (cl-subseq recentf-list 0 10))
+Here, (original-source) represents the async candidates of
+=counsel-locate=. All extra sources are static - each function is called
+once to generate a list of strings, which will be filtered later.
+The order matters, so you can have e.g.:
+***** Example 2: sync collection
+(defun my-extra-source ()
+ (when (eq 'Git (vc-backend (buffer-file-name)))
+ (list "git1" "git2" "git3"))
+ (when (file-exists-p "doc/Changelog.org")
+ (list (propertize "doc/Changelog.org" 'face '(:background "red"))))))
+(defun my-find-file ()
+ (ivy-read "Find file: " 'read-file-name-internal
+ :action (lambda (x)
+ (find-file (expand-file-name x ivy--directory))))
+ :require-match 'confirm-after-completion
+ :history 'file-name-history
+ :caller 'my-find-file))
+The function =my-find-file= knows nothing about the extra source, it's
+only purpose is to introduce a =:caller= to attach things to, as to not
+to mess up e.g. =counsel-find-file=.
+The function =my-extra-source= gets called once in =ivy-read= via
+=ivy--reset-state=. It takes no args and returns a list of strings,
+**** Improve documentation UI
+Bind ~C-h m~ to =ivy-help=.
+=ivy-help-file= is a new defvar pointing to the ivy-help.org file.
+Bind ~D~ in =hydra-ivy= to go to hydra's definition.
+See [[https://github.com/abo-abo/swiper/issues/376][#376]] and
+**** Add ignore pattern toggling
+~C-c C-a~ is bound to =ivy-toggle-ignore= - a new command to toggle ignore
+patterns (user-configured filtering). If the ignore patterns are
+enabled and there are zero candidates after ignoring, display the ones
+that match the current text. This feature currently works for
+=ivy-switch-buffer= and =counsel-find-file=.
+**** Set =completion-in-region-function=
+**** Improve ~M-n~ for ='read-file-name-internal=
+Allows to customize =ivy-occur= per-command.
+Add custom occur.
+See [[https://github.com/abo-abo/swiper/issues/438][#438]] and
+**** New commands on ~j~, ~k~, ~c~
+(ivy-occur-toggle-calling): New command bound to ~c~.
+(ivy-occur-next-line): New command bound to ~j~.
+(ivy-occur-previous-line): New command bound to ~k~.
+This makes =ivy-occur= much more convenient, instead of ~gjgjgjg~, just
+~cjjj~. Especially good for commands that change the contents of the
+other window, like =describe-function= or =counsel-git-grep=.
+- ~C-h f~ (=describe-funtion=)
+- =run= (=self-insert-command=)
+- ~C-c C-o~ (=ivy-occur=); ~C-o u~ also works.
+**** New command =ivy-occur-revert-buffer= on ~g~
+Does what e.g. =revert-buffer= does for *Help* buffers.
+Has special handling for =counsel-git-grep=, =counsel-ag= and
+=counsel-grep=: will run the shell command once more and reflect the
+updates in files.
+Move =ivy-occur-press= from ~g~ to ~f~.
+**** Improve the feedback for ~j~ and ~k~
+The overlays will be more responsive now.
+**** Allow =this-command= to be a key
+(defun asdf ()
+ (completing-read "prompt: " '("abc" "abcd" "def")))
+(global-set-key (kbd "C-c t") 'asdf)
+ (asdf . ivy--regex-fuzzy)
+ (t . ivy--regex-plus)))
+This is useful for commands that you didn't write. For new commands
+that you write, consider using =ivy-read= and =:caller=.
+**** Call with =t= to affect all commands
+ '(("i" insert "insert")))
+Now an "insert" action will be available for all =ivy-read= sessions
+when pressing ~M-o~.
+New defcustom group.
+New variable. Configure when =flx= is used.
+New defcustom. See [[https://github.com/abo-abo/swiper/issues/366][#366]].
+New variable. See [[https://github.com/abo-abo/swiper/issues/363][#363]].
+New defcustom. See [[https://github.com/abo-abo/swiper/issues/367][#367]].
+When non nil, fix the height of the minibuffer during ivy completion
+at =ivy-height=. This effectively sets the minimum height at this level
+and tries to ensure that it does not change depending on the number of
+New API function.
+Now used by =switch-to-buffer= and =read-file-name=.
+New defcustom similar to =ido-ignore-buffers=.
+**** Add virtual views
+=ivy-views= variable stores pre-defined views. Allows to set a window
+configuration with many buffers from =ivy-switch-buffer=.
+How to use: just set =ivy-views= appropriately. An example value is
+provided (but nulled, so that it's empty initially).
+**** Improve =swiper-query-replace=
+To replace a symbol with a similar symbol,
+1. Press ~C-s M-n~ for =swiper= and select the symbol at point as input.
+2. Press ~M-q~ for =swiper-query-replace=
+3. Press ~M-n~ to yank the symbol to replace.
+4. Edit the replacement and ~RET~.
+Here step-3 was modified to yank e.g. "symbol" instead of
+New variable for major modes that misbehave with =font-lock-ensure=.
+**** New auto-updates position
+A minor-mode that remaps built-in functions that have counsel
+**** Allow use of describe-prefix-bindings
+**** Add =initial-input=
+**** Change tramp prompt from "Find File: " to "address@hidden: "
+**** Bind =counsel-up-directory= to ~C-DEL~
+New function that moves up to the parent directory and at the same
+time preselects the current directory. This is useful for moving up
+and down a file tree quickly.
+**** Customize =M-n= action
+This feature allows to quickly visit Github issues from either
+=magit-commit-mode= or from a version-controlled file. The point has to
+be at the "#" char in e.g.
"[[https://github.com/abo-abo/swiper/issues/123][#123]]", that represents an
+It's possible to customize =ivy-ffap-url-functions= to do a similar
+thing for places other than Github.
+The ~C-x C-f M-n~ key binding will work better with =counsel-find-file=,
+for plain =find-file= it will open a =dired= buffer in addition to opening
+**** Can un-ignore dotfiles with a leading dot input
+When =ivy-text= starts with a dot, don't use
+=counsel-find-file-ignore-regexp=. The generic way to do this is with
+~C-c C-a~ (=ivy-toggle-ignore=), but this is faster and more convenient.
+**** Bind ~M-o f~ to =find-file-other-window=
+**** Correctly expand file name at point
+**** Add display transformer
+**** Add magic slash that changes the directory
+Update to the behavior: the slash ("/") will enter a directory even if
+its name isn't completely typed out if either:
+1. It's the only candidate.
+2. The candidate index isn't 0, i.e. "C-n" has been typed at least once.
+3. The input isn't "/".
+The above rules still allow to keep the old behavior with "//" moving
+to root and "/ssh:" opening tramp.
+This is an experimental feature, please report if it breaks someone's
+See [[https://github.com/abo-abo/swiper/issues/321][#321]] and
+**** Bind ~C-c C-m~ to =counsel-git-grep-switch-cmd=
+The initial command always runs on all files.
+To run only on *.el files, ~C-c C-m~ followed by ~M-i~ =-- *.el=.
+To run on *.c and *.h files, ~C-c C-m~ followed by ~M-i~ =-- *.c *.h=.
+To switch to all files again, ~C-c C-m~ and select the appropriate
+New defcustom that replaces =counsel-locate-options=.
+**** Truncate during display
+During the completion, only the context around the match will be shown.
+By default, the context is +2 lines above and +2 lines below the match.
+It can be adjusted with =counsel-yank-pop-truncate-radius=.
+Additionally, =ivy-height= is temporarily bound to 5 during completion.
+This way, the maximum minibuffer height should be 1+4*5=21 lines.
+Display hex codes in left column.
+**** Preselect the current song
+Allows the command run by =counsel-ag-function= to be customized. There
+are several reasons to allow this: The vimgrep option is a recent
+addition; on windows it's more convenient to use pt; and the user
+might want to customize ignored files.
+(setq counsel-ag-base-command "ag --nocolor --nogroup %s -- .")
+**** Add dir prompt for ~C-u~
+**** Add =counsel-ag-map=
+**** Add optional exit-code table
+This argument can be used to associate exit codes with the underlying
+reason. Used in counsel-ag-function to signal that an exit code of 1
+means that no matches were found.
+See [[https://github.com/abo-abo/swiper/issues/424][#424]] and
+**** Reveal outlines
+Just like =swiper=.
+**** Should pick candidates closest to point
+Fixes the algorithm selecting the first matching candidate in case
+there are 0 matching candidates following point. Now the last matching
+candidate will be selected, resulting in less scrolling.
+**** Speed up x40 times
+The default shell command will not use =--ignore-case= switch for
+=grep=. It's a bit less convenient, but results in a huge speed-up.
+**** Add help action
+Bound to ~M-o h~ by default.
+** New Commands
+Completion for the menu bar items. For example:
+=counsel-tmm= -> =Options= -> =Set Default Font...=.
+Thanks to completion, the latter stages of the chain would look like: =op=
~RET~ =set= ~RET~.
+Jump to a buffer position indexed by imenu.
+Show a list of all defined keys, and their definitions. Describe the
+Offer completion for =process-list=
+The default action deletes the selected process. An extra action
+allows to switch to the process buffer.
+See [[https://github.com/abo-abo/swiper/issues/357][#357]] and
+Remap =switch-to-buffer-other-window= to =ivy-switch-buffer-other-window= for
+Search through all available git stashes.
+Call the =git log --grep= shell command and search through the output.
+Grep for a string in the current directory using pt.
+Launch a Linux desktop application, similar to Alt-<F2>.
+Ivy completion for =ace-link=.
+Browse Eshell history.
+Browse shell history.
+New command: automatically use =swiper= for smaller buffers and
+=counsel-grep= for larger buffers.
+(setq counsel-grep-swiper-limit 300000)
+By default, the splitting predicate is 300K bytes in a file.
- [elpa] master 8d04638 202/272: counsel.el: Fix breakage due to helm-rhythmbox, (continued)
- [elpa] master 8d04638 202/272: counsel.el: Fix breakage due to helm-rhythmbox, Oleh Krehel, 2016/04/25
- [elpa] master 6ae91f7 213/272: Make ivy-set-sources work also for sync completion, Oleh Krehel, 2016/04/25
- [elpa] master f7c7114 037/272: ivy-test.el (ivy--regex-ignore-order): New test, Oleh Krehel, 2016/04/25
- [elpa] master 1088078 266/272: When selecting a non-existing key in an alist, return that key, Oleh Krehel, 2016/04/25
- [elpa] master 341b5a2 229/272: counsel-grep should pick candidates closest to point, Oleh Krehel, 2016/04/25
- [elpa] master d71b5c5 081/272: swiper.el (swiper--action): Update regexp-search-ring, Oleh Krehel, 2016/04/25
- [elpa] master e1c156b 074/272: ivy.el (ivy--resize-minibuffer-to-fit): Check frame-root-window-p, Oleh Krehel, 2016/04/25
- [elpa] master ebd3e29 089/272: swiper.el (swiper--update-input-ivy): Fix a bug, Oleh Krehel, 2016/04/25
- [elpa] master de0e541 234/272: Speed up counsel-grep by up to 40 times, Oleh Krehel, 2016/04/25
- [elpa] master 299bc13 097/272: Fix initial-input not set to nil for 'read-file-name-internal, Oleh Krehel, 2016/04/25
- [elpa] master bab5aab 269/272: doc/Changelog.org: Prepare for the 0.8.0 release,
Oleh Krehel <=
- [elpa] master 0efbf6e 055/272: Simplify the signature for :dynamic-collection functions, Oleh Krehel, 2016/04/25
- [elpa] master 6a5a688 201/272: counsel.el: Improve counsel-grep, Oleh Krehel, 2016/04/25
- [elpa] master 65cf724 247/272: Make ivy--regex work with "[^ ]", Oleh Krehel, 2016/04/25
- [elpa] master f72cea2 253/272: swiper.el (swiper-mc): Restore interactive, Oleh Krehel, 2016/04/25
- [elpa] master 08d5578 137/272: counsel.el (counsel-git-log): New command, Oleh Krehel, 2016/04/25
- [elpa] master 00f08f7 073/272: Improve Ivy documentation UI, Oleh Krehel, 2016/04/25
- [elpa] master 8f527d7 149/272: ivy.el (ivy-next-history-element): No "\\_<" for dynamic-collection, Oleh Krehel, 2016/04/25
- [elpa] master 265bf49 251/272: counsel.el: Fix compile warning, Oleh Krehel, 2016/04/25
- [elpa] master 7cf13a7 186/272: counsel.el (counsel-linux-app): New command, Oleh Krehel, 2016/04/25
- [elpa] master 31a2f86 238/272: counsel.el (counsel-expression-history): enable-recursive-minibuffers, Oleh Krehel, 2016/04/25