1. All Categories
2. Emacs

# Emacs : Recent Questions and Answers

I am generating source code files from an org-mode file using org-babel-tangle. How do I add headers to the files e.g.for python# This is a generated file do not...

## File within a root grandparent is detected by emacs as belonging to a directory that doesn't exists

I'm editing a file within a directory /parentdir/userdir/file with the following permissions:$sudo namei -l$(pwd)drwxr-xr-x root root /drwx------ root ...

New Emacs user here. Hitting enter after a semicolon commented line in any file type (.el and .lisp at the very least) indents the comment in a very unhelpful way...

## eww browser is hanging at contacting duckduckgo

I’m trying out eww. I followed the instructions on this page, and there seems to be no mention of what might be going on. I’m not getting...

## How to move by defun without moving up a level?

I am attempting to navigate methods in a file. Typically these are javascript or python files, which have a classes at the "top level", which in turn have methods nested...

## Reset custom variable to default value programmatically

Q: Using Elisp, how can I reset a variable to its default value without knowing what that value is? I tried to figure out how to do this by bringing...

## How to make emacs automatically spell check all visible text?

When flyspell is enabled it doesn't show spelling errors on all visible text (like most text editors that support spell checking). When moving the cursor over text, misspelled words become...

Previously I had been able to use flycheck for fortran files, but something seems to have broken perhaps during an update.Mac OSX catalina (latest)gfortran 9.3.0 from homebrewemacs 26.3 from...

Asked on 11/20/2021 by Vince W.

## Symbol’s function definition is void

I am trying to make an interactive toggle in emacs 27.0.90 When I eval-region no warnings or errors are shown. However, when I do (helm/toggle-frame) in ielm it throwsSymbol’s...

## How to pretty-format code (auto-insert newlines, indent, etc)?

I'm using spacemacs but presumably it's emacs knowledge that's required here. I have a JSON file with a single long line, let's say this JSON from json.org/example:{"menu": {"id":...

Asked on 11/18/2021 by Emmanuel Touzery

Get help from others!