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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:38:56+00:00 2026-06-13T23:38:56+00:00

Emacs usually use Ctrl+G to cancel the operation ,but when i use the GUD

  • 0

Emacs usually use Ctrl+G to cancel the operation ,but when i use the GUD mode to debug a program ,the Ctrl+G is usually not working so well as i expected.
For example, if i wanna to set a break point at the source test.cpp, line 223,
if i input
“b test.c:” ,then i use the TAB to auto complete it then will try to list all the possible result , then the emacs cannot respond to any input.
if i use Ctrl+G to cancel this, the result continue to output all result to the screen, this may take a long time.
is there a way to cancel this action more effectively?

  • 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-06-13T23:38:57+00:00Added an answer on June 13, 2026 at 11:38 pm

    Ctrl+G is for cancelling Emacs commands, but that output is coming from the debugger that’s being run in the comint buffer. The Emacs command has already completed, it just sent the TAB to the debugger process.

    Try Ctrl+C Ctrl+C, which sends an interrupt to the subprocess. However, it’s possible that the subprocess has already finished sending the list of results, and it’s all in the pty buffer.

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

Sidebar

Related Questions

I'm using GNU Emacs 22.2.1. I usually use a different editor, but am learning
I was wondering how people use tags in emacs when working on a large
I usually use 4 white spaces to indent C programs, but in order to
When running emacs in terminal mode (usually over a remote login) I can see
Does anyone have a working setup for hunspell and Emacs ? Simply setting ispell-program-name
I usually write python in emacs. I'll often want to re-evaluate my file, which
Emacs n00b here, I've fiddled a bit with it in graphical mode and so
EMACS 24.1. I need to Rebind Ctrl-space to a custom function that: go to
In emacs, I use C-M-a and C-M-e to go the beginning/end of functions in
In emacs, after an operation such as comment-region , the selected region is automatically

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.