GNU bug report logs -
#2760
CUA-like stuff spuriously enables transient-mark-mode.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Mon, 23 Mar 2009 22:45:04 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
Message #35 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
>> Where do you see it hardcoded in the command loop?
> In Fcall_interactively, Lines 207 and 231, where it is interpreting the
> interactive string:
> else if (*string == '^')
> {
> if (! NILP (Vshift_select_mode))
> call1 (Qhandle_shift_selection, Qnil); <================
> /* Even if shift-select-mode is off, temporarily active
> regions could be set using the mouse, and should be
> deactivated. */
> else if (CONSP (Vtransient_mark_mode)
> && EQ (XCAR (Vtransient_mark_mode), Qonly))
> call1 (Qhandle_shift_selection, Qt); <================
> string++;
> }
> .
I see. I guess we just disagree on what is meant by "hardcoded in the
command loop": this code is explicitly requested by the "^" code in the
`interactive' string of a command, so it seems (to me) pretty far from
"hardcoded in the command loop".
Stefan
This bug report was last modified 16 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.