GNU bug report logs -
#24269
24.5; Add optional arg to `eval-buffer' and `eval-region' to ignore invisible text
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 19 Aug 2016 22:34:02 UTC
Severity: wishlist
Tags: wontfix
Found in version 24.5
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 24269 in the body.
You can then email your comments to 24269 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24269
; Package
emacs
.
(Fri, 19 Aug 2016 22:34: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
.
(Fri, 19 Aug 2016 22:34:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Enhancement request. Add an optional argument to `eval-buffer' and
`eval-region'. When it is non-nil, ignore text that is invisible.
More generally, maybe: if a (non-nil) symbol, interpret the symbol as a
text property, and ignore any text that has a non-nil value of that
property.
Or if the arg value is a cons (PROP . VALUE), with car a symbol, ignore
any text with property PROP that has value VALUE.
In GNU Emacs 24.5.1 (i686-pc-mingw32)
of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/usr --host=i686-pc-mingw32'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24269
; Package
emacs
.
(Sat, 27 Jul 2019 15:00:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24269 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> Enhancement request. Add an optional argument to `eval-buffer' and
> `eval-region'. When it is non-nil, ignore text that is invisible.
>
> More generally, maybe: if a (non-nil) symbol, interpret the symbol as a
> text property, and ignore any text that has a non-nil value of that
> property.
I don't think that sounds like a clean interface for these functions.
If you need stuff like this, it sounds like you should just write
functions that do this for you. 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
.
(Sat, 27 Jul 2019 15:00:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
24269 <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
.
(Sat, 27 Jul 2019 15:00:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24269
; Package
emacs
.
(Sat, 27 Jul 2019 16:47:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 24269 <at> debbugs.gnu.org (full text, mbox):
> > Enhancement request. Add an optional argument to `eval-buffer' and
> > `eval-region'. When it is non-nil, ignore text that is invisible.
> >
> > More generally, maybe: if a (non-nil) symbol, interpret the symbol as
> a
> > text property, and ignore any text that has a non-nil value of that
> > property.
>
> I don't think that sounds like a clean interface for these functions.
> If you need stuff like this, it sounds like you should just write
> functions that do this for you. Closing.
It's not about me (or anyone) _needing_ this
behavior. It's about the _use cases_ of these
two commands.
It just _makes sense_ for these existing commands
to let you ignore certain zones of text.
They already do that (naturally) for sexps in
comments. Instead of commenting out a zone to
have it ignored, you could well want to eval
only specific zones of text.
That's in fact the _only_ use case of `eval-region':
it ignores text outside the region. Without this
command you would need to narrow the buffer and then
use `eval-buffer'.
Would you argue, using your same logic, that we
should get rid of `eval-region' because you can
always just narrow and use `eval-buffer'?
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 25 Aug 2019 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 244 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.