Hi Bram and list,

Step to reproduce:
- Start vanilla Vim with the tabline always displays.
  $ vim --clean -c "set showtabline=2"
- Sets the current file name to a.txt
  :file a.txt

Expected behavior:
The tabline displays 'a.txt'.

Actual behavior:
The tabline keeps displaying '[No Name]'.
It does not redraw when despite executing `:file a.txt` command.


I wrote a patch. (Attached in this email)

PS
This issue is reported by Norio Takagi.

--
Best regards,
Hirohito Higashi (h_east)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 60f47bb..65bdd5a 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3002,6 +3002,8 @@ ex_file(exarg_T *eap)
     /* print full file name if :cd used */
     if (!shortmess(SHM_FILEINFO))
 	fileinfo(FALSE, FALSE, eap->forceit);
+
+    redraw_tabline = TRUE;
 }
 
 /*

Raspunde prin e-mail lui