なんだこれは

はてなダイアリーから移転しました。

port日記:そんなことよりこいつを見てくれ

The following installed ports are outdated:
emacs                          23.2_2 < 23.2_3           
libxml2                        2.7.7_0 < 2.7.8_0  

またかよ!

そんなことより、こいつを見てくれ


こいつをどう思う?

sudo port variants emacs-app

emacs-app has the variants:
fullscreen: Add fullscreen patch from http://gist.github.com/291150 as
mentioned in
http://www.sanityinc.com/full-screen-support-for-cocoa-emacs-on-osx
universal: Build for multiple architectures

fullscreenだと?えーっと何言ってるの?full screenって、なに。

sudo port install emacs-app +fullscreen

M-x ns-toggle-fullscreen

これ、なににつかうのかな?えーっとgoby-modeですか?

goby-mode

あれ?え?

ちょwwなにこれ。
MakefileでPREFIXを変に指定したら、途中のフォルダがない場合作ってくれないみたい。
がーん。

mkdir -pじゃなくて mkdirを呼んでるみたい。

id:kazu-yamamoto 様 git-habから落としたgoby-modeのMakefileがこうなってます。

PREFIX = /usr/local

EMACS  = emacs
ELCDIR = $(PREFIX)/share/emacs/site-lisp/goby
SRC = goby-emacs.el  goby-vars.el  goby.el  goby-view.el  goby-ps.el
ELC = goby-emacs.elc goby-vars.elc goby.elc goby-view.elc goby-ps.elc

ALSRC = goby-emacs.el  goby-vars.el goby.el goby-view.el goby-ps.el
CHECK = xemacs # to check unused variables only

MKDIR   = mkdir
RM      = rm -f
INSTALL = install -c -m 644

PTH = path.el
OTH = diff $(PTH)

all: compile

compile: $(SRC)
	echo '(setq load-path (cons "." load-path))' > $(PTH)
	for el in $(SRC); do \
	  $(EMACS) -q -no-site-file -batch -l $(PTH) -f batch-byte-compile $$el; \
	done
	$(RM) $(PTH)

check: $(ALSRC)
	echo '(setq load-path (cons "." load-path))' > $(PTH)
	for el in $(ALSRC); do \
	  $(CHECK) -q -no-site-file -batch -l $(PTH) -f batch-byte-compile $$el; \
	done

install:
	if [ ! -d $(ELCDIR) ]; then \
	  $(MKDIR) $(ELCDIR); \
	fi
	for el in $(SRC); do \
	  $(INSTALL) $$el $(ELCDIR); \
	done
	for elc in $(ELC); do \
	  $(INSTALL) $$elc $(ELCDIR); \
	done

clean:
	$(RM) *.elc $(OTH)

distclean:
	$(RM) *.elc $(OTH)

diff::
	-cvs diff -c -F "^(" > $@