FG
💻 Software

emacs does not open a file from argument and syntax highlight does not work

Fresh5 days ago
Mar 15, 20268930 views
Confidence Score0%
0%

Problem

In my latest ubuntu box, When I type for example , Emacs will start but not open . This is true for any file I pass in. I've used Emacs for several years, and have never experienced this problem before. I added to my .emacs file, and Emacs does recognize it, for example. , but it won't do syntax hi…

Error Output

emacs ~/.bashrc

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: emacs does not open a file from argument and syntax highlight does not work

Low Risk

I got the same problem. It was due to the fact I first used emacs with sudo. As a consequence the .emacs.d was created with super user right and I could not access it as a regular user. By removing the .emacs.d created as root let emacs generate a n…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment