« first day (3398 days earlier)      last day (19 days later) » 

12:54 AM
@Fabby Heh. No, of course not. Just curious.
 
 
5 hours later…
6:17 AM
@Fabby I doubt you'd enjoy India.
 
 
10 hours later…
4:05 PM
I know there are some Emacs users here, so...
 
Quick, Ctrl-X Ctrl-C
 
That’s like the old IRC trick of telling people to press Alt-F4 to do some interesting thing
 
If I've got my cursor next to a paren, it's highlighted. And if the matching paren is on screen, then it's also highlighted. But I know it's possible to set things up so that the matching paren is shown in the minibuffer even if it's on the screen. Given that this is quite useful, I should always have it enabled by default, but I constantly forget how to do it.
 
(assuming people are connected to SE chat inside Emacs...)
 
4:08 PM
Anyway, a search suggests that something called mic-paren enables this behavior. But it's not part of GNU Emacs. Though it's part of XEmacs. But I don't think anyone uses XEmacs any more.
Anyway, I was just wondering if anybody knew if this was possible without installing something extra. I could post to Emacs SE, though it's probably a dupe.
@StephenKitt ?
Sorry, in my first comment, it should have read "even if it's off the screen", of course.
 
I use mixed mode, which highlights the text inside the bracket pair, including when the matching bracket is offscreen
 
1
Q: Disable mic-paren in the minibuffer (or at least in ido)

Dror AtariahI'm replacing a buggy code that was suppose to show a matching brace in the minibuffer in case it was off-screen with the following: (paren-activate) ;; activates mic-paren (setq paren-match-face 'highlight) (setq paren-sexp-mode t) (setq paren-highlight-offscreen t) This works almost perfectl...

(caveat: I have no idea what any of those words mean)
 
@StephenKitt Does that work well for you?
And if so, can you tell me how to enable it?
@JeffSchaller That's related, but I don't think it answers my question.
 
@FaheemMitha I blame Stephen. Googling for Emacs stuff was bound to fail.
 
@FaheemMitha (setq show-paren-style 'mixed), and yes, it does work well for me
 
4:16 PM
@JeffSchaller You should hang out on TeX SE. Blame is a big thing there.
@StephenKitt Ok, I'll try that. Can I set it via M-x customize? And if so, should I? And do you have answer to my original question?
 
paren-mode also shows the matching paren in the mini-buffer when closing a bracket with a match offscreen
@FaheemMitha yes, you can set it using Custom
 
The charcoal-se room has a bot that replies to "blame" commands
 
@StephenKitt When actually typing it, yes it can. I want to see when it's just highlighted.
 
@FaheemMitha yeah, I know, and I don’t have an answer for that question.
 
@StephenKitt Ok. That would be a good feature to have.
@StephenKitt I'm trying it. Unfortunately, the highlighting goes away when the paren one is matching against scrolls offscreen.
These are frustratingly incomplete features.
 
4:22 PM
in mixed mode?
 
There's nothing more annoying than knowing what one wants, and not being able to get it.
@StephenKitt Yes.
 
that’s weird, the whole point is that it highlights when the matching paren is offscreen
and that’s how it works for me
 
@StephenKitt It does. But if I scroll up to see the beginning of the highlighted text, assuming that takes the right hand bracket off-screen, then the highlighting goes away.
@StephenKitt Right, but what about when you scroll up to see the beginning of the highlighted text?
Impressively fast work on that screenshot, by the way.
Do you have extra hands, perhaps?
 
@FaheemMitha ah! right, so the cursor is moved off the bracket, and the highlighting stops, yes
 
@StephenKitt Yes, I'd prefer if it didn't do that, obviously.
 
4:26 PM
@FaheemMitha I wish! Shift+PrintScreen, choose the area, it gets saved to a file, upload, and it’s the top entry in the recent files
 
@FaheemMitha he has keyboards for his feet
 
@StephenKitt Actually, even if the cursor doesn't move off the bracket, once the bracket has gone off the screen, the highlighting stops.
 
@FaheemMitha in my screenshot, the matching bracket is off the screen, my cursor is on the bracket (well, just after it)
 
@StephenKitt What program does that?
 
@FaheemMitha it’s built in to GNOME 3
 
4:30 PM
@StephenKitt Yes, I see that. So, if you scroll up to where the RHS bracket is not visible, but the LHS is, do you still get the highlighting?
@StephenKitt Oh. KDE here.
 
...oooOO (is emacs built into Gnome, or is Gnome built into emacs?)
 
@JeffSchaller Neither.
Emacs is much older than GNOME, of course.
@JeffSchaller Not an Emacs user, I take it?
 
@FaheemMitha neither emacs nor Gnome; just throwing shells from the peanut gallery, don't mind me :)
 
@JeffSchaller Peanuts. Haven't had those in awhile.
 
@FaheemMitha Jeff uses ed!
@FaheemMitha yes, see the screenshot just above
 
4:35 PM
@StephenKitt Do you actually have to put the cursor on the LHS bracket? In any case, I don't seem to be able to get this LHS behavior.
Maybe I need to exit Emacs?
 
@FaheemMitha on or just after
@FaheemMitha how did you set it?
 
@StephenKitt Using customize. I have
 '(show-paren-mode t nil (paren))
 '(show-paren-style (quote mixed))
 '(show-smartparens-global-mode t)
And in a different place I have
 '(blink-matching-paren t)
 '(blink-matching-paren-on-screen t)
I've also got some custom-sef-faces stuff which I don't think is relevant.
 
I have
 '(show-paren-mode t)
 '(show-paren-style (quote mixed))
 '(show-paren-when-point-inside-paren t)
I don’t like blink-matching
 
I'm not sure what:
'(show-paren-mode t nil (paren))
does.
 
I don’t know, well t enables the mode, I don’t know what the other two arguments do; I don’t have them in my .emacs
 
4:48 PM
@StephenKitt flameshot! It has a button that uploads straight to imgur
 
5:01 PM
@StephenKitt I could probably figure it out. But can I be bothered to?
@terdon That sounds like something that should cause an explosion.
 
@JeffSchaller Ooh, Looney Tunes.
 
@FaheemMitha are you sure what you want is possible? I have the same issue, and have never seen the highlighting survive scrolling. If you find how, do let me know.
 
@terdon In Emacs, everything is possible. You just have to program it.
 
fair point
 
5:15 PM
If you mean, is this possible by just invoking built-in behavior, I don't know.
But one could ask on Emacs SE.
@terdon Do you know how to get that matching paren in the minibuffer thing?
 
@FaheemMitha If one does, one would be grateful if one would let one know so one can also apply the solution that one was given by a third.
 
@terdon That's a few too many "ones"'s.
 
@FaheemMitha All I have is the simple highlight: double clicking one parenthesis/brace will highlight everything until the closing one. Or, putting the cursor next to one will highlight the other. But neither survives scrolling past the end of the current view.
@FaheemMitha :P
 
@terdon Double clicking isn't necessary in my current config.
And the highlighting the text in between only seems to happen when the other one is off screen. Though currently I only have this when I'm on the right-most cursor.
 
@FaheemMitha try it and you’ll see it does something slightly different: it displays the whole bracketed region onscreen if possible, and sets the mark appropriately
so you can double-click and Ctrl-W to cut a bracketed region
 
5:20 PM
@StephenKitt Double clicking doesn't seem to do anything here.
Left button, right?
 
@FaheemMitha yes
 
It's all a bit confusing.
The trouble with computers is that they're just too complicated.
 
but what if he had '(set-reversed-mouse-buttons-only-within-emacs)?
 
AI just cannot get here fast enough.
 
@FaheemMitha AI only means “I don’t understand what the computer is doing”
 
5:24 PM
@FaheemMitha double clicking is only necessary if you want to select (highlight) everything between the parentheses, not when you just want to make the parenthesis' pair flash.
 
oh, now we're flashing pairs?!?
 
@JeffSchaller of prostates!
 
this is quite the new mode
 
show-prostate-mode
2
actually that would save a few lives
 
well, editors of a certain age should have their bits checked regularly
ninja'd again
 
5:27 PM
@StephenKitt I thought it means you can talk to the computer, and hope what you say won't make it angry enough to take over the world.
 
@FaheemMitha that’s in the movies ;-)
 
@StephenKitt I... shudder to think what kind of dongle would be needed for that mode.
 
@terdon I don't need to double click to see that here. It just appears if the other bracket is off screen.
 
@terdon yes, I don’t think the USB HID spec supports anything appropriate
 
@FaheemMitha the text between the brackets is highlighted without double clicking?
 
5:28 PM
@terdon Well, the parts of it that are visible in the buffer, yes.
 
@terdon yes, you can configure show-paren-mode to highlight in various ways
see my screenshots earlier
 
For example, if I have the cursor to the RHS of the RHS bracket.
 
@StephenKitt probably have to use a SCSI adapter
 
@StephenKitt Ah, I see
 
if you see a vampire tap, run the other way
 
5:30 PM
Right now I'm finding the Emacs documentation rather hard to understand.
But maybe I've been spending too much time in front of the computer.
 
You wouldn't have any of these problems with ed.
 
@JeffSchaller Because everything is on one line?
 
It's hard to screw up an editor that doesn't have a config file
I (idly) wonder if you're having a problem that could be solved outside of an editor, but I'm back in the peanut gallery, so I'll shut up
 
@JeffSchaller Well, my LaTeX file won't compile, so yes. But that's also not exactly news.
The natural state of a TeX file is not to compile.
It usually starts compiling after you propitiate it with lots of swearing and begging. Maybe a little hair-pulling.
 
flashing pairs, hair pulling, latex ... what room is this?
 
5:35 PM
TeX just likes to torture its users sometimes. It's not personal.
@JeffSchaller House of Pain.
 
@FaheemMitha Guess it's time to Jump around?
 
 
2 hours later…
Tim
7:09 PM
What frontend framework/library shall I learn?
 
Tim
7:40 PM
do you use Docker in the lifecycle of software development?
 
What are your interests? Mobile? Web? Embedded? Is there an employer or industry that you're targeting?
 
Tim
I like to know how docker is used in that
I feel tired to read a book to that
 
Write a program that beats you at Othello. Or plays Crobots. Or solves geocaching puzzles. But that's my biased perspective!
 
Tim
8:41 PM
I started to learn Flask, partially because Using Docker uses Flask an an example to tell me how to use docker in SDLC, and partially because I wanted to know web application and service better.
If any one knows some nice article about using docker in SDLC, that will be great, saving me from reading a book
I am interested in knowing how docker is used in every stage of SDLC.
Thanks in advance!
 
9:41 PM
Hey
What's up?
 
10:40 PM
@FaheemMitha I'll have to find out myself some day...
As usual: Or I have time, or I have money... I never seem to have both at the same time!
So far in my life, I've had time XOR money!
:D :D :D
@JeffSchaller Who was this directed to?
 
11:01 PM
@Fabby it was a not-a reply reply to Tim's comment just above it -- "what should I learn?"
 
@JeffSchaller My apologies: I thought you knew a company who didn't mind employing crazy people.
(I.E. I'm still looking for a new gig)
(2 great interviews yesterday and today though)
 
@Fabby I'm employed by one! :). Sorry to hear you're looking -- you and derobert both :(
@Fabby ... but congrats on the two great interviews!
 
It's OK: I wasn't for Oracle and Oracle wasn't for me...
I just went against my better judgement and had an ex-colleague join pester me into them because he was extatic about them!
 
@Fabby Oracle is very picky who its friends are. Mainly the ones with deep pockets.
 
@JeffSchaller Oracle Cloud Infrastructure tries to be a fast-moving, flexible speedboat, but it's tethered to an oil tanker...
>:-) ;-)
 
11:15 PM
My favorite cloud quote is: "It's just someone else's computer!"
 

« first day (3398 days earlier)      last day (19 days later) »