]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
8 years agocounsel.el (counsel-prompt-function): New defcustom
Oleh Krehel [Thu, 10 Mar 2016 17:54:14 +0000 (18:54 +0100)]
counsel.el (counsel-prompt-function): New defcustom

* counsel.el (counsel-prompt-function-default):
(counsel-prompt-function-dir): New defun.
(counsel-git):
(counsel-git-grep):
(counsel-ag): Update.

To show the root dir:

    (setq counsel-prompt-function 'counsel-prompt-function-dir)

Fixes #424

8 years agocounsel.el (counsel-ag-occur): Add
Oleh Krehel [Wed, 9 Mar 2016 15:28:13 +0000 (16:28 +0100)]
counsel.el (counsel-ag-occur): Add

Re #423

8 years agocounsel.el (counsel--async-sentinel): Start refactor
Oleh Krehel [Wed, 9 Mar 2016 13:48:16 +0000 (14:48 +0100)]
counsel.el (counsel--async-sentinel): Start refactor

This function should only care about producing a list of strings from
the process buffer.
A new function should take this list and take care of everything else.

8 years ago* packages/transcribe: New release: new functions and menus
David Gonzalez Gandara [Wed, 9 Mar 2016 11:59:07 +0000 (12:59 +0100)]
* packages/transcribe: New release: new functions and menus

8 years agoAdd optional exit-code table to counsel--async-cmd
justbur [Mon, 7 Mar 2016 20:05:09 +0000 (15:05 -0500)]
Add optional exit-code table to counsel--async-cmd

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.

Fixes #421

8 years agoivy.el (ivy-expand-file-if-directory): Fix "/ssh:" regression
Oleh Krehel [Mon, 7 Mar 2016 20:37:58 +0000 (21:37 +0100)]
ivy.el (ivy-expand-file-if-directory): Fix "/ssh:" regression

8 years agocounsel.el (counsel-git-grep-map): Bind "C-c C-m" to counsel-git-grep-switch-cmd
Oleh Krehel [Mon, 7 Mar 2016 16:40:49 +0000 (17:40 +0100)]
counsel.el (counsel-git-grep-map): Bind "C-c C-m" to counsel-git-grep-switch-cmd

* counsel.el (counsel-git-grep-switch-cmd): New command.

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
entry.

Re #420

8 years agoUpdate packages/yasnippet by subtree-merging from its github-based upstream
João Távora [Mon, 7 Mar 2016 08:40:15 +0000 (08:40 +0000)]
Update packages/yasnippet by subtree-merging from its github-based upstream

packages/yasnippet/snippets is left untouched in GNU ELPA. The
upstream version uses a submodule pointing to a snippets repo which
lives at https://github.com/AndreaCrotti/yasnippet-snippets.git

Conflicts: packages/yasnippet/snippets

8 years agocounsel-ag: Fix escaping problem
justbur [Mon, 7 Mar 2016 01:59:14 +0000 (20:59 -0500)]
counsel-ag: Fix escaping problem

Before this it is not possible to pass the string "string1\|string2" to
ag, because inputing string1\|string2 gets translated into
"string1\\|string2" via %S.

Instead I use %s and shell-quote-argument to take care of escaping for
the command line, which fixes the issue for me.

Please test.

Also see https://github.com/syl20bnr/spacemacs/issues/5378

8 years agoMerge commit 'e0454a100541ce3f1f732b97894a3441cef3316f' from hydra
Oleh Krehel [Fri, 4 Mar 2016 19:59:27 +0000 (20:59 +0100)]
Merge commit 'e0454a100541ce3f1f732b97894a3441cef3316f' from hydra

8 years agoAdd .elpaignore
Oleh Krehel [Fri, 4 Mar 2016 19:57:06 +0000 (20:57 +0100)]
Add .elpaignore

Fixes #182

8 years ago* csv-mode/csv-mode.el: Remove out-of-date "URL:" header.
Francis Wright [Fri, 4 Mar 2016 17:34:30 +0000 (12:34 -0500)]
* csv-mode/csv-mode.el: Remove out-of-date "URL:" header.

8 years agoMinor change in `string' pattern
Michael Heerdegen [Fri, 4 Mar 2016 15:34:26 +0000 (16:34 +0100)]
Minor change in `string' pattern

8 years agoswiper.el (swiper-occur): Bind ivy--regex-function
Oleh Krehel [Fri, 4 Mar 2016 14:56:45 +0000 (15:56 +0100)]
swiper.el (swiper-occur): Bind ivy--regex-function

Otherwise input like "^\\w+" doesn't work.

8 years agoswiper.el: Add docstring
Oleh Krehel [Fri, 4 Mar 2016 14:35:13 +0000 (15:35 +0100)]
swiper.el: Add docstring

8 years agoswiper.el (swiper-occur): Fix for non-file buffers
Oleh Krehel [Fri, 4 Mar 2016 14:29:51 +0000 (15:29 +0100)]
swiper.el (swiper-occur): Fix for non-file buffers

8 years agoivy.el (ivy-occur-revert-buffer): Move code to swiper-occur
Oleh Krehel [Fri, 4 Mar 2016 14:24:50 +0000 (15:24 +0100)]
ivy.el (ivy-occur-revert-buffer): Move code to swiper-occur

* ivy.el (ivy-occur-revert-buffer): Shouldn't know what's going on with
  `swiper'.

* swiper.el (swiper-occur): Now takes an optional arg. Also moves the
  point to the first cand.

TODO: The recovery of `ivy-text' is still hacky.

8 years agoImprove window handling for ivy-occur
Oleh Krehel [Fri, 4 Mar 2016 14:12:56 +0000 (15:12 +0100)]
Improve window handling for ivy-occur

8 years agoNew command ivy-occur-revert-buffer bound to "g"
Oleh Krehel [Fri, 4 Mar 2016 13:58:50 +0000 (14:58 +0100)]
New command ivy-occur-revert-buffer bound to "g"

* ivy.el (ivy-occur-mode-map): Move `ivy-occur-press' from "g" to "f".
Bind "g" to `ivy-occur-revert-buffer'.
(ivy-occur-revert-buffer): New command. Does what e.g. `revert-buffer'
does for *Help* buffers.

* swiper.el (swiper-faces): Add :group and :type.
(swiper-occur): Try to avoid calling `ivy-occur-grep-mode' as it will
kill all local variables.
(swiper--action): Update so that `ivy-occur-toggle-calling' works properly.

8 years agoAdd a command to save the bugs list
Lars Ingebrigtsen [Fri, 4 Mar 2016 11:46:59 +0000 (11:46 +0000)]
Add a command to save the bugs list

* debbugs-gnu.el (debbugs-gnu-save-cache): New function to save
the bugs list for offline debugging.

8 years agoFix swiper not revealing org overlay when at heading body end
Oleh Krehel [Fri, 4 Mar 2016 08:20:02 +0000 (09:20 +0100)]
Fix swiper not revealing org overlay when at heading body end

* swiper.el (swiper--ensure-visible): Update.

8 years ago* csv-mode, landmark: Fix maintainer's email
Stefan Monnier [Fri, 4 Mar 2016 03:11:04 +0000 (22:11 -0500)]
* csv-mode, landmark: Fix maintainer's email

8 years ago* packages/stream/stream.el: Bump version number.
Nicolas Petton [Thu, 3 Mar 2016 14:38:22 +0000 (15:38 +0100)]
* packages/stream/stream.el: Bump version number.

8 years agoAdd stream stream-delay and stream-of-directory-files
Michael Heerdegen [Thu, 3 Mar 2016 14:33:10 +0000 (15:33 +0100)]
Add stream stream-delay and stream-of-directory-files

* packages/stream/stream.el (stream-delay, stream-of-directory-files):
New functions.
* packages/stream/tests/stream-tests.el: Add test for stream-delay.

8 years agoivy.el: define setq-local and defvar-local unless defined
Oleh Krehel [Thu, 3 Mar 2016 11:06:33 +0000 (12:06 +0100)]
ivy.el: define setq-local and defvar-local unless defined

Fixes #415

With this commit, ivy works on emacs-24.2.

8 years agoVersion 1.2.0 Sync with github
rocky [Thu, 3 Mar 2016 07:57:39 +0000 (02:57 -0500)]
Version 1.2.0 Sync with github

github syohex:
* Switch from Carton to Cask

rubikitch@ruby-lang.org:
* test-simple.el: test-simple-run: make it a command.
* README.md: Mention test-simple-run
* example/gcd-tests.el: gcd-tests.el: Add test-simple-run comment line
* test-simple.el: Emacs exits abnormally when noninteractive test fails.
* test-simple.el: New function `test-simple-run': register test You can
  run tests easily by pressing C-x C-z.
* test-basic.el: fix botched joke

8 years agocounsel.el (counsel-mode-map): Add counsel-M-x
Oleh Krehel [Thu, 3 Mar 2016 08:28:15 +0000 (09:28 +0100)]
counsel.el (counsel-mode-map): Add counsel-M-x

Re #414

8 years agocounsel.el: add outline for `counsel-mode'
Oleh Krehel [Thu, 3 Mar 2016 07:58:13 +0000 (08:58 +0100)]
counsel.el: add outline for `counsel-mode'

8 years agoAdd counsel-mode
justbur [Wed, 2 Mar 2016 21:08:39 +0000 (16:08 -0500)]
Add counsel-mode

A minor-mode that remaps built-in functions that have counsel
replacements available.

Fixes #414

8 years agodoc/ivy.org: fix typos
Oleh Krehel [Thu, 3 Mar 2016 07:52:12 +0000 (08:52 +0100)]
doc/ivy.org: fix typos

8 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa
rocky [Thu, 3 Mar 2016 07:39:18 +0000 (02:39 -0500)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa

8 years agoivy.el (ivy-resume): Add a guard against null :action
Oleh Krehel [Wed, 2 Mar 2016 19:37:13 +0000 (20:37 +0100)]
ivy.el (ivy-resume): Add a guard against null :action

Re syl20bnr/spacemacs#5335

8 years agoivy.el (ivy-occur-press): Pulse no longer
Oleh Krehel [Wed, 2 Mar 2016 11:23:30 +0000 (12:23 +0100)]
ivy.el (ivy-occur-press): Pulse no longer

Repeated pulses within a short time span resulted in horrible window
flickering.

8 years agoivy-occur-mode: new commands on "j", "k", "c"
Oleh Krehel [Wed, 2 Mar 2016 11:17:05 +0000 (12:17 +0100)]
ivy-occur-mode: new commands on "j", "k", "c"

* ivy.el (ivy-calling): Make variable buffer-local.
(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'.

Example:

- "C-h f" (`describe-funtion')
- "run" (`self-insert-command')
- "C-c C-o" (`ivy-occur'); "C-o u" also works.
- "cjjjjkkkk"

8 years agoMerge commit '206468aa4de299ad26c2db12b757f5ad7290912f'
Michael Heerdegen [Wed, 2 Mar 2016 10:01:24 +0000 (11:01 +0100)]
Merge commit '206468aa4de299ad26c2db12b757f5ad7290912f'

8 years agoon-screen-enabled-p: use `or' instead of `if'
Michael Heerdegen [Wed, 2 Mar 2016 09:50:24 +0000 (10:50 +0100)]
on-screen-enabled-p: use `or' instead of `if'

Thanks Stefan.

8 years agoFix for non-interactive calls of el-search-pattern
Michael Heerdegen [Wed, 2 Mar 2016 09:27:13 +0000 (10:27 +0100)]
Fix for non-interactive calls of el-search-pattern

8 years agoTweak docstring of el-search--ensure-sexp-start
Michael Heerdegen [Wed, 2 Mar 2016 09:12:20 +0000 (10:12 +0100)]
Tweak docstring of el-search--ensure-sexp-start

8 years agoNew user option: el-search-smart-case-fold-search
Michael Heerdegen [Tue, 1 Mar 2016 16:53:56 +0000 (17:53 +0100)]
New user option: el-search-smart-case-fold-search

8 years agoivy.el (ivy-next-history-element): No "\\_<" for dynamic-collection
Oleh Krehel [Tue, 1 Mar 2016 18:30:38 +0000 (19:30 +0100)]
ivy.el (ivy-next-history-element): 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.

Fixes #409

8 years agoivy-dispatching-done should not permanently modify default action index
Oleh Krehel [Tue, 1 Mar 2016 15:53:30 +0000 (16:53 +0100)]
ivy-dispatching-done should not permanently modify default action index

* ivy.el (ivy-read):
When (numberp (car-safe (ivy-state-action ivy-last))), reset it to 1.

This was an issue for `ivy-read' calls that specified :action as a
list (`counsel-rhythmbox' and `counsel-list-processes'), instead using a
single function and `ivy-set-actions'.

8 years ago* packages/arbitools: Add functions and menus
David Gonzalez Gandara [Tue, 1 Mar 2016 00:07:36 +0000 (01:07 +0100)]
* packages/arbitools: Add functions and menus

8 years ago* packages/metar/metar.el: Bump version for last two changes.
Wolfgang Jenkner [Mon, 29 Feb 2016 19:17:13 +0000 (20:17 +0100)]
* packages/metar/metar.el: Bump version for last two changes.

8 years agoMinor debbugs fixes
Michael Albinus [Mon, 29 Feb 2016 08:56:46 +0000 (09:56 +0100)]
Minor debbugs fixes

* packages/debbugs/debbugs-gnu.el (debbugs-gnu-show-reports):
Fix docstring.  Let-bind also `debbugs-cache-expiry'.

8 years ago"C-x C-f" can un-ignore dotfiles with a leading dot input
Oleh Krehel [Mon, 29 Feb 2016 08:20:33 +0000 (09:20 +0100)]
"C-x C-f" can un-ignore dotfiles with a leading dot input

* counsel.el (counsel-find-file-ignore-regexp): Add a recommended value,
all dotfiles.
(counsel--find-file-matcher): 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.

Re #408

8 years agoivy.el (ivy-switch-buffer): Don't fall back to switch-to-buffer
Oleh Krehel [Mon, 29 Feb 2016 07:57:52 +0000 (08:57 +0100)]
ivy.el (ivy-switch-buffer): Don't fall back to switch-to-buffer

Fixes #410

8 years agoAllow sending control messages offline
Lars Ingebrigtsen [Mon, 29 Feb 2016 07:15:39 +0000 (18:15 +1100)]
Allow sending control messages offline

* debbugs-gnu.el (debbugs-gnu-send-mail-function): New variable.
(debbugs-gnu-send-control-message): Use it to allow sending
control messages offline.

8 years agoAllow reading debbugs from an offline cache
Lars Ingebrigtsen [Mon, 29 Feb 2016 06:55:02 +0000 (17:55 +1100)]
Allow reading debbugs from an offline cache

* debbugs-gnu.el (debbugs-gnu-show-reports): Allow reading the bug
list from an offline cache.

8 years agoivy.el (ivy-expand-file-if-directory): New defun
Oleh Krehel [Sun, 28 Feb 2016 16:42:57 +0000 (17:42 +0100)]
ivy.el (ivy-expand-file-if-directory): New defun

* ivy.el (ivy--directory-done): Use `ivy-expand-file-if-directory'.
(ivy-partial-or-done):  Use `ivy-expand-file-if-directory'.

8 years agoivy.el (ivy-alt-done): Simplify
Oleh Krehel [Sun, 28 Feb 2016 16:22:26 +0000 (17:22 +0100)]
ivy.el (ivy-alt-done): Simplify

8 years agoMerge math-symbol-lists
Vitalie Spinu [Sun, 28 Feb 2016 15:02:55 +0000 (16:02 +0100)]
Merge math-symbol-lists

8 years agoSquashed 'packages/math-symbol-lists/' changes from 0d9147c..d11f74f
Vitalie Spinu [Sun, 28 Feb 2016 15:00:32 +0000 (16:00 +0100)]
Squashed 'packages/math-symbol-lists/' changes from 0d9147c..d11f74f

d11f74f Version 1.1
e8c8fb0 Base extended Unicode list on LUCR database
216b009 Add .dir-locals and update .gitignore
5631998 Add "left" to math-symbol-list-latex-commands

git-subtree-dir: packages/math-symbol-lists
git-subtree-split: d11f74fef06d93637e28f32e16edfb5b0ccd064d

8 years agoMerge company-math
Vitalie Spinu [Sun, 28 Feb 2016 14:56:45 +0000 (15:56 +0100)]
Merge company-math

8 years agoSquashed 'packages/company-math/' changes from b585117..2e24a08
Vitalie Spinu [Sun, 28 Feb 2016 14:56:45 +0000 (15:56 +0100)]
Squashed 'packages/company-math/' changes from b585117..2e24a08

2e24a08 Version 1.1
8e64cae Untabify and add .dir-locals
ce46d91 Merge pull request #7 from cpitclaudel/always-offer-completions
3c906cd Always offer completions (workaround for company issue #476)
21ac1c7 Update readme as per TeX-mode-hook problem
d0db15e [Fix #6] Add `tex-math` to `company-math-allow-latex-symbols-in-faces`
f5cedcf Use generic `tex-mode-hook` in readme

git-subtree-dir: packages/company-math
git-subtree-split: 2e24a088d660d0bf37585a664eddbbb6c4a8e20d

8 years ago* packages/arbitools: added menu option
David Gonzalez Gandara [Sun, 28 Feb 2016 10:37:01 +0000 (11:37 +0100)]
* packages/arbitools: added menu option

8 years ago* packages/arbitools: endoffile bug fixed
David Gonzalez Gandara [Sun, 28 Feb 2016 08:39:25 +0000 (09:39 +0100)]
* packages/arbitools: endoffile bug fixed

8 years ago* packages/arbitools: added some new functions and menus
David Gonzalez Gandara [Sun, 28 Feb 2016 08:36:36 +0000 (09:36 +0100)]
* packages/arbitools: added some new functions and menus

8 years agoMove read-file-name to :display-transformer-fn
Oleh Krehel [Sat, 27 Feb 2016 12:48:11 +0000 (13:48 +0100)]
Move read-file-name to :display-transformer-fn

* ivy.el (ivy-set-display-transformer): Set 'read-file-name-internal to
  'ivy-read-file-transformer.
(ivy-read-file-transformer): New defun.
(ivy--format): Simplify.

8 years agoMove switch-to-buffer to :display-transformer-fn
Oleh Krehel [Sat, 27 Feb 2016 12:40:00 +0000 (13:40 +0100)]
Move switch-to-buffer to :display-transformer-fn

* ivy.el (ivy-read): Use also COLLECTION as a key for
  `display-transformer-fn'.
(ivy--format): Simplify.
(ivy-switch-buffer-transformer): New defun.
(ivy-set-display-transformer): Set 'ivy-switch-buffer and
'internal-complete-buffer to 'ivy-switch-buffer-transformer.

8 years agoivy.el: Fix a few face declarations
Oleh Krehel [Sat, 27 Feb 2016 12:38:45 +0000 (13:38 +0100)]
ivy.el: Fix a few face declarations

`customize-face' wasn't working well with them.

8 years ago* ivy.el (ivy-format-function-line): Remove `extra' parameter.
Stephen Whipple [Sat, 27 Feb 2016 11:35:57 +0000 (04:35 -0700)]
* ivy.el (ivy-format-function-line): Remove `extra' parameter.

Remove `extra' parameter to match the expected arity.

8 years agocounsel.el (counsel-git-grep-occur): Fix greedy-nongreedy bug
Oleh Krehel [Sat, 27 Feb 2016 08:12:02 +0000 (09:12 +0100)]
counsel.el (counsel-git-grep-occur): Fix greedy-nongreedy bug

The regex has to be greedy for the shell command to succeed.

8 years agocounsel.el (counsel-git-grep-transformer): New defun
Oleh Krehel [Sat, 27 Feb 2016 08:10:31 +0000 (09:10 +0100)]
counsel.el (counsel-git-grep-transformer): New defun

* counsel.el (ivy-set-display-transformer):
  'counsel-git-grep-transformer to 'counsel-git-grep .

Fixes #399

8 years agocounsel.el (counsel-git-log): New command
Oleh Krehel [Sat, 27 Feb 2016 07:12:03 +0000 (08:12 +0100)]
counsel.el (counsel-git-log): New command

* counsel.el (counsel-git-log-function): New defun.
(counsel-git-log-action): New defun.

8 years agoSimplify the ivy-format-function interface
Oleh Krehel [Sat, 27 Feb 2016 07:53:57 +0000 (08:53 +0100)]
Simplify the ivy-format-function interface

* ivy.el (ivy--format-function-generic): Third arg is no longer a list
  of cons cells, but a list of strings instead.
(ivy-format-function-default):
(ivy-format-function-arrow):
(ivy-format-function-line): Take a string instead of a cons cell.
(ivy--format): Feed strings instead of cons cells to
`ivy-format-function'.

* ivy-test.el (ivy--format): Update test.

* counsel.el (counsel--yank-pop-format-function): Take a string instead
  of a cons cell.

Re #399

8 years agoNew API function ivy-set-display-transformer
Oleh Krehel [Sat, 27 Feb 2016 07:32:01 +0000 (08:32 +0100)]
New API function ivy-set-display-transformer

* ivy.el (ivy--display-transformers-list): New defvar.
(ivy-set-display-transformer): New defun. Keys are :caller, values are
str->str lambda.
(ivy-state): New field display-transformer-fn.
(ivy-read): Set :display-transformer-fn.
(ivy--format): Apply :display-transformer-fn to each displayed
candidate, in the context of ivy-window.

* counsel.el (ivy-set-display-transformer): Set for `counsel-M-x'.
(counsel-M-x-transformer): Promote from `counsel--M-x-transformer'.
Now takes a string instead of a cons cell.
(counsel-M-x): No more messing with `ivy-format-function'.

Re #399

8 years agodoc/ivy.org: Fix typo
Oleh Krehel [Sat, 27 Feb 2016 07:04:41 +0000 (08:04 +0100)]
doc/ivy.org: Fix typo

8 years agocounsel.el (counsel--generic): Improve
Oleh Krehel [Sat, 27 Feb 2016 07:03:04 +0000 (08:03 +0100)]
counsel.el (counsel--generic): Improve

8 years agocounsel.el (counsel-async-split-string-re): New defvar
Oleh Krehel [Sat, 27 Feb 2016 07:02:23 +0000 (08:02 +0100)]
counsel.el (counsel-async-split-string-re): New defvar

* counsel.el (counsel--async-sentinel):
(counsel--async-filter): Use `counsel-async-split-string-re'.

8 years agoAvoid error in case this-command isn't a symbol.
Noam Postavsky [Fri, 26 Feb 2016 21:59:39 +0000 (16:59 -0500)]
Avoid error in case this-command isn't a symbol.

Fixes #664.

* yasnippet.el (yas--skip-and-clear-field-p): Only get
  `delete-selection' property of `this-command' when it's a symbol.

8 years agoFix #70 - Do indent on empty line
Artur Malabarba [Fri, 26 Feb 2016 18:45:22 +0000 (15:45 -0300)]
Fix #70 - Do indent on empty line

I have no idea why this was disabled in the first place, but now we have
a reason to re-enable it.

8 years agocounsel.el (counsel-recoll): add unwind
Oleh Krehel [Fri, 26 Feb 2016 17:40:07 +0000 (18:40 +0100)]
counsel.el (counsel-recoll): add unwind

Fixes #403

8 years ago* sed-mode/sed-mode.el: Bump up version for first release
Stefan Monnier [Fri, 26 Feb 2016 17:03:21 +0000 (12:03 -0500)]
* sed-mode/sed-mode.el: Bump up version for first release

(interpreter-mode-alist): Register ourselves.

8 years agoAdd a work-around for bug#19582, present before Emacs 24.5.
Wolfgang Jenkner [Fri, 26 Feb 2016 14:22:40 +0000 (15:22 +0100)]
Add a work-around for bug#19582, present before Emacs 24.5.

* packages/metar/metar.el (metar-convert-unit): Rewrite expr if it
starts with the `neg' operator.  Technically, this is wrong because
various functions in calc-units expect already simplified
expressions.  In practice, it should work around the above bug.

8 years agoFix the case where the metar record contains M01 (bug#19401).
Wolfgang Jenkner [Fri, 26 Feb 2016 14:22:40 +0000 (15:22 +0100)]
Fix the case where the metar record contains M01 (bug#19401).

* packages/metar/metar.el (metar-convert-unit): New optional argument.
(metar-convert-temperature): Use it to rewrite this function in terms of
metar-convert-unit.
Pass t as last argument to the underlying calc conversion functions so
that they return only the number, not the unit, thereby fixing the bug
in question.

8 years agoGive ivy-read-read-action enough minibuffer space
Oleh Krehel [Fri, 26 Feb 2016 13:27:28 +0000 (14:27 +0100)]
Give ivy-read-read-action enough minibuffer space

* ivy.el (ivy-read-action): Bind (resize-mini-windows 'grow-only).
Return non-nil when everything went OK.
(ivy-dispatching-done): Call `ivy-done' only if read-action went OK.
Previously, an action would be called after "M-o C-g".

Fixes #402

8 years agopackages/excorporate/excorporate.el: Bump version to 0.7.1
Thomas Fitzsimmons [Fri, 26 Feb 2016 11:55:38 +0000 (06:55 -0500)]
packages/excorporate/excorporate.el: Bump version to 0.7.1

8 years agopackages/excorporate/excorporate.texi: New manual
Thomas Fitzsimmons [Fri, 26 Feb 2016 11:54:15 +0000 (06:54 -0500)]
packages/excorporate/excorporate.texi: New manual

* packages/excorporate/excorporate.texi,
packages/excorporate/excorporate.info,
packages/excorporate/dir: New files.

8 years agoivy.el (ivy-next-history-element): Don't add symbol bounds for file names
Oleh Krehel [Fri, 26 Feb 2016 10:24:39 +0000 (11:24 +0100)]
ivy.el (ivy-next-history-element): Don't add symbol bounds for file names

8 years agoswiper.el (swiper-all): Now auto-updates position
Oleh Krehel [Fri, 26 Feb 2016 08:23:43 +0000 (09:23 +0100)]
swiper.el (swiper-all): Now auto-updates position

Fixes #401

8 years ago* sed-mode: New package
Stefan Monnier [Fri, 26 Feb 2016 04:13:16 +0000 (23:13 -0500)]
* sed-mode: New package

8 years agoRevert last botched commit
Stefan Monnier [Fri, 26 Feb 2016 04:12:15 +0000 (23:12 -0500)]
Revert last botched commit

8 years ago* sed-mode: New package
Stefan Monnier [Fri, 26 Feb 2016 04:00:24 +0000 (23:00 -0500)]
* sed-mode: New package

8 years agoFix #5 - Turn on abbrev-mode
Artur Malabarba [Thu, 25 Feb 2016 13:57:57 +0000 (10:57 -0300)]
Fix #5 - Turn on abbrev-mode

8 years agoswiper.el (swiper-font-lock-ensure): Don't fail when font-lock is off
Oleh Krehel [Thu, 25 Feb 2016 07:56:48 +0000 (08:56 +0100)]
swiper.el (swiper-font-lock-ensure): Don't fail when font-lock is off

Fixes #400

8 years agopackages/excorporate: New package, import version 0.7.0
Thomas Fitzsimmons [Mon, 22 Feb 2016 00:43:52 +0000 (19:43 -0500)]
packages/excorporate: New package, import version 0.7.0

* packages/excorporate/README,
packages/excorporate/excorporate-calendar.el,
packages/excorporate/excorporate-calfw.el.txt,
packages/excorporate/excorporate-org.el,
packages/excorporate/excorporate.el: New files.

8 years agoAdd ivy-fixed-height-minibuffer
justbur [Sun, 17 Jan 2016 19:20:06 +0000 (14:20 -0500)]
Add ivy-fixed-height-minibuffer

This option attempts to make the minibuffer stay at a fixed height
regardless of the number of candidates. Some people prefer this as
it can be annoying when quickly going through folders of different
sizes for example

Fixes #353

8 years agocounsel.el (counsel-list-processes-action-switch): Improve
Oleh Krehel [Wed, 24 Feb 2016 08:28:42 +0000 (09:28 +0100)]
counsel.el (counsel-list-processes-action-switch): Improve

Fixes #398

8 years ago* packages/arbitools.el: fix coding issues
David Gonzalez Gandara [Tue, 23 Feb 2016 17:22:59 +0000 (18:22 +0100)]
* packages/arbitools.el: fix coding issues

8 years agoUpdate copyright exceptions
Stefan Monnier [Tue, 23 Feb 2016 13:36:51 +0000 (08:36 -0500)]
Update copyright exceptions

8 years agoswiper.el (swiper--ivy): Update signature
Oleh Krehel [Tue, 23 Feb 2016 09:41:28 +0000 (10:41 +0100)]
swiper.el (swiper--ivy): Update signature

Now takes a list of candidates, produced by something like
`swiper--candidates'.
This means that a user can call `swiper--ivy' with a filter applied on
`swiper--candidates' to obtain narrowing.

8 years agocounsel.el (counsel--async-command): Add sentinel and filter args
Oleh Krehel [Tue, 23 Feb 2016 08:03:33 +0000 (09:03 +0100)]
counsel.el (counsel--async-command): Add sentinel and filter args

Re #394

8 years agocounsel.el (counsel--async-sentinel): Recognize error codes other than 1
Oleh Krehel [Tue, 23 Feb 2016 07:58:29 +0000 (08:58 +0100)]
counsel.el (counsel--async-sentinel): Recognize error codes other than 1

Fixes #394

8 years agoFix the "exempt" marker
Lars Ingebrigtsen [Tue, 23 Feb 2016 04:44:38 +0000 (15:44 +1100)]
Fix the "exempt" marker

* debbugs-gnu.el (debbugs-gnu-insert-changelog): Fix the "exempt" marker.

8 years agoivy.el (ivy--regex): Don't consider \\(?...\) a group
Oleh Krehel [Mon, 22 Feb 2016 20:18:14 +0000 (21:18 +0100)]
ivy.el (ivy--regex): Don't consider \\(?...\) a group

* ivy-test.el (ivy--regex): Add test.

Fixes #393

8 years agoMerge commit '68160bad14b031b069f30f1bd494ba4f252321c1'
Artur Malabarba [Mon, 22 Feb 2016 16:14:50 +0000 (13:14 -0300)]
Merge commit '68160bad14b031b069f30f1bd494ba4f252321c1'

8 years agoVersion bump
Artur Malabarba [Mon, 22 Feb 2016 16:13:45 +0000 (13:13 -0300)]
Version bump

8 years agoMore abbrev
Artur Malabarba [Mon, 22 Feb 2016 16:13:18 +0000 (13:13 -0300)]
More abbrev

8 years agoswiper.el (swiper--update-input-ivy): Replace "\t"
Oleh Krehel [Mon, 22 Feb 2016 15:38:47 +0000 (16:38 +0100)]
swiper.el (swiper--update-input-ivy): Replace "\t"

`swiper--candidates' replaces "\t" with four spaces for a consistent
look in the minibuffer. By the domino effect, this affects
`swiper--re-builder' and `swiper--update-input-ivy'.

8 years agoivy.el (ivy--preselect-index): Don't use regexp-quote
Oleh Krehel [Mon, 22 Feb 2016 15:32:31 +0000 (16:32 +0100)]
ivy.el (ivy--preselect-index): Don't use regexp-quote

I don't remember why `regexp-quote' was needed in the first place.  But
it's useful to have it as a regex at least for `lispy--occur-preselet'
which returns things like "^42" to preselect line 42.