"Albert, J�rgen" writes:
 > Paul and Ole,
 > 
 > thanks for your help:
 > to clarify the question: in my .emacs the ^Z is ONE character. If I move the
 > cursor in my favourite editor over the ^Z the cursor jumps over both (caret
 > and Z). So in the .emacs file a EOF character is stored (as far as I
 > understand this).
 > I changed my .emacs the way Ole suggested  and everything works fine.
 > Paul: The [?^C ?^V ?^Z] sequence came from calling customize-variable
 > jde-key-bindings, changing something (not the thing with ^Z) and "Save for
 > Future Sessions". All keybindings were written to .emacs and not only my
 > changes.
 > 

Yes, I'm aware of how the keybindings got into your .emacs file as my
previous posts indicate. My mistake was in thinking that Emacs writes
control chacters as two noncontrol characters when in fact it writes
them into the .emacs file as a single character but displays them as
two characters.

- Paul

 > juergen
 > 
 > 
 > > -----Urspr�ngliche Nachricht-----
 > > Von: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
 > > Gesendet: Donnerstag, 28. November 2002 14:07
 > > An: Ole Arndt
 > > Cc: Albert, J�rgen; [EMAIL PROTECTED]
 > > Betreff: Re: EOF problem with stored jde-key-bindings
 > > 
 > > 
 > > Ole Arndt writes:
 > >  > Hello,
 > >  > 
 > >  > Paul Kinnucan <[EMAIL PROTECTED]> writes:
 > >  > 
 > >  > > "Albert, J�rgen" writes:
 > >  > >  > I am trying to check in a .emacs file with CVS. My 
 > > .emacs contains the
 > >  > >  > stored jde-key-bindings in the following format:
 > >  > >  > 
 > >  > >  >  '(jde-key-bindings (quote (("[?^C ?^V ?^Z]" ...
 > >  > >  > 
 > >  > >  > Unfortunatelly CVS stops at the ^Z character (yes 
 > > ***one*** character and
 > >  > >  > perhaps EOF?) and only half of my .emacs gets into 
 > > the CVS repository.
 > >  > >  > 
 > >  > > 
 > >  > > Odd. Why would CVS interpret ^Z as a single control 
 > > character instead
 > >  > > of two noncontrol characters (i.e., caret and Z)?
 > >  > 
 > >  > Paul, when you press \C-q \C-z emacs inserts a Control-Z 
 > > (EOF) control
 > >  > character into the file. This might be the case here. 
 > >  > 
 > > 
 > > Yes, but that is not what is happening in Albert's case as far as I
 > > can see. In his case the Emacs customization code is writing the
 > > keybinding into his .emacs file, using the two noncontrol characters
 > > '^' and 'Z' to represent the single charcter Control-Z.  I don't know
 > > why this should cause a problem for CVS.
 > > 
 > > 
 > >  > An alternative way of defining it, which works with emacs 
 > > and xemacs
 > >  > is:
 > >  > 
 > >  > [(control c) (control v) (control z)]
 > >  > 
 > >  > that's what we use here.
 > >  > 
 > > 
 > > That is what jde.el uses also for some keybindings.
 > > 
 > > - Paul
 > > 
 > >  > Ole
 > >  > 
 > >  > -- 
 > >  > Ole Arndt                    http://www.sugarshark.com
 > >  > -------------------------------------------------------
 > > 

Reply via email to