From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Should we move 20.x related stuff out of NEWS ? Date: 23 Apr 2004 01:38:56 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87u0zcr98h.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082670238 23229 80.91.224.253 (22 Apr 2004 21:43:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 21:43:58 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Apr 22 23:43:25 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGlyf-0008PR-00 for ; Thu, 22 Apr 2004 23:43:25 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGlye-0007qt-00 for ; Thu, 22 Apr 2004 23:43:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGlyK-0000Bj-Aw for emacs-devel@quimby.gnus.org; Thu, 22 Apr 2004 17:43:04 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGlxP-0000AL-OQ for emacs-devel@gnu.org; Thu, 22 Apr 2004 17:42:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGlws-0008Vc-ML for emacs-devel@gnu.org; Thu, 22 Apr 2004 17:42:05 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGluj-000860-Sh for emacs-devel@gnu.org; Thu, 22 Apr 2004 17:39:22 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 68F0C262876; Thu, 22 Apr 2004 23:39:14 +0200 (CEST) Original-To: Juri Linkov In-Reply-To: <87u0zcr98h.fsf@mail.jurta.org> Original-Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22047 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22047 Juri Linkov writes: > Alan Mackenzie 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- 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. So it should only set the mark if the previous command was not C-M-a. > > > 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. C-u C-c C-u ? -- Kim F. Storm http://www.cua.dk