GNU bug report logs - #1475
Bind a few more common key combinations in mac-key-mode.el

Previous Next

Package: notemacs;

Reported by: "Brett Hoerner" <bretthoerner <at> gmail.com>

Date: Tue, 2 Dec 2008 23:10:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1475 in the body.
You can then email your comments to 1475 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1475; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Brett Hoerner" <bretthoerner <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Brett Hoerner" <bretthoerner <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Bind a few more common key combinations in mac-key-mode.el
Date: Tue, 2 Dec 2008 17:01:57 -0600
In other Mac application it is common to be able to combine Shift with
Command + Direction shortcuts to select text in that direction.

The following is a tiny patch that makes it so you can, for example,
Command+Shift+Left to select to the beginning of the line, or
Common+Shift+Down to select the rest of the buffer.

Brett


--- a/mac-key-mode.el	2008-12-02 16:56:30.000000000 -0600
+++ b/mac-key-mode.el	2008-12-02 16:57:04.000000000 -0600
@@ -117,6 +117,10 @@
     (define-key map [(alt c)] 'clipboard-kill-ring-save)
     (define-key map [(alt v)] 'clipboard-yank)
     (define-key map [(alt a)] 'mark-whole-buffer)
+    (define-key map [(alt shift left)] 'beginning-of-line-mark)
+    (define-key map [(alt shift right)] 'end-of-line-mark)
+    (define-key map [(alt shift up)] 'beginning-of-buffer-mark)
+    (define-key map [(alt shift down)] 'end-of-buffer-mark)
     (define-key map [(alt f)] 'isearch-forward)
     (define-key map [(alt meta f)] 'occur)
     (define-key map [(alt g)] 'isearch-repeat-forward)





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1475; Package emacs. Full text and rfc822 format available.

Message #8 received at 1475 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Brett Hoerner <bretthoerner <at> gmail.com>
Cc: 1475 <at> debbugs.gnu.org
Subject: Re: bug#1475: Bind a few more common key combinations in mac-key-mode.el
Date: Tue, 02 Dec 2008 18:58:20 -0500
reassign 1475 notemacs
stop

"Brett Hoerner" wrote:

> --- a/mac-key-mode.el	2008-12-02 16:56:30.000000000 -0600
> +++ b/mac-key-mode.el	2008-12-02 16:57:04.000000000 -0600


mac-key-mode.el is not part of Emacs.




bug reassigned from package `emacs' to `notemacs'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 03 Dec 2008 00:05:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, don <at> donarmstrong.com:
bug#1475; Package notemacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to don <at> donarmstrong.com. Full text and rfc822 format available.

Message #15 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Brett Hoerner <bretthoerner <at> gmail.com>
Cc: 1475 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#1475: Bind a few more common key combinations in mac-key-mode.el
Date: Tue, 02 Dec 2008 21:56:14 -0500
> In other Mac application it is common to be able to combine Shift with
> Command + Direction shortcuts to select text in that direction.

What version of Emacs are you using?
In the upcoming Emacs-23, there is generalized support for
shift+<movement> to select text, so it should "just work".


        Stefan





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, don <at> donarmstrong.com:
bug#1475; Package notemacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to don <at> donarmstrong.com. Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, don <at> donarmstrong.com:
bug#1475; Package notemacs. Full text and rfc822 format available.

Acknowledgement sent to "Brett Hoerner" <bretthoerner <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to don <at> donarmstrong.com. Full text and rfc822 format available.

Message #25 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Brett Hoerner" <bretthoerner <at> gmail.com>
To: 1475 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#1475: Bind a few more common key combinations in mac-key-mode.el
Date: Tue, 2 Dec 2008 22:21:10 -0600
On Tue, Dec 2, 2008 at 5:58 PM, Glenn Morris <rgm <at> gnu.org> wrote:
> mac-key-mode.el is not part of Emacs.

Oops, sorry guys.  I took my patch over to the Carbon Emacs list.


On Tue, Dec 2, 2008 at 8:56 PM, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:
>> In other Mac application it is common to be able to combine Shift with
>> Command + Direction shortcuts to select text in that direction.
>
> What version of Emacs are you using?
> In the upcoming Emacs-23, there is generalized support for
> shift+<movement> to select text, so it should "just work".

I'm using Carbon Emacs (22), with mac-key-mode and other bundled
packages I can Shift+<movement>, but it doesn't have support for
Shift+<command>+<movement> to do quicker / larger selections.

Brett





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, don <at> donarmstrong.com:
bug#1475; Package notemacs. Full text and rfc822 format available.

Acknowledgement sent to "Brett Hoerner" <bretthoerner <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to don <at> donarmstrong.com. Full text and rfc822 format available.

bug closed, send any further explanations to 1475 <at> debbugs.gnu.org and "Brett Hoerner" <bretthoerner <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 26 Feb 2011 22:02:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 27 Mar 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.