logs archiveIRC Archive / Freenode / #emacs / 2010 / May / 20 / 1
JordiGH
Uh-oh.
Can redmine handle more than repo?
shabble
like what?
JordiGH
Or do I need to create a new project if I need more than one repo
?
shabble
oh, I see
not sure, actually. We've only just started using it
JordiGH
Hm, it seems to be chewing on something...
I just told it to take a look at our repo, and it's eating one CPU doing so, along with postgres.
Is it loading the whole repo into postgres or something?
Aha, output!
wat
Odin-
dat
JordiGH
Oh, god.
I just saw a changeset...
Nothing.
shabble: Hm.... http://www.redmine.org/issues/779
Guess not.
shabble
that's kindof annoying
useful to know though
Cube``
i'd like emacs to print the buffer exactly the way i'm viewing it, that is the colors, fonts etc. used by my current org-mode configuration. how can i do thatß
?
         

shabble
ps-print-buffer?
Cube``
shabble: ok, but it prints an ugly headline box with the file name and path
shabble: any way to get rid of that or customize it?
shabble
customize-group RET ps-print maybe
Cube``
shabble: thanks ill try it
Odin-
There's almost certainly a way. The only question is what interface or what sort of code you may need to write&
Cube``
shabble: Odin-: i tried setting the ps-print font to Monospace, but i get this: Dont' have data to scale font Monospace. Known fonts families are (Courier Helvetica and so on...)
Odin-
Eeek.
Hm.
Cube``: How about the "header and footer" group under ps-print?
Cube``
Odin-: i disabled the header
shabble
Cube``: you probably want ps-print-with-faces, actually
Odin-
And it still prints a header?
shabble
(not sure if that helps anything)
Cube``
shabble: under m-x customize-group?
or what, shabble?
shabble
Cube``: no, as the command to run
Cube``
ah hm
ok
shabble: lets go to the printer and see how it went ,)
;)
shabble: nope sorry getting same error
shabble
try setting the font to something it does know about?
Cube``
shabble: ok, like adantgarde-demi?
shabble
no clue, whatever it says under 'known font families are...'
Odin-
courier if you're looking for monospace.
Cube``
Odin-: well no - i'd prefer monospace for the looks ;) but ill try what shabb said
Odin-
Cube``: Yes, but apparently the problem is that whatever is dealing with the fonts doesn't know anything beyond the standard PS fonts.
         

Cube``
Odin-: exactly
Odin-
Which leaves you stuck with Courier for a monospace font&
Cube``
Odin-: yeah but maybe thats fixable
ashawley
Cube``: Save paper by doing C-u M-x ps-print-buffer-with-faces
Cube``
haha
ok
will do
ashawley: thanks for the tip. does anybody know how to get my own fonts into emacs postscript?
leo2007
can you see this image ?
ashawley
leo2007: thanks for flooding the channel.
leo2007
??
fsbot
Of course not!
ashawley
,hifive
fsbot
ashawley, Can you are more explicit?
Odin-
What image? O_o
ashawley
,highfive
fsbot
Didn't I buy a 1951 Packard from you last March in Cairo?
ashawley
,screw you fsbot you left me hanging
fsbot
corkscrew -- a tool for tunneling SSH through HTTP proxies; see http://www.agroman.net/corkscrew/
leo2007
ok, I was just testing whether irc supports small images?
ashawley
leo2007: failed. back to the drawing board.
Odin-
IRC is a text-only system. Any images will have to be done by a clientside replacement thingy.
ashawley
Cube``: ,,dv ps-font-info-database
fsbot
not documented as a variable.
Cube``
ashawley: ,,dv?
ashawley
,require ps-print
fsbot
ashawley
,dv ps-font-info-database
fsbot
Font info database.
Each element comprises: font family (the key), name, bold, italic, bold-italic,
reference size, line height, space width, average character width.
To get the info for another specific font (say Helvetica), do the following:
- create a new buffer ..[Type ,more]
Cube``
aaaah
,more
fsbot
- generate the PostScript image to a file (C-u M-x ps-print-buffer)
- open this file and delete the leading `%' (which is the PostScript comment
character) from the line
`% 3 cm 20 cm moveto 10/Courier ReportFontInfo showpage'
to get the line ..[Type ,more]
Cube``
,more
fsbot
`3 cm 20 cm moveto 10/Helvetica ReportFontInfo showpage'
- add the values to `ps-font-info-database'.
You can get all the fonts of YOUR printer using `ReportAllFontInfo'.
Note also that ps-print DOESN'T download any font to your printer, instead it
uses the fonts resident in your printer. ..[Type ,more]
Cube``
,more
fsbot
You can customize this variable.
Defined in `/usr/share/emacs/23.1/lisp/ps-print.elc'.
Cube``
ashawley: im sorry, but im rather a noob to emacs. what exactly should i do to get monospace to run?
Odin-
Well & that seems to depend very much on your setup.
And more related to postscript wizardry than emacs in particular&
Cube``
hm ok
does it have anything to do with xfontsel?
Odin-
It mostly seems to have to do with emacs not having kept up with the modernisation of printing systems.
Cube``
lol i see
Odin-
Admittedly, even though I tend to use emacs to write essays for printing, I've never had reason to print a raw buffer. :/
Cube``
what do you print with then?
Odin-
TeX. :p
Or, more specifically, LaTeX -> PDF -> print. Usually.
Cube``
;)
Odin-
What exactly are you printing? Highlighted code, formatted text..?
Cube``
Odin-: org-mode formatted text, yeah colored a little, but i'm mostly after the monospace
Odin-
(Action) is a little curious as to what font that is, exactly.
Cube``
Odin-: nothing special to be honest, it just looks fantastic on my laptop screen
Odin-
Print fonts and screen fonts mostly have different design features&
http://en.wikipedia.org/wiki/Monospace_(Unicode) ?
JordiGH
So, Emacs.
A moral quandary.
Suppose I just saw a commit in our VCS that removes someone's GPL license and replaces it with a EULA.
Hypothetically speaking, of course.
What should I do?
tromey
tell your lawyers
jlf
blackmail!
JordiGH
Our lawyers did that.
(Hypothetically speaking.)
jlf
your lawyers have commit access?!
tromey
I suppose you can leak the info to the copyright holder
Odin-
JordiGH: Is the 'we' a company and the 'someone' an employee?
Hypothetically, obviously.
technomancy
JordiGH: who owns the project that's being infringed?
(hypothetically)
Cube``
Odin-: how can i make ps-print not cut words in half when the line is over, but move them in whole words?
Odin-
Cube``: Don't know, sorry & as I said, never had reason to use it.
Cube``
ok
technomancy
JordiGH: if there's a single copyright owner it's easy enough to notify them; for projects without a single owner it's not as clear-cut.
Cube``
anybody know?
ashawley
Cube``: I doubt ps-print ha fill.
s/ha/has/
If your buffer has long lines, then the paper version will, too.
I usually fix the electronic version to make it look good in Postscript.
Cube``
hmm, damn
ah you add enters here and there?
Odin-
(Action) mumbles something about TeX's hyphenation algorithm having been implemented in PostScript&
ashawley
Odin-: Isn't it implemented in Pascal?
Odin-
ashawley: Yes, but it's been reimplemented in any number of languages.
JordiGH
technomancy: I think the SFLC is representing them.
Odin-
Including, quite perversely, PostScript.
JordiGH
Odin-: Yeah, company/employee.
jlf: Yeah, assume the lawyers have commit access.
ashawley
company is copyright holder so the lawyers can do anything to employees.
Odin-
JordiGH: That brings you to a question of contract and such amusement.
JordiGH
(Action) hasn't signed any contracts.
ashawley
Cube``: there's a replacement for long-lines in newer Emacs that might DWIM.
JordiGH
That's how we roll in Mexico.
Cube``
ashawley: means what?
ashawley
what's the new name for long-lines-mode?
Odin-
JordiGH: No employment contract? O_o
JordiGH
I don't know, they said they would give me one, they haven't, I'm talking to another company and I might get it.
ashawley
mumble!
(Action) types C-h C-n
JordiGH
But let me tell you, those hypothetical minus signs all over the reddened text of the GPL look quite ominous.
Odin-
JordiGH: If there's no contract, they have no leg to stand on, so you might contact the SFLC and see what they say. Beyond that & you have any militant unions over there? :p
ashawley
redacted!
JordiGH
Well, I'd like to be nice first if they actually go ahead and do this.
ashawley
Cube``: Have you tried M-x visual-line-mode ?
JordiGH
Guys, maybe the Mexican legal system has loopholes that allow this. Still, not a nice thing to do.
Cube``
ashawley: ill try
Odin-
JordiGH: Even so, it's a good idea to see what options for not being nice you have.
JordiGH
Unleash the flying monkey lawyers.
Fly my pretties, fly!
So this is how freedom dies... amidst minus signs and thunderous red colours.
Odin-
All the SFLC people I've interacted with have been pretty nice. :p
JordiGH: That's how freedom usually dies.
JordiGH: And it usually get created in thunderous storms of violence & no matter what the propaganda tries to tell you.
JordiGH
I hope they don't actually do this. I was kinda happy working here, but locking up GPL code is a pretty di*k move.
Odin-
Well, is it knowingly done?
JordiGH
A lawyer is thinking of doing it.
I assume he's a competent lawyer and thinks Mexican laws might allow it.
Odin-
As in, are you sure they're explicitly choosing to lock it down, rather than simply not being aware what's going on?
JordiGH
I don't know, I've spoken to the boss about what the GPL is supposed to do; he seems pretty intent on locking it up anyways.
Odin-
Hmm.
JordiGH
And he asked the lawyers to draft a EULA.
lisppaste
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99818
Odin-
Oh, crap.
lisppaste
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99819
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99820
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99821
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99822
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99823
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99824
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99825
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99826
tromey
wtf
lisppaste
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99827
Odin-
??
lisppaste
DCC SEND "GayNiggerAssociationofAmerica" 0 0 0 pasted "DCC SEND "GayNiggerAssociationofAmerica" 0 0 0" at http://paste.lisp.org/display/99828
fsbot
No
« prev 1 2 3 4 5 6 7 8 9 10 11 next »