From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: luis.finotti@gmail.com Newsgroups: gmane.emacs.help Subject: expand-file-name Date: Thu, 6 Mar 2014 11:43:17 -0800 (PST) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1394135169 18360 80.91.229.3 (6 Mar 2014 19:46:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2014 19:46:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 06 20:46:17 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WLeFB-0007Gs-6S for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Mar 2014 20:46:13 +0100 Original-Received: from localhost ([::1]:59901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLeFA-0007KF-SH for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Mar 2014 14:46:12 -0500 X-Received: by 10.182.216.200 with SMTP id os8mr6289176obc.0.1394134997633; Thu, 06 Mar 2014 11:43:17 -0800 (PST) X-Received: by 10.182.33.4 with SMTP id n4mr108918obi.9.1394134997434; Thu, 06 Mar 2014 11:43:17 -0800 (PST) Original-Path: usenet.stanford.edu!l13no3329949iga.0!news-out.google.com!gi6ni45igc.0!nntp.google.com!ur14no3074456igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=184.173.77.41; posting-account=YC-TDQoAAACFJrajgmMe4XMSABl62hTo Original-NNTP-Posting-Host: 184.173.77.41 User-Agent: G2/1.0 Injection-Date: Thu, 06 Mar 2014 19:43:17 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:204008 X-Mailman-Approved-At: Thu, 06 Mar 2014 14:46:02 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96278 Archived-At: Dear all, In Emacs/AucTeX I had configured search/reverse-search in Okular (running Linux, of course) with: (setq TeX-view-program-list '(("Okular" "okular --unique %o#src:%n%(dir)./%b")))(setq TeX-view-program-selection '((output-pdf "Okular"))) where %(dir) is defined (in custom-set-variables) as ("%(dir)" (lambda nil (expand-file-name default-directory))) This used to work just fine, but now when I try to preview a file (or jump to position), the %(dir) appears unaltered, such as: okular --unique final_sol.pdf#src:403%(dir)./final_sol.tex (%(dir) used to be replaced by the working directory...) Any ideas on how to fix (or debug) this? (I'm far from an expert...) I'm using Emacs 24.3.1 and AucTeX 11.87, both from Debian Sid/Unstable. Thanks, Luis