[neomutt-users] quote from another email while composing?

Peter P. peterparker at fastmail.com
Sun Oct 24 09:15:18 CEST 2021


Thank you Kenneth and Dai,

so no other way than opening a second instance of mutt?
This is what I do right now, either in a new xterm or a new screen
session. 
The issue is that copy+paste does not work well for line breaks
and quoting/formatting when done with the mouse, hence my workaround of
writing that temporary file...

any more ideas are very welcome!
P

* Kenneth Flak <kennethflak at protonmail.com> [2021-10-24 08:33]:
> You could also consider using tmux, gnu screen, or a tiling wm, depending on your system. I use bspwm to quickly whip up a new terminal window next to my mail window, and do whatever I need to to there with mutt -R. It might be possible to pull off something similar to Dai's emacs trick on vim as well, but I've never felt the need to dig into it deeply enough, as my window manager works quickly enough for me.
> 
> Best,
> Kenneth
> 
> --
> Roosna & Flak - Contemporary Dance & Music
> Web: roosnaflak.com
> Voice: +372 5565 1666
> Code: {github,gitlab}.com/kflak
> Mastodon: @kf at sonomu.club
> On 24 Oct 2021  12:26, Dai MOCHINAGA wrote:
> >Hi, Peter,
> >
> >I compose an email with emacs and refer to another email with notmuch.
> >
> >----- neomutt config (ex. ~/.mutt/neomuttrc)----
> >set editor="/usr/local/bin/emacs -nw --no-init-file --load
> >~/.emacs.d/neomutt-emacs-mail"
> >
> >----- emacs config (ex. ~/.emacs.d/neomutt-emacs-mail)----
> >;; Two buffers on startup, for composing mail and searching with notmuch
> >(split-window-vertically)
> >(other-window 1)
> >(notmuch)
> >(other-window 1)
> >
> >I hope it helps you. If there is a better idea, please let me know.
> >
> >Best,
> >Dai
> >
> >On Sat, Oct 23, 2021 at 3:29 AM Peter P. <peterparker at fastmail.com> wrote:
> >>
> >> Hi list,
> >>
> >> sometimes I would like to quote from/retreive text from another email. I
> >> find I have to abort composition by postponing the current email,
> >> opening the respective other email, save it to a /tmp/textfile.txt,
> >> resume composing and use vim's :r retrieve command to insert from
> >> /tmp/textfile.txt
> >> Occasionally I spawn a second "mutt -R" instance to achieve this.
> >>
> >> No I am wondering if there is a quicker way of doing what I am trying to
> >> do?
> >>
> >> Thank you all!
> >> Peter
> 


More information about the neomutt-users mailing list