Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(362)

Issue 6447052: Properly implement fromproperty markup handing in the pdftitle header field (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by Reinhold
Modified:
11 years, 8 months ago
Reviewers:
dak, reinhold
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Properly implement fromproperty markup handing in the pdftitle header field The pdftitle header field is obtained by trying to convert the markup into a pure string. Fromproperty markups need to be handled specially, since we have to mimick the header field lookup in the conversion function... Thus we have to pass the header block to the markup->string function and extract the header property values for fromproperty markups.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use optional argument to to keep old API working; prevent infinite loops #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -10 lines) Patch
M scm/framework-ps.scm View 1 1 chunk +1 line, -1 line 0 comments Download
M scm/markup.scm View 1 3 chunks +22 lines, -9 lines 1 comment Download

Messages

Total messages: 4
dak
http://codereview.appspot.com/6447052/diff/1/scm/markup.scm File scm/markup.scm (right): http://codereview.appspot.com/6447052/diff/1/scm/markup.scm#newcode82 scm/markup.scm:82: (define-public (markup->string props m) This changes the interface of ...
11 years, 9 months ago (2012-07-28 10:00:53 UTC) #1
dak
http://codereview.appspot.com/6447052/diff/4001/scm/markup.scm File scm/markup.scm (right): http://codereview.appspot.com/6447052/diff/4001/scm/markup.scm#newcode109 scm/markup.scm:109: (define (markup-cons->string-cons c props) "props" seems like a total ...
11 years, 8 months ago (2012-08-05 22:44:47 UTC) #2
reinhold_kainhofer.com
On 2012-08-06 00:44, dak@gnu.org wrote: > > http://codereview.appspot.com/6447052/diff/4001/scm/markup.scm > File scm/markup.scm (right): > > http://codereview.appspot.com/6447052/diff/4001/scm/markup.scm#newcode109 ...
11 years, 8 months ago (2012-08-05 23:26:46 UTC) #3
dak
11 years, 8 months ago (2012-08-05 23:42:25 UTC) #4
On 2012/08/05 23:26:46, reinhold_kainhofer.com wrote:
> On 2012-08-06 00:44, mailto:dak@gnu.org wrote:
> >
> > http://codereview.appspot.com/6447052/diff/4001/scm/markup.scm
> > File scm/markup.scm (right):
> >
> > http://codereview.appspot.com/6447052/diff/4001/scm/markup.scm#newcode109
> > scm/markup.scm:109: (define (markup-cons->string-cons c props)
> > "props" seems like a total misnomer: that is usually used for a list of
> > alists, while it here is a list of modules/scopes.
> 
> Do you have any better suggestion?

Anything wrong with "scopes"?  You actually use it as function argument, just
not in the let*.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b