From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.help Subject: Re: indentation Date: Fri, 30 Apr 2021 22:05:17 +0300 Message-ID: References: <20210427090348.67C9B5D0@centrum.cz> <20210427202932.DFDEF50D@centrum.cz> <20210428083227.FCFDA7C0@centrum.cz> <20210429091455.3C8C08A9@centrum.cz> <20210430090513.BD2C4C90@centrum.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14837"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: help-gnu-emacs@gnu.org, Stefan Monnier To: ptlo@centrum.cz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 30 21:07:35 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 1lcYUB-0003hx-6g for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 21:07:35 +0200 Original-Received: from localhost ([::1]:46164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcYUA-0002kd-9I for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 15:07:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcYT8-0002kL-7w for help-gnu-emacs@gnu.org; Fri, 30 Apr 2021 15:06:30 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:52207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcYT6-0000H9-Aa for help-gnu-emacs@gnu.org; Fri, 30 Apr 2021 15:06:29 -0400 Original-Received: from localhost ([::ffff:197.157.0.49]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000046165.00000000608C5531.0000500C; Fri, 30 Apr 2021 12:06:24 -0700 Mail-Followup-To: ptlo@centrum.cz, Stefan Monnier , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20210430090513.BD2C4C90@centrum.cz> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: 29 X-Spam_score: 2.9 X-Spam_bar: ++ X-Spam_report: (2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SBL_CSS=3.335, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:129221 Archived-At: * ptlo@centrum.cz [2021-04-30 10:08]: > Imposing conventions is of use when many and changing (and beginner) > programmers work on same code. It's not my case. But the problem > where it all started is, when I press enter, the new empty line got > indented to first character of previous line. There is absolutely no > reason to impose that the block shall continue. I find that very handy when I am writing lists where list's text is for 2-3 characters indented like this below: - Something and more and one more line For programming if you use programming mode, it will indent just right. Which language is it? To me it looks somehow weird if it is Fortran: program hello ! This is a comment line, it is ignored by the compiler print *, 'Hello, World!' end program hello As when I mark region and press TAB, somehow I expect different kind of indentation. That looks weird now. I think it is bug in fortran-mode Maybe you should M-x report-bug -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/ https://rms-support-letter.github.io/