unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1958: 23.0.60; org-mode does not honour shift-select-mode
@ 2009-01-19 17:09 ` Andreas Amann
  2009-01-19 20:54   ` bug#1959: " Carsten Dominik
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andreas Amann @ 2009-01-19 17:09 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: carsten, andreas.amann

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 <S-left> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <send-emacs-bug-report>

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#1959: 23.0.60; org-mode does not honour shift-select-mode
  2009-01-19 17:09 ` bug#1958: 23.0.60; org-mode does not honour shift-select-mode Andreas Amann
@ 2009-01-19 20:54   ` Carsten Dominik
       [not found]   ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
  2009-01-27 14:10   ` bug#1958: " Emacs bug Tracking System
  2 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-01-19 20:54 UTC (permalink / raw)
  To: Andreas Amann
  Cc: emacs-pretest-bug, Carsten Dominik, Emacs-orgmode mailing list,
	andreas.amann


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-<cursor> 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 <S-left> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
> <help-menu> <send-emacs-bug-report>
>
> 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







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#1966: 23.0.60; org-mode does not honour shift-select-mode
       [not found]   ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
  2009-01-20 10:12     ` bug#1958: " Andreas Amann
@ 2009-01-20 10:12     ` Andreas Amann
  2009-01-27 14:10     ` bug#1959: marked as done (23.0.60; org-mode does not honour shift-select-mode ) Emacs bug Tracking System
  2 siblings, 0 replies; 6+ messages in thread
From: Andreas Amann @ 2009-01-20 10:12 UTC (permalink / raw)
  To: Carsten Dominik
  Cc: emacs-pretest-bug, Carsten Dominik, 1958,
	Emacs-orgmode mailing list, andreas.amann, Andreas Amann

I just tested this patch, and can confirm that it works and solves my
problem. Thanks!

Btw: I never associated shift-select with windows (which I have no
experience with). Wasn't shift-select available with Motif since the 
mid 90's?

Andreas

On Mon, Jan 19, 2009 at 09:54:31PM +0100, Carsten Dominik wrote:
>
> 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-<cursor> 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 <S-left> <help-echo> <help-echo> <help-echo>
>> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
>> <help-menu> <send-emacs-bug-report>
>>
>> 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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#1958: 23.0.60; org-mode does not honour shift-select-mode
       [not found]   ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
@ 2009-01-20 10:12     ` Andreas Amann
  2009-01-20 10:12     ` bug#1966: " Andreas Amann
  2009-01-27 14:10     ` bug#1959: marked as done (23.0.60; org-mode does not honour shift-select-mode ) Emacs bug Tracking System
  2 siblings, 0 replies; 6+ messages in thread
From: Andreas Amann @ 2009-01-20 10:12 UTC (permalink / raw)
  To: Carsten Dominik
  Cc: emacs-pretest-bug, Carsten Dominik, 1958,
	Emacs-orgmode mailing list, andreas.amann, Andreas Amann

I just tested this patch, and can confirm that it works and solves my
problem. Thanks!

Btw: I never associated shift-select with windows (which I have no
experience with). Wasn't shift-select available with Motif since the 
mid 90's?

Andreas

On Mon, Jan 19, 2009 at 09:54:31PM +0100, Carsten Dominik wrote:
>
> 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-<cursor> 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 <S-left> <help-echo> <help-echo> <help-echo>
>> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
>> <help-menu> <send-emacs-bug-report>
>>
>> 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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#1958: marked as done (23.0.60; org-mode does not honour  shift-select-mode )
  2009-01-19 17:09 ` bug#1958: 23.0.60; org-mode does not honour shift-select-mode Andreas Amann
  2009-01-19 20:54   ` bug#1959: " Carsten Dominik
       [not found]   ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
@ 2009-01-27 14:10   ` Emacs bug Tracking System
  2 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-01-27 14:10 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]


Your message dated Tue, 27 Jan 2009 09:03:25 -0500
with message-id <87fxj4luc2.fsf@cyd.mit.edu>
and subject line Re: bug#1958: 23.0.60; org-mode does not honour shift-select-mode
has caused the Emacs bug report #1958,
regarding 23.0.60; org-mode does not honour shift-select-mode 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1958: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1958
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5339 bytes --]

From: "Andreas Amann" <andreas.amann@tyndall.ie>
To: emacs-pretest-bug@gnu.org
Cc: andreas.amann@web.de, carsten@orgmode.org
Subject: 23.0.60; org-mode does not honour shift-select-mode
Date: Mon, 19 Jan 2009 17:09:36 GMT
Message-ID: <200901191709.n0JH9aPe012455@localhost.localdomain>

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 <S-left> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <send-emacs-bug-report>

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



[-- Attachment #3: Type: message/rfc822, Size: 1822 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: Andreas Amann <andreas.amann@tyndall.ie>, 1958-done@emacsbugs.donarmstrong.com, Lennart Borgman <lennart.borgman@gmail.com>
Subject: Re: bug#1958: 23.0.60; org-mode does not honour shift-select-mode
Date: Tue, 27 Jan 2009 09:03:25 -0500
Message-ID: <87fxj4luc2.fsf@cyd.mit.edu>

Carsten Dominik <dominik@science.uva.nl> writes:

> This bug is now closed, do I need to do something to mark it as such?

To close a bug, just send a CC to ####-done@emacsbugs.donarmstrong.com.
I've done that right now.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#1959: marked as done (23.0.60; org-mode does not honour  shift-select-mode )
       [not found]   ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
  2009-01-20 10:12     ` bug#1958: " Andreas Amann
  2009-01-20 10:12     ` bug#1966: " Andreas Amann
@ 2009-01-27 14:10     ` Emacs bug Tracking System
  2 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-01-27 14:10 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]


Your message dated Tue, 27 Jan 2009 09:03:25 -0500
with message-id <87fxj4luc2.fsf@cyd.mit.edu>
and subject line Re: bug#1958: 23.0.60; org-mode does not honour shift-select-mode
has caused the Emacs bug report #1958,
regarding 23.0.60; org-mode does not honour shift-select-mode 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1958: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1958
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 6715 bytes --]

From: Carsten Dominik <carsten.dominik@gmail.com>
To: Andreas Amann <andreas.amann@tyndall.ie>
Cc: emacs-pretest-bug@gnu.org, andreas.amann@web.de, Carsten Dominik <carsten@orgmode.org>, Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: 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@gmail.com>


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-<cursor> 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 <S-left> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
> <help-menu> <send-emacs-bug-report>
>
> 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




[-- Attachment #3: Type: message/rfc822, Size: 1822 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: Andreas Amann <andreas.amann@tyndall.ie>, 1958-done@emacsbugs.donarmstrong.com, Lennart Borgman <lennart.borgman@gmail.com>
Subject: Re: bug#1958: 23.0.60; org-mode does not honour shift-select-mode
Date: Tue, 27 Jan 2009 09:03:25 -0500
Message-ID: <87fxj4luc2.fsf@cyd.mit.edu>

Carsten Dominik <dominik@science.uva.nl> writes:

> This bug is now closed, do I need to do something to mark it as such?

To close a bug, just send a CC to ####-done@emacsbugs.donarmstrong.com.
I've done that right now.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-27 14:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87fxj4luc2.fsf@cyd.mit.edu>
2009-01-19 17:09 ` bug#1958: 23.0.60; org-mode does not honour shift-select-mode Andreas Amann
2009-01-19 20:54   ` bug#1959: " Carsten Dominik
     [not found]   ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
2009-01-20 10:12     ` bug#1958: " Andreas Amann
2009-01-20 10:12     ` bug#1966: " Andreas Amann
2009-01-27 14:10     ` bug#1959: marked as done (23.0.60; org-mode does not honour shift-select-mode ) Emacs bug Tracking System
2009-01-27 14:10   ` bug#1958: " Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).