Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Emacs help

Name: Anonymous 2009-11-20 4:14

Hi /prog/, I'd like to ask you for some help, please.

The point in emacs changes position as I scroll away from the line it was positioned on.
---
Say you're writing some code in the bottom of the file and you're wondering if you remembered to do some changes at the top of the file. You simply scroll up to the section you want to view, the annoying thing about this is that the pointer follows you and always stays in visible section.

in short: make point not follow you, make it stay.

I hope I've made myself understood, anyone got a solution to this?

Name: Anonymous 2009-11-20 4:16

Name: Anonymous 2009-11-20 8:11

install vim

Name: Anonymous 2009-11-20 8:17

>>3
Vim has the same problem, if you move the screen the point moves with it

Name: Anonymous 2009-11-20 9:25

>>4
:split

Name: Anonymous 2009-11-20 9:33

>>5
I doubt that's what >>1 had in mind, otherwise he would have just done C-x 2 and used M-C-v to scroll.

Name: Anonymous 2009-11-20 9:37

display does not have to do with the file pointer. OP fails

Name: Anonymous 2009-11-20 9:45

>>7
I don't think you understand what we're talking about, I suspect you use Dev-C++

Name: Anonymous 2009-11-20 10:55

>>1
Stop romanticizing the '70s and use a practical editor.  These problems don't exist in our world.

Name: Anonymous 2009-11-20 16:35

HAX MY ANUS

Name: Anonymous 2009-11-20 18:42

exchange-point-and-mark

I HELPED HIM

Name: Anonymous 2009-11-20 19:21

>>11
HELPMYANUS

Name: Anonymous 2009-11-20 19:23

>>12
exchange-anus-and-dick

I HELPED YOUR ANUS

Name: Anonymous 2009-11-20 19:26

>>11
MYANUSTHANKS]YOU

Name: Anonymous 2009-11-20 22:36

>>1
Pretty fucking annoying, isn't it? Workaround is to set the mark first (C-space), then when you're done looking around, either hit C-x C-x to exchange the mark and the point, or C-u C-space to move the point to the mark and set the mark to a position popped off the mark ring. Or of course you can save the position in a register then jump to that when you're done.

Name: Anonymous 2009-11-21 0:35

>>15
mov eax, position

Name: Anonymous 2009-11-21 1:42

>>15
Better workaround is to get a better editor

Name: Anonymous 2009-11-21 2:09

>>17
For some languages (Lisp being one example), Emacs (or at least an Emacs-like editor) are the best possible editors. No IDE comes close to offering nearly what it can offer. The only better environments are still Emacs clones with even more interactivity.

Name: Anonymous 2009-11-21 2:53

>>19
That's not it either. There are commercial Lisp implementations that come with things that are needed in the ENTERPRISE, as well as free implementations for those things exist. The commercial Lisps come with their own IDEs, which are not that bad (some free ones have them too). The point is that Emacs is still vastly superior in most except a few features to those IDEs, and most serious developers would just use Emacs or a Emacs-like clone. Java, C++, C# IDEs which are popular these days can't come close to offering the kind of interactive development possible with Emacs,SLIME,Paredit,Redshank,... This is more of a limitation of the language, not of the IDE, even though JVM and .NET do have capabilities which could offer such things, practical implementations of them are simply not nearly as usable as the Lisp equivalent, mostly because of limitations caused by the languages themselves. Of course those Java, C++, C# IDEs do offer things which are not yet as well supported in Emacs, such as nicely looking debuggers which allow single-stepping (what Emacs has to offer for this isn't that bad, but the interface could use work).

Name: Anonymous 2009-11-21 9:04

There are commercial Lisp implementations that come with things that are needed in the ENTERPRISE
Stopped reading right there, you have no idea what is needed in an ENTERPRISE environment, and neither does LISP provide anything in that direction

Name: Anonymous 2009-11-21 9:58

>>19
I chortl'd. That one always gets me.

Name: Anonymous 2009-11-21 12:11

>>1's problem is solved in every editor available on Mac Os X 10. Watch the Textmate screencasts.

Name: Anonymous 2009-11-21 17:13

Name: Anonymous 2009-11-21 17:15

>>23
Technically, since you can get emacs of MacOSX, you've just proven yourself wrong.

Name: Anonymous 2009-11-21 17:47

>>26
I misread your remark to mean any editor that you could build for MacOSX as opposed to available preinstalled.

Name: Anonymous 2009-11-21 18:34

>>17
Better workaround is to implement auto-marking when you mouse-scroll off the screen, then proceed as usual. Or else a system that automatically makes note of the area you're working in, and lets you backtrack through these.

Name: Anonymous 2009-11-21 18:53

From a Jew's face
The wicked Devil speaks to us,
The Devil who, in every country,
Is known as an evil plague.

Would we from the Jew be free,
Again be cheeful and happy,
Then must youth fight with us
To get rid of the Jewish Devil.

Name: Anonymous 2009-11-21 20:19

>>25
>>26
Both Emacs and VIM are installed as part of the OS itself (the console versions, no gooey faggotry).

Name: Anonymous 2010-12-06 9:09

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-20 20:39

Name: Anonymous 2011-02-04 16:46

Don't change these.
Name: Email:
Entire Thread Thread List