waider: (Default)
2005-08-26 06:18 pm

dear unix desktop people (Gnome, Emacs, Firefox)

Here in my Firefox window I have some highlighted text. In my head this is, perhaps, the X Primary selection. For a transient period in time it is also X Cut Buffer 0. From Firefox's context menu I've selected Copy, so it should now also be in the X Clipboard selection. However, in the Emacs buffer I wanted to paste to, it is not in any of these places. I don't know where it is. Why is this, exactly? I've read what is probably the clearest doc available on what should be happening (Note that despite the fact that Emacs has scragged the X Primary selection through a kill operation in another window, the text remains highlighted in Firefox). Someone here is not reading from the correct hymn sheet, and I want them found and shot, because if I select and copy text I fully expect it to be available to the next application that says, "insert clipboard contents here". Of course, it could well be that emacs, in its wisdom, is scragging the X Primary selection, X Cut Buffer 0, and the Clipboard all in one go... gah.
waider: (Default)
2004-03-09 02:39 pm
Entry tags:

stupid emacs tricks

(defun find-file-url( url )
(interactive
(list (read-string "Find URL: ")))
(shell-command (concat "wget -q -O - '" url "'")
(get-buffer-create url)))

(global-set-key "\C-x\C-h" 'find-file-url)
waider: (Default)
2003-05-28 03:24 pm
Entry tags:

ssc, I'm sure

The bookmark for the Emacs Lisp Reference Manual in my bookmarks list is titled "CHINE NUAL". This is inaccurate, uncalled for, and highly amusing to me.
waider: (Default)
2003-04-26 07:12 pm
Entry tags:

crazy, crazy people

Much as I am in favour of doing everything in Emacs, this is demented.
waider: (Default)
2002-06-28 12:04 am
Entry tags:

catching up

Now that I've got my laptop back, I can catch up with the stuff I was avoiding while it was broken... dammit. Out of excuses. Anyway. I've filled out the missing bits in my proper online diary (the one at waider.ie) and I'm thinking it's about time I modified my already-modified lj client to update both places simultaneously. Actually, probably it'd be better if I hacked lj support into my diary-helper code, because the latter is more evolved.

I was amused to discover that jwz had tried the lj client and found it didn't work with XEmacs. Because I tried it with regular emacs, and it didn't work with that. Maybe version-skew or something.
waider: (Default)
2002-04-03 09:23 pm
Entry tags:

I hack, therefore I am

Turns out that the Emacs lj Client simply doesn't know any security modes except public and private, and if you don't specify private it assumes public. Bad client! No cookie!
waider: (Default)
2002-04-03 07:50 pm
Entry tags:

Client, Serve Her

The Emacs lj Client doesn't appear to pay attention to the Access header, meaning that you have to manually frob it after you've posted. I'm sure this will bite me on the ass some day.