From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: no pdf-output in lilypond code blocks Date: Wed, 30 Jan 2013 22:29:16 +0100 Message-ID: <87sj5igy1f.fsf@Rainer.invalid> References: <87mww7kjdn.fsf@sophokles.streitblatt.de> <87pq0w9d7w.fsf@bzg.ath.cx> <8738xpboh5.fsf@sophokles.streitblatt.de> <87libg6wen.fsf@bzg.ath.cx> <877gmzsx65.fsf@sophokles.streitblatt.de> <87ip6ezzlb.fsf@bzg.ath.cx> <871ud2if9b.fsf@Rainer.invalid> <874nhy2xm3.fsf@sophokles.streitblatt.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0fDl-0003Wc-Vg for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 16:29:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0fDk-0002sa-JJ for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 16:29:29 -0500 Received: from plane.gmane.org ([80.91.229.3]:51398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0fDk-0002sP-Ae for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 16:29:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U0fDz-0004Ic-S9 for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 22:29:43 +0100 Received: from pd9eb31cd.dip.t-dialin.net ([217.235.49.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jan 2013 22:29:43 +0100 Received: from Stromeko by pd9eb31cd.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jan 2013 22:29:43 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Florian Beck writes: > I don't think so. The string evaluates to itself or am I missing > something? If it would fall under "SELFQUOTING" then yes (but I really don't understand what the doc string is trying to tell me there and what would be used for comparison). It seems that a string constant is not self-quoting during compilation (the byte-compiler complains about an "Unknown upattern `pdf'"), most likely due to the pre-expansion of the macro before compilation. Also the string constant "pdf" compiled ionto the code can not necessarily match itself when compared to a string stored in a variable, although at least in interpretation mode this works. On the other hand a backquoted QPattern where QPattern is a STRING(constant) does use "equal" for comparison and this is what we want, plus the bytecompiler seems to like that form better than the first. Anyway, pcase is nice when you need it, but in this case I'm not convinced its worth the trouble. It doesn't even put enough syntactic sugar on it to make the code more readable. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra