all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: C-u C-space
Date: Thu, 10 May 2007 17:34:47 +1000	[thread overview]
Message-ID: <878xbxgmi0.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.470.1178751193.32220.help-gnu-emacs@gnu.org

A Soare <alinsoar@voila.fr> writes:

> Today I learned about this.
>
> Now I am trying to find out what command is associated with C-u C-space. I do
>
> C-h k C-u .
>
> It appears <<C-u runs the command universal-argument>> . I did not arrive to press C-space.
>
> Is it a bug? Or I used wrong describe-key ?
>

No, its not a bug. C-u is the 'universal-argument, which basically means it is
a type of modifier for some functions. So, what you need to do is look up what
C-space does and you will probably find it states that the behavior of the
function is modified by using the optional argument, which is usually refered
to as the prefix argument. See below -

Tim


,----[ C-h k  CONTROL SPACE  ]
|  CONTROL SPACE  runs the command set-mark-command
|   which is an interactive compiled Lisp function in `simple.el'.
| It is bound to  control @ ,  CONTROL SPACE .
| (set-mark-command ARG)
| 
| Set the mark where point is, or jump to the mark.
| Setting the mark also alters the region, which is the text
| between point and mark; this is the closest equivalent in
| Emacs to what some editors call the "selection".
| 
| With no prefix argument, set the mark at point, and push the
| old mark position on local mark ring.  Also push the old mark on
| global mark ring, if the previous mark was set in another buffer.
| 
| Immediately repeating this command activates `transient-mark-mode' temporarily.
| 
| With prefix argument (e.g., C-u C-@), jump to the mark, and set the mark from
| position popped off the local mark ring (this does not affect the global
| mark ring).  Use C-x C-@ to jump to a mark popped off the global
| mark ring (see `pop-global-mark').
| 
| If `set-mark-command-repeat-pop' is non-nil, repeating
| the C-@ command with no prefix argument pops the next position
| off the local (or global) mark ring and jumps there.
| 
| With C-u C-u as prefix
| argument, unconditionally set mark where point is, even if
| `set-mark-command-repeat-pop' is non-nil.
| 
| Novice Emacs Lisp programmers often try to use the mark for the wrong
| purposes.  See the documentation of `set-mark' for more information.
| 
| This function is advised.
| 
| After-advice `emacspeak':
| Produce an auditory icon if possible.
`----

-- 
tcross (at) rapttech dot com dot au

  parent reply	other threads:[~2007-05-10  7:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.470.1178751193.32220.help-gnu-emacs@gnu.org>
2007-05-09 23:11 ` C-u C-space Tyler Smith
2007-05-10  7:34 ` Tim X [this message]
2007-05-09 22:45 A Soare
2007-05-09 22:54 ` Maciej Katafiasz
2007-05-09 22:54 ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878xbxgmi0.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.