GNU bug report logs - #3619
Replace Rectangle can't do empty after first replace anymore

Previous Next

Package: emacs;

Reported by: "w.goesgens" <w.goesgens <at> outgesourced.org>

Date: Fri, 19 Jun 2009 14:25:08 UTC

Severity: normal

Tags: notabug, wontfix

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3619 in the body.
You can then email your comments to 3619 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3619; Package emacs. (Fri, 19 Jun 2009 14:25:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to "w.goesgens" <w.goesgens <at> outgesourced.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 19 Jun 2009 14:25:09 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "w.goesgens" <w.goesgens <at> outgesourced.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Replace Rectangle can't do empty after first replace anymore
Date: Fri, 19 Jun 2009 16:20:08 +0200
till emacs V21 one could use C-x r t to flush a rectangle, since there was no sugestion of the last parameters to this action.
sinve emacs V22 theres 
String rectangle (default foobar): 
Now one can override foobar by a new text, but theres no way to get it do the same as C-x r k does, which is actualy convenient because one doesn't have to remember two commands.


In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-11-09 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

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: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: SQL[ansi]

Minor modes in effect:
  delete-selection-mode: t
  pc-selection-mode: t
  which-function-mode: t
  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
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <S-insert> <return> <up> <S-up> <S-up> 
<S-up> <backspace> <backspace> C-x C-s <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <down> 
<down> <down> <down> <down> <down> <down> <insert> 
<delete> <down> <down> <delete> <insert> <down> <down> 
<delete> C-x C-s <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <switch-frame> <help-echo> 
<help-echo> <switch-frame> <switch-frame> <help-echo> 
<help-echo> <switch-frame> <switch-frame> <help-echo> 
<switch-frame> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <switch-frame> <switch-frame> 
<switch-frame> <help-echo> <help-echo> <help-echo> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<help-echo> <switch-frame> <help-echo> <help-echo> 
<switch-frame> <help-echo> <switch-frame> <switch-frame> 
<switch-frame> <help-echo> <help-echo> <switch-frame> 
<help-echo> <help-echo> <switch-frame> <switch-frame> 
<switch-frame> <down> <down> <down> <down> <down> <down> 
<down> <help-echo> <C-down-mouse-1> <up> <up> <up> 
<up> <up> C-SPC <up> <up> <up> <up> <right> <right> 
<right> C-x r t <help-echo> <help-echo> <down-mouse-1> 
<mouse-movement> <mouse-1> <double-down-mouse-1> <double-mouse-1> 
<triple-down-mouse-1> <triple-mouse-1> <help-echo> 
<help-echo> C-x <return> <return> <help-echo> <down-mouse-1> 
<mouse-1> <escape> <escape> <escape> <up> <up> <up> 
<up> <up> C-SPC <up> <up> <up> <up> <right> <right> 
<right> C-x r t <escape> <escape> <escape> C-x r k 
M-x b u g <tab> <tab> <backspace> <backspace> <backspace> 
r e p <tab> o <tab> r <tab> <return>

Recent messages:
Wrote /home/willi/wdev_update.txt [2 times]
Mark set [3 times]
Wrote /home/willi/wdev_update.txt [2 times]
line-move-1: Beginning of buffer [3 times]
Mark set
Quit
Mark activated
Quit
Making completion list... [2 times]
Loading emacsbug...done




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3619; Package emacs. (Sat, 27 Jun 2009 01:25:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 27 Jun 2009 01:25:06 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "w.goesgens" <w.goesgens <at> outgesourced.org>
Cc: 3619 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#3619: Replace Rectangle can't do empty after first replace anymore
Date: Sat, 27 Jun 2009 03:18:21 +0200
> sinve emacs V22 theres 
> String rectangle (default foobar): 
> Now one can override foobar by a new text, but theres no way to get it
> do the same as C-x r k does, which is actualy convenient because one
> doesn't have to remember two commands.

Actually, C-x r d is the equivalent (since C-x r k additionally stores
the killed text on the kill ring).  And yes, this was a known tradeoff
when introducing the new behavior in Emacs-22.


        Stefan




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3619; Package emacs. (Sat, 27 Jun 2009 01:25:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 27 Jun 2009 01:25:08 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3619; Package emacs. (Sun, 28 Jun 2009 18:05:04 GMT) Full text and rfc822 format available.

Message #18 received at 3619 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 3619 <at> debbugs.gnu.org,
        "w.goesgens" <w.goesgens <at> outgesourced.org>
Subject: Re: bug#3619: Replace Rectangle can't do empty after first replace anymore
Date: Sun, 28 Jun 2009 13:56:14 -0400
Stefan Monnier wrote:

> Actually, C-x r d is the equivalent (since C-x r k additionally stores
> the killed text on the kill ring).  And yes, this was a known tradeoff
> when introducing the new behavior in Emacs-22.

I looked briefly at this, and found it surprising that `read-string'
offers no way to reject the default value in favour of an empty
string. `read-from-minibuffer', on the other hand, does.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3619; Package emacs. (Sun, 28 Jun 2009 20:15:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 28 Jun 2009 20:15:04 GMT) Full text and rfc822 format available.

Message #23 received at 3619 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 3619 <at> debbugs.gnu.org,
        "w.goesgens" <w.goesgens <at> outgesourced.org>
Subject: Re: bug#3619: Replace Rectangle can't do empty after first replace anymore
Date: Sun, 28 Jun 2009 22:09:52 +0200
>> Actually, C-x r d is the equivalent (since C-x r k additionally stores
>> the killed text on the kill ring).  And yes, this was a known tradeoff
>> when introducing the new behavior in Emacs-22.
> I looked briefly at this, and found it surprising that `read-string'
> offers no way to reject the default value in favour of an empty
> string. `read-from-minibuffer', on the other hand, does.

I don't know what you're referring to: in which way does
read-from-minibuffer let you distinguish between "the user wanted the
empty string" and "the user wanted the default value"?


        Stefan



Added tag(s) wontfix. Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Fri, 23 Oct 2009 16:20:06 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Sep 2011 06:25:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 3619 <at> debbugs.gnu.org and "w.goesgens" <w.goesgens <at> outgesourced.org> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 17 Sep 2011 06:25:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#3619; Package emacs. (Sat, 17 Sep 2011 06:43:05 GMT) Full text and rfc822 format available.

Message #32 received at 3619 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 3619 <at> debbugs.gnu.org, "w.goesgens" <w.goesgens <at> outgesourced.org>
Subject: Re: bug#3619: Replace Rectangle can't do empty after first replace
	anymore
Date: Sat, 17 Sep 2011 08:15:39 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Actually, C-x r d is the equivalent (since C-x r k additionally stores
> the killed text on the kill ring).  And yes, this was a known tradeoff
> when introducing the new behavior in Emacs-22.

So this is a feature, not a bug, so I'm closing the report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 15 Oct 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 248 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.