From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kifer@cs.sunysb.edu (Michael Kifer) Newsgroups: gmane.emacs.devel Subject: set-mark-command is broken Date: Thu, 18 Apr 2002 13:03:54 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200204181703.NAA00086@sbcs.cs.sunysb.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019150037 14217 127.0.0.1 (18 Apr 2002 17:13:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2002 17:13:57 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16yFTp-0003hC-00 for ; Thu, 18 Apr 2002 19:13:57 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16yFn6-0006Kh-00 for ; Thu, 18 Apr 2002 19:33:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yFPE-0002y7-00; Thu, 18 Apr 2002 13:09:12 -0400 Original-Received: from sbcs.cs.sunysb.edu ([130.245.1.15]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yFO2-0002vo-00 for ; Thu, 18 Apr 2002 13:07:58 -0400 Original-Received: from sbkifer (sbkifer [130.245.1.35]) by sbcs.cs.sunysb.edu (8.9.3/8.9.3) with SMTP id NAA00086 for ; Thu, 18 Apr 2002 13:03:52 -0400 (EDT) Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2744 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2744 it always sets mark, even if it is called as (set-mark-command 1). In the latter case it should jump to mark instead of setting it. It seems that the correct behavior was broken by the latest change: revision 1.535 date: 2002/04/14 17:27:55; author: kfstorm; state: Exp; lines: +64 -22 (pop-to-mark-command, push-mark-command): New commands. (set-mark-command): Use them. Enhanced functionality when command is repeated: - If first command set the mark (no prefix arg), repeat temporarily enables transient-mark-mode. - If first command jumped to mark off ring (with argument), repeat (with or without arg) jump to next mark off ring. - Use C-u C-u prefix to set mark after jump. (exchange-point-and-mark): Temporarily enable transient-mark-mode if prefix arg.