Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (26 sloc) 1.768 kb
2bd38633 » Zach Kost-Smith
2011-10-01 Added a readme file.
1
2 * Fixed Point Completions for Emacs
3
2bb77300 » Zach Kost-Smith
2011-10-01 Added a link to the YouTube video I made documenting my completion is…
4 This project was a "scratch an itch" sort of project. I always found completion
5 in Emacs to be annoying for one reason. When I perform a completion, the
6 location of the point (Emacs parlance for cursor) on the screen often times
2bd38633 » Zach Kost-Smith
2011-10-01 Added a readme file.
7 changes. This forces me to go searching for where the point has moved to in
e469c255 » Zach Kost-Smith
2011-10-14 Fixed up the YouTube link and added a link to a video of fixed point …
8 order to see the result of the completion. Basically, when using Emacs, I
9 suffered from [[http://youtu.be/iXRLw0A5G9w][these problems]]. It seemed that there was no reason for the point
10 to move at all as there is plenty of screen real estate for the completions
11 pop-up window. So I created this hack in order to keep the [[http://youtu.be/lQrkTTOopP4][location of the
12 point on screen fixed during completions]].
2bd38633 » Zach Kost-Smith
2011-10-01 Added a readme file.
13
14 I call this a hack because it doesn't really use the normal Emacs channels to
15 work. There are no customizable variables or major/minor modes. There is a
16 function to enable the behavior and one to disable it. There is also a
17 variable, =*completion-vertical-popup-size*=, that determines the number of rows
18 the pop-up window should have. And that's about it.
19
5886fbe7 » Zach Kost-Smith
2011-10-14 Added explicit info on how to install and activate.
20 To use Fixed Point Completions, just download the file and place it in your load
21 path and use =M-x load-library RET fixed-point-completions RET=. To enable the
22 completion behavior, run the function =(enable-fixed-point-completions)=. If
23 you want to do this on startup, you can just add this to your =.emacs= file:
24
25 #+BEGIN_SRC lisp
26 (load "/path/to/fixed-point-completions.el")
27 (enable-fixed-point-completions)
28 #+END_SRC
29
30 And, naturally, running =(disable-fixed-point-completions)= will return Emacs to
31 it's normal completion behavior. While Fixed Point Completions is enabled, is
32 should alter the way all completions happen in all of Emacs.
Something went wrong with that request. Please try again.