Git Product home page Git Product logo

ace-popup-menu's Introduction

Ace Popup Menu

License GPL 3 Build Status

Ace Popup Menu

This package allows to replace GUI popup menu (created by x-popup-menu by default) with little temporary window (like that in which Dired shows you files you want to copy). In this window, menu items are displayed and labeled with one or two letters. You press a key corresponding to desired choice (or C-g) and you are done.

Installation

Download this package and place it somewhere, so Emacs can see it. Then put (require 'ace-popup-menu) into your configuration file. Done!

Usage

In order to replace standard behavior of x-popup-menu, activate ace-popup-menu-mode in your configuration file, like this:

(ace-popup-menu-mode 1)

You can toggle/activate it either interactively or via Lisp, the mode follows all usual Emacs Lisp conventions for minor modes, except it's always global (because it doesn't make any sense to replace behavior of x-popup-menu only for in some specific buffer). See documentation for ace-popup-menu-mode for more information.


You can use the enhanced menu directly via ace-popup-menu too. To use it you don't need to enable the minor mode. See documentation of the function for detailed information.

Customization

You can ask Ace Popup Menu to show headers of individual panes (they are not shown in original GUI popup menu):

(setq ace-popup-menu-show-pane-header t)

This variable can be changed via «customize» interface too.

Limitations

Here is something you may want to know:

  • Original x-popup-menu can take menu argument in form of keymap or list of keymaps. This is currently not supported. If you encounter a situation when this breaks something, please open an issue. Describe how to reproduce your problem and I'll fix it.

  • Some packages, like flyspell may test if they work under X-window system and refuse to call x-popup-menu if they think it's unavailable. There is nothing I can do about it, so it may be hard to use Ace Popup Menu in terminal, even though it's perfectly capable of functioning there.

  • Currently only horizontal format of menu items is available. This is because it's much easier to implement. This should not be a problem, though.

License

Copyright © 2015 Mark Karpov

Distributed under GNU GPL, version 3.

ace-popup-menu's People

Contributors

mrkkrp avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.