help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [External] : Re: text formating


From: Gottfried
Subject: Re: [External] : Re: text formating
Date: Sat, 11 Feb 2023 15:25:55 +0000

Hi Drew,

thanks for helping me.
Now it works.
and I learned a lot.

How do you underline some words?
I don’t know how to do it?

Kind regards

Gottfried


Am 09.02.23 um 20:11 schrieb Drew Adams:
I put this in my init.el file

;;(define-key KEYMAP KEY DEF &optional REMOVE)
(require "markdown-mode)
(define-key markdown-mode-map (kbd "C-c a") #'rcd-markdown-preview)
........................................................................
.
when starting emacs
the message came up:

Warning (initialization): An error occurred while loading
‘/home/gfp/.config/emacs/init.el’:

End of file during parsing: /home/gfp/.config/emacs/init.el
   ^^^^^^^^^^^^^^^^^^^^^^^^^^

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace. Disable
        ^^^^^^^^^^^^
showing Disable logging

........................................................................
Did I put it in the right order?
Or any other mistake?

Yes, right order: load the library, then use it.

Something in your init file doesn't _parse_.  Most likely you're missing a 
right paren or something.  Use `M-x check-parens' in your init file.

You can put (setq debug-on-error t) at the start of your init file, or 
customize it to t.

You can start Emacs using the switch --debug-init, as the error msg suggested.

See also 
https://www.gnu.org/software/emacs/manual/html_node/elisp/Error-Debugging.html
___

In general, when your init file has a problem, consider _bisecting_ it, to find 
the culprit.  Bisecting is a binary search - it's fast.  You can use `M-x 
comment-region` to comment out 1/2, then 1/4, 1/8, 1/16,... of your init file.  
With C-u it UNcomments one level of commenting.


--


Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]