bugvile, a vi-compatible text editor - Bugs: bug #53237, Control X / does not work in...


bug #53237: Control X / does not work in cppmode

Submitter:  None
Submitted:  Tue 27 Feb 2018 01:47:41 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Sun 04 Mar 2018 08:40:33 PM UTC, comment #6: 
Thomas Dickey <dickey>
Group administrator
Sun 04 Mar 2018 08:39:27 PM UTC, comment #5: 

That's fixed in post-9.8s patches - this chunk:


(an extra bracket that confuses "new" flex).
I use https://invisible-island.net/reflex/reflex.html
but occasionally make fixes for "new" flex.

Thomas Dickey <dickey>
Group administrator
Sun 04 Mar 2018 04:30:31 PM UTC, comment #4: 

Thanks for the quick reply.

I did download the latest, but I did run into a build problem. The error message is

compiling scm-filt.l
echo '#include <flt_defs.h>' > scm-filt.c
flex -Pscheme_ -t .././filters/scm-filt.l >> scm-filt.c
gcc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H -I./filters  -D_GNU_SOURCE -D_DEFAULT_SOURCE -I./filters -g -O2  -Dfilter_def=define_scheme -Dprivate_yywrap=scheme_wrap ./scm-filt.c
rm -f scm-filt.c
compiling sh-filt.l
echo '#include <flt_defs.h>' > sh-filt.c
flex -Psh_ -t .././filters/sh-filt.l >> sh-filt.c
/usr/bin/m4:stdin:2872: ERROR: end of file in string
makefile:1017: recipe for target 'sh-filt.o' failed
make[1]: * [sh-filt.o] Error 1
make[1]: Leaving directory '/home/ian/PUB/vile-9.8s/filters'
makefile:354: recipe for target 'all' failed

I am afraid it is beyond me to figure out what might be going on with this one. I tried the default build and with builtin filters.

I am attaching config.log as well as the errors from make.

There is a vile that comes with Ubuntu 16, but it seems buggy and crashes every now and then. It is version 9.8q.

Any ideas would be great...



(file #43460, file #43461)

Sat 03 Mar 2018 03:35:20 PM UTC, comment #3: 


That's 9.8s (current).  I'd have something more recent,
but ncurses took a lot of time...

Thomas Dickey <dickey>
Group administrator
Sat 03 Mar 2018 03:15:48 PM UTC, comment #2: 

I think I must have an old version. when I download
I see source files that date from 2010

I am on an Ubuntu 16 system, en_US.UTF-8

Where is the latest source? That will probably fix this.



Wed 28 Feb 2018 12:55:57 AM UTC, comment #1: 

I don't see this (actually using 9.8s+patches, but none affect this area).  I switched to cppmode using

:set-h cpp

and ^X-/ gives me the same result.  There was some problem with
searches a while back.  What version of vile are you using?
(also, locale and operating system might be relevant).

Thomas Dickey <dickey>
Group administrator
Tue 27 Feb 2018 01:47:41 PM UTC, original submission:  

Enter the text


in a file that does not turn on cppmode.
Position the cursor on the 'd' character on the first line.
Control X / will then find the def string on the next line.
That's exactly what should happen. Great.

now turn on cppmode in that same buffer and try to repeat. It fails.

Then turn off cppmode and it goes back to working properly.

I love vile, it works great, please keep up the great work, I really appreciate it!




(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #43460:  make.errs added by None (20KiB - application/octet-stream)
file #43461:  config.log added by None (93KiB - text/x-log)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dickey (Posted a comment)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-15 dickey StatusNone Fixed
    2018-03-04 None Attached File- Added make.errs, #43460
        Attached File- Added config.log, #43461

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code