- Location:Brisbane, Australia
- Music:The Great Beyond --- [R.E.M.]
Oh My Fucking GOD!
To the idiot yank who posted this question:
July
4th Independence Day is a US holiday celebrating the day that
the United States of America became an independent nation (as
I understand it). It is celebrated in the US, by US citizens.
The rest of the world doesn't care. The rest of the world
doesn't celebrate the independence of foreign nations, least
of all, yours.
Perhaps I should ask you… How do you celebrate Australia Day? Or Canada Day? How about Iraq Day? Do you celebrate the Iraqi nation's special day?
To answer your question, how does the vast majority of the world celebrate USA's Independence Day? We don't. For most of us it is just another ordinary day. It has no significance whatsoever. A few of us might mourn however.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.30)
- Location:Brisbane, Australia
- Mood:
annoyed - Music:I Predict A Riot --- [Kaiser Chiefs]
I don't know… I can't remember. Besides, whenever I do remember something that I have forgotten to do, I generally do the thing, and so it is no longer an undone forgotten thing, but a done remembered thing.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.30)
- Location:Brisbane, Australia
- Music:Shout (Parts 1 & 2) --- [Johhny O'Keefe ]
New Features nom nom nom
See the log below for the details, but the hot news today is that SXEmacs/LJ can now edit, or even delete, previously posted Livejournal entries.
Understand that this is an initial implementation and it may not be everything that you expect. For instance:
- You can only edit or delete posts that you have an archive copy of, and was archived from v1.30 or newer SXEmacs/LJ. Archiving now defaults to "on" because of this.
- You cannot change the date/time of an entry.
- No care or checks are taken to ensure you are editing the most up to date version of an entry. Whatever you send as the edit will overwrite whatever is currently online.
Rest assured that I will be working on eliminating some (or all) of those restrictions.
Getting The Code
Grab it via git…
git clone http://git.sxemacs.org/slh
The Gory Details
And here is the log…
Edit or delete old posts.
entries that have already been posted to Livejournal.
There are three caveats to this:
2) You can't edit/delete a post that wasn't originally posted from
3) Post date/time cannot be altered. You either get it right when
Livejournal site.
case for long. I am working on ways to eliminate at least the 2nd
caveat.
* lj.el (lj-post-proc-parser): Save the itemid as well.
journal entry.
of the achived post.
* lj.el (lj-delete-post-internal): New.
* lj.el (lj-header-regexp): Add X-LJ-URL, X-LJ-ItemID
* lj.el (lj-header-url): New face.
headers.
* lj.el (lj-goto-x-lj-itemid): New.
* lj.el (lj-construct-url): Update to allow for editing old posts.
* lj.el (lj-generate-new-buffer): Lose some whitespace being
* lj.el (lj-delete-old-post): New.
* lj.el (lj-version): Bump.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.29)
- Location:Brisbane, Australia
- Mood:
accomplished - Music:Still In Love Song --- [The Stills]
Me. Because I think I'm the only person that I could put up with and tolerate for any length of time.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.29)
- Location:Brisbane, Australia
- Mood:
happy - Music:If Everybody Looked The Same --- [Groove Armada]
I believe in a lot of things, and I'd like to believe that I believe in them all strongly. But would I march in the streets in support of any of them? More than likely not. Not because my beliefs aren't strong enough, but because I couldn't be arsed marching in the streets (or any place) for any reason.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.29)
- Location:Brisbane, Australia
- Mood:
thoughtful - Music:Be Yourself --- [Audioslave]
Hmm, lessee… would I rather be a non-existant made-up beastie, or someone who is so screwed up that they believe that fictional creatures exist enough that they waste their lives hunting them.
That's a tough choice.
I choose reality by not choosing either.
However, if passing on this truly monumental (sic) life choice is not an option, then I'd choose vampire. Why? Because not existing seems like much less work and more fun than chasing shadows.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.28)
- Location:Brisbane, Australia
- Mood:
bitchy - Music:Pony (Booty Bass remix) --- [Ginuwine]
Minor Updates
Just a very quick update here to allow for the possible presence of a signature in the post buffer when we're setting up to answer a Writer's Block question.
Getting The Code
Get it as normal from git…
git clone http://git.sxemacs.org/slh
The Gory Details
And here's the log…
Writer's Block fixes -- allow for signature.
as there might be a signature that we should leave at the bottom.
selecting a qotd so #'shrink-window-if-larger-than-buffer will
Also, insert qotd template at top of post body, not the bottom.
need to set it explicitly.
Also, allow for a signature being present and don't delete it if
* lj.el (lj-version): Bump.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.28)
- Location:Brisbane, Australia
- Mood:
accomplished - Music:Everybody Hurts --- [R.E.M.]
A teddy bear.
Do I still think about getting one? No. It didn't take too long to discover that there was no need… wives and girlfriends make much better bed companions.
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.27)
- Location:Brisbane, Australia
- Mood:
contemplative - Music:I Think I Lost My Headache --- [Queens Of The Stone Age]
Apparently Size DOES matter
So I was lazily flipping through the LJ API docs and I discovered that they impose limits on the maximum size of a post. I had no idea. Not only that, but there are also limits on the size of the subject header and other metadata fields as well.
This update adds code to SXEmacs/LJ that checks for these limits before you post. If you exceed the limits you'll get an error telling you what limit was exceeded, and by how much.
In other news
I had always intended SXEmacs/LJ to have its own abbrev table. I had gone as far as defining the table. I'd just left one thing off… I hadn't bloody turned on abbrev-mode in the LJ-Post buffer. Oops.
That's now fixed, so you can now define and use abbrevs to your heart's content.
Getting the code
Grab it via git…
git clone http://git.sxemacs.org/slh
The Gory Details
And here's the log
commit 7a47792891785ceeedc2676bee9c24ce36ca48a1
Author: Steve Youngs <steve@sxemacs.org>
Date: Sat Jun 25 20:10:07 2011 +1000
This patchset makes sure you don't exceed the limits on size that
It also fixes a quick little bug to do with abbrevs… I kinda forgot
* lj.el (lj-check-limits): New. Livejournals puts limits on the
exceed them.
* lj.el (lj-mode): Turn on abbrev-mode.
Signed-off-by: Steve Youngs <steve@sxemacs.org>
Till next time...
Steve
Posted via: SXEmacs/LJ (SXEmacs-22.1.14/LJ: 1.27)
- Location:Brisbane, Australia
- Mood:
accomplished - Music:Bad --- [U2]