<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>44022</bug_id>
          
          <creation_ts>2022-10-13 13:29:20 +0300</creation_ts>
          <short_desc>vim Игнорирует ~/.vimrc</short_desc>
          <delta_ts>2022-10-14 20:52:15 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>vim-enhanced</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>admsasha</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>215861</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-10-13 13:29:20 +0300</bug_when>
    <thetext>Поставил 4:9.0.0735-alt1, собранный сегодня в таске 308317 (так получилось, я что обновился раньше ftp.a.o), и теперь у меня /usr/bin/vim игнорирует ~/.vimrc (и вообще все vimrc) и оказывается compatible.

$ rpm -qa --qf &apos;%{NAME}-%{EVR}:%{DISTTAG}\n&apos; | grep ^vim | sort
vim-common-4:9.0.0735-alt1:sisyphus+308317.100.1.1
vim-console-4:9.0.0735-alt1:sisyphus+308317.100.1.1
vim-enhanced-4:9.0.0735-alt1:sisyphus+308317.100.1.1
vim-minimal-4:9.0.0735-alt1:sisyphus+308317.100.1.1
vim-plugin-spec_alt-ftplugin-0.3-alt1:sisyphus+264959.200.7.1
vim-spell-en-20180416-alt1:sisyphus+219447.300.1.1
vim-spell-ru-lebedev-0.99g5-alt15:sisyphus+261578.100.1.1
$ alternatives-list  /usr/bin/vim
/usr/bin/vim points to /usr/bin/vim-enhanced</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215862</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-10-13 13:33:38 +0300</bug_when>
    <thetext>Посмотрел на

$ strace -o ~/tmp/vim.strace  /usr/bin/vim-enhanced &apos;+q&apos;

Почему-то идёт попытка загрузить $HOME/.exrc, а к $HOME/.vimrc (и к другим vimrc) никто и не пытается обратиться.

$HOME/.exrc у меня нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215863</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-10-13 13:35:42 +0300</bug_when>
    <thetext>Ок, такой workaround сработал, благо я ex* не пользуюсь:

$ ln -rs  ~/.vimrc ~/.exrc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215976</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-10-14 20:52:15 +0300</bug_when>
    <thetext>vim-4:9.0.0749-alt1 -&gt; sisyphus:

 Fri Oct 14 2022 Gleb F-Malinovskiy &lt;glebfm@altlinux&gt; 4:9.0.0749-alt1
 - Updated to v9.0.0749.
 - Fixed vimrc loading regression (ALT#44022).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>