logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 31 / 1
bpalmer
,environment.plist
fsbot
[google] http://www.emacswiki.org/emacs/CarbonEmacsPackage
http://www.emacswiki.org/emacs/MacOSTweaks
technomancy
be sure to file a bug with apple about it
mwilliams_
bpalmer: Is that inside the package contents of Emacs.app?
bpalmer
technomancy: it's not a bug.
mwilliams_: nope. ~/.MacOSX/environment.plist
http://developer.apple.com/mac/library/qa/qa2001/qa1067.html
mwilliams_
Hmmm seems like I'm just better off figuring out how to get these packages to use shell instead of eshell
bpalmer
mwilliams_: or just tell eshell the new path.
technomancy
that's not going to work for things like M-! or shell-command
bpalmer
(eshell is a shell written in elisp; it similarly, properly, will not interpret your ~/.profile )
         

johnw
you can bind M-! to eshell-command
mwilliams_
bpalmer: I believe I've tried, in many areas, I tried M-x customize-option RET exec-path and adding the proper paths but still not working correctly; unless I didn't do it in the correct order
bpalmer
the downside is that you will probably end up having to maintain a PATH in two places, unless you set it just once in the one place that make it to every OS X application: environment.plist.
johnw
fwiw, that's what I do
i eval `$HOME/bin/shell-args`
where that script is here: http://gist.github.com/266437
it converts environment.plist into a form that's consumable by bash
that way, I only ever set environment variables in one place
technomancy
(Action) listens to his stomach turn at these horrible hacks =\
I feel a little guilty every time I tell someone the answer is "just edit an XML file"
johnw
just use the word "enterprise" and walk away smugly
solves all java arguments at least
newbie123abc
hi all
is there someone working with latex + emacs?
mfisher
,anyone
fsbot
Please do not ask if anyone uses, knows, is good with, can help you with or is a guru/expert of <some program>. Instead, ask your real question.
bpalmer
johnw: hmm, should I mention lexical file handles, warnings, strict, and deprecation of $*/MULTILINE_MATCHING ?
johnw
nope
bpalmer
johnw: then I won't.
johnw
i'll just say "perl" in response
for this, apparently, more than one way :)
bpalmer
I don't think $MULTILINE_MATCHING even does anything for you, since you don't "use English;" at the top.
johnw
it makes me feel warm
bpalmer
I think a proper #perl response would be to use XML::Simple, too.
oh well. A "proper" solution probably involves a few hundred CPAN modules and Moose, if not catalyst.
rgr
Han: C-d runs the command gnus-summary-enter-digest-group, which is different again.
Han
*grrr* :-)
rgr
can emacs give the keycode for a key pressed?
leo2007
rgr: read-key
         

bpalmer
that's still subject to low-level translation.
rgr
I dont really know what I want. I just want xterm emacsclient to do same command with DEL key as X emacsclient.
bpalmer
rgr: so keyboard translate deletechar to delete
rgr
xmodmap?
fsbot
hmm, XModMap is see xkeycaps .. + other entries
bpalmer
no, ,,df keyboard-translate
fsbot
keyboard-translate is a compiled Lisp function in `subr.el'.
(keyboard-translate FROM TO)
Translate character FROM to TO at a low level.
This function creates a `keyboard-translate-table' if necessary
and then modifies one entry in it.
rgr
thanks
tricky syntax for the del key
bpalmer
Interesting bit on lifehacker about 'ommwriter': gives you a background picture and a soundtrack while you write.
a neat idea, at any rate; I guess you could do something similar with emms and some suitable music, although it'd be cooler to tie the music in to your typing/navigation speed.
With obligatory trumpets when you reach certain parts of the codebase...
rgr
bpalmer: sorry to be so clueless but where do I find the ?\c- equivalents of DELETE and DELETECHAR?
william-opensuse
emacs
bpalmer
rgr: what's wrong with (keyboard-translate 'deletechar 'delete) ?
rgr
I guess nothing...
bpalmer
oh. That may not work in emacs. But worth a shot.
rgr
no it doesnt. deletechar is not defined.
bpalmer
ok. XEmacs allows you to work with keysyms directly.
randomly, does anybody have a good pager for *shell*/similar buffers that behaves like head?
if not, it's trivial to write, of course; just curious.
william-opensuse
emacs is too hard for new user
skorpan
william-opensuse: how so?
william-opensuse
for a new user , everything is total different
Sketch
type C-h t
rgr
william-opensuse: it is hard work when you start. but you will soon learn that anything worth learning is not so easy at first :-;
dmhouse
Hard, yes. Too hard, bullsh*t.
_p4bl0
Sketch: I usually give a C-h C-h instead of C-h t
rgr
gah this delete deletechar thing is driving me nuts.
newbie123abc
hi all
how can i put whizzytex on pdf mode?
antoni
Hi, does two-mode-mode run on Emacs 23? It does't change between modes.
konr
Anybody using viper/vimpulse here?
or has anybody used eval-region function? Here it is always returning nil for some reason :/
nevermind, as it rtfm, I realized it always returns nil
rorx
so I've just compied Emacs.app from the EMACS_23_1 tag and I still notice that the tool bar icons are dark, anyone else notice this?
monotux
in a modern rcirc, is there a way of connecting to a server which requires a password?
skorpan
monotux: no, there is a patch for it though, which has been lying around for like a year
pisses me off that no one cares about rcirc these days
offby1
(Action) sheds a quiet tear
skorpan
i'm gonna write a rap about it
it's gonna be called "forgot about rcirc"
monotux
skorpan: yeah, I saw it, but was unsure if it was necessary anywore
anymore*
hence the question :)
rgr
can someone help me keyboard translate to translate the deletechar to delete please?
monotux
uhm what?
rgr
In an emacsclient (X) on a gnus summary buffer the delete key gives <delete> but in a xterm emacsclient the delete key gives <deletechar>.
I tried xresources but dont seem to work as I want.
bpalmer suggested keyboard-translate
monotux
rgr: not sure I can help you :)
rgr
I'm totally stumped at which level I should fix it -- xterm or emacs.
idiopath
how do I activate the transient mark in transient mark mode from elisp?
the goal is to highlight the offending text on a compiler error, I can set the mark and pop to the correct buffer and line, but I cannot yet turn on the highlighting from elisp
dmhouse
M-x compile does this, maybe have a look at how
idiopath
thanks
dmhouse
Sorry, not a great answer
idiopath
better than nothing
abbe
idiopath, (key-binding (kbd "C-<SPC>")) ?
skorpan
idiopath: try `push-mark'
idiopath
hmm, lemme try that
yeah I was using push-mark
it was not highlighting
what I wanted was the
what I wanted was the "activate" argument to push-mark
skorpan
why not just use text properties?
idiopath
thanks again for the help
skorpan
(set-text-properties start end properties)
idiopath
because setting mark and point is convenient in this case
skorpan
okay
bpalmer
idiopath: if it's for your own use, ok; but it strikes me as probably a bad idea, particularly if anybody else starts using it :)
idiopath
it is for a widely used project, but not the default behavior
I am actually implementing the "selectRange" method for the Document class for supercollider, to be specific
bpalmer
ah.
idiopath
the explicit behavior of the method is to pop to a document, and highlight the specified region, for ide style integration usually, but it could be for someone's supercollider interface
for example ixi lang is built on sc and it selects and jumps to regions as part of the interaction with the language (which is what got this whole thing started, wanting to try ixi on linux)
monotux
skorpan: uhm, I can't even apply the rcirc-patch
skorpan
monotux: why not?
monotux
http://1stein.org/2006/12/11/ServerPasswordForRcircel/
patch complains that it's not valid :(
skorpan
that's not the patch i'm talking about
monotux
I also found it on emacswiki, but I thought this 1stein guy was serious
skorpan
monotux
a-ha
skorpan
not sure that can be applied either, given it's almost a year old
monotux
1 out of 8 failed, but I think it's mendable
is that even a word?
hm
skorpan
M-$ says no :)
monotux
woho, I patched it
restart emacs
aaah
rcirc with support for passwords, yay \o/
can someone type something!
eh
s/!/?/
(please)
:)
konr
,yow
fsbot
I'm ANN LANDERS!! I can SHOPLIFT!!
monotux
thanks
konr
np :)
Should the (error) function really create another buffer to inform you of an error, or my error function call has an error on it?
monotux
02:05 *** MyCatSchemes PART #emacs "Leaving"
eh, wtf
skorpan
what?
monotux
not sure why I printed the PART-msg above
skorpan
hitting enter twice in the log maybe
monotux
02:10 <skorpan> hitting enter twice in the log maybe
aaaaaaaah
skorpan
...
monotux
I like rcirc the more I use it, although a few thinks are a but surprising :)
skorpan
that is indeed a weird feature
02:10 <monotux> aaaaaaaah
oops
was trying something about it ;P
monotux
I love the late-fix-script
skorpan
yeah that's pretty cool
monotux
you're swedish, btw?
skorpan
yes, why?
monotux
vild gissning ;)
skorpan
hehe
bpalmer
latex fix script?
late, rather.
my finger macros seem particularly strong tonight.
skorpan
bpalmer: if someone writes s/A/B/ it will replace A with B in the last message that user sent
,rcirc-late-fix
fsbot
try: rcirc-late-fix-example-1 rcirc-late-fix-example-2 rcirc-late-fix-example-3 rcirc-late-fix-update rcirc-late-fix.el rcircLateFix
bpalmer
ah. That seems ungainly.
rewriting history should be left to the professional.
skorpan
it would be cool if it was actually part of IRC
bpalmer
you mean ... wave ?
skorpan
google wave is a piece of sh*t
sheijk
bpalmer: or to the git user ;)
rgr
trying to get delete (not backspace) working properly I found a line like this "(keyboard-translate ?\C-h ?\C-?)" but what is the delete key equivalent in this format? Or how do I query it?
bpalmer
I just know that someone out there is writing an instant messenger client on top of git.
skorpan
rgr: out of curiosity, why don't you just use C-d?
actually, C-d might just be the equivalent of <delete>, but i'm not sure
rgr
because its not ctl-d i want. I want the <delete> code.
ryoma
kbd?
fsbot
I heard kbd is A macro for specifying key bindings readably. ie: (global-set-key (kbd "C-c <TAB>") 'do-something) .. + other entries
rgr
in X delete key gives <delete> in xterm emacs its <deletechar>
skorpan
what *is* <deletechar>?
rgr
I have no idea any more.
soopos
How can you go to the different file without leaving emacs?
rgr
(keyboard-translate ?\C-h ?\C-?)
skorpan
soopos: C-x C-f
rgr
<deletechar> runs the command delete-char, which is an interactive
but its something else in gnus which expects <delete>.
skorpan
when i hit the DEL key on my keyboard, i get "C-d (translated from <delete>)" but *also*: It is bound to C-d, <deletechar>.
rgr
depends on the mode etc
skorpan
something very strange is going on here...!
yeah but as you can see, emacs says that it is bound to only C-d and <deletechar>, not <delete>, but <delete> still translates to C-d
rgr
but notice the "translated from <delete>". In xterm I get <deletechar> all the time.
soopos
skorpan: Thank you!
« prev 1 2 3 4 5 6 7 next »