all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gottfried <gottfried@posteo.de>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>,
	Jean Louis <bugs@gnu.support>
Subject: Re: text formating
Date: Thu,  9 Feb 2023 14:59:16 +0000	[thread overview]
Message-ID: <e5bea491-55ca-1157-de58-938a711cbfc6@posteo.de> (raw)
In-Reply-To: <Y+P58yvOZ4RZtFk3@protected.localdomain>


[-- Attachment #1.1.1: Type: text/plain, Size: 1857 bytes --]

Hi Jean,

thanks for your help.
...........................................................
I added this line to my init.el file

> (define-key markdown-mode-map (kbd "C-c a") #'rcd-markdown-preview)
................................................................
but running emacs again it said:
.............................................................
Warning (initialization): An error occurred while loading 
‘/home/gfp/.config/emacs/init.el’:

Symbol's value as variable is void: markdown-mode-map

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

Gottfried


Am 08.02.23 um 20:37 schrieb Jean Louis:
> * Gottfried <gottfried@posteo.de> [2023-02-08 19:50]:
>> I installed markdown-mode in Emacs, but I have Emacs 28.2, so I can’t set
>> the keymap for C-c a.
> 
> Then you use:
> 
> (define-key KEYMAP KEY DEF &optional REMOVE)
> 
> So like this:
> 
> (define-key markdown-mode-map (kbd "C-c a") #'rcd-markdown-preview)
> 
>> I also installed Pandoc and emacs-pandoc-mode
> 
> Pandoc is good for various conversions of documents.
> 
> For example markdown to PDF, it can work I guess. I have many
> functions for pandoc too.
> 
>> I opended emacs and evoked markdown-mode and it opened my file in
>> markdown-mode. So at least it works.
> 
> Good, now just to define key to get preview. Some people make their
> notes in markdown. It is more compatible with mobile editors on mobile
> devices then Org mode.
> 
> I seriously consider using Enriched Mode as it is more visual, just
> that I make `paps` work with it.
> 

-- 

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  parent reply	other threads:[~2023-02-09 14:59 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29 12:06 text formating Gottfried
2023-01-30 20:28 ` H. Dieter Wilhelm
2023-01-31  7:34 ` Jean Louis
2023-01-31 11:23   ` Ulrich Deiters
2023-01-31 12:43     ` Jean Louis
2023-02-02 13:52   ` Gottfried
2023-02-02 14:30     ` Eli Zaretskii
2023-02-02 15:40       ` [External] : " Drew Adams
2023-02-02 20:12       ` Jean Louis
2023-02-03  7:30         ` Eli Zaretskii
2023-02-03  9:08           ` Jean Louis
2023-02-03 17:24             ` Emanuel Berg
2023-02-04 15:24               ` Jean Louis
2023-02-04 21:44                 ` Emanuel Berg
2023-02-07 17:25   ` Gottfried
2023-02-07 22:28     ` Jean Louis
2023-02-08 16:49       ` Gottfried
2023-02-08 19:37         ` Jean Louis
2023-02-08 20:18           ` [External] : " Drew Adams
2023-02-09 14:59           ` Gottfried [this message]
2023-02-09 15:27             ` Drew Adams
2023-02-09 16:59               ` Gottfried
2023-02-09 17:13                 ` Drew Adams
2023-02-09 18:10                   ` Gottfried
2023-02-09 18:26                     ` Jean Louis
2023-02-09 19:12                       ` Drew Adams
2023-02-10  4:18                         ` Jean Louis
2023-02-09 19:11                     ` Drew Adams
2023-02-11 15:25                       ` Gottfried
2023-02-11 16:10                         ` tomas
2023-02-11 19:17                           ` Jean Louis
2023-02-11 16:56                         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5bea491-55ca-1157-de58-938a711cbfc6@posteo.de \
    --to=gottfried@posteo.de \
    --cc=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.