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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T13:52:40+00:00 2026-06-18T13:52:40+00:00

I executed C-x M-k to kill a paragraph in Emacs. The echo area showed

  • 0

I executed C-x M-k to kill a paragraph in Emacs. The echo area showed C-x M-k, as expected.

However, is it possible to (also) show the name of the last command just executed, for reference? This would be useful for learning purposes, as well as confirming that the command executed was the command intended.

  • 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-18T13:52:41+00:00Added an answer on June 18, 2026 at 1:52 pm

    This isn’t necessarily a good idea, but you can advise call-interactively to do what you say:

    (defadvice call-interactively (after show-last-command activate)
      "Shows the interactive command that was just run in the message area."
      (unless (eq major-mode 'minibuffer-inactive-mode)
        (message "Ran %s" (ad-get-arg 0))))
    

    To turn this off, run (ad-unadvise 'call-interactively).

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

Sidebar

Related Questions

This code when executed displays the expected output but prints segmentation fault (core dumped)
FQL statement has executed and array object has been passed to $fqlResult successfully. However,
I'm trying to execute the following Command in Java in order to kill the
I executed the following command $ nohup ./tests.run.pl 0 & now when I try
I tried below command to store output to variable : k=$(kill -HUP 1234) #command
In PHP, I can use die() to kill the whole script. However, I want
i executed the following c code on my ubuntu machine...i have read about fcntl()'s
Configuring NHibernate to display executed SQL does what it's supposed to, but whenever a
Following code gets executed whenever I want to persist any entity. Things seems to
Is it executed / read-by-the-server every time a page on the site is loaded?

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.