logs archiveIRC Archive / Freenode / #emacs / 2010 / April / 29 / 1
crowbar
This is driving me crazy. There must be a way to see a list of mime parts when looking at an email in wanderlust.
OK. I'm an idiot. If you send a message containing only a mime attachment, then wanderlust doesn't show the attachment when viewing the email. I guess because the message does not count as multipart?
technomancy
is there a way to fake out dpkg into thinking a given package is installed?
jlf
ashawley: nice post on M-x
shabble
where?
jlf
http://aaronhawley.livejournal.com/27573.html
shabble
cool. Although I started using smex recently, and it seems quite nice
jlf
smex?
fsbot
hmm, smex is a M-x enhancement for Emacs. Built on top of IDO, it provides a convenient interface to your recently and most frequently used commands. And to all the other commands, too -- see http://www.emacswiki.org/emacs/Smex
shabble
(Action) pats fsbot
         

jlf
hmm, spiffy
benny
looks good, now I can throw out my own code that did this :-P
shabble
previously using the ido hack from teh wiki, which got pretty slow
I should see if I can hack smex to work for C-h f/v as well
jlf
that has...smex appeal!
(Action) runs
benny
when I get that feeling, I need smexual healing
jlf
i suppose i brought that on myself
cvandusen
yes, smexual abuse
what are some sane values for adaptive-fill-function?
benny
nil is pretty sane :-P
shabble
mine has some mysterious bytecode
cvandusen
Well, I'm getting that "regexp is too big" error coming from erc again.
jlf
(sin x)/x is a generally sane function..except at x=0
cvandusen
it's failing in fill-match-adaptive-prefix because adaptive-fill-regexp is too big.
I'm wondering if setting the function would prevent it.
jlf
why not reset a-f-r to its default value?
adaptive-fill-regexp is a variable defined in `fill.el'. Its value is "[ ]*\\([-!|#%;>*·"#Cæ]+[ ]*\\)*"
benny
what a beautiful ascii fish
jlf
you should have seen the one that got away
cvandusen
jlf: because that's too easy :)
I'm curious as to why it accumulated like that
jlf
cvandusen: in that case i recommend toggling random bits on your hdd until the problem is resolved
technomancy
M-x butterfly
cvandusen
jlf: ah. Plan B.
wolfspaw
The slime video (from Marco) is down in the common-lisp.net, does anyone know another link?
         

cvandusen
wolfspaw: http://www.guba.com/watch/3000054867/
wolfspaw
cvandusen thanks! I hoped for a downloadable link, but atleast i can see in good quality now!
jlf
there's prolly a browser extension that will download it
cvandusen
np. I'm just glad it's still available at all
error seems to be gone for now. thanks jlf!
jlf
np. btw that initial set of brackets contains a space followed by a tab, in case that didn't come through
cvandusen
(Action) adds figuring out why the error is occurring in the first place to his weekend chores (which he probably won't have time for)
jlf
grep -r adaptive-fill-regexp ... :)
cvandusen
aye!
jlf
er, M-x find-grep ...
cvandusen
The value in customize was still the original value so it was just a matter of setting it for the current session
haole
hello there... does anybody knows about some elisp code to make function names like this: MySpecialFunction to this: my_special_function?
jlf
haole: if you want to change the display only, not the actual buffer contents, check out ,,df glasses-mode
fsbot
glasses-mode is an interactive compiled Lisp function in `glasses.el'.
(glasses-mode &optional ARG)
Minor mode for making identifiers likeThis readable.
When this mode is active, it tries to add virtual separators (like underscores)
at places they belong to.
haole
jlf: i want to change the buffer contents... because there is a mix about the two styles, and i want to unify it
jlf
maybe replace-regexp to replace \([a-z]\)\([A-Z]\) with \1_\,(downcase \2) or somesuch
very untested :)
there's a function to go the other way at ,,camelcase
fsbot
jlf, CamelCase is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?CamelCase
[1] at http://www.usemod.com/cgi-bin/mb.pl?CamelCase,
[2] at http://www.etrumeus.com/ferment/CamelCase
jlf
huh, just noticed some ido strangeness. C-x C-f C-h C-m q leaves *Minibuf-1* in a regular window
cvandusen
I'm getting closer to figuring out this adaptive-fill-regexp oddness. In *Help*, where it says "It's value is foo Local in buffer blah; global value is bar", foo is the big regexp and bar is the original regexp.
It seems like either the major mode (or one of the minor modes) for blah is causing the regexp to get big.
rryouumaa
cvandusen: ,,filladapt
fsbot
FillAdapt is, like, at http://www.emacswiki.org/cgi-bin/wiki.pl?FillAdapt
rryouumaa
shabble: ,,ido-hacks
fsbot
hmm, ido-hacks is hacks for ido that appear to supersede smex and speed ido up. it was posted to the emacs help mailing list.
rryouumaa
it works
shabble
ace, I knew someone had mentioned it a while back, but couldn't find any reference to it
cvandusen
rryouumaa: thanks. I still haven't figured out what's bloating the regexp, but I'm also trying to (at least) pretend that I'm getting work done, as well.
shabble
rryouumaa: does http://www0.fh-trier.de/~politza/emacs/ido-hacks.el.gz look about right?
rryouumaa
yes
cvandusen
I guess I can change my task from "figure it out" to "switch to fill adapt".
rryouumaa
,ido-hacks is also probably http://www0.fh-trier.de/~politza/emacs/ido-hacks.el.gz
fsbot
Added entry to the term "ido-hacks"
jlf
fsbot
BEEEP: ido-hacks is already something else.. Use 'is also'..
Currently: hacks for ido that appear to supersede smex and speed ido up. it was posted to the emacs help mailing list. .. + other entries
jlf
fsbot
Added entry to the term "ido-hacks"
fledermaus
I didn't think dyslexia caused word transposition, only letter transposition... ?
legumbre
a typical C-t condition
cvandusen
jlf has been found out.
jlf
maybe i need a C-t scan! ,,rimshot
fsbot
Badum, *ching*
legumbre
jlf has been awarded the internets
jlf
\o/
markl_
how painful is it to remotely debug a java server app with emacs?
e.g. jde-db-option-connect-socket
i guess i could try eclipse, :(
cvandusen
markl_: now you've got two problems ;)
legumbre
and a lot less memory
I remember using jdb, and even the profiling thing remotely. But I never got into jdee.
cluck
fledermaus: i don't want to swear on it but iirc dyslexia can on severe cases even cause people to misunderstand/misassociate words (ie. on the paper is written "eggs" and the person reads "bacon")
shabble
ever since rebinding C-t because I thought it was useless, I've been wanting it more and more :/
damd
cluck: bacon is awesome
shabble: i know right!? that's scary
jlf
(Action) uses C-t frequently
damd
i never had any need to use C-t before i rebound C-t to C-x
shabble
cluck: the thing I find most annoying (with a dyslexic boss & girlfriend) is dropping whole words or chunks of a sentence, and then filling them in when reading it back
damd
now i'm thinking of rebinding C-x to transpose-char
legumbre
(Action) uses C-x C-t frequently, not C-t though.
DraX
C-t is suprisingly useful
shabble
you're never really sure what's on the page until you look yourself
damd
legumbre: what's C-x C-t?
_danb_
I can't C-h f C-t
legumbre
,dk C-x C-t
fsbot
transpose-lines is an interactive compiled Lisp function in
`simple.el'.
It is bound to C-x C-t.
(transpose-lines ARG)
Exchange current line and previous line, leaving point after both.
With argument ARG, takes previous line and moves it past ARG lines. ..[Type ,more]
damd
_danb_: C-h k
_danb_
not enough sleep, sorry
jlf
(Action) curses whatever ruby or rails mode that rebound C-x C-t
damd
jlf: that's not as bad as the modes that bind e.g. C-c C-g
markl_
hmm i get the feeling that jdb is not the most up to date project
jlf
i haven't encountered those
cluck
fledermaus: but i may be mistaken since there is a separate illness that deals with that (e&oe, ianad, etc)
DraX
damd
jlf: haskell-mode used to have it, before i threw a fit
jlf
i use C-x C-t all the freaking time though and that rebinding is annoying as hell
markl_
i just want to do some basic stepping through code
jlf
i should track that down
damd
shouldn't be too hard
technoma`
jlf: wasn't rinari, was it?
shabble
for some reason I'm now wondering what the most evil (and undetectable) ways to meddle with someone's .emacs is
jlf
technoma`: could be, i think i'm using that
technoma`
jlf: I'll give my past self a stern talking-to
jlf
shabble: advise self-insert-command to beep once in a blue moon?
damd
shabble: change something in custom-set-variables which evaluates to the right value in the end but has horrible side-effects
SPolasa
What is the best way (or your way) to move the cursor within a line? I
was looking for something like zap-to-char without deleting the chars
between.
jlf
technoma`: heh
shabble
SPolasa: ,,df goto-char
fsbot
goto-char is an interactive built-in function in `C source code'.
It is bound to <menu-bar> <edit> <goto> <go-to-pos>.
(goto-char POSITION)
Set point to POSITION, a number or marker.
Beginning of buffer is position (point-min), end is (point-max).
The return value is POSITION.
SPolasa
my bad.. pasting did'nt work :|
ggole
Well sh*t, I'm outta coffee
shabble
wait, no, that's not it
damd
shabble: wtf? goto-char is quite useless interactively
SPolasa: just use C-s
jlf
SPolasa: C-s ?
shabble
damd: yeah, I'm confused
jlf
curse damd's fast fingers
(Action) pays offby1 a royalty
damd
now where are my stack overflow points?
legumbre
,damd++
fsbot
Noted, legumbre. One wiki-point for damd!
shabble
damd: customize is definitely a nasty place to put things
SPolasa
damd, jlf: I've been using C-s but when I do get the place I want to be, I'm ahead by a few chars, because of the search string
quotemstr
Let's park in the disabled spots.
damd
i think i saw joakim@verona.se in town yesterday... was quite the experience walking right behind another emacs-devel dweller!
quotemstr
Wow. HP bought Palm.
jlf
SPolasa: have you gone through the tutorial? C-h t
SPolasa
jlf: yes
lisppaste
shabble pasted "isearch-goto-beginning" at http://paste.lisp.org/display/98518
shabble
SPolasa: I use that to make isearch put the point at the start of a search match
you can probably trim out the eldoc stuff, it just annoyed me to have it constantly flashing up as I search
jlf
SPolasa: you could just tailor your search string to end where you want the point to end up :)
iow, if you want to end with point on the first b in "foo bar baz" do C-s SPC b RET
jordanb
rudybot: quote
rudybot
let's use fidonet.
SPolasa
jlf: ok. let me see if that works out. thanks
jlf
let's bring back bang paths
jordanb
rudybot: quote
rudybot
Should making a linux that doesn't understand what kind of term 'rxvt' is be a taken out back, or some lesser punishment?
_danb_
well, I just learnt zap-to-char (which has a vim equivalent), but is there just a to-char ?
damd
_danb_: if you really really want it i can try to write something like that for you
fledermaus
umm...
_danb_
damd: woh, ok, I've got viper on and I can do it with vi/vim keys atm
fledermaus
,df search-forward
fsbot
search-forward is an interactive built-in function in `C source code'.
It is bound to <find>.
(search-forward STRING &optional BOUND NOERROR COUNT)
Search forward from point for STRING.
Set point to the end of the occurrence found, and return point. ..[Type ,more]
fledermaus
or isearch-forward
_danb_
damd: just curious
fledermaus
or any of the search functionality
jlf
(Action) is creeped out by linkedin's persistent suggestions to reconnect with a former colleague who died a couple of years back
shabble
_danb_: (defun my-goto-char (char) (interactive "c") (skip-chars-forward (concat "^" (char-to-string char))))
_danb_
,beer shabble
fsbot
(Action) teleports shabble a frosty bottle of Labatts Blue!
parolang
C-s :)
sshelagh
(Action) wonders what the #emacs bar looks like.
should I be wearing space helmet or cowboy hat
_danb_
well, sshelagh, it's extremely well-stocked, is all I can say
sshelagh
I like to dress appropriately
jlf
,give the channel a round on the house
fsbot
(Action) gives the channel a round on the house
« prev 1 2 3 4 5 6 7 8 9 10 11 12 next »