* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
[not found] ` <20220913135349.5341DC00872@vcs2.savannah.gnu.org>
@ 2022-09-14 18:16 ` Lars Ingebrigtsen
2022-09-14 23:37 ` Stefan Kangas
2022-09-15 6:46 ` Jean Louis
0 siblings, 2 replies; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-14 18:16 UTC (permalink / raw)
To: emacs-devel
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Add new commands 'image-crop' and 'image-elide'
I forgot to remember to not to forget to ask about the latter name,
which sucks. Anybody have a better name for a command that lets you
replace a rectangle in an image with blankness?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-14 18:16 ` master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide' Lars Ingebrigtsen
@ 2022-09-14 23:37 ` Stefan Kangas
2022-09-14 23:46 ` Gregory Heytings
2022-09-15 5:46 ` Eli Zaretskii
2022-09-15 6:46 ` Jean Louis
1 sibling, 2 replies; 12+ messages in thread
From: Stefan Kangas @ 2022-09-14 23:37 UTC (permalink / raw)
To: Lars Ingebrigtsen, emacs-devel
Lars Ingebrigtsen <larsi@gnus.org> writes:
>> Add new commands 'image-crop' and 'image-elide'
>
> I forgot to remember to not to forget to ask about the latter name,
> which sucks. Anybody have a better name for a command that lets you
> replace a rectangle in an image with blankness?
Here are some ideas:
image-censor
image-censor-rectangle
image-black-out
image-cross-out
image-strike-out
image-bleep [probably too light-hearted]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-14 23:37 ` Stefan Kangas
@ 2022-09-14 23:46 ` Gregory Heytings
2022-09-15 6:47 ` Jean Louis
2022-09-15 5:46 ` Eli Zaretskii
1 sibling, 1 reply; 12+ messages in thread
From: Gregory Heytings @ 2022-09-14 23:46 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Lars Ingebrigtsen, emacs-devel
>>> Add new commands 'image-crop' and 'image-elide'
>>
>> I forgot to remember to not to forget to ask about the latter name,
>> which sucks. Anybody have a better name for a command that lets you
>> replace a rectangle in an image with blankness?
>
> Here are some ideas:
>
> image-censor
> image-censor-rectangle
> image-black-out
> image-cross-out
> image-strike-out
> image-bleep [probably too light-hearted]
>
I think "redact" is the right verb here, see
https://en.wiktionary.org/wiki/redact which says:
1. To censor, to black out or remove parts of a document while leaving the
remainder.
2. To black out legally protected sections of text in a document provided
to opposing counsel, typically as part of the discovery process.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-14 23:37 ` Stefan Kangas
2022-09-14 23:46 ` Gregory Heytings
@ 2022-09-15 5:46 ` Eli Zaretskii
2022-09-15 5:56 ` Lars Ingebrigtsen
1 sibling, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2022-09-15 5:46 UTC (permalink / raw)
To: Stefan Kangas; +Cc: larsi, emacs-devel
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Wed, 14 Sep 2022 16:37:31 -0700
>
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
> > I forgot to remember to not to forget to ask about the latter name,
> > which sucks. Anybody have a better name for a command that lets you
> > replace a rectangle in an image with blankness?
>
> Here are some ideas:
>
> image-censor
> image-censor-rectangle
> image-black-out
> image-cross-out
> image-strike-out
> image-bleep [probably too light-hearted]
Don't image-processing programs out there have some accepted
terminology for this?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-15 5:46 ` Eli Zaretskii
@ 2022-09-15 5:56 ` Lars Ingebrigtsen
2022-09-15 6:29 ` Eli Zaretskii
` (3 more replies)
0 siblings, 4 replies; 12+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-15 5:56 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Stefan Kangas, emacs-devel
Eli Zaretskii <eliz@gnu.org> writes:
>> > I forgot to remember to not to forget to ask about the latter name,
>> > which sucks. Anybody have a better name for a command that lets you
>> > replace a rectangle in an image with blankness?
>>
>> Here are some ideas:
>>
>> image-censor
>> image-censor-rectangle
>> image-black-out
>> image-cross-out
>> image-strike-out
>> image-bleep [probably too light-hearted]
Hm... `image-censor' is probably the actual use case here...
> Don't image-processing programs out there have some accepted
> terminology for this?
In Gimp, selecting a rectangle and removing the contents is called "cut"
(and is on `C-x'). It puts the cut portion onto the clipboard, so it's
not quite the same, but perhaps it's similar enough?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-15 5:56 ` Lars Ingebrigtsen
@ 2022-09-15 6:29 ` Eli Zaretskii
2022-09-15 6:37 ` Juri Linkov
` (2 subsequent siblings)
3 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2022-09-15 6:29 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: stefankangas, emacs-devel
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Stefan Kangas <stefankangas@gmail.com>, emacs-devel@gnu.org
> Date: Thu, 15 Sep 2022 07:56:49 +0200
>
> > Don't image-processing programs out there have some accepted
> > terminology for this?
>
> In Gimp, selecting a rectangle and removing the contents is called "cut"
> (and is on `C-x'). It puts the cut portion onto the clipboard, so it's
> not quite the same, but perhaps it's similar enough?
I see the same term used in at least one more such program. So it
sounds like "cut" is the term we should use here.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-15 5:56 ` Lars Ingebrigtsen
2022-09-15 6:29 ` Eli Zaretskii
@ 2022-09-15 6:37 ` Juri Linkov
2022-09-15 6:52 ` Jean Louis
2022-09-15 6:48 ` Jean Louis
2022-09-15 7:32 ` Po Lu
3 siblings, 1 reply; 12+ messages in thread
From: Juri Linkov @ 2022-09-15 6:37 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Eli Zaretskii, Stefan Kangas, emacs-devel
> In Gimp, selecting a rectangle and removing the contents is called "cut"
> (and is on `C-x'). It puts the cut portion onto the clipboard, so it's
> not quite the same, but perhaps it's similar enough?
"Cut" that doesn't put a rectangle onto the clipboard is called
"Clear" (on the Delete key). Also variations of this are called
"Fill with ..." (BG color, FG color, ...)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-14 18:16 ` master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide' Lars Ingebrigtsen
2022-09-14 23:37 ` Stefan Kangas
@ 2022-09-15 6:46 ` Jean Louis
1 sibling, 0 replies; 12+ messages in thread
From: Jean Louis @ 2022-09-15 6:46 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel
* Lars Ingebrigtsen <larsi@gnus.org> [2022-09-14 21:16]:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
> > Add new commands 'image-crop' and 'image-elide'
>
> I forgot to remember to not to forget to ask about the latter name,
> which sucks. Anybody have a better name for a command that lets you
> replace a rectangle in an image with blankness?
In Gimp I use select and then cut, if image has alpha background, what
I cut out becomes transparent, like for PNG images. As it is several
steps to reach that point, there is no specific name.
Your function elides, name is correct in English.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-14 23:46 ` Gregory Heytings
@ 2022-09-15 6:47 ` Jean Louis
0 siblings, 0 replies; 12+ messages in thread
From: Jean Louis @ 2022-09-15 6:47 UTC (permalink / raw)
To: Gregory Heytings; +Cc: Stefan Kangas, Lars Ingebrigtsen, emacs-devel
* Gregory Heytings <gregory@heytings.org> [2022-09-15 02:47]:
> I think "redact" is the right verb here, see
> https://en.wiktionary.org/wiki/redact which says:
>
> 1. To censor, to black out or remove parts of a document while leaving the
> remainder.
>
> 2. To black out legally protected sections of text in a document provided to
> opposing counsel, typically as part of the discovery process.
I don't think so, it is not related to images.
Wordnet:
* Overview of verb redact
The verb redact has 2 senses (no senses from tagged texts)
1. frame, redact, cast, put, couch -- (formulate in a particular style or language; "I wouldn't put it that way"; "She cast her request in very polite language")
2. edit, redact -- (prepare for publication or presentation by correcting, revising, or adapting; "Edit a book on lexical semantics"; "she edited the letters of the politician so as to omit the most personal passages")
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-15 5:56 ` Lars Ingebrigtsen
2022-09-15 6:29 ` Eli Zaretskii
2022-09-15 6:37 ` Juri Linkov
@ 2022-09-15 6:48 ` Jean Louis
2022-09-15 7:32 ` Po Lu
3 siblings, 0 replies; 12+ messages in thread
From: Jean Louis @ 2022-09-15 6:48 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Eli Zaretskii, Stefan Kangas, emacs-devel
* Lars Ingebrigtsen <larsi@gnus.org> [2022-09-15 08:57]:
> In Gimp, selecting a rectangle and removing the contents is called "cut"
> (and is on `C-x'). It puts the cut portion onto the clipboard, so it's
> not quite the same, but perhaps it's similar enough?
thus image-rectangle-cut is appropriate, though image-elide is just
fine.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-15 6:37 ` Juri Linkov
@ 2022-09-15 6:52 ` Jean Louis
0 siblings, 0 replies; 12+ messages in thread
From: Jean Louis @ 2022-09-15 6:52 UTC (permalink / raw)
To: Juri Linkov; +Cc: Lars Ingebrigtsen, Eli Zaretskii, Stefan Kangas, emacs-devel
* Juri Linkov <juri@linkov.net> [2022-09-15 09:45]:
> > In Gimp, selecting a rectangle and removing the contents is called "cut"
> > (and is on `C-x'). It puts the cut portion onto the clipboard, so it's
> > not quite the same, but perhaps it's similar enough?
>
> "Cut" that doesn't put a rectangle onto the clipboard is called
> "Clear" (on the Delete key). Also variations of this are called
> "Fill with ..." (BG color, FG color, ...)
He said that rectangle shall be filled with blankness. Blankness means
to me transparency, it means no color.
In that case, why not image-rectangle-blank -- as in that case
function decides that what is cut out it becomes blank and I assume
this means transparent, without any color.
But if something is cut out to be pasted in some other image, then:
image-rectangle-cut -- while the type of the image or its settings
decide if it will be cut with transparency or not.
If with "blankness" is not meant transparency that means that there
shall be settings just like in Gimp to designate default foreground
and background color, and when rectangle is cut, the background color
should appear in the elided area. In that case it should be
image-rectangle-remove or -cut or similar.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide'
2022-09-15 5:56 ` Lars Ingebrigtsen
` (2 preceding siblings ...)
2022-09-15 6:48 ` Jean Louis
@ 2022-09-15 7:32 ` Po Lu
3 siblings, 0 replies; 12+ messages in thread
From: Po Lu @ 2022-09-15 7:32 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: Eli Zaretskii, Stefan Kangas, emacs-devel
Lars Ingebrigtsen <larsi@gnus.org> writes:
>>> image-censor
>>> image-censor-rectangle
>>> image-black-out
>>> image-cross-out
>>> image-strike-out
>>> image-bleep [probably too light-hearted]
>
> Hm... `image-censor' is probably the actual use case here...
Or perhaps `imake-erase-rectangle'?
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-09-15 7:32 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <166307722823.21573.11653227304007303308@vcs2.savannah.gnu.org>
[not found] ` <20220913135349.5341DC00872@vcs2.savannah.gnu.org>
2022-09-14 18:16 ` master 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide' Lars Ingebrigtsen
2022-09-14 23:37 ` Stefan Kangas
2022-09-14 23:46 ` Gregory Heytings
2022-09-15 6:47 ` Jean Louis
2022-09-15 5:46 ` Eli Zaretskii
2022-09-15 5:56 ` Lars Ingebrigtsen
2022-09-15 6:29 ` Eli Zaretskii
2022-09-15 6:37 ` Juri Linkov
2022-09-15 6:52 ` Jean Louis
2022-09-15 6:48 ` Jean Louis
2022-09-15 7:32 ` Po Lu
2022-09-15 6:46 ` Jean Louis
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).