all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 21.3: end-of-buffer resets mark
@ 2003-07-31  7:52 Bjoern Milcke
  0 siblings, 0 replies; 3+ messages in thread
From: Bjoern Milcke @ 2003-07-31  7:52 UTC (permalink / raw)


Hi,

Title:  `end-of-buffer' resets mark.
------------------------------------

Description:
------------

Do the following:

1. `set-mark-command'         (C-SPC)
2. `next-line'                (down)
3. `end-of-buffer'            (C-end, non-standard key?)
4. `exchange-point-and-mark'  (C-x C-x)

=> you will notice that the mark is at the point from where you
   called `end-of-buffer' and not the line above where you called
   `set-mark-command'.

,----[ C-h f end-of-buffer ]
| end-of-buffer is an interactive compiled Lisp function in `simple'.
| (end-of-buffer &optional ARG)
| 
| Move point to the end of the buffer; leave mark at previous position.
| With arg N, put point N/10 of the way from the end.
| 
| If the buffer is narrowed, this command uses the beginning and size
| of the accessible part of the buffer.
| 
| Don't use this command in Lisp programs!
| (goto-char (point-max)) is faster and avoids clobbering the mark.
`----

Does 'leave mark at previous position' mean set it to the current
point when calling?  If so, why is this implemented this way?  Or
how could it be done differently?

Information:
------------

Emacs: GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll
bars) of 2003-03-24
OS: Linux 2.4.19-4GB #1 Fri Sep 13 13:14:56 UTC 2002 i686 unknown

Question:
---------

Where can I look, whether bugs are already known (Issuezilla or the
like)?

-Bjoern

-- 
Bjoern Milcke                   mailto:Bjoern.Milcke@Sun.COM
Software Engineer               http://www.sun.com/staroffice
(Star|Open)Office Chart         http://graphics.openoffice.org

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.764.1059640667.8231.bug-gnu-emacs@gnu.org>]

end of thread, other threads:[~2003-07-31 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31  7:52 21.3: end-of-buffer resets mark Bjoern Milcke
     [not found] <mailman.764.1059640667.8231.bug-gnu-emacs@gnu.org>
2003-07-31 15:45 ` Kevin Rodgers
     [not found] ` <mailman.788.1059666557.8231.bug-gnu-emacs@gnu.org>
2003-07-31 16:07   ` Kevin Rodgers

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.