Re: VM, graphics in .signature?
- From: Steve Youngs <steve@xxxxxxxxxxx>
- Date: Fri, 27 Jan 2006 03:12:35 +1000
* 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>---|
.
- References:
- VM, graphics in .signature?
- From: Hans Olav Eggestad
- Re: VM, graphics in .signature?
- From: Steve Youngs
- Re: VM, graphics in .signature?
- From: Hans Olav Eggestad
- VM, graphics in .signature?
- Prev by Date: Re: VM, graphics in .signature?
- Next by Date: Re: sort buffer-list always alphabetically (electric-buffer-list)?
- Previous by thread: Re: VM, graphics in .signature?
- Next by thread: sort buffer-list always alphabetically (electric-buffer-list)?
- Index(es):
Relevant Pages
|
Loading