logs archiveIRC Archive / Freenode / #emacs / 2015 / November / 15 / 1
lufu
Does someone use helm for octave-mode?
choki
lufu: wtf is octave mode? :D
bremner
uh. a mode for editing octave code?
lufu
choki: How about C-h f RET octave-mode ? :p
choki
octave's? something music related?
lufu
Well, let me rephrase my question. Is there someone using octave-mode? If so, what do you use for automatical completion?
choki: No... -> "Octave is a high-level language, primarily intended for numerical
computations."
wasamasa
you'll have to be more specific in what the heck there is to complete
choki
ok ty and sorry to ask
wasamasa
because, no, "automatical completion" is as unspecific as it gets
and this better not be another meta-question...
         

lufu
wasamasa: Well, I want to complete variables, functions and so on.
wasamasa
lufu: in what context?
choki
octave context :D
wasamasa
,shoot choki
fsbot
(Action) loads its json encoder and uses choki for evil.
wasamasa
lufu: you see, nobody in here has the ability to look into your head and know what you mean
lufu: there's at least two ways of interpreting this, if not even more
choki
wasamasa: i guess he just want's to have auto completion functions, variables etc.
or what else could auto complete?
wasamasa
function lookup
snippets
etc.
hvis
built-in octave-mode completion uses its repl buffer
so you need to M-x inferior-octave first
afaict
wasamasa
assuming it's about getting a popup of semantically relevant candidates while writing code, no, helm is the wrong tool for that
hvis
I've never used it, personally
choki
lufu: u still there? :3
lufu
wasamasa: I probably don't understand your question. I try to give an example: I'm editing a file. I defined some variable, let's call it 'reallyawesomething'. The next time I want to use that variable I don't want to write it out. I want to type 'rea' (for example) then TAB (for example) and then my beloved 'reallyawesomething' should magically appear.
offby1
lufu: not sure this is what you want, but: try typing r e a M-/
,dk M-/
fsbot
dabbrev-expand is an interactive autoloaded compiled Lisp function in
`dabbrev.el'.
It is bound to M-/.
(dabbrev-expand ARG)
Expand previous word "dynamically".
Expands to the most recent, preceding word for which this is a prefix.
If no suitable preceding word is found, words following point are ;;[Type ,more]
ryouma
i get a lot of visual glitches when i type, sometimes. it's like the whole line refreshes or something.
lufu
wasamasa: I see.
ryouma
is it my video card settings?
offby1
ryouma: could be "floaters"
ryouma
offby1: which is what
         

lufu
offby1: That looks good.
wasamasa
lufu: dabbrev is sufficient for simple inline-expansions
offby1
ryouma: https://en.wikipedia.org/wiki/Floater
wasamasa
lufu: alternatively, hippie-expand
ryouma
offby1: no, it's on the screen.
offby1
lufu: it's incredibly crude, and yet incredibly effective. I use it all the time.
Rather like Emacs itself :)
ryouma
offby1: and it's really brief. less than a keystroke
tali713
lufu: M-/ is not auto completion but it works quite well, M-TAB is the typical binding for mode specific completion. autocompletion is not particularly desirable imo, I prefer /on demand/ completion.
ryouma
i wonder if it is the fact that i had to use timing =settings to get quarter resolution on the monitor
or the fact that i upgraded to jessie
(which is when it started)
offby1
ryouma: seriously, I dunno; sure, maybe it's the video card, but ... who knows
ryouma
i'm striking out on technical questions lately :/
offby1
*whuff*
ryouma
?
offby1
the sound of a strikeout!
or, rather: a batter whiffing
ryouma
my whole computing environment is degrading
and it'
s too complicated to fix any of the bugs
wasamasa
lufu: company-mode and auto-complete-mode provide graphical popups for selecting candidates
ryouma
in other news, iceweasel is pretty good at adding features i don't need while introducing bugs and privacy violations. i don't know how they are able to do so so consistently.
it's been years, and htey still can't even do session restore reliably
offby1
join the Dark Side, Luke!
lufu
wasamasa: I see... appearantly someone even wrote https://github.com/coldnew/ac-octave
wasamasa
lufu: the main benefit there is that the backends for these can do way more than just picking up existing words
lufu
wasamasa: So in case I wanted to use a octave-function, that I have not use previously in my script, company/auto-complete might be able to help me out, but dabbrev/hippie-expand couldn't?
offby1
lufu: that sounds about right
wasamasa
lufu: yes
offby1
lufu: dabbrev only works if the variable is in one of emacs' buffers already
hvis
lufu: did you ead my comment about inferior-octave?
wasamasa
lufu: however, company uses the built-in completion facility of emacs to display it in a prettier way
lufu
hvis: Sorry, I missed that!
wasamasa
lufu: which can be used with M-TAB or TAB in REPLs
hvis
with the repl running, you should have completions at least for the standard library (I imagine), and company will integrate with that
lufu
hvis: That sounds good, I'll that a look at that.
ryouma
the glitches are really distracting. they occur in org mode. it is as if it is the refresh engine in emacs..
lufu
wasamasa: Prettier than auto-complete or what did you mean?
wasamasa
lufu: prettier than what M-TAB presents
offby1
ryouma: try a different emacs. E.g., if you're using trunk, switch to emacs 24, or vice-versa
lufu
wasamasa: I see... nice. I'll take a look at that too.
wasamasa
on an unrelated note, I think I've found a way to track deactivation of the region
set up a pre- and post-command-hook function
if the mark was active before and inactive after, we've got a winner
Fuco
I can't buy an ebook because I'm not in germany... those people running publishing houses are the stupidest fu*ks...
wasamasa
amazon?
fsbot
amazon: NO LONGER boycotted by the fsf: http://www.gnu.org/philosophy/amazon.html
Fuco
I just downloaded 40k german books from torrents... fu*k them
jesus nothing angers me more than this sh*t
wasamasa: no, that doesn't work either
and I'm not going to fu*k around with proxies
procyon_ember
Fuco: I'm with you. I hate the fact that I can't legally purchase certain items outside Japan.
wasamasa
Fuco: no, I was wondering whether it's amazon you're having issues with
Fuco
wasamasa: yea
« prev 1 2 3 4 5 6 7 8 next »