Opened 13 years ago

Closed 11 years ago

#94 closed defect (wontfix)

c-w/m-w doesn't work on region unless selected

Reported by: gz Owned by: gb
Priority: minor Milestone:
Component: IDE Version:
Keywords: Cc:


I think c-w/m-w should operate on the emacs region, i.e. the text between point and mark, regardless of whether it's visibly selected. Both MCL and Aquamacs do so.

Change History (3)

comment:1 Changed 11 years ago by rme

(Sorry if I'm stating the obvious here.)

In Hemlock, by default the region must be "activated" (via C-x C-space) in order for certain commands to operate.

If the Hemlock variable "Active Regions Enabled" is set to nil, then C-w and M-w will work without having to activate the region first.

We could make "Active Regions Enabled" be off by default.

comment:2 Changed 11 years ago by gz

I'd need to look at which other commands obey it, but I suspect I wouldn't want it off by default. I guess I was just suggesting that c-w and m-w be in the category of commands that are willing to operate on an inactive region even if "Active Regions Enabled" is not set. The justification would be that they are sort of intrinsically emacs-weenie commands, because a non-emacs user is more likely to use Cmd-X or Cmd-C.

comment:3 Changed 11 years ago by gz

  • Resolution set to wontfix
  • Status changed from new to closed

I should add however that I haven't been bothered by this recently, as I apparently was 2 years ago... Either I got used to it or perhaps the handling of the selection has improved in general so that this case doesn't stand out. Anyway, I'm fine with marking this "wontfix". In fact, I'll do so right now.

Note: See TracTickets for help on using tickets.