From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gilbert Subject: possible single-quote bug in PDF docs (was: trouble with Imenu integration) Date: Fri, 16 Jul 2010 13:21:28 -0700 Message-ID: <3B9C662E-184F-4280-A06A-ABB931362067@gilbert.org> References: <9707EA08-D22C-4BDF-98E3-CA3A0CFC250C@gilbert.org> <87fwzjmiqe.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=59066 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZrSU-0008GL-Nk for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 16:24:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZrPY-0002Tw-Pe for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 16:21:33 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:39566) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZrPY-0002Tp-LD for emacs-orgmode@gnu.org; Fri, 16 Jul 2010 16:21:32 -0400 Received: by pwi8 with SMTP id 8so2128505pwi.0 for ; Fri, 16 Jul 2010 13:21:31 -0700 (PDT) In-Reply-To: <87fwzjmiqe.wl%dmaus@ictsoc.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mailinglist On Jul 16,2010, at 10:36 AM, David Maus wrote: >> Following the instructions from manual, I have this near the end of = my startup file (I hope that is copied correctly): >=20 >> (add-hook =92org-mode-hook=20 >> (lambda () (imenu-add-to-menubar "Imenu"))) >=20 > Um... Wrong type of quote? It's=20 > 'org-mode-hook (ASCII 39) > not > =92org-mode-hook (Unicode 8217) Yep. When there wasn't an obvious answer, I found the same thing. Thank = you regardless, David. What effect is it that the incorrect character = has on the LISP processing? The error returned was related the name of = the variable... Also, I guess this is a possible bug in the documentation: Looks like = the single quote in the PDF version of the manual is Unicode 8217. (And = of course I copied and pasted, to avoid getting anything wrong when I = typed it!) Would that be something worth correcting? I have this vague = notion that I've encountered it elsewhere. The HTML version of the = manual is rendered correctly, but the PDF is not, I think. A quick scan = suggests this =97 the renderer turns all the single quotes into curly = quotes, even when they are being used in code. =97 Michael