unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15343: 24.3.50; Document window point better in Emacs manual
@ 2013-09-11 15:00 Drew Adams
  2013-09-13  7:09 ` Jambunathan K
  2014-02-08  4:29 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Drew Adams @ 2013-09-11 15:00 UTC (permalink / raw)
  To: 15343

The concept of point is fundamental to Emacs, and it is introduced in
(emacs) `Point'.  However, users sometimes get confused because multiple
windows for the same buffer have different notions of point: the window
point.  This concept is hardly presented in the Emacs manual, AFAICT.
The most that is said is this, which is easily missed in (emacs)
`Point':

 Furthermore, if a buffer is displayed in multiple windows, each of
 those windows has its own value of point.

Great, but what are the consequences of that?  In particular, what are
some gotchas that might confuse users?

I don't have a great suggestion of what the improvement might be, but I
think something more is needed to dispel or prevent this confusion.
Perhaps an example, to illustrate the notion and the possible confusion.

This problem report comes to mind in this regard.  Dunno whether the
problem reported here is really due to confusion about `window-point',
but I can see such a problem possibly coming from such confusion.

http://stackoverflow.com/questions/18734850/point-moves-when-switching-buffers-in-emacs-aquamacs/18744622#18744622



In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-08-31 on ODIEONE
Bzr revision: 114088 rgm@gnu.org-20130901021232-sazo0qla2qgcko95
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15343: 24.3.50; Document window point better in Emacs manual
  2013-09-11 15:00 bug#15343: 24.3.50; Document window point better in Emacs manual Drew Adams
@ 2013-09-13  7:09 ` Jambunathan K
  2014-02-08  4:29 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Jambunathan K @ 2013-09-13  7:09 UTC (permalink / raw)
  To: Drew Adams; +Cc: 15343




>  Furthermore, if a buffer is displayed in multiple windows, each of
>  those windows has its own value of point.

For the sake of record,

    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14486

I have "permitted" the bug to be closed because I felt that would be the
most expedient thing to do.

I do think that hitting a developer with clue-bat would help.  (Even if
hitting him, leaves him as clue-less and help-less as before)

----------------------------------------------------------------

I believe most people start with

    * Emacs Lisp Intro: (eintr).   

The tutorial of that nature has no reasons to emphasize that there are
multiple points (so to speak).  Now once people become reasonably
proficient, they continue to harbour a sub-conscious model that there is
only one point.  

I think simple hyperlinking between the nodes will help bring out the
nuance.

----------------------------------------------------------------





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#15343: 24.3.50; Document window point better in Emacs manual
  2013-09-11 15:00 bug#15343: 24.3.50; Document window point better in Emacs manual Drew Adams
  2013-09-13  7:09 ` Jambunathan K
@ 2014-02-08  4:29 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-08  4:29 UTC (permalink / raw)
  To: Drew Adams; +Cc: 15343

Drew Adams <drew.adams@oracle.com> writes:

> The concept of point is fundamental to Emacs, and it is introduced in
> (emacs) `Point'.  However, users sometimes get confused because multiple
> windows for the same buffer have different notions of point: the window
> point.  This concept is hardly presented in the Emacs manual, AFAICT.
> The most that is said is this, which is easily missed in (emacs)
> `Point':
>
>  Furthermore, if a buffer is displayed in multiple windows, each of
>  those windows has its own value of point.
>
> Great, but what are the consequences of that?  In particular, what are
> some gotchas that might confuse users?

Uhm...  I think that it's pretty clear.  Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-08  4:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 15:00 bug#15343: 24.3.50; Document window point better in Emacs manual Drew Adams
2013-09-13  7:09 ` Jambunathan K
2014-02-08  4:29 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).