logs archiveIRC Archive / Freenode / #emacs / 2010 / March / 13 / 1
stepnem
Does resizing the minibuffer during input work for you? It doesn't for me, no matter what I set resize-mini-windows and max-mini-window-height to...
dpro
hi
stepnem
it just remains one line high, even when entering newlines
dammit
dpro
I was wondering if there was an easy way to save a register containing a window config to a file for later reloading ..
stepnem
no
dpro: there is no read syntax for window configurations
dpro
stepnem: ah .. so how does desktop and elscreen do it ? OTOH I could just create my favourite layouts (office, music studio, plt scheme ...) programatically and bind them to functions that also store them in buffers ... sounds a bit tedious when I type it :)
stepnem
dpro: desktop doesn't do it AFAIK; dunno about elscreen
dpro
stepnem: nevermind, thanks, I hardly ever quit emacs anyway so it's not /that/ much of a timesaver anyway
stepnem
dpro: it's likely Emacs is going to get a read syntax for those things
...but not yet
         

dpro
stepnem: wow ... there actually are useful features in emacs that aren't implemented yet ;)
stepnem
:)
cluck
,,winner
fsbot
[->] From memory, WinnerMode is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?WinnerMode
[1] can revert previous or next window layout.
cluck
you can probably get it to save some predefined layouts to some register that desktop will remember
dpro
cluck: cheers, I so hope my next GF will be a little like emacs, I find it so easy to fall in love with it again every few days
(Action) appends "(winner-mode 1)" to ~/.emacs
tEtra
,multi-occur
fsbot
moccur -- [0] is M-x multi-occur included since emacs version 22
[1] in ibuffer: use "O" to run occur on all marked buffers
tEtra
,occur
fsbot
try: Call_Occur_From_Isearch color-moccur.el color-occur.el DrewsEmacsOccurImage IciclesOccurScreenshot joccur.el moccur moccur-edit.el OccurBuffer OccurFromIsearch OccurKey OccurMode SwitchToOccur
knusper
hi
has anyone managed to connect with jabber.el to facebook chat?
stepnem
,joccur.el
fsbot
From memory, joccur.el is at http://www.emacswiki.org/cgi-bin/wiki.pl?joccur.el
quotemstr
Let's connect the Amazon River to the Pacific Ocean.
kodein
,yow
fsbot
I didn't order any WOO-WOO... Maybe a YUBBA.. But no WOO-WOO!
knusper
haaaa... now it works
jabber.el and facebook
i just entered my password wrong :D
legumbre
,...
fsbot
[In the distance, you hear a dog bark]
rudybot
Woof.
         

bum
Greetings. Is there something like "execute defun at point" in Emacs?
Or execute toplevel at point
legumbre
define "execute"
there's C-M-x
jlf
bum: or C-x C-e
bum
| denotes the point: (defun hello (name) |(format t "Hello ~a~n" name))
jlf
also ,,ielm may be of interest
fsbot
ielm -- [0] Interactive Emacs Lisp Mode
[1] M-x ielm RET,
[2] at http://www.emacswiki.org/emacs/InferiorEmacsLispMode
bum
When I press the key, (hello) is called in the REPL
Hmm, bad example actually.
That would only work with 0-arity defuns :D
Scenario is that I'm writing a game, and that game has a MAIN function
And when I edit stuff in that function it would be great to be able to press C-c C-c and then <whatever> so it gets called
my_haz
whoa is google different for anyone
like a new layout and stuff?
dpro
my_haz: hmmm ... looks like my old google to me ...
chrisb
has bbdb-gui.el been pulled from bbdb or rolled into some other lib?
(Action) uses clusty
my_haz
dpro: oh, things are about to change in your little world them :-P
its really cool to be honest, has all the "more" options ready to go. Bigger and/or cleaner fonts
rryouumaa
a few marks ago, i was just in an interesting place (defined as a place with a mark). i am now at a new place. i want to select the region between the new place and the interesting place. normally i would do c-u c-spc to find the interesting place, but this destroys the ability to get back to the new place.
so it's difficult to mark that region. must i use registers or some other kludge or is there a better mark mechanism out there?
i guess that's too open-ended a question.
(Action) is vaguely dissatisfied with the mark ring for various reasons but is not able to articulate what he wants.
Mathnerd314
If I want an emacs installation on windows with support for viewing all of the various math symbols, what should I do?
cluck
meh... google changes... ‘‘““’’ß@
embarrassing typo... ‘‘““’’ß@
quotemstr
rryouumaa: Maybe what you really want is to save the position to a register.
jlf
rryouumaa: ,,dk C-x r m
fsbot
bookmark-set is an interactive compiled Lisp function in
`bookmark.el'.
It is bound to C-x r m, <menu-bar> <edit> <bookmark> <set>.
(bookmark-set &optional NAME PARG)
Set a bookmark named NAME inside a file.
If name is nil, then the user will be prompted. ..[Type ,more]
rryouumaa
quotemstr: i was hoping for some sort of inarticulable moderately awesome mark scheme that is conceivably logically possible.
i am dissatisfied that c-u c-spc is one-way; there should be a reverse operation. i also think that there are thigns, mumble, mumble, wave hands, that might be possible to improve the mark ring.
quotemstr
rryouumaa: Yeah, M-x read-your-friggin\'-mind
rryouumaa
quotemstr: exactly
but the backslash wouldn't be necessary
quotemstr
Not for read-command, no, I think.
rryouumaa
hmm weird
(note that i explicitly referred to registers in my q)
maybe some people use supermarks.el or something though
quotemstr
rryouumaa: I just skim people's questions. I can usually give them the correct answer anyway.
Then if I get it wrong, they complain, and I give them a better answer.
rryouumaa
i'll try to make a note of that
quotemstr
I may fail the turing test.
rryouumaa
i usually read questions carefully
because i do not want to send people after geese
quotemstr
Being able to *visualize* the mark ring would be helpful, and I have a hunch that'd help --- something like iswitchb for buffer-positions?
rryouumaa
yeah that would be useful. i think icicles has a similar capacity, and i was able to extract it from icicles at one point, but i was hoping for something more comprehensive.
(not willing to try icicles per se)
quotemstr
*sigh* Just a bad day.
I'll try not to let my misanthropy leak out onto IRC.
woodworks
oh, so tough, poor quotemstr
at least your a well spoken misanthrope
quotemstr
woodworks: Go build a hang-glider out of construction paper and fly it off a low building.
woodworks
long walk off short peer?
quotemstr
They're used too much.
woodworks
s/peer/pier
go play on the highway?
quotemstr
Go send a lot-TTL packet on a long route.
s/lot/low/
jagadeesh
in sql mode toggle-truncate-lines is not working properly
is there any way not to wrap text?
mjrosenb
is there any support for using emacs as a pager?
rryouumaa
mjrosenb: you would have to kludge it with shell scripts, i think
mjrosenb
: (
isn't emacs supposed to be the kludge so i don't have to?
mns
emacs as a pager ?
rryouumaa
,g emacs as a pager
fsbot
[google] http://user.it.uu.se/~mic/pager.el
http://www.mail-archive.com/mutt-users%40mutt.org/msg21810.html
mns
thanks rryouumaa
rryouumaa
mjrosenb: no, emacs is supposed to be the os. a pager is supposed to be not nec because you call everything from emacs. in practice, people still want a pager though.
you can just use shell mode and m-p
then page up and down
mjrosenb
m-p?
rryouumaa
prev prompt
or you can write a script to make emacs accept stdin
mjrosenb
another question; for compilation-mode and specifically, compilation-finish-function
is there any way of determing if the window that has the compilation buffer in it was created for the compile or not?
cluck
why would emacs need to behave as a pager? emacs has a full built in shell ffs
bremner_
(Action) always thinks Fast FIle System for ffs
mjrosenb
cluck: because i tend to run programs outside of emacs.
e1f
http://www.cbc.ca/politics/insidepolitics/2010/03/the-hockey-sweater-white-house-style.html
remleduff
Is this a good channel for total newb questions?
About emacs I mean
Here are a few: 1) What's the key to kill to the beginning of a line (such as when I do c-x c-f and want to delete the filename that comes up by default)?
bpalmer
good, bad, I'm the one with the gun.
remleduff
2) How do I "join" two lines together, "J" in vim?
bpalmer
1) C-a C-k 2) C-e C-d
remleduff
3) Can you briefly tell me the proper way of searching the help if I only sort of know what I'm searching for?
bpalmer
3) from the beginning
mns
3) C-h a
bpalmer
no, emacs's C-h a is a silly binding.
So, add a prior step of rebinding C-h a to be apropos
mns
I thought it was apropos by default. Hmmmm might have to check my configs, I might have picked it up over the years
remleduff
OK thanks, that'll get me started :)
bpalmer
mns: it's apropos by default on xemacs :)
but it's apropos-command on (at least recent) emacs
remleduff
On windows, is ~/.emacs the correct place to put my user settings? Or ~/emacs.d/init.el or something else entirely?
bpalmer
remleduff: either would work.
remleduff
OK
Is there someway to get the results of (require 'uniquify) without adding it to my .emacs and restarting?
bpalmer
M-: (require 'uniquify) RET or type it in *scratch* and press C-j
remleduff
Thanks :)
cluck
bpalmer: now that you mention it, i agree, someone respectable (ie. not me) should mail the ml and propose the change for inclusion on e24
mns
bpalmer: ahh xemacs. haven't used that in like hmmm since the early to mid-90s I think.
remleduff
Is there something special about *scratch* that makes C-j work to evaluate or could I just type anywhere and do that?
cluck
bremner_: similar end results :D
remleduff: scratch is in lisp mode by default
quotemstr
remleduff: emacs-lisp-interaction-mode, IIRC, is what provides the magic.
bpalmer
s/emacs-//
quotemstr
Ah, yes, that's the one.
I've had *scratch* default to fundamental-mode for years.
bpalmer
...
(Action) moves away from quotemstr on the group w bench
cluck
quotemstr: you're a sick, twisted person :)
bpalmer
if you scratch us, do we not parenthesize?
bremner_
(Action) keeps *scratch* in php mode
quotemstr
Eww.
Shun the PHP coder. SHUN.
cluck
fsbot: tell remleduff about ask
fsbot
remleduff: ask is [0] Go ahead and ask :-) ... and some one will try to help.. if not right now, whenever they happen to wander over to the computer
[1] don't ask to ask and don't ask if someone has or can. Just ask your question and everybody will be happy ;-)
cluck
a bit late but... i'm being proactive regarding next time he drops by
remleduff
Still on the magic of *scratch*, I can do c-h m to get a list of the minor modes, but how about the major modes? Just the (Lisp-Interaction-Mode) in the status line? Is there only one major mode per buffer?
cluck: Thanks, sorry for the pre-asking ;)
bremner_
s'ok, its hazing ritual
e1f
what happened to all the chinese guys that used to hang out here?
bpalmer
(Action) doesn't think that ,ask is a great thing to do; sometimes it just happens to be the most appropriate response.
If somebody's already responded, no point in having noise.
also, I sort of think [1] is redundant and should be eliminated.
remleduff
Why does the TUTORIAL tell me about C-x u, C-_ but not tell me that C-/ is also bound to undo, that seems the easiest to type! :)
my_haz
heh, that is strange
mjrosenb
remleduff: when emacs prompts you for a new filename, you can just start typing, and it will discard what was there before.
my_haz
i didn't even know those other ones
mjrosenb
with rxvt-unicode, C-- is bound to undo.
my_haz
remleduff: you migh want to look at ido for filenams
mjrosenb
and when you are in dvorak, that is *quite* easy to type.
remleduff
What's the proper terminology for when I get a "split" that has a buffer on the top and the bottom? Is there a key to navigate between splits?
e1f
it might be that some older terminals can't handle c-/ (not completely sure about this)
bpalmer
yes, I believe that's right.
mjrosenb
remleduff: C-x C-o
e1f
pretty sure buffer navigation is in the tutorial
remleduff
Yeah, that's buffers, but not splits
bpalmer
remleduff: you split "windows", so you have two windows; each window can end up associated with the same buffer.
remleduff
I think the tutorial only teaches you C-x 1 to close the other window
Sorry, I was wrong, I must have skimmed over the window navigation stuff
swathanthran
*Help* says "make-oauth-t is a Lisp function in `oauth.el'. This function has a compiler macro in `oauth.el'." and when i grep oauth.el i can only find a (make-oauth-t) call and nothing other.. whats that magic?
remleduff
Can I configure something so that windows that automatically split open, are on the top rather than the bottom? Would it be a bad choice to do so?
swathanthran
similar is with make-oauth-access-token
and as i oauth.el, i can'
offby1
(Action) just mailed in his taxes with a Homer Simpson stamp
swathanthran
and as i oauth.el, i can't get it to work too.. so am confused whether its my stupidity as usual or something else:)
s/i /i test /
, oauth
« prev 1 2 3 4 5 6 7 next »