all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: volodyan <volodyan@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Scroll preserving point position - other meaning
Date: Thu, 15 Jan 2009 13:27:39 -0800 (PST)	[thread overview]
Message-ID: <21487298.post@talk.nabble.com> (raw)
In-Reply-To: <1232037604.197929@arno.fh-trier.de>


What should I do with this code? I've just started learning emacs, but
scrolling is so basic that I hope to make it as I like before I graduate my
emacs studies...

This is the emacs I use:
GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.3)
------------------------------
Rant follows...
I cannot think of any use a point getting stuck somewhere on the edge of the
display or jump randomly when I scroll with a mouse. Every other editor I've
used waits for a left mouse click to position the point. Only arrows,
characters and mouse click move the point. I understand that some users like
the current behavior, just hope that I will be able to customize it. Ability
to customize supposed to be the strongest point of emacs and the first
response that IT JUST CANNOT BE DONE really frustrated me.

For example, as wrote earlier if a block of code is longer than a screen, I
can click on its closing bracket to highlight the region. But I just cannot
reach to see where the block starts as the highlighting will turn off as
soon as the point touches the edge of the screen.
End of rant.

Thanks,
Vlad


-----------------------------------------------------------------------------
I think one could write something like a modal scrolling,
like in this pseudo elisp.

(defun scroll-modal-pre-command-hook ()
   "Pseudocode!"
   (when (eq this-command 'scroll-bar-command)
     (save-window-excursion
       (while (scroll-bar-command-p)
         (apply 'scroll-command)
         (read-event)))))


I don't know if that's what eveybody has in mind here.

-ap




-- 
View this message in context: http://www.nabble.com/Scroll-preserving-point-position---other-meaning-tp21472671p21487298.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





  reply	other threads:[~2009-01-15 21:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15  7:29 Scroll preserving point position - other meaning volodyan
2009-01-15 15:25 ` Lennart Borgman
     [not found] ` <mailman.4942.1232033132.26697.help-gnu-emacs@gnu.org>
2009-01-15 16:38   ` Andreas Politz
2009-01-15 21:27     ` volodyan [this message]
2009-01-15 21:55 ` tyler
2009-01-15 23:14 ` Alan Mackenzie
2009-01-16  3:10   ` volodyan
     [not found] <mailman.4926.1232027586.26697.help-gnu-emacs@gnu.org>
2009-01-15 15:25 ` Xah Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21487298.post@talk.nabble.com \
    --to=volodyan@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.