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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:37:01+00:00 2026-05-18T01:37:01+00:00

This is the most useless error message I have ever seen. I think it

  • 0

This is the most useless error message I have ever seen.

I think it translates to .. “error”.

The full error message from the *Messages* buffer is:

File mode specification error: (wrong-type-argument characterp "string value here")

I think the latter part of that message means that emacs was expecting a character and got a string.

But how do I go about diagnosing just what it means when emacs tells me “File mode specification error” ? and how do I narrow down where this error is originating?

How are these two errors (file mode error, expecting character and got string) related?

  • 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-05-18T01:37:02+00:00Added an answer on May 18, 2026 at 1:37 am

    Use M-x toggle-debug-on-error RET to drop into the debugger when this (or any) error occurs — assuming that this is a proper error, and not just a message. That gives you the stack trace, so you can figure out what caused it, and proceed from there (possibly with edebug, once you’ve determined which function(s) to instrument, but you can do plenty with the regular debugger).

    Standard debugger commands:
    M-: (info "(elisp) Debugger Commands") RET

    Main manual entry for debugging lisp (including edebug):
    M-: (info "(elisp) Debugging") RET

    FYI, rgrep tells me that the only instance of the string “File mode specification error” in the *.el files for NTEmacs 23.2.1 appears in the normal-mode function definition:
    M-x find-function RET normal-mode RET

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

Sidebar

Related Questions

This is probably the most classic database problem. I have an E-commerce software solution
Note: This is the opposite direction to most similar questions! I have an iPhone
I think most people know how to do this via the GUI (right click
This most be the second most simple rollover effect, still I don't find any
I know I can do most of this by hacking Trac and using Git
This is one of the most used Regex functions Regex.IsMatch(Test text for regex test.,
this c# code is probably not the most efficient but gets what I want
This is probably one of the most common tasks / problems when programming; You
Compared to most people on this site I am admittedly a novice. I wanted
I have a byte[] testKey = new byte[8]; This obviously starts with all bytes

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.