unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17263: 24.4.50; doc string of `backward-delete-char-untabify': active-region behavior
@ 2014-04-13 20:58 Drew Adams
  2016-04-29 19:55 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-04-13 20:58 UTC (permalink / raw)
  To: 17263

The doc string should, like that of `backward-delete-char' (aka
`delete-backward-char'), mention the behavior with `transient-mark-mode'
and its dependence on `delete-active-region'.

All commands that act differently when the region is active should have
that behavior documented.  This is one where the doc is insufficient;
there may be others as well.

In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-04-08 on ODIEONE
Bzr revision: 116956 dancol@dancol.org-20140408123940-knoyutxt4l8ws7qm
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''





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

* bug#17263: 24.4.50; doc string of `backward-delete-char-untabify': active-region behavior
  2014-04-13 20:58 bug#17263: 24.4.50; doc string of `backward-delete-char-untabify': active-region behavior Drew Adams
@ 2016-04-29 19:55 ` Lars Ingebrigtsen
  2016-04-29 21:56   ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-29 19:55 UTC (permalink / raw)
  To: Drew Adams; +Cc: 17263

Drew Adams <drew.adams@oracle.com> writes:

> The doc string should, like that of `backward-delete-char' (aka
> `delete-backward-char'), mention the behavior with `transient-mark-mode'
> and its dependence on `delete-active-region'.

Do you have a suggestion for a doc string?  I don't know what that
command does when there's an active region.

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





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

* bug#17263: 24.4.50; doc string of `backward-delete-char-untabify': active-region behavior
  2016-04-29 19:55 ` Lars Ingebrigtsen
@ 2016-04-29 21:56   ` Drew Adams
  2021-07-14 15:10     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2016-04-29 21:56 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 17263

> > The doc string should, like that of `backward-delete-char' (aka
> > `delete-backward-char'), mention the behavior with `transient-mark-mode'
> > and its dependence on `delete-active-region'.
> 
> Do you have a suggestion for a doc string?  I don't know what that
> command does when there's an active region.

I think it is the same as for `backward-delete-char' wrt the
deletion part.  This is the text from `backward-delete-char'
regarding the region:

 If Transient Mark mode is enabled, the mark is active, and N is 1,
 delete the text in the region and deactivate the mark instead.
 To disable this, set option `delete-active-region' to nil.





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

* bug#17263: 24.4.50; doc string of `backward-delete-char-untabify': active-region behavior
  2016-04-29 21:56   ` Drew Adams
@ 2021-07-14 15:10     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-14 15:10 UTC (permalink / raw)
  To: Drew Adams; +Cc: 17263

Drew Adams <drew.adams@oracle.com> writes:

> I think it is the same as for `backward-delete-char' wrt the
> deletion part.  This is the text from `backward-delete-char'
> regarding the region:
>
>  If Transient Mark mode is enabled, the mark is active, and N is 1,
>  delete the text in the region and deactivate the mark instead.
>  To disable this, set option `delete-active-region' to nil.

Thanks; now added to the doc string in Emacs 28.

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





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

end of thread, other threads:[~2021-07-14 15:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13 20:58 bug#17263: 24.4.50; doc string of `backward-delete-char-untabify': active-region behavior Drew Adams
2016-04-29 19:55 ` Lars Ingebrigtsen
2016-04-29 21:56   ` Drew Adams
2021-07-14 15:10     ` Lars Ingebrigtsen

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