pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc still messed-up
Todd Gruhn <tgruhn2%gmail.com@localhost> writes:
> So, quit using 'make' and then use 'bmake'?
>
> I built everything so far using 'make'. Does it matter
> if/when I switch to 'bmake' ?
Probably best to switch at the next go around when /usr/pkgsrc and
/usr/pkg are cleaned from scratch.
I'd make the switch if/when the xload and temperature readings are high
but you've nothing running intensively. Or, there are errors using
pkg_add .
adr <adr%sdf.org@localhost> writes:
I'm posting to the list to clarify that you can run emacs as
> a daemon with any toolkit. The problem is with gtk. There is an
> ancient bug that makes the application be killed if the X server
> dies.
Even if I build emacs without the gtk dependencies, on emacs startup in
daemon mode, I will get the ancient gtk bug message and emacs refuses to
start.
I suspect it is related to where the daemon mode socket file is located.
Not getting the file path right because subdir below the --init-dir
option isn't created automatically as assumed surfaces the gtk bug
message. Maybe.
Anyway, after trial and error, it eventually will run in daemon mode as
follows for me.
#!/bin/sh
# C client
# D daemon
# E environment
C=emacsclient
D=emacs
E=$HOME/.config/emacs30
# F daemon name
# G daemon file path
F="fretsaw"
G="$E/server/$F"
$C -f "$G" -e 0 >/dev/null 2>&1
if [ $? -ne 0 ]
then
echo "Emacs daemon not found."
echo "Emacs daemon starting ..."
$D --eval '(keyboard-translate ?\C-h ?\C-?)' --init-dir="$E" --daemon="$F"
if [ $? -ne 0 ]
then
echo "Emacs daemon failed to start."
exit 1
fi
else
echo "Emacs daemon exists."
fi
$C --eval '(keyboard-translate ?\C-h ?\C-?)' -f "$G" -ca '' "$@"
--
vl
Home |
Main Index |
Thread Index |
Old Index