GNU bug report logs - #18069
24.4.50; doc of rectangle highlighting & redisplay code

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 21 Jul 2014 17:02:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.4.50

Done: Lars 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 18069 in the body.
You can then email your comments to 18069 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-gnu-emacs <at> gnu.org:
bug#18069; Package emacs. (Mon, 21 Jul 2014 17:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 21 Jul 2014 17:02:03 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; doc of rectangle highlighting & redisplay code
Date: Mon, 21 Jul 2014 10:00:57 -0700 (PDT)
The doc is, well, missing.

Nothing for the advice of `redisplay-(un)highlight-region-function' or
`region-extract-function', or for those variable themselves, or for the
functions used to advise them (`rectangle--highlight-for-redisplay', for
example).

Nothing for `redisplay--update-region-highlight(s)', or other funtions
that use those `*-function' vars, or for `pre-redisplay-function', which
uses `redisplay--update-region-highlight'.

IOW, nothing for anything that does region (un)highlighting redisplay,
including `deactivate-mark' (which has a doc string, but whose doc
string does not cover this new part of its behavior).

None of the so-called "New rectangle integration with kill-ring"
behavior is documented in doc strings.  It is also not documented in
NEWS, AFAICT.

This code change represents a change in user-visible behavior, and it
should be documented.


[It's a shame that Emacs Dev has increasingly neglected to add helpful
 doc strings (IMHO).  The originator of the self-documenting editor is
 no longer watching closely, and developers will be developers, I
 suppose...  Too bad.

 BTW, why is Emacs code simply using `add-function' all over the place
 now, instead of actually adding the code to the functions?  Is advice
 the new normal for Emacs code maintenance?]


In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-06-28 on ODIEONE
Bzr revision: 117431 rgm <at> gnu.org-20140628015517-eku6hj8mpgcvfnso
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''




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18069; Package emacs. (Wed, 20 Jan 2021 02:01:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 18069 <at> debbugs.gnu.org
Subject: Re: bug#18069: 24.4.50; doc of rectangle highlighting & redisplay code
Date: Wed, 20 Jan 2021 02:59:54 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> None of the so-called "New rectangle integration with kill-ring"
> behavior is documented in doc strings.  It is also not documented in
> NEWS, AFAICT.

Having a doc string on, say, `rectangle--extract-region' to say "extract
the region, but in a rectangular way" doesn't really seem to say more
than the function name itself, so I don't think that'd be helpful.

Closing.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 20 Jan 2021 02:01:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 18069 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 20 Jan 2021 02:01:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 17 Feb 2021 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 68 days ago.

Previous Next


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