On Nov 14, 2012, at 6:19 PM, Paige Thompson <erra...@devel.ws> wrote:
> For sure, its good to find some of those errors though.. for me it helps to > know what you can't do with some stuff first hand as a means of saying I am > proficient in something and sometimes it takes going down that path to even > realize that some things don't work the way you expect. The cross compiling > process is something I want to get to know very intimately. I've never had > much in the way of trouble aside from low level stuff. I've written a bit of > C and C++ in my day, it makes me wish I had focused my career more on it > sometimes though I'm sure I would feel the opposite if I hadn't stuck to web > application development and systems architecture. > > The fact that I haven't been able to find a complete base toolchain for > download yet is kind of a blessing and a curse. On one hand I'm learning some > things about glib and gcc that I never knew and on the other I can imagine > myself having a lot more fun with what I have planned once I get inside the > chroot :) > > > On Nov 14, 2012, at 6:08 PM, Ken Moffat <zarniwh...@ntlworld.com> wrote: > >> On Wed, Nov 14, 2012 at 05:38:05PM -0800, Paige Thompson wrote: >>> No intention of keeping em secret just want to maintain control over >>> it...fitting norms? Lulz, What are you talking about. Said I'd try to stick >>> to the bottom post... have no idea whether this phone does it right though >>> so ill ..do nothing apparently-- nothing in the settings and the previous >>> message is an uneditable box with a checkbox... if it does top post i wont >>> do it again i promise. >>> >>> Also dont take everything i say about not liking people too to-heart. Just >>> moody... but that said i do prefer to not have to argue cryptically on >>> mailing lists and irc about what im trying to do.. when im pretty sure >>> about what i want and yeah will check out some other lists i think... prob >>> would make more sense. >>> >>> Thxziz >>> Sent from my Verizon Wireless 4G LTE DROID >>> >> Lol. Phones are a pain - mine is still stuck on sending html so I >> can't use it to reply to the list. For norms, in this case ESR's >> jargon file on 'email' probably comes close. But if your phone >> won't let you, I'll try to remember that. >> >> Keeping control is why most of us are here - following the book >> works. Deviations can work too : on -support we only see people >> who have problems, and know nothing about others. But *some* >> deviations from the book will either cause failure, or a *lot* of >> additional work to work-around their consequences. >> >> Regards, >> >> ĸen >> -- >> das eine Mal als Tragödie, das andere Mal als Farce >> -- >> http://linuxfromscratch.org/mailman/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html >> Unsubscribe: See the above information page > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page I hate this mail client, I wish I could hurry up and get my lfs so I could bring back my round cube mail client.
QuoteFix
Table of contents
- what is it?
- installing the plug-in
- using the plug-in
- customized attributions
- advanced date/time formatting
- enabling/disabling
- licence & copyright
What is it?
QuoteFix is a plug-in for Mail.app which fixes some issues with replying to e-mail:
- it tries to remove the signature from the original message
- it removes certain unnecessary empty lines
- it positions the cursor below the original message, instead of above it (in other words, bottom-posting instead of top-posting)
- it can (optionally) prune nested quotes from a specific level and above
It also provides customized attributions for replies and forwards.
Installing the plug-in
Before installing the plug-in, you'll need to make sure that Mail.app's plug-in support is turned on. For this, execute the following two commands in Terminal.app:
defaults write com.apple.mail EnableBundles -bool true
defaults write com.apple.mail BundleCompatibilityVersion -string 3
Next, perform the following steps:
- Download the plugin if you haven't done so already
- Navigate in Finder to
~/Library/Mail/
(where ~ means: your home directory) -
If a
Bundles
folder doesn't yet exist, create an empty one
Lastly, quit Mail.app if it's running, and start it up again.
In case you run into any problems, or want to
uninstall QuoteFix, just remove QuoteFix.mailbundle
from
the bundle-folder and restart Mail.app.
Using the plug-in
After installation, QuoteFix is enabled. It will perform its magic automatically when you reply to, or forward, messages.
The behaviour of the plug-in is customizable via its preferences. QuoteFix has it's own preference pane in the preferences window of Mail.app. Most preferences speak for themselves, or have a useful tooltip which pops up when you hover the cursor above it.
If you temporarily want to turn off QuoteFix, but don't want to
uninstall it, check off the QuoteFix is
enabled checkbox. As of version 2.3.1, (de)activating
QuoteFix can be done from a menu item in the Mail
menu. You could use the
standard way of assigning a keyboard shortcut to a menu item in
Mac OS X to enable or disable QuoteFix with a keyboard
shortcut.
Customized Attributions
QuoteFix also provides the ability to define your own attribution
lines (the first line of a reply/forward, usually looking something
like On SOME DATE, at SOME TIME, SOMEONE wrote:
).
Customized attributions work by way of templates: you define a template in the preferences, and parts of the template will – at the time of replying or forwarding – be replaced by values reflecting parts of the message you are replying to or forwarding.
Templating works by replacing template variables with values.
A template variable looks like this:
${VARIABLE}
. It will be replaced with a value
depending on what VARIABLE
contains.
A (non-exhaustive) list of variables you can use:
${message.from} |
Name and e-mail address of sender of message: Your Friend <yourfri...@example.com> |
${message.from.name} |
Name of sender of message: Your Friend |
${message.from.email} |
E-mail address of sender of message: yourfri...@example.com |
${message.to} |
Your e-mail address (this is the address that was used for
the message to reach you). This is more like the
Delivered-To header than the To
header (for that, see ${message.recipients} )
|
${message.recipients} |
A list of all the recipients of the message, as mentioned in
both the To and Cc headers.
|
${message.recipients.to} |
A list of the recipients of the message mentioned in
the To header.
|
${message.recipients.cc} |
A list of the recipients of the message mentioned in
the Cc header.
|
${message.subject} | The subject of the message. |
${message.sent} ${message.received} |
Sent/received timestamps. If you want more finegrained
control over formatting timestamps, these variables split
into separate fields: year , month ,
day , hour , hour12 ,
ampm , minute , second ,
weeknumber , monthshort ,
monthlong , dayshort ,
daylong , date , time .Use these like so: ${message.sent.year} .
|
If you want even more freedom in formatting attribution lines, there's an experimental feature (which can be enabled in the Advanced preferences) which enables conditional statements, string/date formatting, and much more. This is based on a modified version of the pyratemp templating library for Python written by Roland Koebler.
A small example of what's possible:
From: ${message.from}
{% if message.recipients.to %}
To: ${message.recipients.to.join("; ", "name")}
{% end %}
{% if message.recipients.cc %}
Cc: ${message.recipients.cc.join("; ", "name")}
{% end %}
Subject: ${message.subject.lower()}
Sent-Date: ${message.sent.strftime("%d-%m-%Y")}
You can also enable HTML-formatting for your custom attributions. For this to work, the (outgoing) message format should be Rich Text. You can have QuoteFix automatically convert a message to Rich Text if your attribution should be interpreted in HTML. Otherwise, QuoteFix will issue a warning.
If you want to mimic the attribution generated by Outlook, try this
(with HTML-formatting enabled):
<b>From:</b> ${message.from}
<b>Date:</b> ${message.received}
<b>To:</b> ${message.to}
<b>Subject:</b> ${message.subject}
When you're editing your customized attribution, QuoteFix will generate an approximate preview as tooltip of the text field you're entering the attribution in.
Advanced date/time formatting
If you want even more finegrained control over the formatting of
dates and times, you can enable "advanced templating" in the
Advanced preferences, after which date/time variables like
message.sent
and message.received
will
have .format
and .strftime
methods with
which you can format the output of the objects.
Functionally, these two methods perform the same operation — namely formatting date/time objects — the difference is in the formatting strings used:
-
.strftime
uses the common Unix function with the same name for formatting. Look here for more information. -
.format
uses the Unicode date format patterns. Look here for more information.
An example:
${message.sent.format("EEE MMM dd yyyy HH:mm:ss")}
This will output: Sun Nov 06 2011 10:19:34
However: the output will be generated in the current locale, which means that it will be formatted according to your local language settings. See below on how to use a different locale.
Similarly, with .strftime
:
${message.sent.strftime("%a %b %d %Y %H:%M:%S")}
Both methods accept a second argument: a locale identifier. You can use it to convert the output to a certain locale, instead of the default locale (which can be changed in the System Preferences of Mac OS X: Language & Text > Formats).
The same example as above, but with a different locale:
${message.sent.format("EEE MMM dd yyyy HH:mm:ss", 'fr_FR')}
The output: dim. nov. 06 2011 10:19:34
If you want the default format, just in a different locale,
use the .locale
method:
${message.sent.locale('fr_FR')}
Enabling/disabling the plug-in
QuoteFix has various ways of turning off its behaviour, short of uninstalling it:
- You can turn QuoteFix off from its preferences; this will disable the plug-in until you enable it again;
- You can quickly turn the plug-in on/off from the Mail menu. If you want, you can even assign a keyboard shortcut to this menu item from System Preferences;
-
You can toggle the enable (or disable) status of QuoteFix for
a single message by pressing down
Option
whilst initiating a Reply/Forward action. That is:- When QuoteFix is disabled, pressing
Option
will enable QuoteFix for that particular message only; - Likewise: when QuoteFix is enabled, pressing
Option
will disable QuoteFix for that particular message only;
- When QuoteFix is disabled, pressing
Licence & copyright
This plugin is written by Robert Klep and is provided "as-is", without any warranties whatsoever.
QuoteFix' downloads and support is hosted by Google at http://code.google.com/p/quotefixformac/
QuoteFix uses the Sparkle framework from Andy Matuschak to provide software updates, which comes with the following permission notice:
See also http://sparkle.andymatuschak.org/
Like Quotefix?
^__ doesn't work I don't think
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page