logs archiveIRC Archive / Freenode / #emacs / 2009 / December / 7 / 1
monotux
btw, how do I activate the colored nicks in erc?
dim
technomancy: I use emacs and conkeror too, and awesome
technomancy
monotux: erc-highlight-nicknames module
dim
you have to try awesome, it simply never gets in the way
rgr
monotux: erc-modules (quote (completion stamp fill netsplit button match track smiley readonly networks ring autojoin noncommands irccontrols move-to-prompt menu highlight-nicknames))
technomancy
dim: I'm sure that's true, but metacity doesn't get in the way anymore
dim
oh ok then
technomancy
now that I've got devilspie
monotux
oh, thanks!
         

technomancy
it's basically a WM-independent rule engine that removes decorations and fullscreens stuff
dim
basically I'm now having 2 workspaces, 1 with emacs and the other with conkeror, and in emacs I use escreen, and that's it
technomancy
wow, only 2 workspaces?
(Action) finds 6 restrictive at times.
dim
I have 9 available I think
only use 2
my terms are M-x term ones
skorpan
i've used 9 at times
dim
so there's this escreen space for terms, another for IRC, another for gnus, and a number of others for currently opened projects
rgr
dont even use workspaces. use things like tagged window groups or namedscratchpads.
dim
and there's conkeror left, and that's it
technomancy
dim: yeah, I guess I'm weird because I use separate emacs instances as "buffer namespaces" to keep work, play, email, irc, etc apart.
dim
rgr: that's what awesome does, but as I have only 2 X clients opened and each one has its own tag, you can call then workspaces :)
technomancy: did you try escreen yet?
elscreen ain't good, escreen is excellent
technomancy
huh; will add that to the list
dim
ask rgr IIRC, he tried once and never went back :)
skorpan
dim: i use separate instances as well
technomancy
separate instances is not bad though.
dim
C-x 5 2 or real different ones?
monotux
uhm, is there any way of loading erc plugins while running?
skorpan
monotux: through customize i think
monotux
I was just looking throught it, couldn't find anything
:/
dim
technomancy: http://tapoueh.org/news.dim.html --- 3rd article is about escreen integration and the bells and whistles I added
technomancy
dim: will check it out
thanks
         

dim
in fact it provides the killer feature which is each screen gets its own buffer list, so C-x b is sensible, so you don't need frames that much anymore I guess
offby1
tapoueh sounds like something that would be good on pita bread
cluck
technomancy: erc-highlight-nicknames comes with erc now?
technomancy
cluck: oh... I may have downloaded that manually from emacswiki
cluck
thought so :)
it'd be nice if it did though
offby1
cluck: I hear they have the Internet on computers ow
cluck
offby1: if only
rgr
elscreen is my layout manager of choice for emacs.
dim
rgr: elscreen or escreen? (sorry to be dense)
rgr
elscreen. He added some fixes for me to create the "screen" or "tab" if it dit not exist. e.g C-z 9.
dim
oh, I remember you asked for that in escreen this time we chatted about it
rgr
yeah, there were some other UI issues with escreen that caused me to flick back to elscrene too.
dim
ok good to know
no complaint as far as I'm concerned, though
but I'll be less offensive in my advertisement now :)
monotux
srsly, where does one upload simple screenshots nowadays?
offby1
posterous might work
dim
image shak? emacswiki? your flikr account?
offby1
flickr requires sigup
signup
monotux
I have a flickr account, but it feels a bit wierd to post a debug-picture there (:
I'm testing posterous, tho
endri
i have a tex document in different files. how can i search or replace in all the files
arthurmaciel
hi
how can I discover if emacs is using utf8?
lisppaste
monotux pasted "utf-8 and windows" at http://paste.lisp.org/display/91697
arthurmaciel
I'm on linux
shabble
monotux: imgur.com is pretty good
sontek
Whats the best way to get code completion in emacs for python?
monotux
,,help
fsbot
hmm, help is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?ErBot
[1] To talk, type , followed by a message whose first word is either a topic, or a command, or a lisp expression. Some interesting topics: data, example, quickstart, and suggest., ..[Type ,more]
monotux
,,python
fsbot
python -- [0] an interpreted, interactive, object-oriented programming language
[1] often compared to Tcl, Perl, Scheme or Java,
[2] the preferred scripting language at google
monotux
,,more
fsbot
To see docs after <..+more>, type , more or ,l. Also use ,TERM N to see the TERM nth entry onwards.
sontek
monotux: I've looked at a lot of docs on what people have done, but a lot seems outdated, seems like emacs23 supports a lot out of the box
and kind of just wondering the current preferred method
monotux
sontek: yes, I'm stuck in a similar situation, I was just curious if there were any good answers here (:
technomancy
retroj: what's new in conkeror-land these days?
it's been working fine for me, so I haven't really been paying attention
retroj: any good name suggestions recently? =)
endri
how can i search within a multiple file latex document?
e1f
metacity always reminds me of a tumor metastasizing
i don't know why
rgr
sontek: ropemacs
but I warn you, setting up pything in emacs can be soul destroying.
"python" even
there is no python completion out of the box in emacs 23 AFAIK. I'm not even sure there is a working python-mode.
ltsampros
I found some guidelines, and even dynaminc tab completion worked.
rgr
but my setup works and includes live flymake driven pylint integration.
e1f
tomorrow's forecast of snow has been downgraded to flurries
monotux
furries*
Guest37654
rgr, yeah there's a working python-mode, just don't use the one bundled with emacs.
sontek
rgr: any small simple steps I should take for better python support or just add ropemacs?
Guest37654
sontek, http://hide1713.wordpress.com/2009/01/30/setup-perfect-python-environment-in-emacs/
offby1
endri: my favorites these days are lgrep (if the files are all in the same directory) or rgrep
,df lgrep
fsbot
lgrep is an interactive compiled Lisp function in `grep.el'.
(lgrep REGEXP &optional FILES DIR)
Run grep, searching for REGEXP in FILES in directory DIR.
The search is limited to file names matching shell pattern FILES.
FILES may use abbreviations defined in `grep-files-aliases', e.g. ..[Type ,more]
endri
offby1: given that when you create a multifile .tex emacs puts a certain string in the end, i thought there was a way to automatically find and replace within a multifile
sshelagh
offby1: there are a couple of caveats with using lgrep and rgrep in scripts though I found I had to set a variable before they would work reliably
I had to use (grep-compute-defaults) before calling lgrep
Not very intuitive
konr
Guys, I'm trying to install color-themes. I've downloaded and unpacked the tarball, yielding a directory with a color-theme.el file, which provides color-theme and has the function color-theme-initialize. I can load the file, still, when emacs evaluates a (color-theme-initialize), I get a "Symbol's function definition is void" error. Any idea on what might be going on?
Sorry, got disconnected, so I don't know if question was published: I'm trying to install color-themes. I've downloaded and unpacked the tarball, yielding a directory with a color-theme.el file, which provides color-theme and has the function color-theme-initialize. I can load the file, still, when emacs evaluates a (color-theme-initialize), I get a "Symbol's function definition is void" error. Any idea on what might be going on?
endri
i find it really strange that emacs does not have a way to search words within a projects composed by different files...
offby1
sshelagh: I've never used lgrep or rgrep in a script, so ...
e1f
,colortheme
fsbot
colortheme -- [0] a collection of some 80 complete color-themes at http://www.emacswiki.org/cgi-bin/wiki.pl?ColorTheme. Web preview at http://tinyurl.com/3a4mqf.
[1] add (require 'color-theme) (color-theme-initialize) to .emacs then (color-theme-<foo>), or M-x color-theme-select RET, ..[Type ,more]
patchwork
I am trying to get supercollider to work with emacs on macosx, and I followed all of the steps here: http://swiki.hfbk-hamburg.de/MusicTechnology/848 to the point that I have sclang-mode and related commands installed, but when I try to run > emacs -sclang as directed I get this: sclang: invalid option -i *** SCLang exited abnormally with code 1 ***
Any ideas?
I have been trying to figure out where the -i option is being given, but not having much luck
somehow emacs is trying to run sclang and passing it the -i option, which sclang does not have?
retroj
technomancy: i've been mainly working on the input system, and a new system of modality. laying the groundwork for cool features in the future you could sya
technomancy: a few cosmetic things here and there, too
sshelagh
offby1: I get so few chances to contribute just thought I'd add that to the mix.
offby1
heh
you should be more like me: I may not have anything to say, but that doesn't keep me from saying it
retroj
sshelagh: what specifically was the problem with lgrep and rgrep?
offby1

<sshelagh> I had to use (grep-compute-defaults) before calling lgrep
retroj
offby1: my question is why it was necessary to call that
sshelagh
I dunno
I just carefully read all I could on how to use lgrep and found that was the solution.
retroj
sshelagh: you just call this function for the hell of it?
sshelagh: the solution to what problem?
laurus
I have various web-based e-mail accounts that I'd like to back up all the messages from. I would also like to start using Emacs for e-mail. Is there a way I should backup these accounts so that the message archives will be compatible with Emacs in the future?
sshelagh
lgrep not working from a script
function whatever
retroj
sshelagh: not working at all?
sshelagh
not finding any hits when Iknew they existed
retroj
sshelagh: ok, interesting. i am experiencing some problems with grep from scripts, so this may help me
sshelagh
lgrep seems to need to be run interactively first in a session or it doesn't have its defaults set.
So I was getting no results sometimes and others it would work. It was a while ago but I guess the times it worked was when I had run it interactively first.
retroj
sshelagh: yes, that is the solution to the problem I am seeing in my program. thank you very much. yoyu have contributed. :)
sshelagh
retroj: My pleasure
retroj
sshelagh: and i see the problem in grep.el. that function gets called in the interactive form of grep, rather than the function body
sshelagh
retroj: Is this something that should be changed do you think?
Or at least documented better than it is.
retroj
sshelagh: I would think so. I couldn't say what the solution should be, since I'm not intimately familiar with grep.el. But it has been a point of frustration to me. (I use grep.el in a library that assists with looking up words in a chinese-english dictionary)
offby1
retroj: I'm pretty sure that grep-compute-defaults does what its name suggests: figures out what options to pass to "grep". Without having first done that, none of the various grep-invoking functions work. (Don't ask me why they don't simply _call_ grep-compute-defaults)
retroj
offby1: yes, exactly. but there is a built-in assumption that the grep commands will only be called interactively, because this function gets called only in the interactive form of those functions
offby1: it obviously needs to be called at that point, to provide defaults for the interaction. but it also results in this "gotcha" for people who call the grep functions non-interactively
jordanb
rudybot: quote
rudybot
Let's make fun of arc.
jordanb
rudybot: quote
rudybot
I'll grow your .
jordanb
rudybot: quote
rudybot
Let's all buy Macs.
offby1
retroj: I see. So the question isn't so much "why doesn't lgrep just call grep-compute-defaults", but rather "why does lgrep _only_ call grep-compute-defaults when it's invoked interactively?"
retroj
offby1: yes
ngirard_
I would like to prepend "p_" to a list of strings: "aa" "bb" -> "p_aa" "p_bb"
I tried
(mapc (lambda (s) (concat "p_" s)) (list "aa" "bb"))
But it doesn't work
retroj
ngirard_: you need mapcar, not mapc
ngirard_
Hi retroj. Thanks for this fast answer. i'll re-read the info right now ...
retroj: is there a mnemonics for mapc / mapcar ?
or a rationale for their names ?
retroj
ngirard_: mapcar is the traditional one for processing a list. mapc can be thought of as the "shortcut" form, when you don't need to produce a result
DuClare
It takes <2 seconds to C-h f mapc
retroj
ngirard_: in other words, mapc is for when you need to perform side-effects. mapcar is for when you need the result
ngirard_
DuClare: the info doesn't explains why mapcar is called mapcar, hence my question
DuClare
Sure
ngirard_
retroj: thanks
retroj
ngirard_: the name itself is from classic lisp terminology. the elisp manual has good stuff to say about the meaning of car and cdr
ngirard_
retroj: Aha. I hadn't seen the connection mapcar == map car
rgr
horrible names. totally designed to confuse.
DuClare
Yup.
Let's switch to a modern language.
konr
Guys, do you use xmonad? Emacs always start "deformed" on xmonad, with the frame larger than the windows+minibuffer, and I was wondering if there was a way to fix that
rgr
I've seen that behaviour.
DuClare
Yup
rgr
the key is to start the server first before adding a frame I think.
retroj
konr: for me, it has gotten worse than that with my most recent upgrade of emacs
rgr
no problems here anymore.
knor : what os?
,...
rudybot
Woof.
fsbot
[In the distance, you hear a dog bark]
rgr
has everyone been stricken down?
konr
rgr: with (server-start)?
retroj
rgr: with a relatively new emacs, suddenly my first emacs frame ends up with a scroll-bar in the center of the frame, after xmonad resizes the window, but emacs does not redraw
rgr
knor: no.
man emacsclient
specbot
Sorry, I couldn't find anything for emacsclient.
legumbre
rgr: we're recompiling xmonad and restarting
rgr
http://groups.google.com/group/gnu.emacs.help/msg/7458af0897df30cc?pli=1
konr
rgr: oh, on linux
rgr
fwiw, I use named scratchpads in xmonad:-
http://richardriley.net/projects/xmonad/index.html#sec-1.4.6
konr: I really would forget server-start and use emacsclient with the correctalternativeeditor parameter. I jus makes so much more sense to always use the same edit command and have emacs taking care of starting the server and only if its required.
retroj
what was the problem related to GDK_NATIVE_WINDOWSS?
rgr
menus disappearing
retroj
oh, thanks
« prev 1 2 3 4 5 6 7 8 9 10 next »