unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script
@ 2008-08-27 11:18 straylightblue
  2008-08-27 13:50 ` Lennart Borgman (gmail)
  2008-08-27 15:27 ` Peter Dyballa
  0 siblings, 2 replies; 6+ messages in thread
From: straylightblue @ 2008-08-27 11:18 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

Hi everybody.

I'm having trouble runing a lips-file that has allways worked until now. I
presume it's the new 22 version of Emacs for Windows and some
incompatabilities with older elisp versions causing this, but I'm not sure.
Maybe someone can help me out?

This is the error message:
>>>
An error has occurred while loading `c:/Dokumente und
Einstellungen/me/Anwendungsdaten/.emacs.d/init.el':

End of file during parsing: c:/Dokumente und
Einstellungen/me/Anwendungsdaten/.emacs.d/init.el
<<<

And this is the script:

>>>>

(setq backup-by-copying t        ; don't clobber symlinks
    '(("." . "~/emacsbackups"))    ; don't litter my fs tree
    delete-old-versions t
    kept-new-versions 6
    kept-old-versions 2
    version-control t        ; use versioned backups

<<<

I wasn't able to find the error. Like I said, as far as I can tell this
works a-ok with v.21 on the command-line in Linux.

Thanks for any help.

[-- Attachment #2: Type: text/html, Size: 1274 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script
  2008-08-27 11:18 straylightblue
@ 2008-08-27 13:50 ` Lennart Borgman (gmail)
  2008-08-27 15:27 ` Peter Dyballa
  1 sibling, 0 replies; 6+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-27 13:50 UTC (permalink / raw)
  To: straylightblue; +Cc: help-gnu-emacs

straylightblue wrote:
>>>>>
> 
> (setq backup-by-copying t        ; don't clobber symlinks
>     '(("." . "~/emacsbackups"))    ; don't litter my fs tree
>     delete-old-versions t
>     kept-new-versions 6
>     kept-old-versions 2
>     version-control t        ; use versioned backups
> 
> <<<

This file looks corrupted.

- Emacs lisp always has a closing parenthesis.
- The second line in the call to setq is not ok.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script
  2008-08-27 11:18 straylightblue
  2008-08-27 13:50 ` Lennart Borgman (gmail)
@ 2008-08-27 15:27 ` Peter Dyballa
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2008-08-27 15:27 UTC (permalink / raw)
  To: straylightblue; +Cc: help-gnu-emacs


Am 27.08.2008 um 13:18 schrieb straylightblue:

> (setq backup-by-copying t        ; don't clobber symlinks
>     '(("." . "~/emacsbackups"))    ; don't litter my fs tree
>     delete-old-versions t
>     kept-new-versions 6
>     kept-old-versions 2
>     version-control t        ; use versioned backups
>
> <<<


I have:

(setq make-backup-files         t ;backup my files
       backup-by-copying         t ;don't clobber symlinks
       delete-old-versions       t
       kept-new-versions         6
       kept-old-versions         2
       version-control           t ;use versioned backups
       vc-make-backup-files      t ;make backups for cvs projects
       vc-follow-symlinks        t)
(setq backup-directory-alist    '(("." . "~/.emacs.d/ 
Sicherungen"))) ;don't litter

And it works! Because the last line was taken off the multi-line  
statement.

--
Greetings

   Pete
               <\
                 \__     O                       __O
                 | O\   _\\/\-%                _`\<,
                 '()-'-(_)--(_)               (_)/(_)






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script
       [not found] <mailman.17672.1219843891.18990.help-gnu-emacs@gnu.org>
@ 2008-09-06  7:09 ` Andy Stewart
  2008-09-06  7:11 ` Andy Stewart
  2008-09-06  7:21 ` Andy Stewart
  2 siblings, 0 replies; 6+ messages in thread
From: Andy Stewart @ 2008-09-06  7:09 UTC (permalink / raw)
  To: help-gnu-emacs

Hi.

I think bug is at behind 'version-control t', and lost ')'.

So right is:

------------------------------> modified start <------------------------------

(setq backup-by-copying t        ; don't clobber symlinks
    '(("." . "~/emacsbackups"))    ; don't litter my fs tree
    delete-old-versions t
    kept-new-versions 6
    kept-old-versions 2
    version-control t        ; use versioned backups
)                            ;; bug is at this, add this!!!

------------------------------> modified end   <------------------------------

Andy.

Regards.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script
       [not found] <mailman.17672.1219843891.18990.help-gnu-emacs@gnu.org>
  2008-09-06  7:09 ` Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script Andy Stewart
@ 2008-09-06  7:11 ` Andy Stewart
  2008-09-06  7:21 ` Andy Stewart
  2 siblings, 0 replies; 6+ messages in thread
From: Andy Stewart @ 2008-09-06  7:11 UTC (permalink / raw)
  To: help-gnu-emacs

Hi.

I think bug is at behind 'version-control t', and lost ')'.

So right is:


(setq backup-by-copying t        ; don't clobber symlinks
    '(("." . "~/emacsbackups"))    ; don't litter my fs tree
    delete-old-versions t
    kept-new-versions 6
    kept-old-versions 2
    version-control t        ; use versioned backups
)                            ;; bug is at this, add this!!!


Andy.

Regards.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script
       [not found] <mailman.17672.1219843891.18990.help-gnu-emacs@gnu.org>
  2008-09-06  7:09 ` Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script Andy Stewart
  2008-09-06  7:11 ` Andy Stewart
@ 2008-09-06  7:21 ` Andy Stewart
  2 siblings, 0 replies; 6+ messages in thread
From: Andy Stewart @ 2008-09-06  7:21 UTC (permalink / raw)
  To: help-gnu-emacs

Hi.

I think bug is at behind 'version-control t', and lost ')'.

So right is:


(setq backup-by-copying t        ; don't clobber symlinks
    '(("." . "~/emacsbackups"))    ; don't litter my fs tree
    delete-old-versions t
    kept-new-versions 6
    kept-old-versions 2
    version-control t        ; use versioned backups
)                            ;; bug is at this, add this!!!


Andy.

Regards.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-06  7:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.17672.1219843891.18990.help-gnu-emacs@gnu.org>
2008-09-06  7:09 ` Relative n00by question: >>End of file during parsing<< Error with simple backup unifier script Andy Stewart
2008-09-06  7:11 ` Andy Stewart
2008-09-06  7:21 ` Andy Stewart
2008-08-27 11:18 straylightblue
2008-08-27 13:50 ` Lennart Borgman (gmail)
2008-08-27 15:27 ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).