If $(HOME)/.leo/.leoRecentFiles.txt does not exist, the only recent file ever is the current file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Invalid
|
Medium
|
Edward K. Ream |
Bug Description
This is a problem for new installations, but it probably is not noticed by long-time users of Leo-Editor because for them $(HOME)
Beginning with some, probably recent, version, Leo-Editor stopped creating $(HOME)
Work Around:
With Leo-Editor not running, create a zero length file $(HOME)
This is tricky under Windows because File Explorer does NOT let you enter a file name that begins with a period. You can get around it by using the command line and standard-out redirection:
echo >.leoRecentFile
Test System:
Leo-Editor Rev 5220
Multiple OSes:
openSUSE 12.1 with XFCE desktop
Ubuntu 11.10 with Fluxbox window manager
Windows XP
Leo Log Window
Leo 4.10 final, build 5220, 2012-03-30 12:49:20
Python 2.7.2, qt version 4.7.4
linux2
setting leoID from os.getenv('USER'): 'bob02'
load dir: /home/ldi/
global config dir: /home/ldi/
home dir: /home/bob02
reading settings in /home/ldi/
reading settings in /home/bob02/
reading settings in /media/
reading: /media/
Changed in leo-editor: | |
status: | New → Confirmed |
importance: | Low → Medium |
On Sun, Apr 1, 2012 at 6:55 PM, SegundoBob <email address hidden> wrote:
> Public bug reported:
>
> This is a problem for new installations, but it probably is not noticed by long-time users of Leo-Editor...
> Beginning with some, probably recent, version, Leo-Editor stopped creating $(HOME) /.leo/. leoRecentFiles. txt. Hence, if the recent files file does not exist, it is never created and Leo-Editor always presents a recent files menu containing only the current file.
Thanks for this detailed and helpful report. I'll fix it soon, probably today.
Edward