]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
9 years agoSmall changes to README
Damien Cassou [Thu, 21 May 2015 05:16:28 +0000 (07:16 +0200)]
Small changes to README

9 years agoace-window.el (aw-swap-invert): New defcustom
Oleh Krehel [Wed, 20 May 2015 17:14:58 +0000 (19:14 +0200)]
ace-window.el (aw-swap-invert): New defcustom

* ace-window.el (aw-swap-window): Update.

Fixes #52

9 years agoace-window.el: Bump version
Oleh Krehel [Wed, 20 May 2015 16:33:44 +0000 (18:33 +0200)]
ace-window.el: Bump version

9 years agoAllow to switch to all empty buffers (read-only as well)
Oleh Krehel [Wed, 20 May 2015 11:18:45 +0000 (13:18 +0200)]
Allow to switch to all empty buffers (read-only as well)

* ace-window.el (aw-window-list): Stop filtering out empty read-only
  buffers.
(aw-empty-buffers-list): New defvar, store empty buffers here.
(aw--done): Return empty buffers to their empty state (they had a single
space inserted in order for overlay to work).
(aw--lead-overlay): Insert a space into an empty buffer.
(aw-select): Move inserting a space into `aw--lead-overlay'.

9 years agoFix aw-ignore-current for 3 windows
Oleh Krehel [Wed, 13 May 2015 21:54:09 +0000 (23:54 +0200)]
Fix aw-ignore-current for 3 windows

ace-window.el (aw-select): Update.

Fixes #48

9 years agoUpdate README.md
joe di castro [Tue, 12 May 2015 12:08:55 +0000 (14:08 +0200)]
Update README.md

Update for the customization options for the midway action.

Fixes #46

9 years agoUpdate README.md
joe di castro [Tue, 12 May 2015 11:47:01 +0000 (13:47 +0200)]
Update README.md

Update to the last changes.

9 years agoAllow to midway switch from less than 3 windows
Oleh Krehel [Mon, 11 May 2015 16:35:50 +0000 (18:35 +0200)]
Allow to midway switch from less than 3 windows

* ace-window.el (aw-dispatch-always): New defcustom to enable the
  permanent dispatch.
(aw--flip-keys): Remove defvar.
(aw-flip-keys): Remove defcustom, use `aw-dispatch-alist' instead.
(aw-dispatch-alist): New defcustom.
(aw-dispatch-default): Update.
(aw-select): Do a dispatch when `aw-dispatch-always' is non-nil.
(ace-delete-window):
(ace-swap-window):
(ace-maximize-window): Use callback-style, so that it's possible to
switch the action during the selection.
(aw--pop-window): Update for empty stack and only two windows.

Fixes #44

9 years agoREADME.md: Add a section on midway switch
Oleh Krehel [Mon, 11 May 2015 10:30:12 +0000 (12:30 +0200)]
README.md: Add a section on midway switch

Re #44

9 years agoAllow to change window action midway
Oleh Krehel [Mon, 11 May 2015 09:55:49 +0000 (11:55 +0200)]
Allow to change window action midway

* ace-window.el (aw--done): Update.
(aw-dispatch-function): New defvar. Set this to customize the midway
switch behavior.
(aw-action): New defvar. Midway switch will change this variable.
(aw-set-mode-line): New defun.
(aw-dispatch-default): New defun. Catch a char not in `aw-keys' and
perform an action depending on it.
(aw-select): Set `aw-action' to the ACTION arg, and call it in the
end. It can be changed during the selection.
(aw-split-window-vert): New command.
(aw-split-window-horz): New command.

Fixes #44

9 years agoUpdate requires
Oleh Krehel [Mon, 11 May 2015 08:36:40 +0000 (10:36 +0200)]
Update requires

9 years agoAdd a require
Oleh Krehel [Mon, 11 May 2015 06:35:37 +0000 (08:35 +0200)]
Add a require

9 years agoAllow to switch the action in the middle of ace-window
Oleh Krehel [Sat, 9 May 2015 18:50:01 +0000 (20:50 +0200)]
Allow to switch the action in the middle of ace-window

* ace-window.el (aw-select): Add an optional arg ACTION. Call it on
  selected window. Set `avy-handler-function' to catch ?x and modify
  ACTION into 'aw-delete-window.
(ace-select-window): Use callback-style.

Re #44

9 years agoace-window.el (aw-ignore-current): New defcustom
Oleh Krehel [Fri, 8 May 2015 17:17:55 +0000 (19:17 +0200)]
ace-window.el (aw-ignore-current): New defcustom

* ace-window.el (aw-ignored-p): Use `aw-ignore-current'.

Fixes #43

9 years agoBump version
Oleh Krehel [Fri, 8 May 2015 13:32:16 +0000 (15:32 +0200)]
Bump version

9 years agoAce Window now depends on Avy
Oleh Krehel [Fri, 8 May 2015 09:57:40 +0000 (11:57 +0200)]
Ace Window now depends on Avy

* Cask: New file.

* Makefile: Leave only the compile target.

* ace-window.el: Depend on `avy'.

* avy-init.el:
* avy-jump.el:
* avy-test.el:
* avy.el: Delete files, they are in `avy' repository now.

Fixes #39

9 years agoStart the decoupling of ace-window and avy-jump
Oleh Krehel [Tue, 5 May 2015 14:20:30 +0000 (16:20 +0200)]
Start the decoupling of ace-window and avy-jump

The dependencies now are ace-window -> avy-jump -> avy.

* ace-window.el (aw-overlays-lead): Rename to `avy--overlays-lead'.
(aw--done): Update.
(aw--remove-leading-chars): Rename to `aw--remove-leading-chars'.
(aw-select): Update.

* avy-init.el: Move requires after byte compiling.

* avy-jump.el (ace-window): Remove require.
(avy-background-face): New defface.
(avi--process): Update.
(avy--overlays-back): New defvar.
(avy--make-backgrounds): New defun.
(avy--done): New defun.
(avy--overlays-lead): Rename from `aw-overlays-lead'.
(avy--remove-leading-chars): Rename from `aw--remove-leading-chars'.
(avi--overlay): Update.
(avi--overlay-at): Update.

9 years agoavy-jump.el (avi--goto): Push mark before moving
Oleh Krehel [Tue, 5 May 2015 14:16:49 +0000 (16:16 +0200)]
avy-jump.el (avi--goto): Push mark before moving

Fixes #41

9 years agoFix rounding error
Oleh Krehel [Tue, 5 May 2015 14:12:04 +0000 (16:12 +0200)]
Fix rounding error

* avy.el (avy-subdiv): (log 14 14) is 1.0, but the floor of it can be
  either 1 or 0 due to machine precision. Add an eps to fix it.

Fixes #37

9 years agoAdd `avi-word-punc-regexp` defcustom
Kaushal Modi [Tue, 5 May 2015 13:14:07 +0000 (09:14 -0400)]
Add `avi-word-punc-regexp` defcustom

- Setting this to nil will disable jumping to punctuation chars during
  `avi-goto-word-1`.
- Set this to a regexp of punctuation chars you want to match otherwise.
- "[!-/:-@[-`{-~]" will match all printable punctuation chars.

9 years agoAdd "make compile" and "make run"
Oleh Krehel [Tue, 5 May 2015 12:59:20 +0000 (14:59 +0200)]
Add "make compile" and "make run"

Re #37

9 years agoavy-jump.el (avi-goto-word-1): Count some syms as words
Oleh Krehel [Tue, 5 May 2015 12:38:11 +0000 (14:38 +0200)]
avy-jump.el (avi-goto-word-1): Count some syms as words

* avy-jump.el (avi-goto-word-1): Update.

Fixes #38

9 years agoMake sure avi-move-line and avi-copy-line behave consistently.
Tim Krones [Mon, 4 May 2015 20:37:15 +0000 (22:37 +0200)]
Make sure avi-move-line and avi-copy-line behave consistently.

Insert newline when moving one or more lines with avi-move-line.

9 years agoavy-jump.el (avi-goto-line): Work with one or more windows
Oleh Krehel [Mon, 4 May 2015 19:56:49 +0000 (21:56 +0200)]
avy-jump.el (avi-goto-line): Work with one or more windows

* avy-jump.el (avi-goto-line): Update.
(avi--line): Update.

9 years agoavy-jump.el (avi--line): Fixup the issue with org outlines
Oleh Krehel [Mon, 4 May 2015 19:51:08 +0000 (21:51 +0200)]
avy-jump.el (avi--line): Fixup the issue with org outlines

Re #33

9 years agoUpdate a few commands to jump in one or more windows
Oleh Krehel [Mon, 4 May 2015 18:45:02 +0000 (20:45 +0200)]
Update a few commands to jump in one or more windows

* avy-jump.el (avi--generic-jump): New defun.
(avi-goto-char): Update.
(avi-goto-char-2): Update.
(avi-goto-word-0): Update.
(avi-goto-subword-0): Update.

9 years agoavy-jump.el (avi-all-windows): New defcustom
Oleh Krehel [Mon, 4 May 2015 17:52:11 +0000 (19:52 +0200)]
avy-jump.el (avi-all-windows): New defcustom

* avy-jump.el (avi--regex-candidates): When `avi-all-windows' is
  non-nil, use all windows instead of just the current.

9 years agoavy-jump.el (avi--overlay-pre): Handle plain numbers
Oleh Krehel [Mon, 4 May 2015 16:03:15 +0000 (18:03 +0200)]
avy-jump.el (avi--overlay-pre): Handle plain numbers

* avy-jump.el (avi--overlay-pre):
(avi--overlay-post): Handle the case of LEAF being a number.

9 years agoDon't collect candidates hidden by outlines
Oleh Krehel [Mon, 4 May 2015 15:25:13 +0000 (17:25 +0200)]
Don't collect candidates hidden by outlines

* avy-jump.el (avi--regex-candidates): Update.

Fixes #33

9 years agoavy-jump.el (avi-goto-subword-0): New command
Oleh Krehel [Sun, 3 May 2015 10:40:13 +0000 (12:40 +0200)]
avy-jump.el (avi-goto-subword-0): New command

9 years agoace-window.el (aw--lead-overlay): Work around args-out-of-range
Oleh Krehel [Wed, 1 Apr 2015 17:23:38 +0000 (19:23 +0200)]
ace-window.el (aw--lead-overlay): Work around args-out-of-range

Re #31

9 years agoavy-jump.el (avi--overlay-offset): Add
Oleh Krehel [Tue, 31 Mar 2015 19:54:43 +0000 (21:54 +0200)]
avy-jump.el (avi--overlay-offset): Add

* avy-jump.el (avi--overlay-offset): New defvar.
(avi--overlay): Use `avi--overlay-offset'. Bind it for better
flexibility.

For instance, the regex can be "[^ a-z][a-z]+". In that case, it might
be desirable to shift the overlay by one char.

9 years agoavy-jump.el (avi--overlay-at): New overlay style
Oleh Krehel [Tue, 31 Mar 2015 17:08:11 +0000 (19:08 +0200)]
avy-jump.el (avi--overlay-at): New overlay style

9 years agoavy-jump.el (avi--regex-candidates): Allow for a predicate
Oleh Krehel [Tue, 31 Mar 2015 17:07:50 +0000 (19:07 +0200)]
avy-jump.el (avi--regex-candidates): Allow for a predicate

9 years agoace-window.el: Update comments
Oleh Krehel [Sun, 22 Mar 2015 16:38:13 +0000 (17:38 +0100)]
ace-window.el: Update comments

9 years agoMinor fixes
Oleh Krehel [Sun, 22 Mar 2015 16:20:36 +0000 (17:20 +0100)]
Minor fixes

* ace-window.el (ring): Require.
(aw-select): Replace `caddr' with `nth'.

9 years agoace-window.el: Update Copyright notice
Oleh Krehel [Sat, 21 Mar 2015 19:05:13 +0000 (20:05 +0100)]
ace-window.el: Update Copyright notice

9 years agoace-window.el (aw-mode-line-face): Inherit from mode-line-buffer-id
Oleh Krehel [Sun, 15 Mar 2015 11:57:26 +0000 (12:57 +0100)]
ace-window.el (aw-mode-line-face): Inherit from mode-line-buffer-id

Fixes #28

9 years agoMake sure not to extend `mode-line-format' twice
Oleh Krehel [Fri, 13 Mar 2015 14:08:52 +0000 (15:08 +0100)]
Make sure not to extend `mode-line-format' twice

* ace-window.el (ace-window-display-mode): Update.

Re #27.

9 years agoAdd `ace-window-display-mode' minor mode
Oleh Krehel [Sun, 8 Mar 2015 20:39:11 +0000 (21:39 +0100)]
Add `ace-window-display-mode' minor mode

* ace-window.el (ace-window-display-mode): Display the `ace-window' full
  key path in each window.
(aw-update): New defun. Traverse all windows and set their
ace-window-path parameter. Some synchronization should be added to
`aw-select' wrt ignored windows.

9 years agoAdd show keys on mode line feature.
Shihpin Tseng [Sat, 7 Mar 2015 08:50:46 +0000 (16:50 +0800)]
Add show keys on mode line feature.

9 years agoAllow switching to the previous window
Oleh Krehel [Fri, 6 Mar 2015 11:33:42 +0000 (12:33 +0100)]
Allow switching to the previous window

* ace-window.el (aw--flip-keys): New defvar.
(aw-flip-keys): New defcustom. If one of the keys on this list is
pressed, when `aw-keys' are expected, instead of giving an error, select
the previously visited window.
(aw-select): Update.

(aw--window-ring): New defvar. Store the last 10 selected windows.
(aw--push-window): Remember window into `aw--window-ring'.
(aw--pop-window): Pop window from `aw--window-ring'.
(aw-switch-to-window): Insert the window into `aw--window-ring'.
(aw-swap-window): Insert the window into `aw--window-ring'.

(aw-flip-window): New defun, do the flipping action without having to go
though the `ace-select-window' dispatch.

Fixes #23.

9 years agoavy.el (avy-read): Give a more precise error
Oleh Krehel [Fri, 6 Mar 2015 11:33:27 +0000 (12:33 +0100)]
avy.el (avy-read): Give a more precise error

9 years agoavy-jump.el (avi-goto-word-0): Simplify
Oleh Krehel [Tue, 3 Mar 2015 22:49:32 +0000 (23:49 +0100)]
avy-jump.el (avi-goto-word-0): Simplify

* avy-jump.el (avi-goto-word-1): Simplify.

9 years agoavy-jump.el (avi--overlay): Fix bug
Oleh Krehel [Tue, 3 Mar 2015 22:49:09 +0000 (23:49 +0100)]
avy-jump.el (avi--overlay): Fix bug

9 years agoavy-jump.el (avi--regex-candidates): Add optional bounds
Oleh Krehel [Tue, 3 Mar 2015 22:48:44 +0000 (23:48 +0100)]
avy-jump.el (avi--regex-candidates): Add optional bounds

9 years agoavy-jump.el: Major update
Oleh Krehel [Tue, 3 Mar 2015 20:20:23 +0000 (21:20 +0100)]
avy-jump.el: Major update

* avy-jump.el (avy-jump): Change prefix to "avi-".
(avi-keys): Rename from `avy-keys'.
(avi-background): New defcustom.
(avi-lead-face): New defface.
(avi--goto): Update.
(avi--process): Update signature.
(avi--regex-candidates): Update format.
(avi--overlay): New defun.
(avi--overlay-pre): New defun.
(avi--overlay-post): New defun.
(avi-goto-char): Rename from `avy-jump-char'.
(avi-goto-char-2): Rename from `avy-jump-double-char'.
(avi-isearch): Rename from `avy-jump-isearch'.
(avi-goto-word-0): Rename from `avy-jump-zero-word'.
(avi-goto-word-1): Rename from `avy-jump-one-word'.
(avi-goto-line): Rename from `avy-jump-line'.
(avi--line): New defun.
(avi-copy-line): New defun.
(avi-move-line): New defun.
(avi-copy-region): New defun.

Fixes #21.

9 years agoAdd `aw-leading-char-style' extra-awesome custom var
Oleh Krehel [Tue, 3 Mar 2015 17:12:44 +0000 (18:12 +0100)]
Add `aw-leading-char-style' extra-awesome custom var

* ace-window.el (aw-leading-char-style): When this is `char', the old
  style is used. When this is `path', each window will display the full
  path that can be used to get there. This is a great advantage, since
  you don't need to scan your screen twice, instead reading two (or
  more) chars at once.
(aw--lead-overlay): Update.

* avy.el (avy-traverse): Pass the whole path to WALKER, not just the
  starting point.

9 years agoavy-jump.el: add example commands using avy
Oleh Krehel [Mon, 2 Mar 2015 15:13:36 +0000 (16:13 +0100)]
avy-jump.el: add example commands using avy

9 years agoUpdate avy interface
Oleh Krehel [Mon, 2 Mar 2015 12:26:00 +0000 (13:26 +0100)]
Update avy interface

* avy.el (avy-tree): Rename from `avy-read'.
(avy-tree): Replace LEAF with (cons 'leaf LEAF). This way, leafs are
much easier to distinguish - there's no need to know anything about LEAF
structure to distinguish it from an internal node.
(avy-traverse): New defun.
(avy-read): The function that calls `read-char'.

* ace-window.el (aw--lead-overlay): Change arglist.
(aw--make-leading-chars): Remove in favor of `avy-read'.
(aw-select): Use `avy-read'.

* avy-test.el (avy-tree): Update test.

9 years agoRemove dependency on ace-jump-mode
Oleh Krehel [Fri, 27 Feb 2015 18:16:20 +0000 (19:16 +0100)]
Remove dependency on ace-jump-mode

* avy.el: Add sub-package for building a completion tree.

* avy-test.el: Add.

* Makefile: Add.

* ace-window.el (ace-jump-mode): Don't require.
(avy): Require.
(aw-leading-char-face): Update.
(aw-background-face): New defface.
(aw-list-visual-area): Rename to `aw-window-list'. It returns simple
windows now, instead of visual area structs.
(aw-overlays-lead): New defvar.
(aw-overlays-back): New defvar.
(ace-window-mode): Use own minor mode, instead of `ace-jump-mode'.
(aw--done): Update.
(aw--lead-overlay): New defun.
(aw--make-leading-chars): New defun.
(aw--remove-leading-chars): New defun.
(aw--make-backgrounds): New defun.
(aw-select): Simplify.
(ace-window): Update doc.
(aw-visual-area<): Rename to `aw-window<'. It deals with simple windows
now.

9 years agoUpdate outlines
Oleh Krehel [Wed, 25 Feb 2015 19:45:10 +0000 (20:45 +0100)]
Update outlines

9 years agoAllow customizing the leading char face
Oleh Krehel [Wed, 25 Feb 2015 16:49:37 +0000 (17:49 +0100)]
Allow customizing the leading char face

* ace-window.el (aw-leading-char-face): New face.
(aw-keys):
(aw-ignore-on):
(aw-background):
(aw-scope): No need for :group.
(aw-ignored-buffers): Add type.
(ace-window-end-hook): Remove deprecated var.
(ace-window-end-once-hook): Remove deprecated var.
(aw-select): Inline `ace-jump-populate-overlay-to-search-tree'.

Fixes #19.

Example of customization:

(custom-set-faces
 '(aw-leading-char-face
   ((t (:inherit ace-jump-face-foreground :height 2.0)))))

You can customize interactively with "M-x" `customize-group'
`ace-window'.

9 years agoace-window.el (aw-ignored-buffers): add "*LV*"
Oleh Krehel [Tue, 17 Feb 2015 14:50:50 +0000 (15:50 +0100)]
ace-window.el (aw-ignored-buffers): add "*LV*"

9 years agoTry not to end in `aw-ignored-p' when ace method isn't invoked
Oleh Krehel [Mon, 16 Feb 2015 10:21:00 +0000 (11:21 +0100)]
Try not to end in `aw-ignored-p' when ace method isn't invoked

* ace-window.el (aw-select): Update.

Fixes #18

9 years agoace-window.el (aw-select): Rename from `aw--doit'
Oleh Krehel [Sat, 7 Feb 2015 13:37:55 +0000 (14:37 +0100)]
ace-window.el (aw-select): Rename from `aw--doit'

9 years agoClean up code
Oleh Krehel [Sat, 7 Feb 2015 13:35:41 +0000 (14:35 +0100)]
Clean up code

* ace-window.el (aw--done): Simplify.
(aw--doit): Simplify.
(aw-switch-to-window): Update.
(aw-delete-window): Update.

9 years ago`aw--doit' simply returns a window now
Oleh Krehel [Fri, 6 Feb 2015 15:32:06 +0000 (16:32 +0100)]
`aw--doit' simply returns a window now

* ace-window.el (aw--doit): Only a single argument now. Don't do
  anything, except returning a selected window.
(ace-select-window): Update.
(ace-delete-window): Update.
(ace-swap-window): Update.
(ace-maximize-window): Simplify.
(aw-switch-to-window): Simplify.
(aw-delete-window): Simplify.
(aw-swap-window): Simplify.

9 years agoace-window.el (aw--doit): simplify
Oleh Krehel [Fri, 6 Feb 2015 14:46:58 +0000 (15:46 +0100)]
ace-window.el (aw--doit): simplify

9 years agoace-window.el (aw--doit): don't show anything in echo area
Oleh Krehel [Fri, 6 Feb 2015 14:40:47 +0000 (15:40 +0100)]
ace-window.el (aw--doit): don't show anything in echo area

9 years agoUpdate `aw--doit' signature
Oleh Krehel [Fri, 6 Feb 2015 14:29:29 +0000 (15:29 +0100)]
Update `aw--doit' signature

* ace-window.el (ace-window-end-hook): Now obsolete.
(ace-window-end-once-hook): Now obsolete.
(aw--current-op): Remove.
(aw--doit): Take a function to call, once the window is selected, as the
first arg.
(ace-select-window): Update.
(ace-delete-window): Update.
(ace-swap-window): Update.
(ace-maximize-window): Update.

9 years agoFinalize transition to `read-char'
Oleh Krehel [Fri, 6 Feb 2015 11:38:44 +0000 (12:38 +0100)]
Finalize transition to `read-char'

* ace-window.el (aw--callback-body): Remove.
(aw--callback): Remove.
(aw--doit): Do a `read-char' loop, in case there's more than one
level. Don't run the hooks any more - they're not necessary.

9 years agoStart transition to `read-char'
Oleh Krehel [Fri, 6 Feb 2015 11:20:50 +0000 (12:20 +0100)]
Start transition to `read-char'

* ace-window.el (aw--callback-body): Move most of `aw-callback' here.
(aw--doit): Only pass the char to `aw--callback-body'.
(aw--done): Repurpose from `ace-jump-done'.
(ace-select-window): Use `read-char' instead of `set-transient-map'.

9 years agoace-window.el (ace-maximize-window): Add
Oleh Krehel [Tue, 3 Feb 2015 15:30:17 +0000 (16:30 +0100)]
ace-window.el (ace-maximize-window): Add

9 years agoace-window.el (ace-window-end-once-hook): Add
Oleh Krehel [Tue, 3 Feb 2015 15:30:01 +0000 (16:30 +0100)]
ace-window.el (ace-window-end-once-hook): Add

9 years agoace-window.el (ace-window-end-hook): add
Oleh Krehel [Tue, 3 Feb 2015 15:15:45 +0000 (16:15 +0100)]
ace-window.el (ace-window-end-hook): add

9 years agoace-window.el: bump version
Oleh Krehel [Wed, 14 Jan 2015 21:44:38 +0000 (22:44 +0100)]
ace-window.el: bump version

9 years agoREADME.md: update
Oleh Krehel [Thu, 1 Jan 2015 13:43:35 +0000 (14:43 +0100)]
README.md: update

9 years agoace-window.el: mark two customs as boolean
Oleh Krehel [Thu, 1 Jan 2015 13:43:04 +0000 (14:43 +0100)]
ace-window.el: mark two customs as boolean

9 years agoace-window.el (aw--doit): fix conflict with helm
Oleh Krehel [Tue, 30 Dec 2014 20:50:31 +0000 (21:50 +0100)]
ace-window.el (aw--doit): fix conflict with helm

* ace-window.el (aw--doit): Need to remove `helm--maybe-update-keymap'
  from `post-command-hook'. Otherwise, even if not in the helm
  minibuffer, the helm transient map will override all bindings.

Fixes #15.

9 years agoace-window.el (aw--doit): use map with most priority
Oleh Krehel [Tue, 30 Dec 2014 20:38:13 +0000 (21:38 +0100)]
ace-window.el (aw--doit): use map with most priority

* ace-window.el (aw--doit): Use `set-transient-map' instead of `(setq
  overriding-local-map)`, as it has more priority and `helm' is using
  it. This will avoid the current conflict with helm.

Re #15.

9 years agoace-window.el (aw-background): new custom
Oleh Krehel [Mon, 29 Dec 2014 12:13:02 +0000 (13:13 +0100)]
ace-window.el (aw-background): new custom

* ace-window.el (aw--doit): Use `aw-background'.

Re #16

9 years agoace-window.el (aw-swap-window): improve
Oleh Krehel [Fri, 26 Dec 2014 08:48:17 +0000 (09:48 +0100)]
ace-window.el (aw-swap-window): improve

Can now swap when there are two frames with one window each.

9 years agoace-window.el: whitespace
Oleh Krehel [Wed, 17 Dec 2014 21:21:40 +0000 (22:21 +0100)]
ace-window.el: whitespace

9 years agoace-window.el: remove aw-generic macro
Oleh Krehel [Wed, 17 Dec 2014 17:27:58 +0000 (18:27 +0100)]
ace-window.el: remove aw-generic macro

* ace-window.el (aw--current-op): New var.
  (aw--callback): New command, replaces "...-wrapper" from `aw-generic'.
  (aw--doit): New function, replaces the other part of `aw-generic'.
  (ace-select-window): Update.
  (ace-delete-window): Update.
  (ace-swap-window): Update.
  (aw-switch-to-window): Now expects only an aj-data structure.
  (aw-delete-window): Now expects only an aj-data structure. Will
  `delete-frame' when there's only one window if frame.
  (aw-swap-window): Now expects only an aj-data structure.

9 years agoace-window.el (aw-offset): use inhibit-field-text-motion t
Oleh Krehel [Fri, 21 Nov 2014 10:54:04 +0000 (11:54 +0100)]
ace-window.el (aw-offset): use inhibit-field-text-motion t

Fixes #12.

9 years agoace-window.el (aw-list-visual-area): improve
Oleh Krehel [Wed, 19 Nov 2014 18:34:57 +0000 (19:34 +0100)]
ace-window.el (aw-list-visual-area): improve

Thanks to @oantolin for the suggestion in #4.

9 years agoace-window.el: tag 0.5.0
Oleh Krehel [Fri, 7 Nov 2014 08:10:05 +0000 (09:10 +0100)]
ace-window.el: tag 0.5.0

Fixes #14

9 years agoace-window.el: add work-around for autoload
Oleh Krehel [Thu, 6 Nov 2014 22:19:12 +0000 (23:19 +0100)]
ace-window.el: add work-around for autoload

Up to now, the `aw-generic' macro was called inside the autoload file.
Now define empty functions that generate the autoload entry points,
then redefine them using the old mechanism.

Fixes #13.

9 years agoace-window.el (aw-generic): handle zero-length read-only buffers better
Oleh Krehel [Wed, 17 Sep 2014 13:25:10 +0000 (15:25 +0200)]
ace-window.el (aw-generic): handle zero-length read-only buffers better

Possible fix for #10.

9 years agoace-window.el: add custom buffer ignoring
Oleh Krehel [Wed, 23 Jul 2014 12:42:31 +0000 (14:42 +0200)]
ace-window.el: add custom buffer ignoring

* ace-window.el (aw-ignored-buffers): New custom variable.  Set this to
  a list of buffer names that are often around, but you don't want to
  switch to them.

  (aw-ignore-on): New custom variable. This value can be toggled with
  M-0 `ace-window'.

  (aw-ignored-p): New function.
  (aw-list-visual-area): Don't return ignored windows.
  (aw-generic): Add ignoring.
  (ace-window): With 0 prefix argument, toggle `aw-ignore-on'.

9 years agoace-window.el (aw-visual-area<): improve.
Oleh Krehel [Mon, 21 Jul 2014 14:51:26 +0000 (16:51 +0200)]
ace-window.el (aw-visual-area<): improve.

Now the frame to which window belongs is the first key by which the
sorting is done. This means that the windows that belong to the same
frame will be numbered sequentially.

9 years agoace-window.el (ace-window): update doc
Oleh Krehel [Mon, 21 Jul 2014 14:13:59 +0000 (16:13 +0200)]
ace-window.el (ace-window): update doc

9 years agoace-window.el: change version to 0.3.0
Oleh Krehel [Mon, 21 Jul 2014 13:57:44 +0000 (15:57 +0200)]
ace-window.el: change version to 0.3.0

9 years agoace-window.el (aw-generic): finalize improve for hscroll
Oleh Krehel [Fri, 18 Jul 2014 08:50:58 +0000 (10:50 +0200)]
ace-window.el (aw-generic): finalize improve for hscroll

* ace-window.el (aw-offset): New function.

The issue with top left part of the window being after the newline,
i.e. it can't be written to without modifying the buffer, is fixed
by displaying the jump character on the next available line.

Fixes #11.

9 years agoace-window.el (aw-generic): improve for hscroll
Oleh Krehel [Thu, 17 Jul 2014 18:00:13 +0000 (20:00 +0200)]
ace-window.el (aw-generic): improve for hscroll

This is a minor fix to #11.
The issue is fixed for when the first visible character in window
is actually a character and not empty space.
The other situation still needs to be solved.

9 years agoMerge pull request #9 from demon386/master
abo-abo [Wed, 25 Jun 2014 16:27:23 +0000 (18:27 +0200)]
Merge pull request #9 from demon386/master

Respect `aw-scope' when jumping with `next-window'

9 years agoRespect `aw-scope' when jumping with `next-window'
M. Tong [Wed, 25 Jun 2014 15:37:17 +0000 (23:37 +0800)]
Respect `aw-scope' when jumping with `next-window'

10 years agoace-window.el (aw-generic): switch to cl-position
Oleh Krehel [Tue, 17 Jun 2014 08:40:52 +0000 (10:40 +0200)]
ace-window.el (aw-generic): switch to cl-position

10 years agoMerge pull request #8 from kyleam/ace-jump-update
abo-abo [Mon, 16 Jun 2014 21:01:00 +0000 (23:01 +0200)]
Merge pull request #8 from kyleam/ace-jump-update

Remove ace-jump-mode-make-indirect-buffer

10 years agoRemove ace-jump-mode-make-indirect-buffer
Kyle Meyer [Mon, 16 Jun 2014 16:06:59 +0000 (12:06 -0400)]
Remove ace-jump-mode-make-indirect-buffer

Commit of adffa3d28995 of ace-jump-mode removes
`ace-jump-mode-make-indirect-buffer'.

10 years agoace-window.el (aw-delete-window): allow to delete current window
Oleh Krehel [Thu, 12 Jun 2014 11:00:33 +0000 (13:00 +0200)]
ace-window.el (aw-delete-window): allow to delete current window

Fixes #7.

10 years agoMerge pull request #5 from kyleam/fix-selection
abo-abo [Tue, 27 May 2014 07:00:26 +0000 (09:00 +0200)]
Merge pull request #5 from kyleam/fix-selection

Fix selection when two single-window frames

10 years agoFix selection when two single-window frames
Kyle Meyer [Tue, 27 May 2014 00:33:12 +0000 (20:33 -0400)]
Fix selection when two single-window frames

With two single-window frames, `next-window' was being called with
ALL-FRAMES as nil, resulting in the current window being returned
instead of the non-selected window. This commit sets the ALL-FRAMES
argument to 'visible' and modifies `aw-switch-to-window' to account for
the two-window case where POSITION may not be a window in the current
frame.

The only handler this commit modifies is `aw-switch-to-window' because
the behavior for `aw-delete-window' and `aw-swap-window' with multiple
frames doesn't seem to be well specified at this point.

10 years agoace-window.el (aw-list-visual-area): autoload
Oleh Krehel [Sun, 25 May 2014 06:12:14 +0000 (08:12 +0200)]
ace-window.el (aw-list-visual-area): autoload

10 years agoace-window.el: remove "emacs --deamon"'s invisible frame
Oleh Krehel [Sat, 24 May 2014 09:05:18 +0000 (11:05 +0200)]
ace-window.el: remove "emacs --deamon"'s invisible frame

* ace-window.el (aw-list-visual-area): New function.
  (aw-generic): Use `aw-list-visual-area'.

Fixes #4.

10 years agoace-window.el (aw-generic): autoload
Oleh Krehel [Sat, 3 May 2014 06:44:07 +0000 (08:44 +0200)]
ace-window.el (aw-generic): autoload

10 years agoREADME.md: update
Oleh Krehel [Fri, 2 May 2014 14:59:48 +0000 (16:59 +0200)]
README.md: update

10 years agoace-window.el: add move and delete functionality
Oleh Krehel [Fri, 2 May 2014 14:03:05 +0000 (16:03 +0200)]
ace-window.el: add move and delete functionality

* ace-window.el (aw-generic): New macro.
  (ace-window): Do different things depending on prefix arg.
  (ace-delete-window): New interactive function.
  (ace-select-window): New interactive function.
  (ace-swap-window): New interactive function.
  (aw-switch-to-window): Test if argument is window.
  (aw-delete-window): New function.
  (aw-swap-window): New function.

Fixes #2.

10 years agoace-window.el (aw-scope): new custom variable
Oleh Krehel [Mon, 14 Apr 2014 10:53:15 +0000 (12:53 +0200)]
ace-window.el (aw-scope): new custom variable

Fixes comment by @duerrp in #1.