logs archiveIRC Archive / Freenode / #emacs / 2015 / July / 9 / 1
jfeltz
is there a function to find an open buffer based on regexp?
regexp of the buffer name, i mean
JordiGH
jfeltz: ibuffer lets you do that, I think
thevishy
would you be having so many buffers? if you mean file search its normal grep
holomorph
jfeltz: you can glob in find-file
JordiGH
'% n' - Mark buffers by their name, using a regexp. <--- in ibuffer
add^_
Hmm, can anyone here recommend a emacs-webbrowser? Like emacs-w3m
JordiGH
thevishy: buffer economy is false economy
jfeltz
thanks, but I'm looking for a function
add^_
Or aren't there any updated ones?
         

holomorph
oh, i can't read.
JordiGH
jfeltz: Do C-h k % n in ibuffer to see what it's running.
There is no difference between functions and keychords.
add^_
I'm wondering if the emacs-w3m works for emacs 24.5..
or should I maybe just use w3m?
holomorph
why don't you just try it
jfeltz
JordiGH: ah, it's side-effectual :( I think i'll write one instead.
JordiGH
If you're trying to do functional programming in elisp, you're in for a world of pain.
thevishy
JordiGH: :)
jfeltz
JordiGH: It's ok, what I want is a function that will bridge things a little bit so I can move buffers around, e.g. to other frames, without having to predict their position and select them.
add^_
oh, installed w3m, got two errors about files missing: mime-w3m.el:47:11 calist, and w3m-ucs.el:46:1 un-define..
jfeltz
JordiGH: especially buffers created by third-party tools, that I don't have control over, other than matching their name
add^_
(directly from the (m)elpa package)
dataangel
finster: killing the buffer works, but I have code setup to reuse the buffer and the window it's in if it exists, thus the desire to kill the process without killing the buffer
holomorph
dataangel: (info "(elisp) Processes")
Fuco
jfeltz: so filter over (buffer-list)
add^_
oh, so I'm supposed to use eww
cool
(Action) goes back to lurking
jfeltz
Fuco: that confirms what I was thinking as well, thanks
benaiah
rudybot: quote
rudybot
benaiah: Let's program for Mono.
benaiah
rudybot: I'm going to assume you mean the disease
rudybot
benaiah: <consolers> you haven;t contracted cancer or some fell disease yet?
         

jfeltz
sol to finding buffer based on regexp: https://gist.github.com/4e68dc811b0f0148b714
_arturo
hello #emacs, does anyone know how to configure which regular expressions next-error uses to find errors in a compilation buffer?
offby1
_arturo: maybe ,,dv next-error-function
fsbot
Function to use to find the next error in the current buffer.
The function is called with 2 parameters:
ARG is an integer specifying by how many errors to move.
RESET is a boolean which, if non-nil, says to go back to the beginning
of the errors before moving. ..[Type ,more]
_arturo
offby1: I tried looking at the source for next-error, but its a pretty confusing mess
pi-alpha
what are ns for in nnimap?
*what are the ns for in nnimap?
_arturo
offby1: my problem is that the compilation command we use here issues messages like this 2015-07-08 14:10:59: 'a4 make' targets: default which compilation mode flags as errors
offby1
_arturo: you now know what I know
holomorph
may have to fiddle with compilation-error-regexp-alist
offby1
sounds good
omfg
,dv compilation-error-regexp-alist-alist
fsbot
not documented as a variable.
offby1
well, it's ... uh ... remarkable
holomorph
indeed it is
offby1
(Action) scrubs eyeballs
_arturo
offby1: thanks, I tried looking compilation-error-regexp-alist-alist and its kind of messy too
offby1: maybe I should get back to work instead of trying to figure this out
dazed_and_amused
my god...where we're going, we won't need eyeballs
pi-alpha
nninfo
i think the nn is for net news
reactormonk
Can I align code by a custom symbol, e.g. make a table on %?
pi-alpha
reactormonk: with org-tbl-minor-mode?
reactormonk
pi-alpha, hm, I don't want to replace the %
pi-alpha
i can't even find the minor-mode i t hought existed. but i would guess that you can customize the delimiter
maybe orgtbl-mode
maybe orgtbl-line-start-regexp
holomorph
align-regexp perhaps
pi-alpha
looking through org-table.el, the code seems very focussed on "|", as opposed to a replacable variable.
wgreenhouse
pi-alpha: for the divider between columns, you mean?
pi-alpha
wgreenhouse: okay
wgreenhouse
pi-alpha: yeah, I don't think you can override | as the column divider
but you can put a | in a field by entering it as LaTeX-like "\vert"
pi-alpha
ah yes, for export's sake
er, but at least not for html
wgreenhouse
pi-alpha: that hack actually does work for html; the org html exporter converts the \vert to the html entity |
pi-alpha: there are some layering violations between content and representation for something trying to be a purely plain-text markup language, I guess
pi-alpha
Oh, i'm not observant, yes, &vert. Where should &vert show up as |? Did I pick the wrong t
wgreenhouse
pi-alpha: hm?
pi-alpha
ah, it just didn't parse in internet explorer
pentadactyl, meant to hit t RET for new tab
catern
wow
emacs is great
I yanked some text into isearch
wgreenhouse
pi-alpha: I'm saying that org's "\vert" syntax, altough it looks like LaTeX, gets exported as "&vert" in html
catern
and it escaped it for me
pi-alpha
(I picked the wrong browser.)
catern: example character?
wgreenhouse: (The first time I saw it, I thought it was exported as \vert, overlooking &vert, as IE didn't parse it too "|".
wgreenhouse
pi-alpha: oic. IE messes up on it?
pi-alpha
yes
wgreenhouse
interesting
pi-alpha
IE 11
anyways, i think microsoft is dropping IE
"Nobodys going to download Internet Explorer as their mobile browser."
catern
pi-alpha: .
pi-alpha
ah, with C-M-s
wgreenhouse
catern: if that thrills you, play with re-builder. live conversion among escaping for [i]search, sexps, and rx
and you can kind of use it as isearch itself, too, though that's not its main purpose
pi-alpha
hmm, Microsoft Edge will support Chrome and Firefox plug-ins.
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 next »