* delete-char vs "mouse-region" and "transient-mark-region"
@ 2005-09-06 11:00 Mathias Dahl
2005-10-04 5:02 ` Richard M. Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Mathias Dahl @ 2005-09-06 11:00 UTC (permalink / raw)
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 emacs-pretest-bug@gnu.org 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:
line1
line2
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?
/Mathias
In GNU Emacs 22.0.50.1 (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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: delete-char vs "mouse-region" and "transient-mark-region"
2005-09-06 11:00 delete-char vs "mouse-region" and "transient-mark-region" Mathias Dahl
@ 2005-10-04 5:02 ` Richard M. Stallman
2005-10-15 13:51 ` Mathias Dahl
0 siblings, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2005-10-04 5:02 UTC (permalink / raw)
Cc: emacs-devel
1. $ emacs -q
2. Create two lines of text:
line1
line2
3. Mark the first one using the mouse and press C-d (delete-char). The
marked region will be deleted.
That does not happen when I try it. C-d just deletes the character
after point.
In GNU Emacs 22.0.50.1 (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'
Did someone make Emacs on Windows behave differently in this situation?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: delete-char vs "mouse-region" and "transient-mark-region"
2005-10-04 5:02 ` Richard M. Stallman
@ 2005-10-15 13:51 ` Mathias Dahl
2005-10-17 7:13 ` Mathias Dahl
0 siblings, 1 reply; 4+ messages in thread
From: Mathias Dahl @ 2005-10-15 13:51 UTC (permalink / raw)
"Richard M. Stallman" <rms@gnu.org> writes:
> 1. $ emacs -q
>
> 2. Create two lines of text:
>
> line1
> line2
>
> 3. Mark the first one using the mouse and press C-d (delete-char). The
> marked region will be deleted.
>
> That does not happen when I try it. C-d just deletes the character
> after point.
Same for me, testing with both Emacs 21.3 and 22 (CVS) under
GNU/Linux.
>
> In GNU Emacs 22.0.50.1 (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'
>
> Did someone make Emacs on Windows behave differently in this situation?
I will test again on Windows and verify if it works differently there.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: delete-char vs "mouse-region" and "transient-mark-region"
2005-10-15 13:51 ` Mathias Dahl
@ 2005-10-17 7:13 ` Mathias Dahl
0 siblings, 0 replies; 4+ messages in thread
From: Mathias Dahl @ 2005-10-17 7:13 UTC (permalink / raw)
Mathias Dahl <brakjoller@gmail.com> writes:
> "Richard M. Stallman" <rms@gnu.org> writes:
>
>> 1. $ emacs -q
>>
>> 2. Create two lines of text:
>>
>> line1
>> line2
>>
>> 3. Mark the first one using the mouse and press C-d (delete-char). The
>> marked region will be deleted.
>>
>> That does not happen when I try it. C-d just deletes the character
>> after point.
>
> Same for me, testing with both Emacs 21.3 and 22 (CVS) under
> GNU/Linux.
>
>>
>> In GNU Emacs 22.0.50.1 (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'
>>
>> Did someone make Emacs on Windows behave differently in this situation?
>
>
> I will test again on Windows and verify if it works differently there.
Hmm, I tested again now and now it works the same. Sorry for the
noise.
/Mathias
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-10-17 7:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06 11:00 delete-char vs "mouse-region" and "transient-mark-region" Mathias Dahl
2005-10-04 5:02 ` Richard M. Stallman
2005-10-15 13:51 ` Mathias Dahl
2005-10-17 7:13 ` Mathias Dahl
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.