1. All Categories
  2. Emacs

Emacs : Recent Questions and Answers

Find answers to your questions about Emacs or help others by answering their Emacs questions.

Adding header to a org-mode tangled file

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...

Asked on 11/30/2021 by mmmmmm

2 answer

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 ...

Asked on 11/30/2021

1 answer

Emacs auto-indenting comments in an unhelpful manner

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...

Asked on 11/30/2021

1 answer

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...

Asked on 11/25/2021 by cryptograthor

1 answer

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...

Asked on 11/25/2021 by cammil

0 answer

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...

Asked on 11/22/2021 by itsjeyd

3 answer

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...

Asked on 11/22/2021

2 answer

flycheck cannot use gfortran, executable not found

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.

2 answer

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...

Asked on 11/20/2021 by 546756ryd

1 answer

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{"menu": {"id":...

Asked on 11/18/2021 by Emmanuel Touzery

7 answer

Ask a Question

Get help from others!

© 2021 All rights reserved.