Your message dated Mon, 13 Aug 2018 20:40:08 -0400
with message-id <[email protected]>
and subject line Re: Bug#906038: vim: Randonmly indents files (even when typing)
has caused the Debian Bug report #906038,
regarding vim: Randonmly indents files (even when typing)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
906038: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906038
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim
Version: 2:8.1.0229-1
Severity: normal

When for exmple typing letters in latex files, suddenly lines are
indented. Unfortunately I've found no real pattern. I'm only typing
content, i.e. no formatting like \begin{} or similar.

A test case is attached. If you position the cursor on the "F" from
"Für" and then enter:
i
A
<Enter>
The "Für" is indented without any reasons. 

This bug exists for a long time already, I'm just finally tired enough
of manually removing the indentations each time to report this.

This also happens with
vim -u NORC -U NORC --cmd 'filetype plugin indent on' -N
The only difference is that the number of space for the  indendation
changes.

-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gtk3
/usr/bin/vim is /usr/bin/vim.gtk3
/usr/bin/gvim is /usr/bin/vim.gtk3

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.10samd.01 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim depends on:
ii  libacl1      2.2.52-3+b1
ii  libc6        2.27-5
ii  libgpm2      1.20.7-5
ii  libselinux1  2.8-1+b1
ii  libtinfo6    6.1+20180714-1
ii  vim-common   2:8.1.0229-1
ii  vim-runtime  2:8.1.0229-1

vim recommends no packages.

Versions of packages vim suggests:
pn  ctags        <none>
ii  vim-doc      2:8.1.0229-1
ii  vim-scripts  20180807

-- no debconf information

-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/
\documentclass[norm,german]{dinbrief}
%%\usepackage[OT2,T1]{fontenc}
\usepackage[german]{babel}
%\usepackage[isolatin]{inputenc}
\usepackage[latin1]{inputenc}
\usepackage{dsfont}
\begin{document}
\selectlanguage{german}
\Absender{Foo\\
          Bar 3 \\
          12345 Baz }
%\subject{\textbf{Bewerbung}}
\backaddress{Foo, Bar 3, 12345 Baz}
\signature{\hspace{3cm}{Foo}}
\Datum{Baz, den \today}
\begin{letter}{Recipent\\ z.Hdn. Madam Paul\\ \medskip -- im Hause --}
\opening{Sehr geehrte Madame Paul,}

F�r 

\end{letter}
\end{document}

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Mon, Aug 13, 2018 at 03:32:54PM +0200, Helge Kreutzmann wrote:
> When for exmple typing letters in latex files, suddenly lines are
> indented. Unfortunately I've found no real pattern. I'm only typing
> content, i.e. no formatting like \begin{} or similar.
> 
> A test case is attached. If you position the cursor on the "F" from
> "Für" and then enter:
> i
> A
> <Enter>
> The "Für" is indented without any reasons. 

It's not without reason.  That line is inside of the \begin{letter} /
\end{letter} environment.  Since filetype-specific indentation is
enabled, the expectation is for the contents to be indented.

":view $VIMRUNTIME/indent/tex.vim" has some documentation about how you
can control which environments should be indented.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

--- End Message ---

Reply via email to