unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs set marker behavior
@ 2012-05-01 13:06 Yuan Luo
  2012-05-01 13:14 ` Bastien
  2012-05-01 13:18 ` XeCycle
  0 siblings, 2 replies; 4+ messages in thread
From: Yuan Luo @ 2012-05-01 13:06 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

Hi,
I am annoyed by the behavior that out of a sudden emacs set marker on
current cursor point and if I go to the end of line or go to the end of
buffer, it selects the regions and by the time I type, that region is cut &
gone!

I want to change its behavior so unless I press Ctrl+@, emacs never sets
marker itself, how do I do that?

Best,
Yuan

[-- Attachment #2: Type: text/html, Size: 423 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs set marker behavior
  2012-05-01 13:06 emacs set marker behavior Yuan Luo
@ 2012-05-01 13:14 ` Bastien
  2012-05-01 13:18 ` XeCycle
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2012-05-01 13:14 UTC (permalink / raw)
  To: Yuan Luo; +Cc: help-gnu-emacs

Yuan Luo <yuan.hypnos.luo@gmail.com> writes:

> I am annoyed by the behavior that out of a sudden emacs set marker on
> current cursor point and if I go to the end of line or go to the end
> of buffer, it selects the regions and by the time I type, that region
> is cut & gone!
>
> I want to change its behavior so unless I press Ctrl+@, emacs never
> sets marker itself, how do I do that?

(setq delete-active-region nil) so that it doesn't delete the active
region.

-- 
 Bastien



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs set marker behavior
  2012-05-01 13:06 emacs set marker behavior Yuan Luo
  2012-05-01 13:14 ` Bastien
@ 2012-05-01 13:18 ` XeCycle
  1 sibling, 0 replies; 4+ messages in thread
From: XeCycle @ 2012-05-01 13:18 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

Yuan Luo <yuan.hypnos.luo@gmail.com> writes:

> Hi,
>
> I am annoyed by the behavior that out of a sudden emacs set
> marker on current cursor point and if I go to the end of line or
> go to the end of buffer, it selects the regions and by the time I
> type, that region is cut & gone! 
>
> I want to change its behavior so unless I press Ctrl+@, emacs
> never sets marker itself, how do I do that?

These markers are useful, but you have probably configured
something else so that these markers become active.  Figure out
what's that, and disable that.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs set marker behavior
       [not found] <mailman.354.1335877571.855.help-gnu-emacs@gnu.org>
@ 2012-05-19 19:44 ` B. T. Raven
  0 siblings, 0 replies; 4+ messages in thread
From: B. T. Raven @ 2012-05-19 19:44 UTC (permalink / raw)
  To: help-gnu-emacs

Die Tue May 01 2012 08:06:03 GMT-0500 (Central Daylight Time) Yuan Luo
<yuan.hypnos.luo@gmail.com> scripsit:

> Hi,
> I am annoyed by the behavior that out of a sudden emacs set marker on
> current cursor point and if I go to the end of line or go to the end of
> buffer, it selects the regions and by the time I type, that region is
> cut & gone! 
> 
> I want to change its behavior so unless I press Ctrl+@, emacs never sets
> marker itself, how do I do that?
> 
> Best,
> Yuan

You mean mark instead of marker, right?
Is this using mouse in console? See gpm-mouse-mode. Also
delete-selection-mode.
Then, you could substitute the "nomark" flavors of many functions for
their "mark" varieties where appropriate.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-19 19:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-01 13:06 emacs set marker behavior Yuan Luo
2012-05-01 13:14 ` Bastien
2012-05-01 13:18 ` XeCycle
     [not found] <mailman.354.1335877571.855.help-gnu-emacs@gnu.org>
2012-05-19 19:44 ` B. T. Raven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).