Quantcast
Channel: Active questions tagged help - Emacs Stack Exchange
Browsing latest articles
Browse All 31 View Live

Check if there are marked files in dired buffer

How can I check, with a function, if there are marked files in a dired buffer?Edit. The issue with dired-get-marked-files is that if the user moves the cursor on a "current file name" the function does...

View Article



Which commands/functions/processes are run on keyboard input S-?

Emacs help shown using C-h k S-<right> states only:<right> (translated from S-<right>) runs the command right-char (foundin global-map), which is an interactive byte-compiled Lisp...

View Article

How to close help buffer without moving to it?

I often use Emacs' help buffers, via e.g. C-h k.Buffer *Help* is displayed in another window, and that window is not selected. In order to close the *Help* buffer, I need to switch windows via C-x o...

View Article

Image may be NSFW.
Clik here to view.

How can I find the face of the items in the headeline in lsp-mode?

Re-edited the answer for clarityTypically I would put my cursor over the text, and call M-x describe-face, but I can't do that with the headerline.In the above screenshot, I want to change the...

View Article

Inconsistency between read-key and read-key-sequence-vector w.r.t....

While working with read-key-sequence-vector and read-key, I found that the former applies the local-function-key-map translations in a conditional manner but the latter does not. I am using Emacs 28.1...

View Article


How do I describe C-z?

I tried to bind a key using a prefix-key of C-z, but Emacs told me: Key sequence C-z c starts with non-prefix key C-z. I guess this means that C-z is already bound to something.So I tried to do M-x...

View Article

How can I start learning Emacs Lisp?

Background:I'm mostly a vi user and am converting to Emacs.Past the basics and now use it for writing code in C and some Python with plans to do an R conversion too.I wrote (Common) LISP for years over...

View Article

Default yank keyboard shortcut does not work

I am using Emacs 27.1 (GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-03-28, modified by Debian).When I hover the mouse pointer over the "copy" button...

View Article


Helm see options for opening a file

I'm new to emacs and using Spacemacs Doom. I pressed SPCfr t of find recent files and I used the arrow keys to select the one I want. Now I want to see what options I have for opening it (open in...

View Article


How can I discover new commands using M-x (or similar command) semantically?

Currently, I'm in Doom and I'm pressing M-x which does a nice fuzzy search for commands.The problem with this is it has no synonym detection. So if I'm trying to collapse something and type M-x...

View Article

Moving from legacy function global-set-key to keymap-global-set

The documentation in the release of GNU Emacs 29.0.50 states that global-set-key is a legacy function; instructing people that the recommended function to use is keymap-global-set.What would be the...

View Article

How to get `C-h m` to show its output in the same window?

When I type C-h m in dired mode, it opens in a different window. I'd like it to open in the same. How can I do this?In the future, is there an internal reference for questions like this that is quick...

View Article

How can I view the history of what variable I've looked up before with...

Whenever I call(describe-variable), there is no history of what variables I've recently viewed. Is there a way to enable it to have some kind of history?;)

View Article


Why does an unset key binding still show up in the Help menu buffer?

What I've done is that I wanted to slim down on the amount of bindings I had in a major mode (in this case CC-Mode). I had started with CC-Mode's c-set-offset and it did work with the solution I used...

View Article

Where to find all elisp functions?

I’m working on this tutorial and it uses functions such as,search-forward, goto-char, save-excursion etc.Is there a place where all functions are listed?If I search for search-forward I find this...

View Article


A better where-is command?

I'm trying to setup a way to find keys I want to use but keep forgetting.(I know there is where-is (C-w) and describe-binds, describe-mode. )I want the following,initiate a command to search for keys...

View Article

Confusion about key definition for SPC

Yesterday, I tried to do something like(define-keymap " " #'foo)and I got the error message that " " is not a valid key definition. OK, key-valid-p also says so and I figured out I should have...

View Article


How to see if a keybinding is used in any mode? [duplicate]

For example, I once set <C-j> as <C-x>, only to find out <C-j> is used for org-forward-heading-same-level in org-mode.I know <C-h> k shows a keybinding's usage in current mode....

View Article

Finding emacs release notes

What's the best source of emacs release notes - especially for reading prior to installing an update?I searched Google for "emacs release notes". There are some posts about specific releases (and some,...

View Article

Why does BACKSPACE generate C-h?

When running emacs (v29.1) -nw on a ThinkPad X61 under FreeBSD 13.2, pressing Backspace generates C-h. The key is not bound to anything.Running C-h k BACKSPACE does not show DEL but C-h-h. Entering...

View Article

What does "(which see)" mean in various Emacs help docstrings?

In various Emacs docstrings the text include the "(which see)" mention right after a reference to a variable as shown in the second paragraph of the example below, taken from the emacs-lock docstring....

View Article


Fetch necessary function call arguments in Emacs

I started writing code in Emacs some days ago and i'm doing very well, however, a very difficult and boring situation is always annoying me, that is the moment of call a function written by me. To make...

View Article


Configure echo time for input of key-sequence prefix keys

I am writing latex code with AUCTEX. I very often highlight text in bold or italics.For instance, AUCTEX comes with the command C-c C-f C-e, wich can be used to emphasize text in an active marked...

View Article

Flymake colouring?

I've recently updated my Emacs from 26 to 27, and now the Flymake error indicators are very hard to see - they're now in a very pale rose instead of crimson red. How can I change the colour back? I've...

View Article

How am I able to check, what function a combination like C-u C-SPC calls?...

I would like to know, what function the combination C-u C-SPC calls, but when I am trying C-h k, the input just stops at C-u.

View Article


How to describe a key sequence that starts with `C-u`?

I am trying to use C-h k to describe the function to which a key is bound. But when I use it with a key chord like C-u C-e C-x it retrieves the documentation for C-u before I can finish typing the...

View Article

Where is pixel-scroll-precision-use-momentum described in more detail?

Precision scrolling in Emacs 29 introduces several variables to control the momentum effect while scrolling.Are these terms defined anywhere in more detail, possibly by using a formula or two to...

View Article

Source C code of function 'apply'

I referenced C-h f apply for the source code of "apply", it promptsReferencesC code is not yet loaded.but does not hint the destination file.Execute grep-find within Emacs repo thus return no...

View Article

Format isearch-filter-predicate as describe-variable does

If I modify the isearch-filter-predicate variable with add-function and I do:(message "%s" isearch-filter-predicate)I get:"#[128 \304\300"\205\0\304\301"\207 [skip-comments isearch-filter-visible...

View Article



How to expand documentation from the M-x minibuffer when using vertico?

How to expand documentation or add a popup for an entry in the M-x minibuffer [Edit: when using vertico] ?I only get to see a bit of the documentation of each entry and text-scale-decrease does not...

View Article
Browsing latest articles
Browse All 31 View Live




Latest Images