Hello Stephen.

(Why has all that become a private thread??  I'll CC mailx, ok?)

Stephen Isard wrote in
 <2704-1663371725-774...@sneakemail.com>:
 |On Fri, 16 Sep 2022, Steffen Nurpmeso steffen-at-sdaoden.eu |s-nail| wrote:
 |...
 |> Isn't it much easier to write
 |>
 |>  set message-inject-tail=$'\nMoney\nGet back\nGrab that cash!'
 |>
 |> than to have a dedicated signature _file_?
 |
 |The colleague who mailed me about this has a twelve line signature file 
 |with lots of contact details.

Hm, ok, well that is .. hm.

 |Signature is clear.   message-inject-tail is complicated.

Except for groff caused copy+paste problems because it uses
symbols which do not map to the syntax elements we expect (hyphen
instead of hyphen-minus, whatever instead of single quote, etc);
The replacement should only be a copy+paste thing.
We will have this in the default nail.rc and the manual in v14.10

  #\define add_signature {
  #   \read version
  #   \echo '~< ~/.mysig' # or '~<! fortune pathtofortunefile'
  #}
  #\set on-compose-splice=add_signature

and the manual states

     Here is an example that injects a signature via
     message-inject-tail[468]; instead using on-compose-splice[492]
     to simply inject the file of desire via ˜<[315] or ˜<![316] may
     be a better approach.

for a very long time.

 |> I really want to have this go.
 |
 |Yes, I can tell :-)

We must shrink again.

 |> It is obsoloted for over half a decade, without anyone complaining 
 |> about it!
 |
 |But it has continued to work.  You might start to get complaints when 

But it is really noisy on the terminal.

 |it stops working and people are forced to read the manual and learn 
 |about splice macros.

I find the above not overly complicated.  No Stephen, if people
want to use S-nail and insert a signature file, the above five
lines will do it.

Sorry!  Greetings to America.

Ciao!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to