Re: Automate standard replies

2021-03-30 Thread Cameron Simpson
On 30Mar2021 18:42, Andy Spiegl wrote: >> >Uhm, maybe compatibility issues between different bash versions? >> I do not write for bash, I write for /bin/sh, which exists on every >> UNIX >Sorry, I meant to write sh. :-) >> I can ship you a tarball of my out-of-my-homedir /opt/css tree, which

Re: Automate standard replies

2021-03-30 Thread Andy Spiegl
Hi Cameron, > >Uhm, maybe compatibility issues between different bash versions? > > I do not write for bash, I write for /bin/sh, which exists on every UNIX Sorry, I meant to write sh. > I can ship you a tarball of my out-of-my-homedir /opt/css tree, which has the > lot. True. Works now!

Re: Automate standard replies

2021-03-29 Thread Cameron Simpson
On 29Mar2021 20:02, Andy Spiegl wrote: >> Well sure. Great desktop, BSD UNIX underneath. And, frankly, really >> nice hardware. >A few years ago I would have fully agreed with you and only complained >about the price. But lately we're having so many problems with Apple >devices and with every

Re: Automate standard replies

2021-03-29 Thread Andy Spiegl
Cameron, > Well sure. Great desktop, BSD UNIX underneath. And, frankly, really nice > hardware. A few years ago I would have fully agreed with you and only complained about the price. But lately we're having so many problems with Apple devices and with every OS upgrade the trouble seems to get

Re: Automate standard replies

2021-03-28 Thread Cameron Simpson
On 29Mar2021 10:10, Cameron Simpson wrote: >On 28Mar2021 14:04, Andy Spiegl wrote: >>> open some-directory-name >>Oh, MacOS ! :-) > >Well sure. Great desktop, BSD UNIX underneath. And, frankly, really nice >hardware. Not to mention iterm, IMO the best terminal emulator I have ever used.

Re: Automate standard replies

2021-03-28 Thread Cameron Simpson
On 28Mar2021 14:04, Andy Spiegl wrote: >> open some-directory-name >Oh, MacOS ! :-) Well sure. Great desktop, BSD UNIX underneath. And, frankly, really nice hardware. >> Though I suppose that makes it part of my desktop environment. Which >> might be what you intended. >Yes. > >> Oh, me

Re: Automate standard replies

2021-03-28 Thread Andy Spiegl
Hi Kevin, > isn't defined in the attachment menu, only is. Oh I see. That's a little confusing. :-) For now, I helped myself by adding "" to the macro when in the attach menu. macro attach V "\ \ set my_old_pipe_decode=\$pipe_decode my_old_pipe_split=\$pipe_split my_old_wait_key=\$wait_key

Re: Automate standard replies

2021-03-28 Thread Andy Spiegl
Hi Cameron, > open some-directory-name Oh, MacOS ! :-) > Though I suppose that makes it part of my desktop environment. Which > might be what you intended. Yes. > Oh, me too. See the apphelper script :-) Nice. Tried to get it to run on my Linux machine but after downloading and adapting

Re: Automate standard replies

2021-03-27 Thread Cameron Simpson
On 28Mar2021 08:35, Cameron Simpson wrote: >On 27Mar2021 18:18, Andy Spiegl wrote: >>Just one piece is missing: "open" (used in mail-open-attachments) >>Is that part of your windowmanager maybe? > >No, it's a standard MacOS command. It opens files (and various URL-like >things) with their

Re: Automate standard replies

2021-03-27 Thread Cameron Simpson
On 27Mar2021 18:18, Andy Spiegl wrote: >Just one piece is missing: "open" (used in mail-open-attachments) >Is that part of your windowmanager maybe? No, it's a standard MacOS command. It opens files (and various URL-like things) with their matching app. open some-directory-name pops up

Re: Automate standard replies

2021-03-27 Thread Kevin J. McCarthy
On Sat, Mar 27, 2021 at 08:19:51PM +0100, Andy Spiegl wrote: I just noticed an interesting detail - or is it a bug? When I run in the attachment menu mutt behaves like and only pipes the selected part. isn't defined in the attachment menu, only is. You can check this by trying to run

Re: Automate standard replies

2021-03-27 Thread Andy Spiegl
> macro index,pager V "mail-open-attachments" "extract > attachments to temp dir and open" I just noticed an interesting detail - or is it a bug? When I run in the attachment menu mutt behaves like and only pipes the selected part. munpack can't handle that and stops with an error. What

Re: Automate standard replies

2021-03-27 Thread Andy Spiegl
Dear Cameron, thanks a lot for sharing. I found all necessary parts on your website - lots of interesting stuff there. :-) Just one piece is missing: "open" (used in mail-open-attachments) Is that part of your windowmanager maybe? But no problem. I simply replaced it with: cd "$unpackdir" &&

Re: Automate standard replies

2021-03-26 Thread P. Mazart
Hello Cameron, Very nice! Thank you for sharing! Best Regards, PM

Re: Automate standard replies

2021-03-25 Thread Cameron Simpson
On 25Mar2021 23:23, Andy Spiegl wrote: >> Use to send the raw message to a script of your own. >> Some >> random macros of my own: >... >> macro index,pager V "mail-open-attachments" >> "extract attachments to temp dir and open" > >Cool idea! >Would you mind sharing the

Re: Automate standard replies

2021-03-25 Thread Andy Spiegl
Hi Cameron, > Use to send the raw message to a script of your own. Some > random macros of my own: ... > macro index,pager V "mail-open-attachments" "extract > attachments to temp dir and open" Cool idea! Would you mind sharing the "mail-open-attachments" with us? Andy -- All of the

Re: Automate standard replies

2021-03-21 Thread Cameron Simpson
On 21Mar2021 12:15, Francesco Ariis wrote: >how can I automate typing standard replies? > >Example: say I want to type «lgtm» (top post) as a reply to a message, >as now I have to: >- press `r` (reply) >- press `i` (my editor is Vim) >- «lgtm» >- then (exit insert mode) >- ZZ

Re: Automate standard replies

2021-03-21 Thread P. Mazart
Hi Francesco, Francesco Ariis schrieb am 21.03.2021 12:15:23: > Is there a way to one-button this? I thought about a macro, > but I suspect that wouldn’t work, since I am firing up an > editor. You could do that with changing the editor then „editing“ then changing the editor back to vim. I do

Re: Automate standard replies

2021-03-21 Thread Remco Rijnders
On Sun, Mar 21, 2021 at 12:15:23PM +0100, Francesco wrote in <2021032523.GA10364@extensa>: Hello mutters, how can I automate typing standard replies? Example: say I want to type «lgtm» (top post) as a reply to a message, as now I have to: - press `r` (reply) - press `i` (my editor is