]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
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.

10 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'

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

10 years agoace-window.el (ace-window): ensure `ace-jump-mode-scope' is 'global
Oleh Krehel [Thu, 10 Apr 2014 11:25:15 +0000 (13:25 +0200)]
ace-window.el (ace-window): ensure `ace-jump-mode-scope' is 'global

Fixes #1.

10 years agoace-window.el (ace-window): update doc
Oleh Krehel [Wed, 2 Apr 2014 07:20:16 +0000 (09:20 +0200)]
ace-window.el (ace-window): update doc

10 years agoace-window.el (ace-window): make buffers at least size 1
Oleh Krehel [Sat, 29 Mar 2014 11:27:11 +0000 (12:27 +0100)]
ace-window.el (ace-window): make buffers at least size 1

10 years agoInitial import
Oleh Krehel [Wed, 26 Mar 2014 17:05:07 +0000 (18:05 +0100)]
Initial import