From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Frank Hrebabetzky Newsgroups: gmane.emacs.help Subject: Re: tab-width 4 in markdown major mode Date: Wed, 21 Apr 2021 22:52:03 +0200 Message-ID: References: <7ac457d2-6c1f-462a-942e-4abcd4c85408@t-online.de> <87r1j3v81a.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28613"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 Cc: help-gnu-emacs@gnu.org To: Philip Kaludercic Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 21 22:53:33 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZJqn-0007Jw-Ey for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 22:53:33 +0200 Original-Received: from localhost ([::1]:45048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZJqm-0000SD-GG for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 16:53:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZJqR-0000S5-8C for help-gnu-emacs@gnu.org; Wed, 21 Apr 2021 16:53:11 -0400 Original-Received: from mailout04.t-online.de ([194.25.134.18]:60664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZJqP-0007zE-3d for help-gnu-emacs@gnu.org; Wed, 21 Apr 2021 16:53:11 -0400 Original-Received: from fwd39.aul.t-online.de (fwd39.aul.t-online.de [172.20.27.138]) by mailout04.t-online.de (Postfix) with SMTP id 6C5FE666B7; Wed, 21 Apr 2021 22:52:08 +0200 (CEST) Original-Received: from [192.168.178.30] (EfXTi-ZBwhaxFPvUz2Vexq0V59COOy2DSIXiLg+WQHgCL0vZpzjWVPpdWjSN5icZLB@[93.193.249.135]) by fwd39.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1lZJpL-3zHusa0; Wed, 21 Apr 2021 22:52:03 +0200 In-Reply-To: <87r1j3v81a.fsf@posteo.net> Content-Language: en-US X-ID: EfXTi-ZBwhaxFPvUz2Vexq0V59COOy2DSIXiLg+WQHgCL0vZpzjWVPpdWjSN5icZLB X-TOI-EXPURGATEID: 150726::1619038323-00000BD0-EDC9079A/0/0 CLEAN NORMAL X-TOI-MSGID: 3bbe55fb-f550-4117-9cd9-318222eee538 Received-SPF: none client-ip=194.25.134.18; envelope-from=hreba@t-online.de; helo=mailout04.t-online.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129110 Archived-At: On 21.04.21 19:53, Philip Kaludercic wrote: > Frank Hrebabetzky 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. > Sorry, you are right. What i tried was C-h tab-width, which tells value 4 and original value 8, and contains a link "customize". This leads to the customization window with an entry mask, but the actual value there is 8. So I don't know how to set the effective value 4 to 8. -- Frank