Carsten Dominik wrote:
> Dear Robert,
>
> also region-active-p requires transient-mark-mode to be active, if you look
> at the definition of the region-active-p function, you will see that.
>
> transient-mark-mode is on by default in Emacs. Why did you turn it
> *off* in the
> first place?
Dear Robert,
also region-active-p requires transient-mark-mode to be active, if you
look
at the definition of the region-active-p function, you will see that.
transient-mark-mode is on by default in Emacs. Why did you turn it
*off* in the
first place?
- Carsten
On Dec 17, 2008, at 3
Carsten Dominik wrote:
> Hi Robert,
>
> no, I do not think this would make sense, to step out with
> an error, because all the commands that need a region will
> also work without one. This is how regions work in Emacs.
>
> If you find places in the documentation where this could
> be made clear
Hi Robert,
no, I do not think this would make sense, to step out with
an error, because all the commands that need a region will
also work without one. This is how regions work in Emacs.
If you find places in the documentation where this could
be made clearer, let me know.
Thanks.
- Carsten
Hi Robert
On Mon, Dec 15, 2008 at 7:51 PM, Robert Goldman wrote:
> [I found this because I tried to publish a subtree of an org file, and I
> found that org-region-active-p was NIL even after C-c @
> (outline-mark-subtree).]
>
> This may be an oddity of aquamacs -- it seems to prefer cua-mode and
Carsten Dominik wrote:
> Hi Robert,
>
> Samuel has it right, let me add this:
>
> In Emacs, you do never remove the mark from the buffer, it is always
> there, wherever you or some command last left it. The only way to tell
> if the user intends to apply a command to a region is therefore the
>
Hi Robert,
Samuel has it right, let me add this:
In Emacs, you do never remove the mark from the buffer, it is always
there, wherever you or some command last left it. The only way to
tell if the user intends to apply a command to a region is therefore
the state of a flag that says if the
My limited understanding is this:
Without the concept of activeness, you can't tell whether to operate
on a single thing or a region.
Old workarounds were to have -region commands, which polluted the key
space; or C-u, which polluted the prefix space. t-m-m came along and
solved it. Region vers
The definition of org-region-active-p in my copy of org-mode is as follows:
(defun org-region-active-p ()
"Is `transient-mark-mode' on and the region active?
Works on both Emacs and XEmacs."
(if org-ignore-region
nil
(if (featurep 'xemacs)
(and zmacs-regions (region-active-p