POV-Ray : Newsgroups : povray.unix : Emacs C++ mode with Windows shortcuts? : Re: Emacs C++ mode with Windows shortcuts? Server Time
28 Jul 2024 14:34:41 EDT (-0400)
  Re: Emacs C++ mode with Windows shortcuts?  
From: Warp
Date: 28 Apr 2001 12:52:55
Message: <3aeaf567@news.povray.org>
I can post relevant parts of my .emacs if you want.
  Besides using the pc-selection-mode (which adds quite a lot of stuff indeed),
I have it configured so that:

  - Page-up and page-down work as they should, that is, the text is scrolled
    one screenfull up or down but the cursor position on the screen does
    not change (unless it ends on a past-the-end-of-line place, in which case
    it moves to the end of that line).

  - Fixes home, end, delete and backspace to work as in other editors.

  - ctrl-y deletes the current line immediately (handier than ctrl-k). Also
    other miscellaneous key settings.

  - Loads povmode.elc (you must get it yourself).

  - The column number is shown on the status bar.

  - Scrolls one line at a time when the cursor goes up the first line or
    down the last line (by default emacs scrolls a half-page).

  - Several font-lock options (eg. turns on full keyword coloring and
    automatic indenting for all known languages).

-- 
#local D=array[6]{11117333955,7382340,3358,3900569407,970,4254934330}
#local I=0;#macro M()<mod(D[I],13)-6,mod(div(D[I],13),8)-3,10>#end
#while(I<6)cylinder{M()#local D[I]=div(D[I],104);M().1
pigment{rgb M()}}#local I=(D[I]>99?I:I+1);#end              /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.