Questions tagged [macro]
The macro tag has no summary.
49 questions
12 votes
1 answer
3k views
Why does typing 'q' exit vim? (.man file)
When I type the character q on my keyboard in vim, it exits vim. Why? Today I tried it edit a file with the file extension .man. I wanted to edit the file with a macro, so I tried to type qq -- but ...
2 votes
1 answer
92 views
output redirection issue - m4 macro with self increasing build counter
My goal is to create a m4 macro, that reads a value from a file (BUILD), increases it and then saves the output into the file. I came up with the following solution (BUILD.m4): define(`__buildnumber__'...
0 votes
0 answers
363 views
How do I make an emoji macro keyboard for linux?
I want to make a macro keyboard that types emoji for my Raspberry Pi 4 with a quite old spare keyboard. I got this idea from Tom Scott (British youtuber) and he made it in windows. Although I could ...
1 vote
1 answer
39 views
LibreOffice Upgrade from 3.5.4 to 4.3.3 Broke Lots of Macros
Recently upgraded from Debian Wheezy to Jessie (yeah, I know...). During said upgrade, the LibreOffice suite got upgraded from version 3.5.4 to 4.3.3. Well, lots of my Writer macros were broken after ...
0 votes
1 answer
214 views
How can you customise headings in the ms package for groff?
I noticed there's a similar answered question here, but that one's pertaining to the me package. I'd like to know if and how, if so, is it possible to that using ms instead.
1 vote
1 answer
1k views
RPM Spec file %setup macro when you don't know the root name?
How do I use the %setup macro if I don't know the root name of the archive. For example, in my case I have archive.tar.gz that extracts to myproject-<githsha>/ Each time I run that I may get a ...
0 votes
1 answer
2k views
How to resolve SAS macro variable in shell script
I am running a shell script via X command within a SAS macro. I want to use a macro variable defined in SAS macro, in my shell script. I know if I pass that macro variable as parameter to shell script,...
0 votes
1 answer
373 views
Mutt: Save message to different folder but stay on it
I'd like to write a macro (index, pager) that saves a message to the Archive mailbox but keep the current message open / selected, or even to to the previous entry. My current macro: macro index,...