Author Topic: Odd buffer shows in vim emulation  (Read 732 times)

b

  • Senior Community Member
  • Posts: 185
  • Hero Points: 9
Odd buffer shows in vim emulation
« on: November 05, 2015, 06:18:48 pm »
I have:

SlickEdit Pro 2015 (v20.0.0.12 64-bit)

Build Date: November 03, 2015
Emulation: Vim

OS: Linux
OS Version: Fedora release 20 (Heisenbug)
Kernel Level: 4.0.4-101.fc20.x86_64
Build Version: #1 SMP Wed May 27 21:12:19 UTC 2015
Processor Architecture: x86_64

X Server Vendor: The Cygwin/X Project
Memory: 90% Load, 1043MB/1149MB Virtual
Shell Information: /home/bjkurlex/slickedit/bin/secsh -i
Screen Size: 1920 x 1200, 1680 x 1050, 1600 x 900

Project Type: Gnuc
Language: .command (Plain Text)
Encoding: Automatic

I blew away my .slickedit directory and tested on a clean installation.
Create a clean workspace/project (I created a gcc c project) with a Makefile and a C file (foo.c with simple "hello world" app).
Load both files in the project so that they are in the buffers list.   For this example, I had foo.c as my actively viewed buffer.

Enter via vim command mode

:b Makefile

A new, odd buffer of .command<0> shows up and is presented.   This unexplained buffer can't be removed until you exit the program.  (:q, or close or other various means of removing a buffer).

This was encountered by a finger memory attempt.   That is, in vim, you can request a file buffer by name via :b <filename> in addition to the use b <buffer number>.   I understand this isn't supported (yet), but I wouldn't have expected the odd results when passing a non-numeric value to the colon command.

b

  • Senior Community Member
  • Posts: 185
  • Hero Points: 9
Re: Odd buffer shows in vim emulation
« Reply #1 on: November 05, 2015, 08:39:55 pm »
I discovered that using the :e <filename> where <filename> doesn't exist doesn't open/create a new file of the name given (which vim would do), or return an error that their is no file buffer open, but also opens the mysterious .command<0> buffer.

vim emulation should have :e file.name, either open file.name or create a new file called file.name and open it ready for editing.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3717
  • Hero Points: 242
Re: Odd buffer shows in vim emulation
« Reply #2 on: November 06, 2015, 06:21:56 pm »
I can't reproduce this.

If you start SlickEdit with "vs +new -sc <newtempconfigdir>" and switch to VIM emulation, can you reproduce this. If so, maybe I need some more specific steps.

b

  • Senior Community Member
  • Posts: 185
  • Hero Points: 9
Re: Odd buffer shows in vim emulation
« Reply #3 on: November 06, 2015, 06:40:14 pm »
:-/

Neither am I, now.   Although a did recently export my configuration, blow away the .slickedit directory and then reimported my configuration.  That may have cleared it.