Re: VM, graphics in .signature?



* Hans Olav Eggestad <hans.olav.eggestad@xxxxxxxxxxx> writes:

>>>>>> "SY" == Steve Youngs <steve@xxxxxxxxxxx> writes:
SY> * Hans Olav Eggestad <hans.olav.eggestad@xxxxxxxxxxx> writes:
>>> I wan't to have graphics in my .signature file (include a
>>> gif-file). How can I do this?

SY> This is a joke, right?

> What's so funny about including a logo in the .signature??

That's just it, it's not funny. It'd be obnoxious and annoying. The
only way to do it would be as an inline MIME attachment, so it is very
easily doable. But, just look at an example...

The image in my Face header on this message, "the thinker", it's a
jpeg file that is 1437 bytes in size. Tiny really. I've seen icons
that are larger in size. If I were to attach that to the body of this
message and you looked at the raw message you'd see that it takes up
36 lines of text.[1] So much for the 4 line max on a .sig.

Look, if you want to do it, fine, do it. Just don't send that crap my
way and expect a reply.

SY> -- |---<Steve Youngs>---------------<GnuPG KeyID:
SY> A94B3003>---| | I am Dyslexic of Borg. | | Fusistance is
SY> retile. Your arse will be laminated. |
SY> |------------------------------------<steve@xxxxxxxxxxx>---|

Supercite is a nifty little package, I use it myself, but it does have
one or two deficiencies...

1) It defaults to filling the cited text which quite often leads to
disastrous results. As evidenced in the cited .sig above.

2) It doesn't provide a way to _not_ cite the sig of the message you
are replying to. As evidenced by the existence of the cited .sig
above.

You may not have a need to fix #1 if you are not replying to many
messages where filling is bad (patches, example source code, etc,
etc). But in case you do...

(setq sc-auto-fill-region-p nil)

And to fix #2...

(defun sy-sc-remove-signature ()
"Removes the signature from the original message.

To use, hang it off the appropriate hook such as `sc-pre-hook' so
you're not citing useless stuff."
(save-excursion
(let ((start (point))
(end (mark t))
(sig-sep gnus-signature-separator))
(while sig-sep
(goto-char end)
(when (re-search-backward (car sig-sep) start t)
(forward-line -1)
(while (looking-at "[ \t]*$")
(forward-line -1))
(forward-line 1)
(setq mark (set-marker (make-marker) (point)))
(delete-region mark (mark t)))
(setq sig-sep (cdr sig-sep))))))

(add-hook 'sc-pre-hook 'sy-sc-remove-signature)


Footnotes:
[1] The reason my Face header isn't 36 lines long is that Gnus
reduces the size of image date down to around 700 bytes using
netpbm tools before base64 encoding it.

--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| I am Dyslexic of Borg. |
| Fusistance is retile. Your arse will be laminated. |
|------------------------------------<steve@xxxxxxxxxxx>---|
.



Relevant Pages

  • Re: VM, graphics in .signature?
    ... > What's so funny about including a logo in the .signature?? ... In fact I wanted my small business logo asshown under ... An auto default .sig with a discrete graphic is more ... So it's funny only if you are young, ...
    (comp.emacs.xemacs)
  • Re: whats wrong with a pic ?
    ... saw your signature and likely saw you ranting about it and decided ... to fix it immediately:). ... I have been ranting about it for over a year. ... I have a sig for top-posting. ...
    (comp.arch.embedded)
  • Re: Session or browser problem??
    ... a signature is by definition personalized. ... Section 4.3 is entirely about the sig delimiter, ... Why should I fix something that I don't have at all? ... to add a sig just for the sake of it? ...
    (comp.lang.php)
  • Re: Nuclear Power - the only answer.
    ... >>the materials are just too hard to come by... ... I wish I had one penny for every signature, security pass and lock I have ... One sig each. ... National Standards Lab but only on the grounds of an out of calibration ...
    (soc.culture.scottish)
  • Re: Eliminate Dashes Above Signatures
    ... You will see that the delimiter and sig in your reply was removed, ... OE-QuoteFix can be used to configured OE to add the sig to the bottom of the message and to place the cursor at the bottom of quoted replies as well. ... Your best bet to overcome OE's default behavior would be not to use any OE signature option. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)

Loading