unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Frank Hrebabetzky <hreba@t-online.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tab-width 4 in markdown major mode
Date: Wed, 21 Apr 2021 17:53:21 +0000	[thread overview]
Message-ID: <87r1j3v81a.fsf@posteo.net> (raw)
In-Reply-To: <7ac457d2-6c1f-462a-942e-4abcd4c85408@t-online.de> (Frank Hrebabetzky's message of "Wed, 21 Apr 2021 18:55:49 +0200")

Frank Hrebabetzky <hreba@t-online.de> writes:

> Hi,
>
> I have been accepting over the years that TAB hardly ever means "go to
> the next tabulator stop", but is used for something different in
> nearly each major mode. But I am happy with M-i and tab-width 8, which
> behave the same way in any mode I have been using so far.
>
> Now I used the markdown mode for the first time and it behaves as if
> tab-width was 4. I checked the variable value, and it is 8. Can
> somebody tell me how to get this right?

Are you sure, taking a look at the definition of markdown-mode

https://github.com/jrblevin/markdown-mode/blob/master/markdown-mode.el#L9585

it seems to explicitly set the tab-width to 4.

-- 
	Philip K.



  reply	other threads:[~2021-04-21 17:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-21 16:55 tab-width 4 in markdown major mode Frank Hrebabetzky
2021-04-21 17:53 ` Philip Kaludercic [this message]
2021-04-21 20:52   ` Frank Hrebabetzky
2021-04-22 13:15     ` Daniel Martín
2021-04-23  9:16       ` Frank Hrebabetzky

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r1j3v81a.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hreba@t-online.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).