GithubHelp home page GithubHelp logo

rswgnu / display-until Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 28 KB

Display a window or frame topmost in the frame stack until a condition or timeout occurs

License: GNU General Public License v3.0

Emacs Lisp 100.00%

display-until's Introduction

display-until - Display a window or frame topmost in the frame stack until a condition or timeout occurs.

(RSW would like this code to be added to core Emacs if it is acceptable. Someone else who adds to Emacs regularly would have to add the NEWS entry, Elisp Manual entry and commit the code. In that case, the utility macros and function names could be generalized).

This library temporarily displays an existing or new frame topmost in the frame stack. Then it restores the prior topmost frame as well as any prior visibility status of the temporarily displayed frame, e.g. if it was hidden or iconified. See the end of the file for sample usage expressions.

This library includes the following:
  Variables:
    display-until-delay - time in seconds to display a temporary frame or
      window
    display-until-frame-parameters - alist of frame parameters to apply to
      any newly created temporarily displayed frame
      
  Display Functions:
    display-window-until - given a window and optional buffer, display the
      buffer in the window, make the window's frame topmost for
      `display-until-delay' seconds, then return the window's frame
      to its prior visibility

    display-frame-until - given a frame and optional buffer, display the
      buffer in the frame's selected window, make the frame topmost for
      `display-until-delay' seconds, then return the frame to its prior
      visibility

  Utility Functions:
    display-until-get-frame-by-name - given a name string, return the
      matching frame or nil

  Utility Macros:
    display-until-condition-or-timeout - wait for a boolean condition
      or timeout seconds
    display-until-thread-condition-or-timeout - run a thread until a boolean
      condition or timeout seconds

display-until's People

Contributors

rswgnu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.