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

  • Home
  • SEARCH
  • 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 286597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:39:02+00:00 2026-05-12T05:39:02+00:00

Twice in the past two days, I’ve had a problem with my emacs sessions.

  • 0

Twice in the past two days, I’ve had a problem with my emacs sessions. Somehow emacs is keeping the focus within one frame. So, if I mouse over another frame and click in it, the cursor in the new frame stays put and the cursor in frame 1 moves as if I clicked in the corresponding position in it. Same happens with mouse-wheel scrolling. But not keyboard input.

Killing the hogging frame just causes another frame to become the hoarder.

My solution yesterday was to quit and restart emacs.

Some googling pointed me towards the variable focus-follows-mouse, but that appears to be set correctly (i.e. “t”).

Any ideas what caused it and how to reset it?

(I’m using Ubuntu intrepid’s package of emacs 22.2-0ubuntu2.)

  • 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-12T05:39:02+00:00Added an answer on May 12, 2026 at 5:39 am

    I have

    (setq focus-follows-mouse t)
    (setq mouse-autoselect-window t)
    

    in my .emacs file, and find that this makes focus follow mouse work correctly. Maybe there’s something else in your config that’s changing emacs’ behaviour, do you have your elisp in version control? Can you identify when this started happening, and look at changes to your elisp around then ?

    Try starting emacs with –no-init-file and seeing if the undesired behaviour persists.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have encountered a weird problem twice in the past 2 weeks and it's
I have encountered a problem twice now whereby a producer thread produces N work
This has happened twice or thrice in one project. The requirement was to have
I received this error twice in the last three days on different devices. I
Per accident I committed twice because I forgot to add two files. Can I
This is something I've come across twice in the past month and I'm not
Typing Ctrl+O twice in editor when a java type is selected pops-up an outline
Is hashing a password twice before storage any more or less secure than just
I got this error twice. it says error: redefinition of '-[SampleTableViewController tableView:cellForRowAtIndexPath:]'
I want to write 'twice' function that takes a function and an argument and

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.