logs archiveIRC Archive / Freenode / #emacs / 2010 / March / 2 / 1
cluck
chrisdone: M-DEL
oh, you said NON-whitespace, nvm me then :)
mike31
how can I prevent show-trailing-whitespace t when in eshell or term?
fledermaus
turn it off in the hooks for those modes.
jlf
anyone know of something like balance-windows that only balances windows on the vertical axis? iow balancing window heights but leaves widths alone.
kensanata
jlf: windows or frames?
jlf
kensanata: all windows within the current frame
kensanata
jlf: I just discovered balance-windows-area instead.
jordanb
rudybot: quote
rudybot
Let's pollute the french language.
         

harovali
hi, I'm using arch linux , and I installed cedet, but it appears not to be active inside emacs. Does anyone know what steps follow ?
kensanata
jlf: It seems to me that you'd have to write advice around bw-balance-sub?
stepnem
jlf: btw, you know about `ediff-current-file'? You asked about an ediff version of `diff-buffer-with-file' the other day... :P
jlf
kensanata: no, that won't do for what i want. i usually have something like a 2x2 grid of source windows adjacent to a column of 3-6 erc windows stacked vertically. i want to keep the erc window column with a fixed width so the timestamps are aligned to the right edge of the frame.
stepnem: i didn't, but i'll look into it. thanks :)
kensanata: i'll look into that as well, ty
raydj
hi there
jlf
hey raydj
fledermaus
jlf: balance-windows isn't that complicated, should be easy to gut it to only do vertical
jlf
fledermaus: yeah, just figured it might exist already
fledermaus
doesn't seem to
jlf
i'm always surprised when things don't :)
raydj
I'm running into a bit of trouble with gnus and gmail... it hangs with 'imap: Connecting with STARTTLS...' :S any pointers?
bob2
did you install gnutls-cli?
raydj
yes
and starttls
bob2
and it works?
ie from the command line, they work?
raydj
um... they don't segfault, it's something... let's see if I understand how to test them
jordanb
rudybot: quote
rudybot
We should put it in football fields like idiots from the media.
raydj
gnutls-cli -p 993 imap.gmail.com connects ok
fledermaus
that's not connecting with starttls
that's connecting directly with tls
bob2
you don't need starttls for gmail/imap
         

fledermaus
imaps, shirley?
raydj
starttls imap.gmail.com 993 seems to hang
bob2
yeah yeah
gmail doesn't speak starttls on 993
it speaks tls
fledermaus
raydj: that's not suprising. do you know the difference between starttls andd tls?
raydj
so i should replace starttls with tls in .gnus?
fledermaus
yes
raydj
fledermaus: no
mike31
fledermaus: trying to find name of hooks for term and ansi-term modes
fledermaus
starttls means connect unencrypted and only start the tls handshake after some unencrypted protocol-specific negotiation
tls means connect and start the ssl/tls handshake immediately
they're not interchangeable.
raydj
I see
quite better, thanks :)
fledermaus
,dv term-mode-hook
fsbot
not documented as a variable.
fledermaus
,require 'term
fsbot
term
fledermaus
,dv term-mode-hook
fsbot
Called upon entry into term mode.
This is run before the process is cranked up.
You can customize this variable.
Defined in `/usr/share/emacs/23.1/lisp/term.elc'.
mike31
thanks, also found it this moment
damn
looks like term-mode-hook is for both term and ansi-term
thanks guys
also ring-bell-function 'ignore
works better than bell-volume 0
Azuvix
Is there a file for emacs themes?
bob2
file?
,,color-theme
fsbot
bob2, [->] I heard colortheme is [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. ..[Type ,more]
Azuvix
,more
fsbot
[1] add (require 'color-theme) (color-theme-initialize) to .emacs then (color-theme-<foo>), or M-x color-theme-select RET,
[2] comes with the debian package emacs-goodies-el,
[3] very flaky,
[4] See colourthemetest
Azuvix
Thanks. :)
disturb
speakin of color-theme, do you know of some nice themes floating
around ?
the bundled library is rather sparse
mns_
,colourthemetest
fsbot
colourthemetest is, like, [0] a showcase of the themes available in the color-theme-library
[1] at http://code.google.com/p/gnuemacscolorthemetest/
cluck
disturb: the only ones i can think of that are half decent and not in the official pack are the tango and zenburn themes
,tango
fsbot
[google] http://www.emacswiki.org/emacs/ColorTheme
http://www.emacswiki.org/emacs/AnsiTerm
cluck
,zenburn
fsbot
hmm, zenburn is [0] an easy-on-the-eyes color theme at http://www.brockman.se/software/zenburn/
[1] http://weblog.sentinelchicken.net/images/emacs-zenburn-full.png
disturb
cluck: yeah I've seen those, however I have a hard time with dark
background, was hoping there would be some online resources that I missed
ysph
i use zenburn fwiw, i've thought about going back to the default, but sometimes the white is too bright
rodrigo3n
hi everyone
i'm new to emacs, i found it amazing
but i couldn't find a configuration for editing
Haml templates .haml files
can you help me
i wanna know how do i do that
Derander
rodrigo3n: http://github.com/nex3/haml/blob/da9ed66cd49d8c9fc63420378d159997934ac7ea/extra/haml-mode.el
m3tti
hi at all
Derander
rodrigo3n: there is also one in technomancy's starter kit.. not sure if it is newer.
m3tti
how could i remove a background color in emacs ??? when i'm using a color theme?
rodrigo3n
thanks but just tell me something
how do i put it to work
jlf
,install
fsbot
jlf: install -- [0] To install a <file>.el, save it to, say ~/elisp
[1] add to the beginning of ~/.emacs: (add-to-list 'load-path "~/elisp"),
[2] now FOLLOW THE INSTALLATION INSTRUCTIONS IN THE FILE, typically adding (require '<file>) to the end of ~/.emacs, ..[Type ,more]
m3tti
because i use emacs in a xfce4-terminal with transperacy and want to delete the background of the color theme. The theme sets the background to black. is there a way to remove the background color
rodrigo3n
save the file in .emacs.d and put a (require 'haml-mode) inside init.el?
fsmunoz
rodrigo3n: most likely, yes
rodrigo3n
fsmunoz thank you, gonna solve it now
fsmunoz
Do that, then restart emacs (a new instance, just to test) and open a .haml file
If it did work, you will be in Haml mode
rodrigo3n
fsmunoz ok
anxt
org-mode ... this looks intereseting
chrisdone
org-mode is brilliant!
rgr
anyone using cedet - how to go back after jumping to a definition?
skeeziks
(Action) seconds that
chrisdone
there's a google techtalk on youtube about it if you're interested
anxt
that is what i am watching
i am sick of daylite
chrisdone
:D
rgr
also see Bernd Hansens usage pattern for org-mode.
snogglethorpe
hm, pointing my electric space-heater directly at my computer really makes the fan speed go nuts!
chrisdone
space heater? as opposed to what?
snogglethorpe
it's just an idiomatic name for a small standalone heater
dunno what other terms there are for such a thing
jgh
Is this good? http://www.emacswiki.org/emacs/ModeTutorial
Or is it outdated?
chrisdone
snogglethorpe: oh okay :p
snogglethorpe
everything on emacswiki is outdated
jgh
:-(
snogglethorpe
(though there does seem to be a difference between heaters which sort of actively use air as the delivery system, and those which passively heat other objects [e.g., the floor] and let natural convection do the job)
anxt
sometimes there are convections around my chair
rgr
cedet frustrates me so much. so very clever and yet so very unusable. It has a working symref system Wow. It works. I can see a buffer listing lines of code from files which reference a certain symbol. I read the line, position thr cursor over the function call which uses it and .... of course the cedet commands dont work in the cedet result buffer. its as if no one ever actually uses all these clever fetures and says "wouldn't it be easier if" ... Yes, I know. Su
anxt
gosh, org-mode is brilliant
jgh
I've heard this before.
You make me feel like my life is unorganised.
Is there an elisp repl?
jlf
,ielm
fsbot
hmm, ielm is [0] Interactive Emacs Lisp Mode
[1] M-x ielm RET
jgh
Ah, thanks
poet
is there a function that returns the current major mode?
jlf
(Action) assumed ielm was a mail reader for the longest time
poet: the major-mode variable
jgh
jlf: I've heard the name before, never wondered what it was. I guess it does sound like it could be a replacement for pine. :-)
poet
jlf: what kind of equality test can I use for the value of that variable?
jlf
poet: (eq major-mode 'erc-mode) for example
poet
jlf: ok, thanks
kenyon
grr, I have customized sh-shell-file to equal zsh. how do I write local file variable line(s) in certain files that use other syntax, but don't have a shebang line, like ~/.bashrc? this doesn't work for some reason: # -*- sh-shell-file: "bash"; -*-
twb
kenyon: you shouldn't write zsh scripts.
kenyon
it's hard not to if my shell is zsh, since I have to write .zshrc
jgh
Why is there ^L in some elisp files?
jlf
form feed / page break
jgh
Huh?
Meant to be printed?
jlf
i think the page-oriented movement commands might observe it
jgh
There are page-oriented commands?
Emacs, the unending, the multiple, the ever-discoverable.
jlf
,df forward-page
fsbot
forward-page is an interactive compiled Lisp function in `page.el'.
It is bound to C-x ].
(forward-page &optional COUNT)
Move forward to page boundary. With arg, repeat, or go back if negative.
A page boundary is any line whose beginning matches the regexp
`page-delimiter'.
jgh
Fascinating.
tgunr
I see there is a command to hide lines indented a certain amount, but is there a way to hide lines matching a regexp?
twb
jgh: it's used as a logical break, e.g. between variable declarations and function declarations
JordiGH
too many TLAs in this channel.
twb
JordiGH: it was good enough for MIT, so it's good enough for me.
JordiGH
So I'm looking at Matlab-mode, and I see that it seems to write some complex regexps (woohoo, stealable!) for distinguishing the case of a 'string' and matrix_transpose'
Whereas Octave only puts " in its syntax table for denoting strings and puts ' as punctuation.
enthymene
well, after a few hours of trying, I can't seem to edit files as oracle on this host. Connecting with TRAMP and editing my own files is fine (my username on that host is different from my username on this computer), but I can't find a way to get there, `sudo su - oracle` and start editing oracle's files. "sudo -u oracle" doesn't work. :/
JordiGH
Soooooo... assuming I can steal those Matlabian regexps... how do I use them to syntax highlight strings in Octave mode?
bob2
why does it not work?
enthymene
lemme retrieve the message again
JordiGH
sudo su sudo su dammit.
enthymene
haha
okay, trying to use proxy settings from the info files, I try to open '/sudo:host.my.proxied.domain:/oracle/home/path/file' and TRAMP objects, saying that the sudo method can only work on local files
JordiGH
enthymene: I've been happier with sshfs than tramp, will this not work for you?
enthymene
haven't tried it yet.
JordiGH
You basically mount the remote directory locally.
enthymene
JordiGH: basically I need to ssh to the box, 'sudo su - oracle', and then get whatever file I need.
JordiGH
sudo su?
enthymene
so hopefully I can do that over sshfs
yeah
JordiGH
Why all the sudoing suing?
enthymene
well
I need to be the user 'oracle' on this box, but I'm only a sudoer
JordiGH
sudo -u
enthymene
so I have to sudo su - oracle
JordiGH
sudo -u oracle
enthymene
yeah that doesn't work either
kenyon
I give up, just adding shebang lines causes sh-mode to set the correct indentation style
anxt
does oracle have a shell?
i use su - someuser all the time
enthymene
shouldn't it? I mean, if I can become oracle with 'sudo su - oracle'
« prev 1 2 3 4 5 6 7 8 9 10 11 next »