Live data from Hacker News

Emacs follow-mode

stackoverflow.com

41–50 of 52 posts

Re: Emacs follow-mode

#41
post #28

Earlier quoted context omitted.

Mostly defaults--I only have a handful of custom keybindings, most of them a carry-over from the old ITS/Twenex Emacs defaults, since I have editing finger habits which are decades old. (It's wonderful that you can get most of the basics in every Cocoa-based edit field in OS X.) I wouldn't even call myself an Emacs power user. I've written a modicum of Emacs Lisp, but nothing major. Custom hardware? Hoo boy, let's no…

I appreciate your perspective. I agree about the Thinkpad keyboards. Also, a relative had a Dell 8100 laptop that I used extensively for a while, and its keyboard was very "fast" and comfortable, for me. I think Dell's keyboard quality has gone down since then. These days, I tend to prefer good laptop keyboards. I like the short throw; also, many of them have a more precise and consistent action than the mass produce…

If you like short throw keyboards you might want to give Cherry a try. I don't think they are very popular in the US (pretty big in Europe). I haven't found anything better than the Cherry eVolution STREAM XT and I try out every keyboard I can get my hands on.

And they are dirt cheap, too. I get a new one every year or so and fresh out of the box, it's like keyboard nirvana.

Re: Emacs follow-mode

#42
post #6

In vim, with scrollbind: nmap ef :vsplit wincmd l exe "norm! Ljz " :set scb :wincmd h :set scb Source: http://markmail.org/message/kbnyhxffy6zs7pic

There is also this: http://mysite.verizon.net/astronaut/vim/index.html#MPAGE

This seems to be a 404 for me.

Is it working for other people?

Re: Emacs follow-mode

#43
This would be good to build into the windowing system so it could apply to any application. Split any application window horizontally or vertically and put the two parts where you like on the screen.

Re: Emacs follow-mode

#44
post #2

I've been using Emacs for 32 years (hard to believe) and never knew about this incredible but apparently obscure feature of Emacs. On my 27" cinema display, even using 12pt Monaco for my tired old eyes for extreme legibility, I can get 4-5 columns of 90 lines each, when editing source files or text, for an effective "screen length" of 360-450 lines. With 10pt, you can get 500+ lines "on screen" easily. Docs: http://w…

I've been trying to get into Emacs for the last two years and can't seem to do it. How do you manage? Also, amen to Monaco (although I use 9pt).

Re: Emacs follow-mode

#46
post #2

I've been using Emacs for 32 years (hard to believe) and never knew about this incredible but apparently obscure feature of Emacs. On my 27" cinema display, even using 12pt Monaco for my tired old eyes for extreme legibility, I can get 4-5 columns of 90 lines each, when editing source files or text, for an effective "screen length" of 360-450 lines. With 10pt, you can get 500+ lines "on screen" easily. Docs: http://w…

I've been trying to get into Emacs for the last two years and can't seem to do it. How do you manage? Also, amen to Monaco (although I use 9pt).

If you're using Monaco, I assume you're on a Mac, so you can get plenty of practice with the default key bindings, as OS X respects the basic emacs/readline bindings everywhere you can type.

Discovering M-x apropos was probably the moment I realised emacs wasn't at all scary, and in fact just wanted to help and make me productive. A big hurdle with any text editor is having the discipline to realise that if you're doing something repetitive and boring, you're probably doing it wrong. All the built in documentation and help functions in emacs give you a big head start finding the right way to do what you're doing, and you'll just randomly pick up useful stuff along the way.

Beyond that, it's just finding what modes are useful for you. Magit is incredible, org-mode's great if you do that sort of thing, and any language with a REPL thrives under emacs.

Most people I know just learn enough elisp to keep their .emacs up to date, so don't be too intimidated by that, but more power to you if you eventually master it.

Re: Emacs follow-mode

#47
post #7

Earlier quoted context omitted.

Will the cursor automatically swap between the buffers when you reach the edge? (e.g. buffer 1 is showing page 1 and buffer 2 is showing page 2; when you get the end of page 1, the cursor/focus switches to buffer 2, rather than it just being two independently scrolling views into the same file)

Nope.

What you've pointed out (Clone File) is part of the most basic functionality of Emacs. Splitting a window in 2 and opening the same file in both windows. It's the follow part that makes this, well, follow-mode.

That said, I guess it's almost impressive that Sublime lets you "Clone", since TextMate is even more restricted in this regard, iirc. That's actually kind of sad, though.

Re: Emacs follow-mode

#48

Earlier quoted context omitted.

I appreciate your perspective. I agree about the Thinkpad keyboards. Also, a relative had a Dell 8100 laptop that I used extensively for a while, and its keyboard was very "fast" and comfortable, for me. I think Dell's keyboard quality has gone down since then. These days, I tend to prefer good laptop keyboards. I like the short throw; also, many of them have a more precise and consistent action than the mass produce…

If you like short throw keyboards you might want to give Cherry a try. I don't think they are very popular in the US (pretty big in Europe). I haven't found anything better than the Cherry eVolution STREAM XT and I try out every keyboard I can get my hands on. And they are dirt cheap, too. I get a new one every year or so and fresh out of the box, it's like keyboard nirvana.

I've seen the name Cherry, but I didn't realize they offered that kind of a product. I'll have a look -- thanks!

P.S. Actually, for a desktop system, I've recently been using a Kensington Ci73. The keyswitches aren't as good as I'd like, but they're better than many. Also an inexpensive unit.

I've thought about getting a Thinkpad (now Lenovo) detachable keyboard, but the reviews weren't positive enough to make me "push the button", as it were. It appears to glitch with speedy typing. Also, it has one of those shelves, although the 2nd revision while dropping the integrated touchpad may (or may not) have beaten the shelf back to a more manageable size.

For the price, and with the reported glitches, I'd want to try one hands-on, before purchasing. Though I may change my mind on that.

http://www.amazon.com/Kensington-Keyboard-Profile-Design-K64...

http://www.amazon.com/ThinkPad-USB-Keyboard-with-TrackPoint/...

http://www.amazon.com/IBM-Integrated-Point-Device-40K5372/dp...

Re: Emacs follow-mode

#49
post #2

I've been using Emacs for 32 years (hard to believe) and never knew about this incredible but apparently obscure feature of Emacs. On my 27" cinema display, even using 12pt Monaco for my tired old eyes for extreme legibility, I can get 4-5 columns of 90 lines each, when editing source files or text, for an effective "screen length" of 360-450 lines. With 10pt, you can get 500+ lines "on screen" easily. Docs: http://w…

I simply rotate my flatscreen monitor to make it upright. This way i get 900x1600 resolution, and >80 lines (10pt monospace) in one screen.

32 years of emacs! Wow!

Re: Emacs follow-mode

#50
post #2

I've been using Emacs for 32 years (hard to believe) and never knew about this incredible but apparently obscure feature of Emacs. On my 27" cinema display, even using 12pt Monaco for my tired old eyes for extreme legibility, I can get 4-5 columns of 90 lines each, when editing source files or text, for an effective "screen length" of 360-450 lines. With 10pt, you can get 500+ lines "on screen" easily. Docs: http://w…

I simply rotate my flatscreen monitor to make it upright. This way i get 900x1600 resolution, and >80 lines (10pt monospace) in one screen. 32 years of emacs! Wow!

I've not been alive for 32 years....

But still learning Emacs, I still run it in viper mode. My old habits die hard. I love to troll the other unix admins at work with vi keybindings in emacs.

I'm assuming you aren't rotating your screen under linux, xinerama isn't very robust on things like that.

Post reply on HN