I’v been an emacs lover since i discovered unix back in the 20th century (emacs 20 something). Over the years I’ve used emacs with joy on a large variety of operating systems (old unices, linux, windows, mac os x) and it is still my editor of choice.

This page is for bits and pieces that I do not know where to put elsewhere.

Raise Frame Bug

After a long quest, I finally found the magic formula to strike down the infamous “raise frame no go” problem. It seems that this incantation has not been posted on EmacsWiki yet, so here it is :

  (defadvice raise-frame (after make-it-work (&optional frame) activate)
    "Work around some bug? in raise-frame/Emacs/GTK/Metacity/something.
     Katsumi Yamaoka <> posted this in"
     "wmctrl" nil nil nil "-i" "-R"
     (frame-parameter (or frame (selected-frame)) 'outer-window-id)))


Fullscreen Emacs Roxor

This time, we’re talking about CarbonEmacsPackage

So, I already had something like that in my .emacs

  (tool-bar-mode nil)
  (require 'color-theme)
  (add-to-list 'initial-frame-alist '(alpha . (85 85)))
  (add-to-list 'default-frame-alist '(alpha . (85 85)))

Which was nice. And I used to maximize “by hand” the window itself. But yesterday I discovered:

  (defun maximize-frame () (interactive)

(Note that this function works both for maximizing and un-maximizing).

Having scrollbar-less windows is yet another reason not to switch to 10.5

Links to my contributions

so that I can keep en eye on ‘em (I whish there was a “backlinks” feature on this wiki…)

And a few bug reports:

Searchable archive of bug-gnu-emacs