Discussion:
Clear subject field
Pétùr
2017-11-20 11:19:10 UTC
Permalink
Hi,

Is there a way to quickly clear the subject of an email?

Right now I have to delete character by character with the del key.

I want to delete everything in the subject field and add a better
(new) subject sometimes when forwarding email.

Pétùr
hymie!
2017-11-20 13:17:49 UTC
Permalink
Content preview: Control-U ? --hymie! http://lactose.homelinux.net/~hymie ***@lactose.homelinux.net
On Mon, Nov 20, 2017 at 12:19:10PM +0100, Pétùr wrote: > Hi, > > Is there
a way to quickly clear the subject of an email? > > Right now I have to delete
character by character with the del key. > > I want to delete everything
in the subject field and add a better > (new) subject sometimes when forwarding
email. > > Pétùr [...]

Content analysis details: (-2.9 points, 7.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-FidoGuard-Class: ham
X-FidoGuard-Evidence: dnswl/se-reputation (verified ham)
X-Recommended-Action: accept
X-Filter-ID: PqwsvolAWURa0gwxuN3S5YEa3T7JuZT23fGO2rGt3Zi8LEvOcHVjMbuV3AsCGMOGytD7jGFGvskP
GDDmbx6Iy0RU2Avjh4T+V95nPlrYbNyxyr/lbhW+Naxpq6jNMnf5KEelIHDiNFtOO6PkZCctxuEa
sNE6SV+qfrSLUPopeliVpvLEumgqFLmwWOj+Vu8MnrRD7KfuV2mVz0q8ss5/039nrdDviV4486bs
R38jGHNqc+h2W0z7PInERhAR5xqRu4aJFdRbvSjY5ngmgrkZpulqwn6vgW7uHE5uDJn2L5R2LT4L
7ADNTtsfMk7ESVVTr11DSH+51auWsWSEaVIcNF2xAev4jq/QzKfdw1jmCUcJH6sC5oCk/8v9mZ1n
Ys+9yQiiN/B2wCKj97lNsEcMJDykbpTHQJmhUOXsrnMNPJnamnib9X7Q9TN2fg7yhMcwwwDJGIDk
xoXFbbDXU6NFjtX27Qhj+bTcnYxqk0cf/gjyk27Fi7JdFy06pqy/lxTaKIFWJU9WZ0ELPqLUbe0m
KDhLhLRBpn0LTsWH1RkvMAMN+/IVwzcaXe+q+mk1qMTsB0U0NuBQ5aCZIED9obr4fOjFlUJS6dNE
yFYjXuOcJCL2pAnkFrXQxmizIeFC/NHeEgjXIny51RJ3yyIOVX71wEukYspuIwswojsoiyB8OuXo
nV+E7OMXRvgtdyMlnmWir5iMOJOWyHTy8nrhF7/meDTvwjTL7e5Lh00qJSBhMFRjj8BfZMYTmumG
Pmowbtv5JOY97KDUepxCWt7TIK2PEiKr4QSx/10xyPWPvBkWCMaONdTLNBOW7e/2pd4iUFd9Qf1q
zKEc8euTV86X8du3DA==
X-Report-Abuse-To: ***@master.fido.net
List-Post: <mailto:mutt-***@mutt.org>
List-Unsubscribe: send mail to ***@mutt.org, body only "unsubscribe mutt-users"
Precedence: bulk
Sender: owner-mutt-***@mutt.org

Control-U ?
Post by Pétùr
Hi,
Is there a way to quickly clear the subject of an email?
Right now I have to delete character by character with the del key.
I want to delete everything in the subject field and add a better
(new) subject sometimes when forwarding email.
Pétùr
Pétùr
2017-11-20 13:18:52 UTC
Permalink
Post by Pétùr
Hi,
Is there a way to quickly clear the subject of an email?
Right now I have to delete character by character with the del key.
I want to delete everything in the subject field and add a better
(new) subject sometimes when forwarding email.
Hi Pétùr, `C-u` does what you want. Standard bash shortcuts are
available in mutt and quite useful
Thanks!

I noticed also that C-k was working (but the cursor has to be at the
beginning of the line).

Pétùr
Tom Furie
2017-11-20 13:58:56 UTC
Permalink
Post by Pétùr
I noticed also that C-k was working (but the cursor has to be at the
beginning of the line).
Which can be achieved by C-a, in case you're interested.

Cheers,
Tom
--
A beginning is the time for taking the most delicate care that balances are
correct.
-- Princess Irulan, "Manual of Maud'Dib"
Marcus C. Gottwald
2017-11-20 12:45:06 UTC
Permalink
Post by Pétùr
Is there a way to quickly clear the subject of an email?
Pressing Ctrl+U while editing the field should do what you are
looking for.

Cheers, Marcus
--
Marcus C. Gottwald · <***@cheers.de> · https://cheers.de
Patrick Shanahan
2017-11-20 13:00:53 UTC
Permalink
Post by Pétùr
Hi,
Is there a way to quickly clear the subject of an email?
Right now I have to delete character by character with the del key.
I want to delete everything in the subject field and add a better
(new) subject sometimes when forwarding email.
look a the docs/man-page for your chosen editor. or if using mutt's
built-in, again check the docs. mutt has some of the best documentation
available. and of course there is always google.

hint: http://www.mutt.org/doc/manual/#editing

and then there is google
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode
Pétùr
2017-11-20 13:55:18 UTC
Permalink
Post by Pétùr
Is there a way to quickly clear the subject of an email?
Right now I have to delete character by character with the del key.
I want to delete everything in the subject field and add a better
(new) subject sometimes when forwarding email.
I use `C` in Vim to clear it and write a new one. But in the Mutt
editor/composer, there is probably support at least for `C-W` to delete
by word. I don't remember the emacs binding for line deletion. `C-K`?
Thanks C-w works to delete by word (and C-k also for the line).

Pétùr
Thomas Schneider
2017-11-20 18:47:51 UTC
Permalink
Post by Pétùr
Is there a way to quickly clear the subject of an email?
Right now I have to delete character by character with the del key.
I want to delete everything in the subject field and add a better
(new) subject sometimes when forwarding email.
I almost always jump into vim to edit the email,
so it's easy to 'd$' or edit it.

Tom
Wim
2017-11-21 17:22:11 UTC
Permalink
Hi,

check out edit_headers and autoedit in the handbook. I'm assuming you
have a relatively new version of Mutt.
Post by Pétùr
Hi,
Is there a way to quickly clear the subject of an email?
Right now I have to delete character by character with the del key.
I want to delete everything in the subject field and add a better
(new) subject sometimes when forwarding email.
Pétùr
--
|\ _,,,---,,_
ZZZzz /,`.-'`' -. ;-;;,_
|,4- ) )-,_. ,\ ( `'-'
'---''(_/--' `-'\_)
Loading...