From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Dominik Newsgroups: gmane.emacs.bugs Subject: bug#1959: 23.0.60; org-mode does not honour shift-select-mode Date: Mon, 19 Jan 2009 21:54:31 +0100 Message-ID: <28B24655-C322-482B-8615-820CA6A99D09__40046.7677660801$1232399102$gmane$org@gmail.com> References: <200901191709.n0JH9aPe012455@localhost.localdomain> Reply-To: Carsten Dominik , 1959@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232399023 21110 80.91.229.12 (19 Jan 2009 21:03:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 21:03:43 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Carsten Dominik , Emacs-orgmode mailing list , andreas.amann@web.de To: Andreas Amann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 22:04:54 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LP1Ij-0001Se-JO for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 22:04:54 +0100 Original-Received: from localhost ([127.0.0.1]:39357 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP1HS-0005Vs-KM for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 16:03:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LP1HP-0005Vk-Ab for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:03:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LP1HO-0005VY-Lh for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:03:31 -0500 Original-Received: from [199.232.76.173] (port=59928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP1HO-0005VV-HB for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:03:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54467) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LP1HN-0000Sp-Te for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 16:03:30 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0JL3RnZ017890; Mon, 19 Jan 2009 13:03:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0JL03C7016824; Mon, 19 Jan 2009 13:00:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Carsten Dominik Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 19 Jan 2009 21:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1959 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123239849015523 (code B ref -1); Mon, 19 Jan 2009 21:00:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 19 Jan 2009 20:54:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 n0JKsgu2015517 for ; Mon, 19 Jan 2009 12:54:43 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:56472) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LP17S-0001bY-8i for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 15:53:14 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LP18o-00084g-Rj for emacs-pretest-bug@gnu.org; Mon, 19 Jan 2009 15:54:41 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.147]:23371) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LP18o-00082v-Cc; Mon, 19 Jan 2009 15:54:38 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 4so311579eyg.24 for ; Mon, 19 Jan 2009 12:54:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=9BRVzrOdVHjbGcc/zrUSMi+wF3HjnujGE0Rs6IMsbPY=; b=abioF8OVxu5uLrEItgF0zW1S+9Rg7XZpaVe49dfJ508B4ZilJ6RUTyClvBTKGBGkcx eb90zlTzjTowgT4B1mLqJYe4Yh3JjvQGTpT21WCigNX0L0IORLLpi38//pMyrnaLzAmR RVsGGoxIvN/tS5mH7O/hMgd5wNrkgtqnYklu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=MDDxXsY5577nOirEOgGu0OXcX1Q9l3ZBw4FZpZOAwwOA1zgnQErh9jOx3VDcRUOBc+ Av/NdAdo2SDCPBSfH3dsIHE+Ek0cPPOiAIqDkIBDNNRLNq4tSmnXvWN5XKXo2grWAsa/ 8nwxBq7oxkznLRuFgQMy2VymXhZMwRpYMNhVA= Original-Received: by 10.210.90.20 with SMTP id n20mr3752811ebb.198.1232398474333; Mon, 19 Jan 2009 12:54:34 -0800 (PST) Original-Received: from ?192.168.1.10? (dc5146846e.adsl.wanadoo.nl [81.70.132.110]) by mx.google.com with ESMTPS id 34sm15793653nfu.42.2009.01.19.12.54.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Jan 2009 12:54:33 -0800 (PST) In-Reply-To: <200901191709.n0JH9aPe012455@localhost.localdomain> X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 19 Jan 2009 16:03:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24289 Archived-At: I am aware of this conflict, but I had no idea that this mode is on by default? What ever happened with Emacs that we have become this much Windows- biased???? Anyway, if the Emacs Gods decide that this has to change, the way to do it would be this: - Carsten --- org.el.orig 2009-01-19 21:52:10.000000000 +0100 +++ org.el 2009-01-19 21:52:42.000000000 +0100 @@ -246,7 +246,7 @@ :group 'org-startup :type 'boolean) -(defcustom org-replace-disputed-keys nil +(defcustom org-replace-disputed-keys shift-select-mode "Non-nil means use alternative key bindings for some keys. Org-mode uses S- keys for changing timestamps and priorities. These keys are also used by other packages like `CUA-mode' or `windmove.el'. On Jan 19, 2009, at 6:09 PM, Andreas Amann wrote: > start with "emacs -Q test.org" > > type "* bla" > and then shift-left > > expected behaviour: since shift-select-mode is set to t by default > (see src/callint.c), I would expect that shift-movements select > a region, and that major modes should not override this behaviour, > without being asked of doing so. > > actual behaviour: upon shift-left the binding org-shiftleft is called > which marks the current item as "DONE". This is very confusing for > people accostumed to shift-selection, which works very well in all > other emacs modes I know. > > Possible solution: in lisp/org/org.el > only include the bindings > > '([(shift up)] org-shiftup) > '([(shift down)] org-shiftdown) > '([(shift left)] org-shiftleft) > '([(shift right)] org-shiftright) > > if the variable shift-select-mode is nil. > > > > > In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d > scroll bars) > of 2009-01-14 on lnx0015f2465ec6 > Windowing system distributor `The X.Org Foundation', version > 11.0.10300000 > configured using `configure '--prefix=/home/aamann/local/emacs-cvs' > 'LDFLAGS=-L/home/aamann/local/lib64' 'CPPFLAGS=-I/home/aamann/local/ > include'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: en_IE.utf8 > value of $XMODIFIERS: @im=none > locale-coding-system: utf-8-unix > default-enable-multibyte-characters: t > > Major mode: Org > > Minor modes in effect: > tooltip-mode: t > tool-bar-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > global-auto-composition-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > * S-SPC b l a > > > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > test.org has auto save data; consider M-x recover-this-file > OVERVIEW