On Wed, Sep 06, 2006 at 06:22:55PM +0100, Reuben Thomas wrote: > On Mon, 4 Sep 2006, Robert Millan wrote: > > >Please could this be reverted? It causes zile to print a "No such file > >or directory" error during runtime, adds a weird char to your buffer > >(0xff), and your usual /tmp/foo~ file is not there anymore. > > I'm puzzled by the above behaviour. I can't repro it (though I have > tidied up the backup code for 2.2.19, so that could be it). In > particular, looking at the old code, I can't see anywhere it would print > the error (rename shouldn't print anything). > > I also can't see why a character should be inserted by save-buffer, and > I can't make it happen either. > > If you can repro either bug in 2.2.19 (released about now) I'd be most > grateful for another report, with more details if possible.
It happens with the sample dotzile from 2.2.13. I'm attaching it for your comfort. As for why a character is inserted, maybe there's a bug in the libraries? I've reproduced it with different terminals, so it's not an issue with the term implementation. -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.
; .zile sample configuration ; Do not display the splash screen at startup [default: false] (setq skip-splash-screen false) ; Enable alternative key bindings [default: false] ; Remap the help functions (bound by default to `C-h') to `M-h'. ; This may be useful when `C-h' is already bound to Backspace or Delete. (setq alternative-bindings false) ; The default tabulation width [default: 8] (setq tab-width 8) ; The default fill column (in Auto Fill Mode) [default: 72] (setq fill-column 72) ; Enable the Auto Fill Mode [default: false] (setq auto-fill-mode false) ; Kill whole line regardless of cursor position [default: false] (setq kill-whole-line false) ; Expand tabs [default: false] ; If disabled, Zile will insert hard tabs (the character \t), ; otherwise it will insert spaces. (setq expand-tabs false) ; Enable beep [default: true] ; If enabled, a sound will be emitted on any error. (setq beep true) ; Standard indentation level [default: 4] ; Default number of columns for margin-changing functions to indent. (setq standard-indent 4) ; If enabled, deactivates the mark when the buffer contents change. ; Also enables highlighting of the region whenever the mark is active. ; The variable `highlight-nonselected-windows' controls whether to ; highlight all windows or just the selected window. [default: true] (setq transient-mark-mode true) ; If enabled, highlight region even in nonselected windows. ; [default: false] (setq highlight-nonselected-windows false) ; Specify the file backup method [default: simple] ; ; Possible values are: none and simple. ; ; * If `none' is specified, Zile will not create backup files. ; * If `simple' is specified, Zile will create a backup file with a ; tilde `~' appended to the name (e.g.: on saving `foo.c' it will ; create the backup `foo.c~'). (setq backup-method simple) ; Enable backup directory for backup files [default: false] ; If enabled Zile will backup files to a user specified directory; ; the directory must exist and must be specified in the ; variable `backup-directory' (see below). (setq backup-with-directory false) ; Specify target backup directory [default: "~/.backup"] ; Directory must exist. (setq backup-directory "~/.backup")