logs archiveIRC Archive / Freenode / #emacs / 2015 / August / 12 / 18
tekkkz
How to edit a file in hex with M-x hexl-mode ...? so how to i write instead of the ascii characters my hex number there?
Guys, do you know what i mean or should i explain better?
miskatonic
i do not know about the hexl-mode, so explaining better won't help
parsnip
for some x, A implies B for all x ?
jlf
tekkkz: ,,df hexl-find-file
fsbot
hexl-find-file is an interactive autoloaded compiled Lisp function in
`hexl.el'.
(hexl-find-file FILENAME)
Edit file FILENAME as a binary file in hex dump format.
Switch to a buffer visiting file FILENAME, creating one if none exists,
and edit the file in `hexl-mode'.
tekkkz
nono: maybe you just have a look here: https://vid.me/wa5l
parsnip
trying to create formatted word documents by parsing text really sucks
tekkkz
hm? what?
wasamasa
so, it took me two hours to build guile for guile emacs and ninety minutes to build guile emacs itself
         

qDot_
What's the current state of guile emacs anyways?
wasamasa
it can boot up... slowly
it doesn't tell me its own init time
qDot_
Other than slow in all cases, apparently.
wasamasa
tab completion is slow
no byte compilation
no dumping
miskatonic
still highly experimental and unstable
wasamasa
I'm testing performance currently
fun fact: called-interactively-p got snipped out and replaced by a dummy function always returning nil in subr2.el
-nw still doesn't work
--daemon doesn't work either
infinee
Any emacs users able to help me? I did the "installation" section of http://dominik.honnef.co/posts/2013/03/writing_go_in_emacs/ but when I open a .go file, it's still in "Fundemental" rather than "Go" mode
parsnip
infinee: if you do M-x go-mode, does it work?
infinee
parsnip: "Goto-address mode enabled"
that doesn't look correct
parsnip
infinee: and, what method did you use to install go-mode ?
infinee
manual. but I'm going to try using ELPA now
brb
legoscia`
infinee: that means that go-mode wasn't loaded. the "installation" section of that document doesn't spell out how to apply those settings to a running Emacs. the simplest way is to restart Emacs after adding those two lines to the .emac file.
infinee: or actually, using ELPA is _the_ simplest way :)
miskatonic
rudybot: go or rust?
rudybot
miskatonic: And for better or worse, I think rust belt girls aren't as obsessed with shiny trendy plastic boxes.
parsnip
infinee: can also check with M-: (locate-library "go") RET... or would it be "go-mode", not sure.
miskatonic
there should be an entry in auto-mode-alist in order to start go-mode automatically for files with the correct suffix
davidw
This 'slack' thing hijacks ctrl-k.... which fills me with rage
parsnip
davidw: slack the chat app?
afk
davidw
parsnip, yeah
we use it where I work
legumbre
ville: in case you're still wondering about gdb interaction, I wrote a little snippet to toggle the breakpoint at point: https://gist.github.com/legumbre/65e3dbcbd0717f10107b
         

davidw
it's not bad as a web-based replication of technology from the late 80ies, but... I want my ctrl-k
wasamasa
src/emacs -Q --eval "(kill-emacs)" 75.46s user 0.40s system 134% cpu 56.382 total
emacs -Q --eval "(kill-emacs)" 0.40s user 0.03s system 78% cpu 0.541 total
insanity!
and that's for a minimal loadup
I tried it on my 2000 lines config, but got bored of waiting that long
qDot_
Ouch.
ville
legumbre: hah infact i am. was just reading gdb/mi manual and poking my head around emacs' gud.el and gdb-mi.el
wasamasa
it goes "Search failed: "\n debug("
probably an attempt at displaying a backtrace?
qDot_
I cannot imagine how badly it'd choke on my config
ville
legumbre: what is this overlay business?
infinee
when I install stuff using ELPA, it doesn't add stuff to my .emacs file such as (require 'go-mode.el) ??
fsbot
Ask yourself, do you really want to know?
wasamasa
yup, it failed at this point
infinee: you can generally avoid doing that
infinee: there's workarounds in case you need to use functions from libraries for setting up stuff
legumbre
ville: cool, good luck. Hmm, the short version is (info "(elisp) Overlays")
Lis
Hello everyone. I want to create a interactive multiple selection menu, but i don't know how to read a users input other than with interactive. What are the different ways to get a user input, preverably in a dedicated buffer?
wasamasa
ville: you can tell emacs that there's an object put over a piece of text which can stretch and usually comes with special properties
legumbre
bbl
wasamasa
ville: like, when you're doing a search, emacs sets up overlays to temporarily highlight the matches
ville
legumbre: thanks anyways for the function
wasamasa
ville: and later gets rid of them
legumbre
ville: np
ville
wasamasa: ok so gud presumably attaches properties to piece of text that he is querying
jlf
davidw: you know there's an irc bridge, right?
wasamasa
ville: yes, they're frequently used for attaching transient information to text
ville: text properties are the permanent version
ville: like, what syntax highlighting sets up
davidw
jlf, yeah?
jlf
for example i'm connected to hack-sonoma-county.irc.slack.com atm
bpalmer
that sounds so much less ambitious than hacking the planet.
what has come of the hacker ethos?
Lis
noone?
fsbot
hmm, noone is http://en.wikipedia.org/wiki/Peter_Noone
jlf
think globally, hack locally??
fsbot
Definitely
wasamasa
Lis: you could use helm
growapiti
hi, after a bit of research, I can debug php code by using geben and xdebug_break(), is there a way to tell geben to break on first breakpoint instead of breaking on first line of code?
wasamasa
Lis: but it's got like the worst API ever
jlf
Lis: ,,widget
fsbot
widget is C-h i m widget RET
ville
hmm i get: "let*: Wrong type argument: overlayp, nil" for legumbre's function
bpalmer
Lis: if you're setting up a dedicated buffer to accept input, create a major mode that uses C-c C-c ( or some other binding) to trigger an evaluation of the buffer and setting some variable
growapiti
currently, geben breaks on first line, I type "g" to "run" and it then stop where I added the xdebug_break() line
Lis
ok, all three answers are kinda nice. if i would be in a hurre i took bpalmer's approach
but i stick with widgets, thank you
*hurry
ville
ah right. he is enabling/disabling the breakpoint rather than setting/deleting the breakpoint so that's what you get when there's no breakoint to enable/disable
i should be able to adapt this though
Lis
epic, exactly what i needed
is there anything emacs doesnt support beside of threads?
miskatonic
infinee: there should be an entry for golang-mode in auto-load-alist, and a line like (autoload 'golang-mode [...]
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 next »