(Optionally) remove not readable files #32

Closed
blueyed opened this Issue Feb 14, 2013 · 5 comments

Comments

Projects
None yet
2 participants
@blueyed
Contributor

blueyed commented Feb 14, 2013

If a file is not readable, tmru complains after trying to open it: "TMRU: File not readable".

It would be nice, if it could get removed from the mru list then (automatically and/or optionally).

@tomtom

This comment has been minimized.

Show comment
Hide comment
@tomtom

tomtom Feb 15, 2013

Owner

The item gets removed from the list, doesn't it?

should also remove all inexistent files.

Owner

tomtom commented Feb 15, 2013

The item gets removed from the list, doesn't it?

should also remove all inexistent files.

@blueyed

This comment has been minimized.

Show comment
Hide comment
@blueyed

blueyed Feb 15, 2013

Contributor

No. I remember it that way, but since a while it does not anymore.

I can provide more information (settings), if it helps you.

Contributor

blueyed commented Feb 15, 2013

No. I remember it that way, but since a while it does not anymore.

I can provide more information (settings), if it helps you.

@tomtom tomtom closed this in b6aa68f Feb 15, 2013

@blueyed

This comment has been minimized.

Show comment
Hide comment
@blueyed

blueyed Mar 14, 2013

Contributor

For whatever reason that does not work for me.

It still says "File not readable", but it does not get removed from the list (when re-invoking tmru).

Can I help you to debug this?

Contributor

blueyed commented Mar 14, 2013

For whatever reason that does not work for me.

It still says "File not readable", but it does not get removed from the list (when re-invoking tmru).

Can I help you to debug this?

@tomtom

This comment has been minimized.

Show comment
Hide comment
@tomtom

tomtom Mar 17, 2013

Owner

For whatever reason that does not work for me.

It still says "File not readable", but it does not get removed from
the list (when re-invoking tmru).

What's the value of

g:tmru#auto_remove_unreadable (should be 1)
g:tmru_update_viminfo (should be 1)

If both variables evaluate to true, please try

:set verbosefile=tmru.log
:e foo.txt
:bd!
:call delete("foo.txt")
:20verb TMRU
:set verbosefile&

Try to select the file foo.txt from the list and send me tmru.log per
personal mail. Thanks.

Owner

tomtom commented Mar 17, 2013

For whatever reason that does not work for me.

It still says "File not readable", but it does not get removed from
the list (when re-invoking tmru).

What's the value of

g:tmru#auto_remove_unreadable (should be 1)
g:tmru_update_viminfo (should be 1)

If both variables evaluate to true, please try

:set verbosefile=tmru.log
:e foo.txt
:bd!
:call delete("foo.txt")
:20verb TMRU
:set verbosefile&

Try to select the file foo.txt from the list and send me tmru.log per
personal mail. Thanks.

@blueyed

This comment has been minimized.

Show comment
Hide comment
@blueyed

blueyed May 2, 2013

Contributor

The variables are set as expected.

When invoking 20verb TMRU it displays these errors:

:20verb TMRU            Error detected while processing function tmru#SelectMRU..tlib#World#New..312
..314:
line   18:
E724: variable nested too deep for displaying
                         Error detected while processing function tmru#SelectMRU..tlib#World#New..31
2:
line    8:
E724: variable nested too deep for displaying
Error detected while processing function tmru#SelectMRU..tlib#World#New..341..tlib#Filter_cnf#New:
line    1:
E724: variable nested too deep for displaying
Error detected while processing function tmru#SelectMRU:
line    5:
E171: Missing :endif
Contributor

blueyed commented May 2, 2013

The variables are set as expected.

When invoking 20verb TMRU it displays these errors:

:20verb TMRU            Error detected while processing function tmru#SelectMRU..tlib#World#New..312
..314:
line   18:
E724: variable nested too deep for displaying
                         Error detected while processing function tmru#SelectMRU..tlib#World#New..31
2:
line    8:
E724: variable nested too deep for displaying
Error detected while processing function tmru#SelectMRU..tlib#World#New..341..tlib#Filter_cnf#New:
line    1:
E724: variable nested too deep for displaying
Error detected while processing function tmru#SelectMRU:
line    5:
E171: Missing :endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment