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.
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'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...
@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.
@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.
@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.
@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
@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.
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.