logs archiveIRC Archive / Freenode / #emacs / 2010 / March / 2 / 10
fledermaus
sECuRE : most likely you are setting the default font late
lvh
hello
fledermaus
and the frame is getting resized.
try using xresources to set the default font _before_ your .emacs is read
mooglenorph
sECuRE: try setting the font in your .Xresources file
lvh
I'm trying to use the color-theme-x script
fledermaus
and the problem should go away
brx
ivan-kanis: thank you
sECuRE
fledermaus: i did not touch the emacs config. i only installed emacs23 on debian testing
mooglenorph
sECuRE: xmonad has the same problem, it went away when I did that.
         

lvh
It doesn't work, with the following message: assoc: Wrong type argument: listp, color-theme-charcoal-black
sECuRE
in my .Xresources, i use:
*font: -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
lvh
I'm thinking that should be color-charcoal-black, not color-theme-charcoal-black
is that a bug in the script, or am I doing something very wrong?
mooglenorph
sECuRE: hmm, donno then. try setting Emacs.font directly?
fledermaus
,-q
fsbot
From memory, -q is if you start emacs with "emacs -q" and the problem goes away, it's YOUR FAULT; check your .emacs. If "emacs -q" has problems and "emacs -Q" does not, it's caused by your distro or local admin.
sECuRE
what font do you use, just so that i can test if the problem still appears then
mooglenorph
sECuRE: I use consolas-12, and Emacs.fontBackend: xft
sECuRE
runnning emacs23-x -q still has the problem, lets see for -Q
mooglenorph
sECuRE: try with mono-12 and Emacs.fontBackend: xft
sECuRE
-Q aswell
mooglenorph: doesnt solve the problem
mooglenorph
sECuRE: I'm out of ideas, then :-\
lvh
hello
When switching a color theme, emacs appears confused about the actual size of its frame.
(specifically, it's a good bit smaller.)
I can fix the problem by manually resizing the window, but that's pretty annoying.
yonkeltron
emacs --daemon is possibly my favorite thing...
banister`gym
yonkeltron: my favourite thing is asian girls in their early to mid twenties
technomancy
yonkeltron: hey... were you interested in helping out with package.el hacks?
yonkeltron
banister`gym: well. um. good?
technomancy: yeah, i sort of am still. i actually had a few ideas about backend stuff
technomancy
yonkeltron: oh?
yonkeltron
yeah
ivan-kanis
listening to Cabaret Voltaire while playing doomrl is a good mix
         

technomancy
yonkeltron: I could use some help testing out my changes too
yonkeltron
oh yeah?
technomancy
both the repo-generation code and the multi-repo client code
yonkeltron
you're using git?
technomancy
right
http://github.com/technomancy/package.el
chrisb
yonkeltron: are you using emacsclient to connect from remote clients?
qizwiz
is there a way to map a touchpad tap as a key? I don't have a second mouse button and a tap on the touchpad might be a reasonable compromise
sECuRE
qizwiz: if youre on linux, the synaptics driver is able to emulate a second mouse button in various ways
dim
ahah, muse split entries for journal is beginning to work :)
yonkeltron
chrisb: not from remote clients
qizwiz
*sigh* not on linux...
chrisb
yonkeltron: what are you taking advantage of with emacs --daemon?
cjb
Hi! I've forgotten how to limit a buffer to lines that match a regexp (or just a string) in emacs -- could someone remind me? :)
chrisb
setting EDITOR="emacsclient -c" ?
qizwiz
windows xp and I've worked way harder than I probably should have to get it working like I like
chrisb
as the default editor in the shell?
yonkeltron
chrisb: having an emacs running all the time
ivan-kanis
dim: interesting, you can use it for blog?
chrisb
yonkeltron: ah, so the "screen-like" ability to detach
yonkeltron: right?
dim
I already use Muse to blog
chrisb
yonkeltron: and reattach
dim
but I miss the one file per entry output
mmm, I missed :)
yonkeltron
chrisb: yeah and it starts faster
chrisb: which is a pluc
s/pluc/plus
dim
well it's still needs debugging
ivan-kanis
dim: i use muse for blog, i wish it would generate one html file per entry...
cjb
.. ah, M-x list-matching-lines. that'd do it. :)
dim
ivan-kanis: I'll post my :final function
it's just that
ivan-kanis
dim: ok please
yonkeltron
chrisb: considering how much lives in my emacs (shells, org-mode files, latex files, code, etc.) and how much i work on at once, having it open and accessible all the time is kind of a big deal
dim
ivan-kanis: as of now it's messing up the articles
so you get a file with a name and another article in there
not that useful
chrisb
yonkeltron: thanks for explaining
dim
ahah found it I think
ivan-kanis
dim: i know org can do it, but I am too lazy to set it up
chrisb
yonkeltron: i'm still trying to see what's making it difficult for me to run remote emacsclient sessions...
dim
yeah
ivan-kanis
dim: or rather I only want to use one web publishing tool
chrisb
yonkeltron: i'm making progress, little by little
lisppaste
dim pasted "split muse entries for journal" at http://paste.lisp.org/display/95815
dim
see that ivan-kanis
it works for me, with some hard-coded things still
ivan-kanis
dim: thanx
dim
does it work for you?
yonkeltron
chrisb: interesting. what os?
ivan-kanis
dim: i copied it into my inbox, right now I am too busy with doomrl ;)
dim
hehe ok
tell me if it does not
ivan-kanis
dim: will do
dunnen
does anyone use Wanderlust?
fledermaus
,anyone
fsbot
I heard anyone is Please do not ask if anyone uses, knows, is good with, can help you with <some program or library>. Instead, ask your real question and someone will answer if they can help.
dim
I'm still short of an index page, too
dunnen
how do I stop Wanderlust from CC myself when I do a reply to all?
dim
but that should be easy to fix
ahah! :)
fledermaus
,wanderlust
fsbot
wanderlust is [0] Yet Another Message Interface on Emacsen at http://www.gohome.org/wl/
[1] at http://www.emacswiki.org/cgi-bin/wiki.pl?Wanderlust
fledermaus
maybe there is something there
chrisb
yonkeltron: debian/gnu/linux
sECuRE
is it safe to build emacs with -j8?
chrisb
(Action) just got his first remote cxn with ssh -X <hostname> emacsclient -c -f <serverfile>
yonkeltron
chrisb: can you tunnel over ssh?
oh
hehe
justinlilly
chrisb: I can has blogpost?
ivan-kanis
sECuRE: yes
sECuRE
alright, thanks
chrisb
which gave me a nice X session
(Action) goes back to trying to get a terminal emacs cxn
when i try to get a term, i get the error emacsclient: could not get terminal name
bremner
dunnen: I have a complicated way of doing it, but I seem to recall there is a simpler way using wl variables
chrisb
(Action) got it!!! using ssh -t -nw to force a pseudo terminal assignment
dunnen
bremner, yea. i am looking at wl-draft-reply-with-argument-list right now
justinlilly
chrisb: srsly. you need to write up these steps and post them somewhere.
even if that "somewhere" is a github gist of a pastebin
s/of/or
bremner
dunnen: wl-draft-always-delete-myself
GSaldana
has anyone checked out yasnippet lately? I'm having problems with the snippets adding some comments instead of just the snippet tags
dunnen
bremner, awesome thanks
jlf
,yow
fsbot
If I am elected no one will ever have to do their laundry again!
jlf
(Action) votes
swathanthran
i wanna call my-function having 6 args with a list of 5 first args and 6th last arg.. (apply 'my-function (append my-list (list sixth-var))) is the right way?
vida
How to connect via sudo and tramp to a remote machine?
I get warning: sudo can only use local machine
jlf
swathanthran: you can do (apply 'foo `(,@first5 ,last1))
swathanthran
is that better in some way?
i saw backquote is depreacted or something..
jlf
it's more concise and more readable imo
???
fsbot
Ask yourself, do you really want to know?
jlf
backquote is not deprecated
swathanthran
i once got a warning some time.. old style backquotes found.. didn't dig more on it though..
vida
,sudo
fsbot
try: sudo-save.el sudoedit sudoku sudoku-solver SudoSave
vida
,tramp
fsbot
vida: I heard TRAMP is [0] an Emacs library, included in Emacs 22, that implements transparent remote file access over a number of protocols (ssh, sudo, rsync, ftp, ...) <http://emacswiki.org/wiki/TrampMode>, <http://savannah.nongnu.org/projects/tramp> ..[Type ,more]
^boris
,m-c-\
fsbot
ERROR: End of file during parsing
pgas
,dk M-C-\
fsbot
ERROR: M- must prefix a single character, not C-
vida
My sudo via tramp does not work
^boris
when i select all c-x h and attempt to retab the entire document c-m-\ it gives an error of wrong type argument: number-or-marker-p, nil
pgas
,dk C-M-\
fsbot
Uh oh, C- must prefix a single character, not M-
^boris
when doing a c-x h it defines a mark set so not sure why im getting this error
jlf
,dk C-M-\\
fsbot
indent-region is an interactive compiled Lisp function in `indent.el'.
It is bound to C-M-\.
(indent-region START END &optional COLUMN)
Indent each nonblank line in the region.
A numeric prefix argument specifies a column: indent each line to that column. ..[Type ,more]
^boris
will c-x h not set the start end mark?
,dk C-X-H
fsbot
err..C- must prefix a single character, not X-H
^boris
,dk C-x h
fsbot
mark-whole-buffer is an interactive compiled Lisp function in
`simple.el'.
It is bound to C-x h, <menu-bar> <edit> <mark-whole-buffer>.
(mark-whole-buffer)
Put point at beginning and mark at end of buffer.
You probably should not use this function in Lisp programs; ..[Type ,more]
jlf
^boris: are you hitting TAB or C-M-\ ?
^boris
C-M-\
jlf
and running C-h c on C-x h and C-M-\ gives mark-whole-buffer and indent-region respectively?
^boris
jlf: yes
jlf
what version of emacs?
^boris
running on fedora, emacs 23.1 release 18
should i try upstream instead?
jlf
have you tried in other source files?
^boris
jlf: just python ill try a c file
jlf: nice catch it seems to be just python
c++ re-indents region
would this be considered a feature request?
or is there another way to re-indent a region in python src files
jlf
it sounds like a bug.. you might check if a newer python mode is available
^boris
jlf: ok ill look and see
jlf
i would guess it's having trouble parsing something and getting confused
you may be able to isolate it with a binary search or similar and create steps to reproduce
jeremyw
I'm working on a Python mode bug as well. Looking at the source leads me to believe the python-mode.el/python.el merger isn't complete. Possibly already a known thing.
^boris: Does pdb work for you?
^boris
ive used pdb in my programs before
jlf
^boris: that would make a fix more likely to arrive sooner if it's indeed a bug and not a typo in your code or something
^boris
need me to do something
jlf: ok
jeremyw
^boris: I haven't run into indention issues yet but pdb isn't working for me in 23.x. No interactive prompt. I submitted a patch that Chong applied that makes it where you can open a shell and invoke pdb manually to get interactive debugging working.
^boris
jeremyw: ah i haven't used pdb within emacs to that extent
jeremyw
But even with that patch, gud-pdb is broken so no "M-x pdb".
^boris
honestly ive only been using emacs for a couple of weeks
jeremyw
I'm working on a fix for this now.
While I'm at it, I'll see if there is something in there about indentation that sticks out.
^boris
jeremyw: ok that would be great as i use pdb from the shell
jeremyw: awesome im checking launchpad now for any known bugs
jeremyw
^boris: emacs' support for internal debugging is awesome, when it works. ;) Might want to start using it.
^boris
jeremyw: that is on my todo list :)
« prev 1 2 3 4 5 6 7 8 9 10 11 next »