[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

delete-char vs "mouse-region" and "transient-mark-region"

From: Mathias Dahl
Subject: delete-char vs "mouse-region" and "transient-mark-region"
Date: Tue, 06 Sep 2005 13:00:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

1. $ emacs -q

2. Create two lines of text:


3. Mark the first one using the mouse and press C-d (delete-char). The
   marked region will be deleted.

4. Mark the second line using transient mark mode (C-SPC C-CPC C-e)
   and press C-d. The region will not be deleted.

Is it just me or would others also like to have both these marked
regions behave in the same way?

If the decision is to delete the region in both cases, may I suggest
that DEL (<backspace>) also deletes marked text?


In GNU Emacs (i386-mingw-nt5.1.2600)
 of 2005-06-26 on NONIQPC
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.3) --cflags -I../../jpeg-6b-3/include 
-I../../libpng-1.2.8/include -I../../tiff-3.6.1-2/include 
-I../../xpm-nox-4.2.0/include -I../../zlib-1.2.2/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: SVE
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Message

Minor modes in effect:
  recentf-mode: t
  mml-mode: t
  jabber-activity-mode: t
  iswitchb-mode: t
  display-time-mode: t
  icomplete-mode: t
  partial-completion-mode: t
  desktop-save-mode: t
  file-name-shadow-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  next-error-follow-minor-mode:  Fol
  abbrev-mode: t

Recent input:
SPC v s SPC m o u s e - <left> <left> <left> <left> 
<left> <left> " <end> r e g i o n " SPC a n f SPC " 
<backspace> <backspace> <backspace> d SPC " t r a n 
s i e n t - m a r k - r e g i o n " <C-end> <return> 
M-x r e p o r t <tab> <return> C-x o <up> <up> <up> 
<up> <up> <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <left> C-SPC <end> 
M-w C-x i C-x o <down> M-x <up> <end> <return>

Recent messages:
Opening nntp server on news.individual.net...done
Fetching headers for nntp+news.individual.net:gnu.emacs.help...done
Generating summary...done
Mark all unread articles as read? (y or n) 
Retrieving newsgroup: nntp+news.individual.net:gnu.emacs.bug...
Fetching headers for nntp+news.individual.net:gnu.emacs.bug...done
Generating summary...done
C-d runs the command delete-char
Mark set
Loading emacsbug...done
byte-code: Command attempted to use minibuffer while in minibuffer

reply via email to

[Prev in Thread] Current Thread [Next in Thread]