Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3312902
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:03:06+00:00 2026-05-17T22:03:06+00:00

is it possible to invoke the graphical menu that pops up with ‘mouse-buffer-menu (which

  • 0

is it possible to invoke the graphical menu that pops up with 'mouse-buffer-menu (which in my case is assigned to '[C-down-mouse-1]) without actually hitting the mouse? When I invoke M-x mouse-buffer-menu emacs tells me

execute-extended-command: mouse-buffer-menu must be bound to an event with parameters

Is it possible, to generate such an event?

What I would like to have is a list (i.e. a graphical popup menu), where I can choose between the set of open buffers by selecting them using the UP/DOWN keys. I am well aware of buffer-menu, but unfortunately, that only provides a read-only list of all buffers, without the option of choosing one.

Kind regards,
mefiX

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:03:07+00:00Added an answer on May 17, 2026 at 10:03 pm

    After doing a bit of digging and playing I created an event and passed it to mouse-buffer-menu.

    You can play with the numbers in the list for the desired effect.

    (setq my-dummy-event `(mouse-1 (,(selected-window) 0 (0 . 0) 0 nil 0 (0 . 0) nil nil nil) 1))
    
    (mouse-buffer-menu my-dummy-event)
    

    Look at the emacs manual node for Click Events to find out the structure of the event list.

    As a side note have you considered alternatives for buffer selection such as ido or using something like bs-show to chose your buffer:

    (global-set-key "\C-x\C-b" 'bs-show)
    

    using a to toggle all buffers.

    You can also find better alternatives here:

    • http://www.emacswiki.org/emacs/SwitchingBuffers
    • http://www.emacswiki.org/emacs/CategoryBufferSwitching
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just curious here: is it possible to invoke a Windows Blue Screen of Death
Is it possible in Delphi to have a class method invoke an inherited instance
Does someone knows if it's possible to dynamically create a call chain and invoke
Possible Duplicate: NAnt or MSBuild, which one to choose and when? What is the
Is it possible to invoke a method when the initial state is entered when
Is it possible to invoke an exe on a remote computer, supposing we know
Is it possible to invoke the book mark action sheet in mobile safari through
Is it possible to invoke an application on reception of an sms. I have
Is it possible to invoke a maven-exec-plugin (or any other plugin's) execution by its
Is it possible to invoke Java RMI asynchronously? I'd like my RMI call to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.