logs archiveIRC Archive / Freenode / #emacs / 2010 / January / 10 / 1
ggole
Hmm, that should probably be copy-tree
birkenfeld
I have a wide screen with three windows side-by-side. can I tell emacs somehow to never display a buffer in the rightmost window? i.e., the buffer of that window should only change when I do so explicitly
dim
birkenfeld: dedicated window are the keywords
birkenfeld
dim: ah, thanks!
dim
,,df set-window-dedicated-p
fsbot
set-window-dedicated-p is a built-in function in `C source code'.
(set-window-dedicated-p WINDOW FLAG)
Mark WINDOW as dedicated according to FLAG.
WINDOW defaults to the selected window. FLAG non-nil means mark WINDOW
as dedicated to its buffer. FLAG nil means mark WINDOW as non-dedicated. ..[Type ,more]
junis
how can i check what is the type of the return value of make-face function?...
kodein
how can I reformulate question?
are you wondering about the return value of make-face?
offby1
(Action) makes faces at kodein
         

kodein
that's a lot better than many of the alternatives.
offby1
junis: the docs say "Value is FACE", so I assume the return type is whatever a face is
namely, a symbol
leo2007
ieure: hi
offby1
Why does this remind me of Jordanb: "This site is optimized for Lynx just because fu*k you."
(http://diveintopython3.org/)
birkenfeld
hmm, it seems I can't use switch-to-buffer anymore with a dedicated window
that kind of defeats the purpose I had in mind :)
offby1
I suspect you're gonna have trouble :-|
technomancy
any maintainers of elisp packages want to try out my elpa run-your-own-package-source lib?
offby1
(Action) watches the tumbleweeds skitter down Main St
I probably would, if I maintained an Emacs package, which I don't.
technomancy
well get on it then
birkenfeld
ah, I should read the docs to the end
technomancy
I've got it so you just define a list of repos from which to pull, and it can write out an archive that works with package.el automagically
tromey: hey, question about my package.el hacks if you've got a moment
I ripped out a bunch of the server-side archive maintenance stuff in order to replace it with the automated package-maint.el, but I'm wondering if I'm going to make changes to the client-side functionality maybe I should go back to what I had before
since it'd make sense to make another release before it gets totally integrated with Emacs
sgiessl
help... query-replace-regexp documentation states 'In interactive calls, the replacement text can contain `\,'
followed by a Lisp expression.' - so how does one specify lisp-expressions in _non_interactive_ calls? :(
ams
sgiessl: (query-replace ...)
sgiessl
ams: evaluating this: (query-replace-regexp " " "\\,(number-to-string 1)") raises the following error:
(error "Invalid use of `\\' in replacement text")
ams
sgiessl: that is nice.
sgiessl
ams: but query-replace doesn't allow the user to interactively say 'yes', 'no', etc., no?
ams
sgiessl: rtfm
rejeep
technomancy: What is "run-your-own-package-source"?
And where?
I have a package that I want to put in ELPA
fledermaus
sgiessl: ,,df call-interactively
fsbot
call-interactively is a built-in function in `C source code'.
(call-interactively FUNCTION &optional RECORD-FLAG KEYS)
Call FUNCTION, reading args according to its interactive calling specs.
Return the value FUNCTION returns.
The function contains a specification of how to do the argument reading. ..[Type ,more]
         

fledermaus
of course, that's probably not going to do what you want.
but maybe you can read the source and think of something
technomancy
rejeep: this is for running your own version of elpa
like you do with PPAs for .debs
http://github.com/technomancy/package.el/blob/master/package-maint.el
hopefully elpa will use it in the future though
sgiessl
thanks fledermaus, ams, I'm going to dive into your suggestions.
rejeep
technomancy: Ok, so you specify what packages you want and it'll fetch them for you?
technomancy
rejeep: yeah, like this: http://p.hagelb.org/index.el.html
it can build the archive from that index list
rejeep
Thats great!
Now I use your starter-kit for ELPA (http://github.com/rejeep/emacs/blob/master/rejeep-elpa.el)
And submodules for git
technomancy
rejeep: well package.el will be included in emacs 24 hopefully
so the starter kit will be less important
hopefully eventually it can disappear
rejeep
technomancy: Yeah. I have heard some discussion about it. But it's not for sure yet?
Disappear?
You've got a loot of stuff there that elpa cant help you with
technomancy
not really, the majority of it could become a package
rejeep
a package, as in one?
technomancy
probably a few, I guess
rejeep
So how would you integrate the maint with elpa?
technomancy
it might come with Emacs
since the Emacs maintainers would also need to make their own archive
rejeep
I don't get why you have put it in package.el though?
You want it to be able to fetch packages from Git, Svn, ELPA, whatever?
technomancy
not sure what you mean
package-maint is for building archives that users of package.el can download from
the archives are built by fetching projects out of DVCSes
rejeep
So if the package is not in elpa, you can use this maint package to get it?
technomancy
you could use this package to run your own version of elpa that included whatever packages you liked
rejeep
Ok, so everyone can host their own packages that other people can reach through elpa?
technomancy
elpa is technically a single source of packages, the tool used to download the packages is package.el
but yeah, that's the idea
rejeep
Ok, that's a great idea. I guess someone always is hosting the packages you want
I'll try it out. Now though I'll sleep. Late in Sweden
ams
no it isn't
kodein
technically it is early, yes
ams
technically it is 01:30 something
snogglethorpe
hm
how many megabytes will bzr fetch to update my checkout...?
up to 50MB now...
oh crap
i accidentally hit ^C in that window!
!@#%
now it's gonna start again...
benny
is someone doing a git mirror of the bzr thing?
snogglethorpe
benny: git://repo.or.cz/emacs.git
benny
well, isn't that great
snogglethorpe
ok, it took ~170MB (it erases the count when it finishes) and 16min to update
bremner
how big is the total repo?
snogglethorpe
what do you mean by "repo"
?
the bzr-specific bits seem to 314MB here (not including the checked out source tree)
for a git checkout, the git-specific bits seem to be about 190MB
(the source tree itself is ~114MB)
bremner
ok, so bzr still sucks. just checking :)
snogglethorpe
hmm
an interesting idea
goplexian
I'd like to add a keybinding just for a single mode, if I use a mode hook with global-set-key that will set it for everything wont it? is there a local-set-key?
snogglethorpe
8-bit floatgs
goplexian: yes, there's a local-set-key
goplexian: the std way to do that is add a hook for that mode, which uses local-set-key
(progn (defun my-hook () (local-set-key "x" 'abort)) (add-hook 'foo-mode 'my-hook))
goplexian
snogglethorpe: thanks man, thats exactly what I wanted
snogglethorpe
welcom
quotemstr
I should grow muttonchops.
cheapRoc
What's up with facial hair making a comeback
quotemstr
With enough hormones in the drinking water to grow tits on a frog, we need something to make us look more masculine again.
cheapRoc
Hahaha
quotemstr
That reminds me of something a professor of mine said...
cheapRoc
There are plenty of pros and cons to the hormones
quotemstr
"It was the 70s, and I was living in Alaska. Nobody respectable had facial hair back then. But then I got offered a job teaching in Texas, and since nobody respectable lives in Texas anyway, I grew a beard."
cheapRoc: On which side would you lump "man-boobs"?
snogglethorpe
quotemstr: christ you don't want to look like a brit expat do you?!
cheapRoc
Well I'd gladly have larger man boobs, if all the chicks in my neighborhood had giagantor breasts
quotemstr
cheapRoc: Yes, but manboobs, you can't get them. It'd be sisyphean.
snogglethorpe: Depends.
snogglethorpe
if you do, then gigantic sideburns are the key
cheapRoc
Manboobs and sideburns, sounds like an AC/DC track
quotemstr
Or Elvis' later years.
snogglethorpe
if you want to be an american expat on the other hand, I'd say a loud whiny voice is de rigueur
quotemstr
snogglethorpe: Not all Americans are loud. In fact, I mumble. :_)
snogglethorpe
keep in mind that I'm talking about american _expats_, not americans in general
fledermaus
I hear the expats are bigger and louder in texas.
snogglethorpe
also of course, my survey is highly biased, since it only includes people I notice
Sketch
fledermaus: they say everything's bigger in texas..
snogglethorpe
not the public transport systems...
quotemstr
The Rio Grande is pretty small these days.
Along with every other river in the west.
ziyv
I want to add linux executable files into dired-font-lock-keywords, regexp match maybe fail, how do i deal it?
quotemstr
Use a font-lock keyword matcher?
Actually, dired listings include the mode bits, so you can just match on those.
Why won't a regex work?
ziyv
linux executable files vary any regexp
quotemstr
Yes, but the mode bits don't.
ziyv
Can you give me the code?
quotemstr
The idea is that the regex matches something like '^ ..x.......*[0-9] \(^[ ]*\)$' and you highlight the last match group.
Actually ^ ...x.......*[0-9] \([^ ]*\)$
Assuming your filenames don't have spaces and that the bit you're interested in is the user-execute one.
ziyv
("^ .*\\.pdf$" (".+" (dired-move-to-filename) nil (0 'zy-pdf-file-face))) what meaning is dired-move-to-filename?
quotemstr
,elisp
fsbot
I heard Elisp is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?Elisp
[1] at http://www.emacswiki.org/cgi-bin/wiki.pl?elisp,
[2] see the built-in documentation via M-: (info "(elisp)Top")
snogglethorpe
this "Liquavista" thing seems interesting, but the manufacturer's site seems to only exhibit it via extremely small low-resolution videos
i'm not sure that's a good marketing technique if they want to show off what they can do...
quotemstr
snogglethorpe: What do they do?
snogglethorpe
it's a new display technology
not emissive
quotemstr
So you can't use it in the dark?
snogglethorpe
well you need a backlight or a frontlight
(like lcds...)
quotemstr
Oh. I thought you were saying the entire display is non-emissive.
So what is it? Some LED variant?
LCD, dammit.
snogglethorpe
no it's based on chagning the surface tension of small drops of fluid electrically
quotemstr
*blinks*
Isn't that how LCD displays work?
Charge the thing one way, polarization changes, and light gets through.
snogglethorpe
lcd displays change the polarization properties of some kinda material
but this liquavista thing actually moves the liquid out of the way
quotemstr
Interesting.
snogglethorpe
(by increasing surface tension, the geometry of the droplets change drmatically)
quotemstr
Looking at their site now.
Impressive if real.
snogglethorpe
http://www.liquavista.com/files/LQV0905291LL5-15.pdf
but seems a very bad website
maybe the researchers are in charge of web design too ... :(
quotemstr
But it essentially operates like a better LCD.
snogglethorpe
well in an extremely broad sense
quotemstr
I imagine the contrast ratio depends on how completely a pixel-droplet can be moved out of the way, and the opacity of the liquid.
snogglethorpe
sure
quotemstr
Impressive. They got into Nature.
snogglethorpe
i don't think saying it's "like an lcd" is really proper tho; better divide into emissive displays, reflective-only displays (e-ink), and transmissive displays (which i suppose can be made reflective by adding a white backdrop)
lol the first cite in that downloadable pdf is from 1895
quotemstr
Nifty.
snogglethorpe
anyway, so i guess this is one of the contenders for the "high-speed color e-reader of the future" race
personally my big beef with e-ink is that it seems so low-contrast
here's another one: http://www.mirasoldisplays.com/index-mirasol-display-technology.php
quotemstr
Particularly interesting is that this might give us displays with huge gamuts.
The printing people will love it.
snogglethorpe
i want one of these HDR displays
but I think they cost like $20,000
that way I could really be blinded by the sun in a photo!
quotemstr
Actually, according to the diagram, this thing's gamut looks smaller. Hrm.
Well, it's smaller than a CRT, but larger than that of a conventional LCD.
spilman
hi
quotemstr
snogglethorpe: The 9ms switching time is worse than an LCD though.
snogglethorpe
well consider that LCD has had like a zillion years of intense development tho
« prev 1 2 3 4 5 6 7 8 next »