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#1958: 23.0.60; org-mode does not honour shift-select-mode Date: Tue, 27 Jan 2009 12:46:26 +0100 Message-ID: <46BCBBB3-2ECB-471E-AE22-D5D0A6C088E1@uva.nl> References: <87r62y7jin.fsf@cyd.mit.edu> <87mydmw0wx.fsf@cyd.mit.edu> <200901231234.41025.andreas.amann@tyndall.ie> Reply-To: Carsten Dominik , 1958@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 1233057925 1527 80.91.229.12 (27 Jan 2009 12:05:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 12:05:25 +0000 (UTC) Cc: 1958@emacsbugs.donarmstrong.com, Chong Yidong , Carsten Dominik To: Andreas Amann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 13:06:37 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 1LRmhY-00030W-CD for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 13:05:57 +0100 Original-Received: from localhost ([127.0.0.1]:54098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRmgG-00013k-8J for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 07:04:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRmfH-0000hZ-1l for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 07:03:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRmfF-0000gf-7h for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 07:03:34 -0500 Original-Received: from [199.232.76.173] (port=52022 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRmfE-0000gT-Pb for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 07:03:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38048) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRmfE-0006On-35 for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 07:03:32 -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 n0RC3T2n028926; Tue, 27 Jan 2009 04:03:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0RC02m8027777; Tue, 27 Jan 2009 04:00:02 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Carsten Dominik Original-Sender: Carsten Dominik Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Tue, 27 Jan 2009 12:00:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1958 X-Emacs-PR-Package: emacs,org-mode X-Emacs-PR-Keywords: wontfix Original-Received: via spool by 1958-submit@emacsbugs.donarmstrong.com id=B1958.123305705726474 (code B ref 1958); Tue, 27 Jan 2009 12:00:02 +0000 Original-Received: (at 1958) by emacsbugs.donarmstrong.com; 27 Jan 2009 11:50:57 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-ew0-f10.google.com (mail-ew0-f10.google.com [209.85.219.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0RBomto026468 for <1958@emacsbugs.donarmstrong.com>; Tue, 27 Jan 2009 03:50:50 -0800 Original-Received: by ewy3 with SMTP id 3so8396630ewy.1 for <1958@emacsbugs.donarmstrong.com>; Tue, 27 Jan 2009 03:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=PDTt6Tssmi42Y04t4ej0UBdXxkGc/PkEkHSx9/pQs/s=; b=mR0zeBVsrKl8m09PiU+7NxK+3kNF0toyZbGCnHndmcTegnlcqCSdf/Z5SBM73n3a4j 3AzflxFjCm9mLC1kv2tXSF5G+Y6v2m8qdGpY/ScqWjwzYqU2LcsP5gaLa7wTSb0mkhRn wQo++ghQ4scIhghKQTFoQIQFyRR0XYLxpnnic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=wI9gsqxuHSLGqL8RnTqjxeHkuLwD8EhSQvlbYCuvX0YPwHEYyGGGP9igA43ZMY1kOe VBFJgFyd/uJ13czE0RqGZFe4nZIcA8s0cX9djMdbfngVKMj/tmEPxMMbAm4ZXDxn9ePd z7vD8sFPaPqq9IpgTurf8rYxVXBqirxhwjShA= Original-Received: by 10.210.91.17 with SMTP id o17mr465315ebb.28.1233056890273; Tue, 27 Jan 2009 03:48:10 -0800 (PST) Original-Received: from nb-dominik2.science.uva.nl (nb-dominik2.science.uva.nl [146.50.22.167]) by mx.google.com with ESMTPS id 5sm44150717nfv.58.2009.01.27.03.46.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jan 2009 03:46:29 -0800 (PST) In-Reply-To: <200901231234.41025.andreas.amann@tyndall.ie> X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 27 Jan 2009 07:03:34 -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:24608 Archived-At: This bug is now closed, do I need to do something to mark it as such? I have now checked in a patch that allows users to set a variable to get shift-selection working in most or all of Org. But the default remains to be the old behavior, because it seems to may that automatically doing shift-selection in some places but not in other will be confusing to users. The solution is now that an attempt to do shift selection will cause an error message with a pointer to the variable that needs to be configured. In this way, users can make an informed decision. - Carsten On Jan 23, 2009, at 1:34 PM, Andreas Amann wrote: > > May I just add one little aspect to this: > > Note that in org-mode the shift-arrow keys only work, when the > cursor is on an item line > (i.e. one starting with at least one "*")! Otherwise the shift-arrow > keys simply give the error > "Not in an item", and blocks a potentially useful binding without > real benefit. > > Would it therefore be possible to only switch on the org-specific > shift-arrow binding on item lines, > where they are only useful anyhow? I.e. instead of printing the > error message, one could fall back > to whatever the standard binding outside org-mode is. This would be > fairly intuitive from a user > point of view in my opinion. The only complication might be to > decide, what should happen, when > shift-selecting from a non-item line into an item line. > > Andreas