emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should we move 20.x related stuff out of NEWS ?


From: Juri Linkov
Subject: Re: Should we move 20.x related stuff out of NEWS ?
Date: Thu, 22 Apr 2004 06:18:22 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Alan Mackenzie <address@hidden> writes:
> C-M-u (in programming modes) doesn't set the mark, and this is (for me at
> any rate) correct.  I don't want my mark stack flooded out with
> uninteresting places, typically 20 or 10 or fewer lines apart. 
>
> On the other hand, I've often wondered whether C-M-a ought to set the
> mark.  I often do a C-u C-<space> first.  Maybe I should try advising
> C-M-[ae] to set the mark.

Setting the mark by C-M-a is very useful when the user uses it to jump
to the function's beginning to see its arguments and wants to return
back to the original place.  However, the mark shouldn't be set when
the user uses C-M-a to move the point between defuns.

> I don't use Outline mode much (in fact only for reading NEWS).  Is C-c
> C-u more like C-M-u or more like C-M-a?  Maybe `beginning-of-defun'
> should jump to the highest level enclosing heading in outline mode, and
> maybe it should set the mark, too.  It would be trivial to code, since
> there's a hook already there specially for this purpose
> (`beginning-of-defun-function').

The highest level can be reached by giving a sufficiently large
argument to the `outline-up-heading' function.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]