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 6170001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:57:23+00:00 2026-05-23T22:57:23+00:00

When I run emacsclient it does not respond to mouse clicks. My main Emacs

  • 0

When I run emacsclient it does not respond to mouse clicks. My main Emacs process runs in a terminal and responds to mouse clicks correctly because I have the following code in my Emacs config file:

(xterm-mouse-mode 1)

Why does emacsclient not respond to mouse clicks? Is there a way to make it do so?

  • 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-23T22:57:24+00:00Added an answer on May 23, 2026 at 10:57 pm

    This is probably because certain settings in Emacs are specific to the terminal, and manipulating such settings in your init file will only affect the terminal which is active at the time the init file was evaluated.

    The following Q+A deals with much the same issue, and goes into the details:

    Run command on new frame with daemon/client in Emacs

    For your issue, I think this should do the trick:

    (defun my-terminal-config (&optional frame)
      "Establish settings for the current terminal."
      (if (not frame) ;; The initial call.
          (xterm-mouse-mode 1)
        ;; Otherwise called via after-make-frame-functions.
        (if xterm-mouse-mode
            ;; Re-initialise the mode in case of a new terminal.
            (xterm-mouse-mode 1))))
    ;; Evaluate both now (for non-daemon emacs) and upon frame creation
    ;; (for new terminals via emacsclient).
    (my-terminal-config)
    (add-hook 'after-make-frame-functions 'my-terminal-config)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to call some functions when I run emacsclient in a terminal emulator.
I have setup emacs -daemon to run on login to Gnome and associated emacsclient
I use emacs-server so that I can set emacsclient as the default texteditor and
I run into a small problem (Not surprisingly, 'cause I've just started with xcode).
Based on this question : How to set emacsclient background as Emacs background? I
Run jsLint on this fiddle . The script runs, but what is jsLint telling
I run vim in a full-screen bash terminal with transparency enabled. (This is a
I run Flex Builder 3 on a mac and as my project grows -
I run a game and the running is done by hand, I have a
I run a rather complex project with several independent applications. These use however a

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.