From unknown Wed Jun 18 23:07:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1475 <1475@debbugs.gnu.org> To: bug#1475 <1475@debbugs.gnu.org> Subject: Status: Bind a few more common key combinations in mac-key-mode.el Reply-To: bug#1475 <1475@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:07:24 +0000 retitle 1475 Bind a few more common key combinations in mac-key-mode.el reassign 1475 notemacs submitter 1475 "Brett Hoerner" severity 1475 normal thanks From bretthoerner@gmail.com Tue Dec 2 15:02:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,MURPHY_DRUGS_REL8, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Dec 2008 23:02:04 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB2N21Uw028366 for ; Tue, 2 Dec 2008 15:02:02 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7eFl-0001AT-5s for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 18:02:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7eFj-0001AH-Mz for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 18:02:00 -0500 Received: from [199.232.76.173] (port=47500 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7eFj-0001AE-KN for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 18:01:59 -0500 Received: from mail-qy0-f17.google.com ([209.85.221.17]:59130) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7eFj-0005IZ-3w for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 18:01:59 -0500 Received: by qyk10 with SMTP id 10so5706983qyk.18 for ; Tue, 02 Dec 2008 15:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=i3SAEa0q7zPaFa6QDMBmiPNdsckoSSPjt64ksYmLivw=; b=cNXXjGIfyTh0O0mGw6yyGQKbOUoTaTdM1J9zyeLwr+P9sKFSjMaAu6jK2ep9NYOARC cyXvJO/DSp1+9kOO1fxgxJ3E8b6CKdjKcIFBsEdcZMOn8kVBEQv3/VgiMQ4up24RG4Fq 5LeFTs3FH8+sojvXoKhe1dAvBKkVt0FgG2yX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=vEjM5n4b53WYYRWgQYta9DmqS/fhz4X+9fVykT/famQJNSOajPEg/trG2XeAgPlS/M oQ/dYHPBEQs3zDK99dZd0PtKmYPUNzL9+uXHseq/wJQ+VlXBMMrtXZkrXGssasT4cAqY 9pdMEwv1vvOhn5trTfivZ6WZi1QMajnenx07g= Received: by 10.214.44.1 with SMTP id r1mr12441123qar.203.1228258917383; Tue, 02 Dec 2008 15:01:57 -0800 (PST) Received: by 10.214.242.12 with HTTP; Tue, 2 Dec 2008 15:01:57 -0800 (PST) Message-ID: Date: Tue, 2 Dec 2008 17:01:57 -0600 From: "Brett Hoerner" To: bug-gnu-emacs@gnu.org Subject: Bind a few more common key combinations in mac-key-mode.el MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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) From rgm@gnu.org Tue Dec 2 15:58:55 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-13.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED,VALID_BTS_CONTROL,X_DEBBUGS_NO_ACK autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1475) by emacsbugs.donarmstrong.com; 2 Dec 2008 23:58:55 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB2NwlHm010131; Tue, 2 Dec 2008 15:58:48 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L7f8G-0000DV-9T; Tue, 02 Dec 2008 18:58:20 -0500 From: Glenn Morris To: Brett Hoerner Cc: 1475@debbugs.gnu.org Subject: Re: bug#1475: Bind a few more common key combinations in mac-key-mode.el References: X-Spook: Afghanistan security Delta Force undercover AGT. AMME X-Ran: .7Z{&^.|.TK,W[I.bD*]:5Wm[=7H"f%#:%fR}Iw (Brett Hoerner's message of "Tue, 2 Dec 2008 17:01:57 -0600") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. From monnier@iro.umontreal.ca Tue Dec 2 18:56:22 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Dec 2008 02:56:23 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB32uKwF024060 for ; Tue, 2 Dec 2008 18:56:21 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7huV-0006NJ-SY for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 21:56:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7huU-0006My-Ez for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 21:56:19 -0500 Received: from [199.232.76.173] (port=45774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7huU-0006Mv-Al for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 21:56:18 -0500 Received: from ironport2-out.pppoe.ca ([206.248.154.182]:39256 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7huT-0000I5-Vv for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 21:56:18 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswEAEuENUnO+Jkl/2dsb2JhbACBbdESgn+BIw X-IronPort-AV: E=Sophos;i="4.33,705,1220241600"; d="scan'208";a="30568075" Received: from 206-248-153-37.dsl.teksavvy.com (HELO ceviche.home) ([206.248.153.37]) by ironport2-out.teksavvy.com with ESMTP; 02 Dec 2008 21:56:16 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 7B463B400C; Tue, 2 Dec 2008 21:56:14 -0500 (EST) From: Stefan Monnier To: Brett Hoerner Cc: 1475@debbugs.gnu.org, bug-gnu-emacs@gnu.org Subject: Re: bug#1475: Bind a few more common key combinations in mac-key-mode.el Message-ID: References: Date: Tue, 02 Dec 2008 21:56:14 -0500 In-Reply-To: (Brett Hoerner's message of "Tue, 2 Dec 2008 17:01:57 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. > 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+ to select text, so it should "just work". Stefan From bretthoerner@gmail.com Tue Dec 2 20:21:16 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-9.0 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Dec 2008 04:21:16 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB34LDvA014008 for ; Tue, 2 Dec 2008 20:21:14 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7jEe-00019Z-TM for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 23:21:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7jEd-00019D-HI for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 23:21:11 -0500 Received: from [199.232.76.173] (port=53139 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7jEd-00019A-D6 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 23:21:11 -0500 Received: from qw-out-1920.google.com ([74.125.92.148]:3917) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7jEd-0006Ef-43 for bug-gnu-emacs@gnu.org; Tue, 02 Dec 2008 23:21:11 -0500 Received: by qw-out-1920.google.com with SMTP id 4so757273qwk.24 for ; Tue, 02 Dec 2008 20:21:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1u9DSPZgILnXZAawVDgCS54k88n4/pJl9Zx5W2JAbEM=; b=RPqlRwgv44axon8llk58bqN5QcxeNHJiZR/Jn4XhU3pwOblhbccyOFuMECiUZiGG+T HVGkRj57n1xTAzdAgkW8tivNnW1tRlKpucCG95nYLCB2jKma3yzrk9hDM4ju0MrLJBOn 7+LPt30LY0ods1WMv/c4+QHBvHHH0Ak4MZ6j4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ne6ibsUQa8Yzcx0cFqH9adDicXaJBdyCvsI5QCnKZzivKqxl4NS2kcJFGharz5Qu5B uxxUmEHTi2FT3/KJIIRPF1dqtvh+zqFFsvDRdv6GBOJVVlIIsusOq93QgrseZnyVy5be /p9aqrj2LVGUaWRyS5cMnglBDJSNYQcYMpr6I= Received: by 10.214.60.13 with SMTP id i13mr12748749qaa.213.1228278070044; Tue, 02 Dec 2008 20:21:10 -0800 (PST) Received: by 10.214.242.12 with HTTP; Tue, 2 Dec 2008 20:21:10 -0800 (PST) Message-ID: Date: Tue, 2 Dec 2008 22:21:10 -0600 From: "Brett Hoerner" To: 1475@debbugs.gnu.org, bug-gnu-emacs@gnu.org Subject: Re: bug#1475: Bind a few more common key combinations in mac-key-mode.el In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-CrossAssassin-Score: 2 On Tue, Dec 2, 2008 at 5:58 PM, Glenn Morris 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 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+ 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+, but it doesn't have support for Shift++ to do quicker / larger selections. Brett From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 17:01:29 2011 Received: (at control) by debbugs.gnu.org; 26 Feb 2011 22:01:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtSCf-0007aW-9W for submit@debbugs.gnu.org; Sat, 26 Feb 2011 17:01:29 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtSCe-0007aK-2k for control@debbugs.gnu.org; Sat, 26 Feb 2011 17:01:28 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PtSCY-0000fs-UJ for control@debbugs.gnu.org; Sat, 26 Feb 2011 17:01:22 -0500 Date: Sat, 26 Feb 2011 17:01:22 -0500 Message-Id: Subject: control message for bug 1475 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) close 1475 From unknown Wed Jun 18 23:07:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Mar 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator