From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: bundling C-u C-space Date: Sat, 10 Oct 2015 13:24:04 -0800 Organization: AkWebsoft Message-ID: <20151010212404.GJ3342@mail.akwebsoft.com> References: <20151010200341.GI3342@mail.akwebsoft.com> <92e61c97-c2c5-46e5-a5c7-cfe3b08a9e40@default> <628afed9-4639-4357-b0ee-9ee3c998228e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1444512271 8721 80.91.229.3 (10 Oct 2015 21:24:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2015 21:24:31 +0000 (UTC) To: Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 10 23:24:22 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zl1cq-0003O1-2V for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Oct 2015 23:24:20 +0200 Original-Received: from localhost ([::1]:46436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zl1cp-0007Nb-DL for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Oct 2015 17:24:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zl1cd-0007NO-TW for Help-gnu-emacs@gnu.org; Sat, 10 Oct 2015 17:24:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zl1ca-0006ef-Qg for Help-gnu-emacs@gnu.org; Sat, 10 Oct 2015 17:24:07 -0400 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:33743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zl1ca-0006eL-Iz for Help-gnu-emacs@gnu.org; Sat, 10 Oct 2015 17:24:04 -0400 Original-Received: by tj49.com (Postfix, from userid 1000) id D14DA20049B; Sat, 10 Oct 2015 13:24:04 -0800 (AKDT) Mail-Followup-To: Emacs Content-Disposition: inline In-Reply-To: <628afed9-4639-4357-b0ee-9ee3c998228e@default> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107574 Archived-At: * Drew Adams [151010 12:47]: > > > I'd like to get the functionality of Control-u Control-space in > > > one keystroke (for instance, Control-,) > > > > (global-set-key (kbd "C-,") 'pop-to-mark-command) > > BTW, you could discover `pop-to-mark-command' (it is not mentioned > in the manual) this way: > > C-h k C-@ > tells you that that command is `set-mark-command'. > > Click the link in buffer *Help* that takes you to the command > definition in `simple.el'. > > M-x debug-on-entry set-mark-command > > C-u C-@ > > and walk through the debugger, to see what functions are used > to provide the behavior. You'll see that only function > `pop-to-mark-command' is invoked. > > It's name suggests that it might be a command, but > `C-h f pop-to-mark-command' confirms this. It is all you need. As I expected ... additional edification. Do I understand correctly that 4 is the default value when C-u is used without a value as in C-u C-@ ? Thanks, Drew -- Tim http://www.akwebsoft.com, http://www.tj49.com