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-20  3:18 Chong Yidong
  2009-01-20  5:22 ` Carsten Dominik
  0 siblings, 1 reply; 22+ messages in thread
From: Chong Yidong @ 2009-01-20  3:18 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: 1958, Andreas Amann

Hi Carsten,

Here's a bug report/feature request for org mode.  Adding
shift-selection should be as simple as changing (interactive "P") to
(interactive "^P") in the relevant functions.  I don't know if this
might break XEmacs, though.


"Andreas Amann" <andreas.amann@tyndall.ie> wrote:

> 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.







^ permalink raw reply	[flat|nested] 22+ messages in thread
* bug#1958: 23.0.60; org-mode does not honour shift-select-mode
@ 2009-01-19 17:09 Andreas Amann
       [not found] ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
  0 siblings, 1 reply; 22+ 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] 22+ messages in thread

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

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20  3:18 bug#1958: 23.0.60; org-mode does not honour shift-select-mode Chong Yidong
2009-01-20  5:22 ` Carsten Dominik
2009-01-20 13:40   ` Chong Yidong
2009-01-20 14:12     ` Lennart Borgman
2009-01-23 12:34       ` Andreas Amann
2009-01-23 15:32         ` Carsten Dominik
2009-01-26 13:26         ` Carsten Dominik
2009-01-27 11:46         ` Carsten Dominik
     [not found]     ` <A0F1225F-0B0A-45E6-88EB-F28E4202C240@uva.nl>
2009-01-20 14:23       ` Chong Yidong
2009-01-20 14:44         ` Carsten Dominik
2009-01-20 15:41     ` Lennart Borgman
2009-01-20 16:14       ` Chong Yidong
2009-01-20 16:20       ` Bastien
2009-01-20 18:00         ` Lennart Borgman
2009-01-20 18:57           ` Bastien
2009-01-20 19:21           ` Carsten Dominik
2009-01-20 21:56             ` Lennart Borgman
2009-01-21  0:03             ` Bastien
2009-01-21  9:30               ` Carsten Dominik
2009-01-21  5:59             ` Leo
  -- strict thread matches above, loose matches on Subject: below --
2009-01-19 17:09 Andreas Amann
     [not found] ` <28B24655-C322-482B-8615-820CA6A99D09@gmail.com>
2009-01-20 10:12   ` Andreas Amann

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).