Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The way C-l used to work with multiple presses was:

  • Center window on cursor
  • Move window so cursor is on first line
  • Move window so cursor is on last line

Now C-l just centers, with multiple presses doing nothing.

I can do C-u 0 C-l and C-u -0 C-l but that's not as useful. Does anyone know why this would stop working? I've recently upgraded to Ubuntu Karmic from Jaunty.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

It sounds like you might have been using a non-standard(?) function, mabye it was recenter-top-bottom.

share|improve this answer
    
That was exactly it, thanks! In fact, I was remembering functionality from my EmacsW32 installation - it was never in my Ubuntu Emacs, so that was just a red herring. –  Skilldrick Jan 12 '10 at 12:54

With vanilla emacs23 built from source with default options, run with -q so no customizations are loaded, C-l works the way you describe - it centers/redraws, then puts the line at point at the top of the window, then puts the line at point at the bottom of the window.

share|improve this answer
    
@Justin Thanks, the problem was I was getting mixed up between Emacs22 and 23 :P I use 23 on Windows and 22 on Linux, and I was trying to use my Windows shortcuts on Linux. –  Skilldrick Jan 29 '10 at 12:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.